@opencrvs/toolkit 1.9.12-rc.f5ca5e6 → 1.9.12-rc.f784676
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build.sh +8 -0
- package/dist/application-config/index.js +2045 -41
- package/dist/cli.d.ts +2 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +3237 -0
- package/dist/commons/api/router.d.ts +337 -118
- package/dist/commons/application-config/index.d.ts +13 -16
- package/dist/commons/conditionals/conditionals.d.ts +8 -8
- package/dist/commons/events/ActionDocument.d.ts +196 -196
- package/dist/commons/events/ActionInput.d.ts +113 -113
- package/dist/commons/events/ActionType.d.ts +3 -3
- package/dist/commons/events/AdvancedSearchConfig.d.ts +6 -0
- package/dist/commons/events/AuditLog.d.ts +345 -163
- package/dist/commons/events/CompositeFieldValue.d.ts +5 -5
- package/dist/commons/events/CountryConfigQueryInput.d.ts +461 -190
- package/dist/commons/events/Draft.d.ts +9 -9
- package/dist/commons/events/DynamicFieldValue.d.ts +37 -19
- package/dist/commons/events/EventDocument.d.ts +80 -80
- package/dist/commons/events/EventIndex.d.ts +35 -27
- package/dist/commons/events/EventInput.d.ts +1 -1
- package/dist/commons/events/EventMetadata.d.ts +19 -19
- package/dist/commons/events/FieldConfig.d.ts +285 -69
- package/dist/commons/events/FieldType.d.ts +2 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +98 -72
- package/dist/commons/events/FieldValue.d.ts +54 -26
- package/dist/commons/events/PlainDate.d.ts +1 -1
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +7 -7
- package/dist/commons/events/WorkqueueConfig.d.ts +443 -199
- package/dist/commons/events/defineConfig.d.ts +0 -4
- package/dist/commons/events/locations.d.ts +4 -4
- package/dist/commons/events/scopes.d.ts +4 -3
- package/dist/commons/events/state/index.d.ts +2 -2
- package/dist/commons/events/state/utils.d.ts +1 -1
- package/dist/commons/events/test.utils.d.ts +2 -2
- package/dist/commons/events/utils.d.ts +3 -175
- package/dist/commons/notification/UserNotifications.d.ts +6 -1
- package/dist/conditionals/index.js +74 -359
- package/dist/events/index.js +1195 -1262
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts +3 -0
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +405 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts +2 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts.map +1 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +829 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts +3 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts.map +1 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.js +159 -0
- package/dist/migrations/v2.0/index.d.ts +7 -0
- package/dist/migrations/v2.0/index.d.ts.map +1 -0
- package/dist/migrations/v2.0/index.js +3176 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts +3 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +1 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +344 -0
- package/dist/migrations/v2.0/migrate-scopes.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-scopes.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-scopes.js +282 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.js +268 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.js +237 -0
- package/dist/migrations/v2.0/remove-delete-actions.d.ts +3 -0
- package/dist/migrations/v2.0/remove-delete-actions.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-delete-actions.js +157 -0
- package/dist/migrations/v2.0/remove-demo-scope.d.ts +3 -0
- package/dist/migrations/v2.0/remove-demo-scope.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-demo-scope.js +75 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts +3 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.js +97 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts +3 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.js +78 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts +3 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.js +110 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts +3 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.js +164 -0
- package/dist/migrations/v2.0/rename-api-paths.d.ts +3 -0
- package/dist/migrations/v2.0/rename-api-paths.d.ts.map +1 -0
- package/dist/migrations/v2.0/rename-api-paths.js +188 -0
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts +3 -0
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts.map +1 -0
- package/dist/migrations/v2.0/rename-location-parent-id.js +181 -0
- package/dist/notification/index.js +1003 -1134
- package/dist/scopes/index.d.ts +389 -152
- package/dist/scopes/index.js +128 -322
- package/opencrvs-toolkit-1.9.12-rc.f784676.tgz +0 -0
- package/package.json +11 -7
- package/tsconfig.json +3 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-1.9.12-rc.f5ca5e6.tgz +0 -0
|
@@ -4,8 +4,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4
4
|
user: {
|
|
5
5
|
id: string;
|
|
6
6
|
type: "system";
|
|
7
|
-
primaryOfficeId?: undefined;
|
|
8
7
|
signature?: undefined;
|
|
8
|
+
primaryOfficeId?: undefined;
|
|
9
9
|
administrativeAreaId?: undefined;
|
|
10
10
|
} | {
|
|
11
11
|
id: string;
|
|
@@ -26,8 +26,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26
26
|
user: {
|
|
27
27
|
id: string;
|
|
28
28
|
type: "system";
|
|
29
|
-
primaryOfficeId?: undefined;
|
|
30
29
|
signature?: undefined;
|
|
30
|
+
primaryOfficeId?: undefined;
|
|
31
31
|
administrativeAreaId?: undefined;
|
|
32
32
|
} | {
|
|
33
33
|
id: string;
|
|
@@ -48,8 +48,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
48
48
|
user: {
|
|
49
49
|
id: string;
|
|
50
50
|
type: "system";
|
|
51
|
-
primaryOfficeId?: undefined;
|
|
52
51
|
signature?: undefined;
|
|
52
|
+
primaryOfficeId?: undefined;
|
|
53
53
|
administrativeAreaId?: undefined;
|
|
54
54
|
} | {
|
|
55
55
|
id: string;
|
|
@@ -94,8 +94,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
94
94
|
user: {
|
|
95
95
|
id: string;
|
|
96
96
|
type: "system";
|
|
97
|
-
primaryOfficeId?: undefined;
|
|
98
97
|
signature?: undefined;
|
|
98
|
+
primaryOfficeId?: undefined;
|
|
99
99
|
administrativeAreaId?: undefined;
|
|
100
100
|
} | {
|
|
101
101
|
id: string;
|
|
@@ -1056,8 +1056,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1056
1056
|
user: {
|
|
1057
1057
|
id: string;
|
|
1058
1058
|
type: "system";
|
|
1059
|
-
primaryOfficeId?: undefined;
|
|
1060
1059
|
signature?: undefined;
|
|
1060
|
+
primaryOfficeId?: undefined;
|
|
1061
1061
|
administrativeAreaId?: undefined;
|
|
1062
1062
|
} | {
|
|
1063
1063
|
id: string;
|
|
@@ -1135,8 +1135,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1135
1135
|
user: {
|
|
1136
1136
|
id: string;
|
|
1137
1137
|
type: "system";
|
|
1138
|
-
primaryOfficeId?: undefined;
|
|
1139
1138
|
signature?: undefined;
|
|
1139
|
+
primaryOfficeId?: undefined;
|
|
1140
1140
|
administrativeAreaId?: undefined;
|
|
1141
1141
|
} | {
|
|
1142
1142
|
id: string;
|
|
@@ -1157,8 +1157,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1157
1157
|
user: {
|
|
1158
1158
|
id: string;
|
|
1159
1159
|
type: "system";
|
|
1160
|
-
primaryOfficeId?: undefined;
|
|
1161
1160
|
signature?: undefined;
|
|
1161
|
+
primaryOfficeId?: undefined;
|
|
1162
1162
|
administrativeAreaId?: undefined;
|
|
1163
1163
|
} | {
|
|
1164
1164
|
id: string;
|
|
@@ -1201,8 +1201,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1201
1201
|
user: {
|
|
1202
1202
|
id: string;
|
|
1203
1203
|
type: "system";
|
|
1204
|
-
primaryOfficeId?: undefined;
|
|
1205
1204
|
signature?: undefined;
|
|
1205
|
+
primaryOfficeId?: undefined;
|
|
1206
1206
|
administrativeAreaId?: undefined;
|
|
1207
1207
|
} | {
|
|
1208
1208
|
id: string;
|
|
@@ -1554,8 +1554,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1554
1554
|
user: {
|
|
1555
1555
|
id: string;
|
|
1556
1556
|
type: "system";
|
|
1557
|
-
primaryOfficeId?: undefined;
|
|
1558
1557
|
signature?: undefined;
|
|
1558
|
+
primaryOfficeId?: undefined;
|
|
1559
1559
|
administrativeAreaId?: undefined;
|
|
1560
1560
|
} | {
|
|
1561
1561
|
id: string;
|
|
@@ -1598,8 +1598,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1598
1598
|
user: {
|
|
1599
1599
|
id: string;
|
|
1600
1600
|
type: "system";
|
|
1601
|
-
primaryOfficeId?: undefined;
|
|
1602
1601
|
signature?: undefined;
|
|
1602
|
+
primaryOfficeId?: undefined;
|
|
1603
1603
|
administrativeAreaId?: undefined;
|
|
1604
1604
|
} | {
|
|
1605
1605
|
id: string;
|
|
@@ -1642,8 +1642,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1642
1642
|
user: {
|
|
1643
1643
|
id: string;
|
|
1644
1644
|
type: "system";
|
|
1645
|
-
primaryOfficeId?: undefined;
|
|
1646
1645
|
signature?: undefined;
|
|
1646
|
+
primaryOfficeId?: undefined;
|
|
1647
1647
|
administrativeAreaId?: undefined;
|
|
1648
1648
|
} | {
|
|
1649
1649
|
id: string;
|
|
@@ -1686,8 +1686,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1686
1686
|
user: {
|
|
1687
1687
|
id: string;
|
|
1688
1688
|
type: "system";
|
|
1689
|
-
primaryOfficeId?: undefined;
|
|
1690
1689
|
signature?: undefined;
|
|
1690
|
+
primaryOfficeId?: undefined;
|
|
1691
1691
|
administrativeAreaId?: undefined;
|
|
1692
1692
|
} | {
|
|
1693
1693
|
id: string;
|
|
@@ -1730,8 +1730,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1730
1730
|
user: {
|
|
1731
1731
|
id: string;
|
|
1732
1732
|
type: "system";
|
|
1733
|
-
primaryOfficeId?: undefined;
|
|
1734
1733
|
signature?: undefined;
|
|
1734
|
+
primaryOfficeId?: undefined;
|
|
1735
1735
|
administrativeAreaId?: undefined;
|
|
1736
1736
|
} | {
|
|
1737
1737
|
id: string;
|
|
@@ -1774,8 +1774,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1774
1774
|
user: {
|
|
1775
1775
|
id: string;
|
|
1776
1776
|
type: "system";
|
|
1777
|
-
primaryOfficeId?: undefined;
|
|
1778
1777
|
signature?: undefined;
|
|
1778
|
+
primaryOfficeId?: undefined;
|
|
1779
1779
|
administrativeAreaId?: undefined;
|
|
1780
1780
|
} | {
|
|
1781
1781
|
id: string;
|
|
@@ -2128,8 +2128,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2128
2128
|
user: {
|
|
2129
2129
|
id: string;
|
|
2130
2130
|
type: "system";
|
|
2131
|
-
primaryOfficeId?: undefined;
|
|
2132
2131
|
signature?: undefined;
|
|
2132
|
+
primaryOfficeId?: undefined;
|
|
2133
2133
|
administrativeAreaId?: undefined;
|
|
2134
2134
|
} | {
|
|
2135
2135
|
id: string;
|
|
@@ -2781,8 +2781,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2781
2781
|
user: {
|
|
2782
2782
|
id: string;
|
|
2783
2783
|
type: "system";
|
|
2784
|
-
primaryOfficeId?: undefined;
|
|
2785
2784
|
signature?: undefined;
|
|
2785
|
+
primaryOfficeId?: undefined;
|
|
2786
2786
|
administrativeAreaId?: undefined;
|
|
2787
2787
|
} | {
|
|
2788
2788
|
id: string;
|
|
@@ -2803,8 +2803,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2803
2803
|
user: {
|
|
2804
2804
|
id: string;
|
|
2805
2805
|
type: "system";
|
|
2806
|
-
primaryOfficeId?: undefined;
|
|
2807
2806
|
signature?: undefined;
|
|
2807
|
+
primaryOfficeId?: undefined;
|
|
2808
2808
|
administrativeAreaId?: undefined;
|
|
2809
2809
|
} | {
|
|
2810
2810
|
id: string;
|
|
@@ -2847,8 +2847,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2847
2847
|
user: {
|
|
2848
2848
|
id: string;
|
|
2849
2849
|
type: "system";
|
|
2850
|
-
primaryOfficeId?: undefined;
|
|
2851
2850
|
signature?: undefined;
|
|
2851
|
+
primaryOfficeId?: undefined;
|
|
2852
2852
|
administrativeAreaId?: undefined;
|
|
2853
2853
|
} | {
|
|
2854
2854
|
id: string;
|
|
@@ -2891,8 +2891,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2891
2891
|
user: {
|
|
2892
2892
|
id: string;
|
|
2893
2893
|
type: "system";
|
|
2894
|
-
primaryOfficeId?: undefined;
|
|
2895
2894
|
signature?: undefined;
|
|
2895
|
+
primaryOfficeId?: undefined;
|
|
2896
2896
|
administrativeAreaId?: undefined;
|
|
2897
2897
|
} | {
|
|
2898
2898
|
id: string;
|
|
@@ -2936,8 +2936,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2936
2936
|
user: {
|
|
2937
2937
|
id: string;
|
|
2938
2938
|
type: "system";
|
|
2939
|
-
primaryOfficeId?: undefined;
|
|
2940
2939
|
signature?: undefined;
|
|
2940
|
+
primaryOfficeId?: undefined;
|
|
2941
2941
|
administrativeAreaId?: undefined;
|
|
2942
2942
|
} | {
|
|
2943
2943
|
id: string;
|
|
@@ -3596,7 +3596,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3596
3596
|
results: {
|
|
3597
3597
|
id: string & import("zod").$brand<"UUID">;
|
|
3598
3598
|
type: string;
|
|
3599
|
-
status: "
|
|
3599
|
+
status: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
3600
3600
|
legalStatuses: {
|
|
3601
3601
|
DECLARED?: {
|
|
3602
3602
|
createdAt: string;
|
|
@@ -3954,8 +3954,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3954
3954
|
user: {
|
|
3955
3955
|
id: string;
|
|
3956
3956
|
type: "system";
|
|
3957
|
-
primaryOfficeId?: undefined;
|
|
3958
3957
|
signature?: undefined;
|
|
3958
|
+
primaryOfficeId?: undefined;
|
|
3959
3959
|
administrativeAreaId?: undefined;
|
|
3960
3960
|
} | {
|
|
3961
3961
|
id: string;
|
|
@@ -3990,6 +3990,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3990
3990
|
fullHonorificName?: string | undefined;
|
|
3991
3991
|
mobile?: string | undefined;
|
|
3992
3992
|
email?: string | undefined;
|
|
3993
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
3993
3994
|
} | {
|
|
3994
3995
|
id: string;
|
|
3995
3996
|
name: string;
|
|
@@ -4026,6 +4027,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4026
4027
|
originalFilename: string;
|
|
4027
4028
|
type: string;
|
|
4028
4029
|
} | undefined;
|
|
4030
|
+
data?: Record<string, unknown> | undefined;
|
|
4029
4031
|
};
|
|
4030
4032
|
output: {
|
|
4031
4033
|
id: string;
|
|
@@ -4045,6 +4047,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4045
4047
|
fullHonorificName?: string | undefined;
|
|
4046
4048
|
mobile?: string | undefined;
|
|
4047
4049
|
email?: string | undefined;
|
|
4050
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4048
4051
|
};
|
|
4049
4052
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4050
4053
|
}>;
|
|
@@ -4070,6 +4073,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4070
4073
|
originalFilename: string;
|
|
4071
4074
|
type: string;
|
|
4072
4075
|
} | undefined;
|
|
4076
|
+
data?: Record<string, unknown> | undefined;
|
|
4073
4077
|
} & {
|
|
4074
4078
|
id: string;
|
|
4075
4079
|
};
|
|
@@ -4091,6 +4095,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4091
4095
|
fullHonorificName?: string | undefined;
|
|
4092
4096
|
mobile?: string | undefined;
|
|
4093
4097
|
email?: string | undefined;
|
|
4098
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4094
4099
|
};
|
|
4095
4100
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4096
4101
|
}>;
|
|
@@ -4114,6 +4119,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4114
4119
|
fullHonorificName?: string | undefined;
|
|
4115
4120
|
mobile?: string | undefined;
|
|
4116
4121
|
email?: string | undefined;
|
|
4122
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4117
4123
|
} | {
|
|
4118
4124
|
id: string;
|
|
4119
4125
|
name: string;
|
|
@@ -4157,6 +4163,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4157
4163
|
fullHonorificName?: string | undefined;
|
|
4158
4164
|
mobile?: string | undefined;
|
|
4159
4165
|
email?: string | undefined;
|
|
4166
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4160
4167
|
} | {
|
|
4161
4168
|
id: string;
|
|
4162
4169
|
name: string;
|
|
@@ -4183,25 +4190,25 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4183
4190
|
output: {
|
|
4184
4191
|
results: {
|
|
4185
4192
|
id: (string & import("zod").$brand<"UUID">) | null;
|
|
4193
|
+
createdBy: string;
|
|
4194
|
+
createdAt: string | null;
|
|
4195
|
+
status: import("../storage/postgres/events/schema/app/ActionStatus").default;
|
|
4186
4196
|
transactionId: string | null;
|
|
4187
4197
|
eventId: string & import("zod").$brand<"UUID">;
|
|
4188
4198
|
actionType: string;
|
|
4189
4199
|
declaration: Record<string, any>;
|
|
4190
4200
|
annotation: Record<string, any> | null;
|
|
4191
|
-
createdBy: string;
|
|
4192
4201
|
createdByRole: string | null;
|
|
4193
4202
|
createdByUserType: import("../storage/postgres/events/schema/app/UserType").default;
|
|
4194
4203
|
createdBySignature: string | null;
|
|
4195
4204
|
createdAtLocation: (string & import("zod").$brand<"UUID">) | null;
|
|
4196
|
-
|
|
4197
|
-
status: import("../storage/postgres/events/schema/app/ActionStatus").default;
|
|
4205
|
+
updatedAt: string | null;
|
|
4198
4206
|
assignedTo: string | null;
|
|
4199
4207
|
originalActionId: (string & import("zod").$brand<"UUID">) | null;
|
|
4200
4208
|
registrationNumber: string | null;
|
|
4201
4209
|
requestId: string | null;
|
|
4202
4210
|
content: Record<string, any> | null;
|
|
4203
4211
|
customActionType: string | null;
|
|
4204
|
-
updatedAt: string | null;
|
|
4205
4212
|
eventType: string | null;
|
|
4206
4213
|
trackingId: string | null;
|
|
4207
4214
|
}[];
|
|
@@ -4215,8 +4222,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4215
4222
|
user: {
|
|
4216
4223
|
id: string;
|
|
4217
4224
|
type: "system";
|
|
4218
|
-
primaryOfficeId?: undefined;
|
|
4219
4225
|
signature?: undefined;
|
|
4226
|
+
primaryOfficeId?: undefined;
|
|
4220
4227
|
administrativeAreaId?: undefined;
|
|
4221
4228
|
} | {
|
|
4222
4229
|
id: string;
|
|
@@ -4235,7 +4242,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4235
4242
|
input: void;
|
|
4236
4243
|
output: {
|
|
4237
4244
|
id: string;
|
|
4238
|
-
scopes: string[];
|
|
4245
|
+
scopes: (string & import("zod").$brand<"EncodedScope">)[];
|
|
4239
4246
|
}[];
|
|
4240
4247
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4241
4248
|
}>;
|
|
@@ -4300,8 +4307,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4300
4307
|
user: {
|
|
4301
4308
|
id: string;
|
|
4302
4309
|
type: "system";
|
|
4303
|
-
primaryOfficeId?: undefined;
|
|
4304
4310
|
signature?: undefined;
|
|
4311
|
+
primaryOfficeId?: undefined;
|
|
4305
4312
|
administrativeAreaId?: undefined;
|
|
4306
4313
|
} | {
|
|
4307
4314
|
id: string;
|
|
@@ -4324,29 +4331,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4324
4331
|
role: string;
|
|
4325
4332
|
primaryOfficeId: string;
|
|
4326
4333
|
};
|
|
4327
|
-
responseSummary: Record<string, never>;
|
|
4328
|
-
} | {
|
|
4329
|
-
operation: "user.deactivate";
|
|
4330
|
-
requestData: {
|
|
4331
|
-
subjectId: string;
|
|
4332
|
-
reason: string;
|
|
4333
|
-
comment?: string | undefined;
|
|
4334
|
-
};
|
|
4335
|
-
responseSummary: Record<string, never>;
|
|
4336
4334
|
} | {
|
|
4337
|
-
operation: "user.reactivate";
|
|
4335
|
+
operation: "user.deactivate" | "user.reactivate";
|
|
4338
4336
|
requestData: {
|
|
4339
4337
|
subjectId: string;
|
|
4340
4338
|
reason: string;
|
|
4341
4339
|
comment?: string | undefined;
|
|
4342
4340
|
};
|
|
4343
|
-
responseSummary: Record<string, never>;
|
|
4344
4341
|
} | {
|
|
4345
|
-
operation: "user.edit_user";
|
|
4342
|
+
operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.username_reminder" | "user.username_reminder_by_admin";
|
|
4346
4343
|
requestData: {
|
|
4347
4344
|
subjectId: string;
|
|
4348
4345
|
};
|
|
4349
|
-
responseSummary: Record<string, never>;
|
|
4350
4346
|
} | {
|
|
4351
4347
|
operation: "user.email_address_changed";
|
|
4352
4348
|
requestData: {
|
|
@@ -4355,36 +4351,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4355
4351
|
responseSummary: {
|
|
4356
4352
|
email: string;
|
|
4357
4353
|
};
|
|
4358
|
-
} | {
|
|
4359
|
-
operation: "user.logged_in";
|
|
4360
|
-
requestData: {
|
|
4361
|
-
subjectId: string;
|
|
4362
|
-
};
|
|
4363
|
-
responseSummary: Record<string, never>;
|
|
4364
|
-
} | {
|
|
4365
|
-
operation: "user.logged_out";
|
|
4366
|
-
requestData: {
|
|
4367
|
-
subjectId: string;
|
|
4368
|
-
};
|
|
4369
|
-
responseSummary: Record<string, never>;
|
|
4370
|
-
} | {
|
|
4371
|
-
operation: "user.password_changed";
|
|
4372
|
-
requestData: {
|
|
4373
|
-
subjectId: string;
|
|
4374
|
-
};
|
|
4375
|
-
responseSummary: Record<string, never>;
|
|
4376
|
-
} | {
|
|
4377
|
-
operation: "user.password_reset";
|
|
4378
|
-
requestData: {
|
|
4379
|
-
subjectId: string;
|
|
4380
|
-
};
|
|
4381
|
-
responseSummary: Record<string, never>;
|
|
4382
|
-
} | {
|
|
4383
|
-
operation: "user.password_reset_by_admin";
|
|
4384
|
-
requestData: {
|
|
4385
|
-
subjectId: string;
|
|
4386
|
-
};
|
|
4387
|
-
responseSummary: Record<string, never>;
|
|
4388
4354
|
} | {
|
|
4389
4355
|
operation: "user.phone_number_changed";
|
|
4390
4356
|
requestData: {
|
|
@@ -4393,18 +4359,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4393
4359
|
responseSummary: {
|
|
4394
4360
|
phoneNumber: string;
|
|
4395
4361
|
};
|
|
4396
|
-
} | {
|
|
4397
|
-
operation: "user.username_reminder";
|
|
4398
|
-
requestData: {
|
|
4399
|
-
subjectId: string;
|
|
4400
|
-
};
|
|
4401
|
-
responseSummary: Record<string, never>;
|
|
4402
|
-
} | {
|
|
4403
|
-
operation: "user.username_reminder_by_admin";
|
|
4404
|
-
requestData: {
|
|
4405
|
-
subjectId: string;
|
|
4406
|
-
};
|
|
4407
|
-
responseSummary: Record<string, never>;
|
|
4408
4362
|
};
|
|
4409
4363
|
output: void;
|
|
4410
4364
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -4416,17 +4370,224 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4416
4370
|
count?: number | undefined;
|
|
4417
4371
|
timeStart?: string | undefined;
|
|
4418
4372
|
timeEnd?: string | undefined;
|
|
4373
|
+
excludeOperations?: string[] | undefined;
|
|
4419
4374
|
};
|
|
4420
4375
|
output: {
|
|
4421
|
-
results: {
|
|
4376
|
+
results: ({
|
|
4422
4377
|
id: string;
|
|
4423
4378
|
clientId: string;
|
|
4424
|
-
clientType:
|
|
4425
|
-
operation: string;
|
|
4426
|
-
requestData: Record<string, unknown> | null;
|
|
4427
|
-
responseSummary: Record<string, unknown> | null;
|
|
4379
|
+
clientType: "system" | "user";
|
|
4428
4380
|
createdAt: string;
|
|
4429
|
-
|
|
4381
|
+
operation: "event.create";
|
|
4382
|
+
requestData: {
|
|
4383
|
+
transactionId: string;
|
|
4384
|
+
type: string;
|
|
4385
|
+
createdAtLocation: string | null;
|
|
4386
|
+
};
|
|
4387
|
+
responseSummary: {
|
|
4388
|
+
eventId: string;
|
|
4389
|
+
trackingId: string;
|
|
4390
|
+
};
|
|
4391
|
+
} | {
|
|
4392
|
+
id: string;
|
|
4393
|
+
clientId: string;
|
|
4394
|
+
clientType: "system" | "user";
|
|
4395
|
+
createdAt: string;
|
|
4396
|
+
operation: "event.get";
|
|
4397
|
+
requestData: {
|
|
4398
|
+
eventId: string;
|
|
4399
|
+
};
|
|
4400
|
+
responseSummary: {
|
|
4401
|
+
eventType: string;
|
|
4402
|
+
trackingId: string;
|
|
4403
|
+
};
|
|
4404
|
+
} | {
|
|
4405
|
+
id: string;
|
|
4406
|
+
clientId: string;
|
|
4407
|
+
createdAt: string;
|
|
4408
|
+
operation: "event.search";
|
|
4409
|
+
clientType: "system";
|
|
4410
|
+
requestData: {
|
|
4411
|
+
query: Record<string, unknown> | null;
|
|
4412
|
+
limit: number | null;
|
|
4413
|
+
offset: number | null;
|
|
4414
|
+
};
|
|
4415
|
+
responseSummary: {
|
|
4416
|
+
total: number;
|
|
4417
|
+
eventIds: string[];
|
|
4418
|
+
};
|
|
4419
|
+
} | {
|
|
4420
|
+
id: string;
|
|
4421
|
+
clientId: string;
|
|
4422
|
+
clientType: "system" | "user";
|
|
4423
|
+
createdAt: string;
|
|
4424
|
+
operation: "event.actions.notify.request" | "event.actions.declare.request" | "event.actions.register.request" | "event.actions.reject.request" | "event.actions.validate.request" | "event.actions.edit.request" | "event.actions.assign.request" | "event.actions.unassign.request" | "event.actions.read.request" | "event.actions.archive.request" | "event.actions.reinstate.request" | "event.actions.print_certificate.request" | "event.actions.correction.request.request" | "event.actions.correction.approve.request" | "event.actions.correction.reject.request" | "event.actions.mark_as_duplicate.request" | "event.actions.mark_as_not_duplicate.request";
|
|
4425
|
+
requestData: {
|
|
4426
|
+
eventId: string;
|
|
4427
|
+
actionType: string;
|
|
4428
|
+
eventType: string;
|
|
4429
|
+
trackingId: string;
|
|
4430
|
+
transactionId: string;
|
|
4431
|
+
};
|
|
4432
|
+
} | {
|
|
4433
|
+
id: string;
|
|
4434
|
+
clientId: string;
|
|
4435
|
+
clientType: "system" | "user";
|
|
4436
|
+
createdAt: string;
|
|
4437
|
+
operation: "event.actions.custom.request";
|
|
4438
|
+
requestData: {
|
|
4439
|
+
eventId: string;
|
|
4440
|
+
actionType: "CUSTOM";
|
|
4441
|
+
customAction: string;
|
|
4442
|
+
eventType: string;
|
|
4443
|
+
trackingId: string;
|
|
4444
|
+
transactionId: string;
|
|
4445
|
+
};
|
|
4446
|
+
} | {
|
|
4447
|
+
id: string;
|
|
4448
|
+
clientId: string;
|
|
4449
|
+
clientType: "system" | "user";
|
|
4450
|
+
createdAt: string;
|
|
4451
|
+
operation: "integrations.create";
|
|
4452
|
+
requestData: {
|
|
4453
|
+
name: string;
|
|
4454
|
+
scopes: string[];
|
|
4455
|
+
};
|
|
4456
|
+
responseSummary: {
|
|
4457
|
+
clientId: string;
|
|
4458
|
+
};
|
|
4459
|
+
} | {
|
|
4460
|
+
id: string;
|
|
4461
|
+
clientId: string;
|
|
4462
|
+
clientType: "system" | "user";
|
|
4463
|
+
createdAt: string;
|
|
4464
|
+
operation: "integrations.refreshToken";
|
|
4465
|
+
requestData: {
|
|
4466
|
+
clientId: string;
|
|
4467
|
+
};
|
|
4468
|
+
responseSummary: {
|
|
4469
|
+
clientId: string;
|
|
4470
|
+
};
|
|
4471
|
+
} | {
|
|
4472
|
+
id: string;
|
|
4473
|
+
clientId: string;
|
|
4474
|
+
clientType: "system" | "user";
|
|
4475
|
+
createdAt: string;
|
|
4476
|
+
operation: "integrations.deactivate";
|
|
4477
|
+
requestData: {
|
|
4478
|
+
id: string;
|
|
4479
|
+
};
|
|
4480
|
+
responseSummary: {
|
|
4481
|
+
id: string;
|
|
4482
|
+
status: string;
|
|
4483
|
+
};
|
|
4484
|
+
} | {
|
|
4485
|
+
id: string;
|
|
4486
|
+
clientId: string;
|
|
4487
|
+
clientType: "system" | "user";
|
|
4488
|
+
createdAt: string;
|
|
4489
|
+
operation: "integrations.activate";
|
|
4490
|
+
requestData: {
|
|
4491
|
+
id: string;
|
|
4492
|
+
};
|
|
4493
|
+
responseSummary: {
|
|
4494
|
+
id: string;
|
|
4495
|
+
status: string;
|
|
4496
|
+
};
|
|
4497
|
+
} | {
|
|
4498
|
+
id: string;
|
|
4499
|
+
clientId: string;
|
|
4500
|
+
clientType: "system" | "user";
|
|
4501
|
+
createdAt: string;
|
|
4502
|
+
operation: "integrations.delete";
|
|
4503
|
+
requestData: {
|
|
4504
|
+
id: string;
|
|
4505
|
+
};
|
|
4506
|
+
responseSummary: {
|
|
4507
|
+
id: string;
|
|
4508
|
+
name: string;
|
|
4509
|
+
};
|
|
4510
|
+
} | {
|
|
4511
|
+
id: string;
|
|
4512
|
+
clientId: string;
|
|
4513
|
+
clientType: "system" | "user";
|
|
4514
|
+
createdAt: string;
|
|
4515
|
+
operation: "integrations.refreshSecret";
|
|
4516
|
+
requestData: {
|
|
4517
|
+
id: string;
|
|
4518
|
+
};
|
|
4519
|
+
responseSummary: {
|
|
4520
|
+
clientId: string;
|
|
4521
|
+
};
|
|
4522
|
+
} | {
|
|
4523
|
+
id: string;
|
|
4524
|
+
clientId: string;
|
|
4525
|
+
clientType: "system" | "user";
|
|
4526
|
+
createdAt: string;
|
|
4527
|
+
operation: "attachments.upload";
|
|
4528
|
+
requestData: {
|
|
4529
|
+
transactionId: string;
|
|
4530
|
+
path: string | null;
|
|
4531
|
+
};
|
|
4532
|
+
responseSummary: {
|
|
4533
|
+
fileUrl: string;
|
|
4534
|
+
};
|
|
4535
|
+
} | {
|
|
4536
|
+
id: string;
|
|
4537
|
+
clientId: string;
|
|
4538
|
+
clientType: "system" | "user";
|
|
4539
|
+
createdAt: string;
|
|
4540
|
+
operation: "user.create_user";
|
|
4541
|
+
requestData: {
|
|
4542
|
+
subjectId: string;
|
|
4543
|
+
role: string;
|
|
4544
|
+
primaryOfficeId: string;
|
|
4545
|
+
};
|
|
4546
|
+
} | {
|
|
4547
|
+
id: string;
|
|
4548
|
+
clientId: string;
|
|
4549
|
+
clientType: "system" | "user";
|
|
4550
|
+
createdAt: string;
|
|
4551
|
+
operation: "user.deactivate" | "user.reactivate";
|
|
4552
|
+
requestData: {
|
|
4553
|
+
subjectId: string;
|
|
4554
|
+
reason: string;
|
|
4555
|
+
comment?: string | undefined;
|
|
4556
|
+
};
|
|
4557
|
+
} | {
|
|
4558
|
+
id: string;
|
|
4559
|
+
clientId: string;
|
|
4560
|
+
clientType: "system" | "user";
|
|
4561
|
+
createdAt: string;
|
|
4562
|
+
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";
|
|
4563
|
+
requestData: {
|
|
4564
|
+
subjectId: string;
|
|
4565
|
+
};
|
|
4566
|
+
} | {
|
|
4567
|
+
id: string;
|
|
4568
|
+
clientId: string;
|
|
4569
|
+
clientType: "system" | "user";
|
|
4570
|
+
createdAt: string;
|
|
4571
|
+
operation: "user.email_address_changed";
|
|
4572
|
+
requestData: {
|
|
4573
|
+
subjectId: string;
|
|
4574
|
+
};
|
|
4575
|
+
responseSummary: {
|
|
4576
|
+
email: string;
|
|
4577
|
+
};
|
|
4578
|
+
} | {
|
|
4579
|
+
id: string;
|
|
4580
|
+
clientId: string;
|
|
4581
|
+
clientType: "system" | "user";
|
|
4582
|
+
createdAt: string;
|
|
4583
|
+
operation: "user.phone_number_changed";
|
|
4584
|
+
requestData: {
|
|
4585
|
+
subjectId: string;
|
|
4586
|
+
};
|
|
4587
|
+
responseSummary: {
|
|
4588
|
+
phoneNumber: string;
|
|
4589
|
+
};
|
|
4590
|
+
})[];
|
|
4430
4591
|
total: number;
|
|
4431
4592
|
};
|
|
4432
4593
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -4439,8 +4600,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4439
4600
|
user: {
|
|
4440
4601
|
id: string;
|
|
4441
4602
|
type: "system";
|
|
4442
|
-
primaryOfficeId?: undefined;
|
|
4443
4603
|
signature?: undefined;
|
|
4604
|
+
primaryOfficeId?: undefined;
|
|
4444
4605
|
administrativeAreaId?: undefined;
|
|
4445
4606
|
} | {
|
|
4446
4607
|
id: string;
|
|
@@ -4512,8 +4673,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4512
4673
|
user: {
|
|
4513
4674
|
id: string;
|
|
4514
4675
|
type: "system";
|
|
4515
|
-
primaryOfficeId?: undefined;
|
|
4516
4676
|
signature?: undefined;
|
|
4677
|
+
primaryOfficeId?: undefined;
|
|
4517
4678
|
administrativeAreaId?: undefined;
|
|
4518
4679
|
} | {
|
|
4519
4680
|
id: string;
|
|
@@ -4534,8 +4695,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4534
4695
|
user: {
|
|
4535
4696
|
id: string;
|
|
4536
4697
|
type: "system";
|
|
4537
|
-
primaryOfficeId?: undefined;
|
|
4538
4698
|
signature?: undefined;
|
|
4699
|
+
primaryOfficeId?: undefined;
|
|
4539
4700
|
administrativeAreaId?: undefined;
|
|
4540
4701
|
} | {
|
|
4541
4702
|
id: string;
|
|
@@ -4565,10 +4726,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4565
4726
|
eventType?: string | undefined;
|
|
4566
4727
|
status?: {
|
|
4567
4728
|
type: "anyOf";
|
|
4568
|
-
terms: ("
|
|
4729
|
+
terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
|
|
4569
4730
|
} | {
|
|
4570
4731
|
type: "exact";
|
|
4571
|
-
term: "
|
|
4732
|
+
term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
4572
4733
|
} | undefined;
|
|
4573
4734
|
createdAt?: {
|
|
4574
4735
|
type: "exact";
|
|
@@ -4595,7 +4756,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4595
4756
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4596
4757
|
type: "within";
|
|
4597
4758
|
location: string | {
|
|
4598
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4759
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4599
4760
|
$location?: string | undefined;
|
|
4600
4761
|
};
|
|
4601
4762
|
} | undefined;
|
|
@@ -4617,7 +4778,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4617
4778
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4618
4779
|
type: "within";
|
|
4619
4780
|
location: string | {
|
|
4620
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4781
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4621
4782
|
$location?: string | undefined;
|
|
4622
4783
|
};
|
|
4623
4784
|
} | undefined;
|
|
@@ -4632,35 +4793,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4632
4793
|
createdAtLocation?: {
|
|
4633
4794
|
type: "within";
|
|
4634
4795
|
location: string | {
|
|
4635
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4796
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4797
|
+
$location?: string | undefined;
|
|
4798
|
+
};
|
|
4799
|
+
} | {
|
|
4800
|
+
type: "exact";
|
|
4801
|
+
term: string | {
|
|
4802
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4636
4803
|
$location?: string | undefined;
|
|
4637
4804
|
};
|
|
4638
4805
|
} | undefined;
|
|
4639
4806
|
updatedAtLocation?: {
|
|
4640
4807
|
type: "within";
|
|
4641
4808
|
location: string | {
|
|
4642
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4809
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4810
|
+
$location?: string | undefined;
|
|
4811
|
+
};
|
|
4812
|
+
} | {
|
|
4813
|
+
type: "exact";
|
|
4814
|
+
term: string | {
|
|
4815
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4643
4816
|
$location?: string | undefined;
|
|
4644
4817
|
};
|
|
4645
4818
|
} | undefined;
|
|
4646
4819
|
updatedByUserRole?: {
|
|
4647
4820
|
type: "exact";
|
|
4648
4821
|
term: string | {
|
|
4649
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4822
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4650
4823
|
$location?: string | undefined;
|
|
4651
4824
|
};
|
|
4652
4825
|
} | undefined;
|
|
4653
4826
|
assignedTo?: {
|
|
4654
4827
|
type: "exact";
|
|
4655
4828
|
term: string | {
|
|
4656
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4829
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4657
4830
|
$location?: string | undefined;
|
|
4658
4831
|
};
|
|
4659
4832
|
} | undefined;
|
|
4660
4833
|
createdBy?: {
|
|
4661
4834
|
type: "exact";
|
|
4662
4835
|
term: string | {
|
|
4663
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4836
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4664
4837
|
$location?: string | undefined;
|
|
4665
4838
|
};
|
|
4666
4839
|
} | undefined;
|
|
@@ -4671,7 +4844,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4671
4844
|
updatedBy?: {
|
|
4672
4845
|
type: "exact";
|
|
4673
4846
|
term: string | {
|
|
4674
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4847
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4675
4848
|
$location?: string | undefined;
|
|
4676
4849
|
};
|
|
4677
4850
|
} | undefined;
|
|
@@ -4691,10 +4864,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4691
4864
|
eventType?: string | undefined;
|
|
4692
4865
|
status?: {
|
|
4693
4866
|
type: "anyOf";
|
|
4694
|
-
terms: ("
|
|
4867
|
+
terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
|
|
4695
4868
|
} | {
|
|
4696
4869
|
type: "exact";
|
|
4697
|
-
term: "
|
|
4870
|
+
term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
4698
4871
|
} | undefined;
|
|
4699
4872
|
createdAt?: {
|
|
4700
4873
|
type: "exact";
|
|
@@ -4721,7 +4894,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4721
4894
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4722
4895
|
type: "within";
|
|
4723
4896
|
location: string | {
|
|
4724
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4897
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4725
4898
|
$location?: string | undefined;
|
|
4726
4899
|
};
|
|
4727
4900
|
} | undefined;
|
|
@@ -4743,7 +4916,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4743
4916
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4744
4917
|
type: "within";
|
|
4745
4918
|
location: string | {
|
|
4746
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4919
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4747
4920
|
$location?: string | undefined;
|
|
4748
4921
|
};
|
|
4749
4922
|
} | undefined;
|
|
@@ -4758,35 +4931,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4758
4931
|
createdAtLocation?: {
|
|
4759
4932
|
type: "within";
|
|
4760
4933
|
location: string | {
|
|
4761
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4934
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4935
|
+
$location?: string | undefined;
|
|
4936
|
+
};
|
|
4937
|
+
} | {
|
|
4938
|
+
type: "exact";
|
|
4939
|
+
term: string | {
|
|
4940
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4762
4941
|
$location?: string | undefined;
|
|
4763
4942
|
};
|
|
4764
4943
|
} | undefined;
|
|
4765
4944
|
updatedAtLocation?: {
|
|
4766
4945
|
type: "within";
|
|
4767
4946
|
location: string | {
|
|
4768
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4947
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4948
|
+
$location?: string | undefined;
|
|
4949
|
+
};
|
|
4950
|
+
} | {
|
|
4951
|
+
type: "exact";
|
|
4952
|
+
term: string | {
|
|
4953
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4769
4954
|
$location?: string | undefined;
|
|
4770
4955
|
};
|
|
4771
4956
|
} | undefined;
|
|
4772
4957
|
updatedByUserRole?: {
|
|
4773
4958
|
type: "exact";
|
|
4774
4959
|
term: string | {
|
|
4775
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4960
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4776
4961
|
$location?: string | undefined;
|
|
4777
4962
|
};
|
|
4778
4963
|
} | undefined;
|
|
4779
4964
|
assignedTo?: {
|
|
4780
4965
|
type: "exact";
|
|
4781
4966
|
term: string | {
|
|
4782
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4967
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4783
4968
|
$location?: string | undefined;
|
|
4784
4969
|
};
|
|
4785
4970
|
} | undefined;
|
|
4786
4971
|
createdBy?: {
|
|
4787
4972
|
type: "exact";
|
|
4788
4973
|
term: string | {
|
|
4789
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4974
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4790
4975
|
$location?: string | undefined;
|
|
4791
4976
|
};
|
|
4792
4977
|
} | undefined;
|
|
@@ -4797,7 +4982,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4797
4982
|
updatedBy?: {
|
|
4798
4983
|
type: "exact";
|
|
4799
4984
|
term: string | {
|
|
4800
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4985
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4801
4986
|
$location?: string | undefined;
|
|
4802
4987
|
};
|
|
4803
4988
|
} | undefined;
|
|
@@ -4819,7 +5004,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4819
5004
|
description: string;
|
|
4820
5005
|
};
|
|
4821
5006
|
value: {
|
|
4822
|
-
$event: "id" | "createdBy" | "
|
|
5007
|
+
$event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
4823
5008
|
};
|
|
4824
5009
|
}[];
|
|
4825
5010
|
icon: "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
@@ -4850,8 +5035,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4850
5035
|
user: {
|
|
4851
5036
|
id: string;
|
|
4852
5037
|
type: "system";
|
|
4853
|
-
primaryOfficeId?: undefined;
|
|
4854
5038
|
signature?: undefined;
|
|
5039
|
+
primaryOfficeId?: undefined;
|
|
4855
5040
|
administrativeAreaId?: undefined;
|
|
4856
5041
|
} | {
|
|
4857
5042
|
id: string;
|
|
@@ -4898,8 +5083,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4898
5083
|
user: {
|
|
4899
5084
|
id: string;
|
|
4900
5085
|
type: "system";
|
|
4901
|
-
primaryOfficeId?: undefined;
|
|
4902
5086
|
signature?: undefined;
|
|
5087
|
+
primaryOfficeId?: undefined;
|
|
4903
5088
|
administrativeAreaId?: undefined;
|
|
4904
5089
|
} | {
|
|
4905
5090
|
id: string;
|
|
@@ -4934,7 +5119,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4934
5119
|
output: {
|
|
4935
5120
|
id: string & import("zod").$brand<"UUID">;
|
|
4936
5121
|
status: string;
|
|
4937
|
-
scope: string[];
|
|
5122
|
+
scope: (string & import("zod").$brand<"EncodedScope">)[];
|
|
4938
5123
|
};
|
|
4939
5124
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4940
5125
|
}>;
|
|
@@ -5016,8 +5201,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5016
5201
|
user: {
|
|
5017
5202
|
id: string;
|
|
5018
5203
|
type: "system";
|
|
5019
|
-
primaryOfficeId?: undefined;
|
|
5020
5204
|
signature?: undefined;
|
|
5205
|
+
primaryOfficeId?: undefined;
|
|
5021
5206
|
administrativeAreaId?: undefined;
|
|
5022
5207
|
} | {
|
|
5023
5208
|
id: string;
|
|
@@ -5045,6 +5230,40 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5045
5230
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5046
5231
|
}>;
|
|
5047
5232
|
}>>;
|
|
5233
|
+
announcement: import("@trpc/server").TRPCBuiltRouter<{
|
|
5234
|
+
ctx: Partial<{
|
|
5235
|
+
token: `Bearer ${string}`;
|
|
5236
|
+
user: {
|
|
5237
|
+
id: string;
|
|
5238
|
+
type: "system";
|
|
5239
|
+
signature?: undefined;
|
|
5240
|
+
primaryOfficeId?: undefined;
|
|
5241
|
+
administrativeAreaId?: undefined;
|
|
5242
|
+
} | {
|
|
5243
|
+
id: string;
|
|
5244
|
+
type: "user";
|
|
5245
|
+
role: string;
|
|
5246
|
+
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5247
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5248
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5249
|
+
};
|
|
5250
|
+
}>;
|
|
5251
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5252
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
5253
|
+
transformer: true;
|
|
5254
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
5255
|
+
broadcast: import("@trpc/server").TRPCMutationProcedure<{
|
|
5256
|
+
input: {
|
|
5257
|
+
subject: string;
|
|
5258
|
+
body: string;
|
|
5259
|
+
locale: string;
|
|
5260
|
+
};
|
|
5261
|
+
output: {
|
|
5262
|
+
success: boolean;
|
|
5263
|
+
};
|
|
5264
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5265
|
+
}>;
|
|
5266
|
+
}>>;
|
|
5048
5267
|
}>>;
|
|
5049
5268
|
/** @knipignore */
|
|
5050
5269
|
export type AppRouter = typeof appRouter;
|