@opencrvs/toolkit 2.0.0-rc.18f6ed6 → 2.0.0-rc.19ad04f
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/README.md +15 -0
- package/build.sh +3 -2
- package/create-countryconfig/index.js +50 -20
- package/create-countryconfig/package.json +12 -2
- package/dist/application-config/index.js +265 -102
- package/dist/cli.js +3262 -50
- package/dist/commons/api/router.d.ts +51 -21
- package/dist/commons/application-config/index.d.ts +1 -0
- package/dist/commons/conditionals/conditionals.d.ts +357 -7
- package/dist/commons/conditionals/validate.d.ts +51 -2
- package/dist/commons/events/ActionConfig.d.ts +28 -2
- package/dist/commons/events/ActionInput.d.ts +36 -36
- package/dist/commons/events/AdvancedSearchConfig.d.ts +354 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +42 -0
- package/dist/commons/events/Draft.d.ts +2 -3
- package/dist/commons/events/EventConfig.d.ts +2 -0
- package/dist/commons/events/EventIndex.d.ts +25 -0
- package/dist/commons/events/EventMetadata.d.ts +26 -0
- package/dist/commons/events/FieldConfig.d.ts +388 -50
- package/dist/commons/events/FieldType.d.ts +1 -0
- package/dist/commons/events/FieldTypeMapping.d.ts +1 -1
- package/dist/commons/events/FieldValue.d.ts +6 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +44 -5
- package/dist/commons/events/field.d.ts +53 -1
- package/dist/commons/events/index.d.ts +2 -0
- package/dist/commons/events/locations.d.ts +1 -0
- package/dist/commons/events/state/flags.d.ts +16 -0
- package/dist/commons/events/state/index.d.ts +8 -0
- package/dist/commons/events/state/utils.d.ts +21 -290
- package/dist/commons/events/utils.d.ts +9 -1
- package/dist/conditionals/index.js +62 -6
- package/dist/environment/custom-types.d.ts +33 -0
- package/dist/environment/custom-types.d.ts.map +1 -0
- package/dist/environment/custom-types.js +12 -0
- package/dist/environment/derived-variables.d.ts +134 -0
- package/dist/environment/derived-variables.d.ts.map +1 -0
- package/dist/environment/derived-variables.js +169 -0
- package/dist/environment/editor-questions.d.ts +4 -0
- package/dist/environment/editor-questions.d.ts.map +1 -0
- package/dist/environment/editor-questions.js +67 -0
- package/dist/environment/git.d.ts +5 -0
- package/dist/environment/git.d.ts.map +1 -0
- package/dist/environment/git.js +38 -0
- package/dist/environment/github.d.ts +26 -0
- package/dist/environment/github.d.ts.map +1 -0
- package/dist/environment/github.js +247 -0
- package/dist/environment/index.d.ts +5 -0
- package/dist/environment/index.d.ts.map +1 -0
- package/dist/environment/index.js +71 -0
- package/dist/environment/logger.d.ts +15 -0
- package/dist/environment/logger.d.ts.map +1 -0
- package/dist/environment/logger.js +25 -0
- package/dist/environment/manage-users.d.ts +11 -0
- package/dist/environment/manage-users.d.ts.map +1 -0
- package/dist/environment/manage-users.js +497 -0
- package/dist/environment/questions-helper.d.ts +15 -0
- package/dist/environment/questions-helper.d.ts.map +1 -0
- package/dist/environment/questions-helper.js +70 -0
- package/dist/environment/questions.d.ts +199 -0
- package/dist/environment/questions.d.ts.map +1 -0
- package/dist/environment/questions.js +412 -0
- package/dist/environment/setup-environment.d.ts +2 -0
- package/dist/environment/setup-environment.d.ts.map +1 -0
- package/dist/environment/setup-environment.js +794 -0
- package/dist/environment/ssh-keygen.d.ts +5 -0
- package/dist/environment/ssh-keygen.d.ts.map +1 -0
- package/dist/environment/ssh-keygen.js +21 -0
- package/dist/environment/swarm-to-k8s.d.ts +2 -0
- package/dist/environment/swarm-to-k8s.d.ts.map +1 -0
- package/dist/environment/swarm-to-k8s.js +173 -0
- package/dist/environment/templates.d.ts +27 -0
- package/dist/environment/templates.d.ts.map +1 -0
- package/dist/environment/templates.js +163 -0
- package/dist/environment/update-workflows.d.ts +2 -0
- package/dist/environment/update-workflows.d.ts.map +1 -0
- package/dist/environment/update-workflows.js +169 -0
- package/dist/environment/users.d.ts +2 -0
- package/dist/environment/users.d.ts.map +1 -0
- package/dist/environment/users.js +112 -0
- package/dist/environment/utils.d.ts +18 -0
- package/dist/environment/utils.d.ts.map +1 -0
- package/dist/environment/utils.js +100 -0
- package/dist/events/index.js +1071 -226
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +1 -1
- package/dist/migrations/v2.0/index.js +20 -9
- package/dist/notification/index.js +882 -124
- package/dist/scopes/index.d.ts +93 -7
- package/dist/scopes/index.js +19 -8
- package/dist/templates/charts-values/dependencies/values.override.yaml +4 -0
- package/dist/templates/charts-values/dependencies/values.yaml +83 -0
- package/dist/templates/charts-values/opencrvs-services/values.override.yaml +4 -0
- package/dist/templates/charts-values/opencrvs-services/values.yaml +81 -0
- package/dist/templates/charts-values/traefik/values.override.yaml +4 -0
- package/dist/templates/charts-values/traefik/values.yaml +115 -0
- package/dist/templates/inventory/inventory.template.yml +100 -0
- package/dist/templates/inventory/production.example.yml +77 -0
- package/dist/templates/inventory/qa.example.yml +48 -0
- package/opencrvs-toolkit-2.0.0-rc.19ad04f.tgz +0 -0
- package/package.json +20 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.0.0-rc.18f6ed6.tgz +0 -0
|
@@ -417,7 +417,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
417
417
|
createdByUserType: "system" | "user";
|
|
418
418
|
createdAt: string;
|
|
419
419
|
createdBy: string;
|
|
420
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "
|
|
420
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
421
421
|
status: "Rejected";
|
|
422
422
|
createdByRole?: string | undefined;
|
|
423
423
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -432,6 +432,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
432
432
|
input: {
|
|
433
433
|
eventId: string;
|
|
434
434
|
customActionType?: string | undefined;
|
|
435
|
+
waitFor?: boolean | undefined;
|
|
435
436
|
};
|
|
436
437
|
output: {
|
|
437
438
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -728,7 +729,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
728
729
|
createdByUserType: "system" | "user";
|
|
729
730
|
createdAt: string;
|
|
730
731
|
createdBy: string;
|
|
731
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "
|
|
732
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
732
733
|
status: "Rejected";
|
|
733
734
|
createdByRole?: string | undefined;
|
|
734
735
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -1039,7 +1040,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1039
1040
|
createdByUserType: "system" | "user";
|
|
1040
1041
|
createdAt: string;
|
|
1041
1042
|
createdBy: string;
|
|
1042
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "
|
|
1043
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
1043
1044
|
status: "Rejected";
|
|
1044
1045
|
createdByRole?: string | undefined;
|
|
1045
1046
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -1089,7 +1090,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1089
1090
|
transactionId: string;
|
|
1090
1091
|
createdAt: string;
|
|
1091
1092
|
action: {
|
|
1092
|
-
type: "
|
|
1093
|
+
type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
|
|
1093
1094
|
transactionId: string;
|
|
1094
1095
|
createdByUserType: "system" | "user";
|
|
1095
1096
|
createdAt: string;
|
|
@@ -1106,18 +1107,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1106
1107
|
}>;
|
|
1107
1108
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
1108
1109
|
input: {
|
|
1109
|
-
eventId: string;
|
|
1110
1110
|
transactionId: string;
|
|
1111
|
-
|
|
1111
|
+
eventId: string;
|
|
1112
|
+
type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
|
|
1112
1113
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1114
|
+
createdAtLocation?: string | null | undefined;
|
|
1113
1115
|
declaration?: Record<string, unknown> | undefined;
|
|
1114
1116
|
annotation?: Record<string, unknown> | undefined;
|
|
1115
1117
|
originalActionId?: string | undefined;
|
|
1116
1118
|
keepAssignment?: boolean | undefined;
|
|
1117
1119
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1118
1120
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1119
|
-
waitFor?: boolean | undefined;
|
|
1120
|
-
createdAtLocation?: string | null | undefined;
|
|
1121
1121
|
};
|
|
1122
1122
|
output: {
|
|
1123
1123
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -1125,7 +1125,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1125
1125
|
transactionId: string;
|
|
1126
1126
|
createdAt: string;
|
|
1127
1127
|
action: {
|
|
1128
|
-
type: "
|
|
1128
|
+
type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
|
|
1129
1129
|
transactionId: string;
|
|
1130
1130
|
createdByUserType: "system" | "user";
|
|
1131
1131
|
createdAt: string;
|
|
@@ -1451,6 +1451,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1451
1451
|
transactionId: import("zod").ZodString;
|
|
1452
1452
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
1453
1453
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1454
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
1454
1455
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
1455
1456
|
}, import("zod/v4/core").$strip>>;
|
|
1456
1457
|
output: import("../commons").EventDocument;
|
|
@@ -1787,7 +1788,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1787
1788
|
createdByUserType: "system" | "user";
|
|
1788
1789
|
createdAt: string;
|
|
1789
1790
|
createdBy: string;
|
|
1790
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "
|
|
1791
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
1791
1792
|
status: "Rejected";
|
|
1792
1793
|
createdByRole?: string | undefined;
|
|
1793
1794
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -2130,7 +2131,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2130
2131
|
createdByUserType: "system" | "user";
|
|
2131
2132
|
createdAt: string;
|
|
2132
2133
|
createdBy: string;
|
|
2133
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "
|
|
2134
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
2134
2135
|
status: "Rejected";
|
|
2135
2136
|
createdByRole?: string | undefined;
|
|
2136
2137
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -2402,6 +2403,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2402
2403
|
transactionId: import("zod").ZodString;
|
|
2403
2404
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2404
2405
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2406
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2405
2407
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2406
2408
|
}, import("zod/v4/core").$strip>>;
|
|
2407
2409
|
output: import("../commons").EventDocument;
|
|
@@ -2696,6 +2698,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2696
2698
|
transactionId: import("zod").ZodString;
|
|
2697
2699
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2698
2700
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2701
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2699
2702
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2700
2703
|
}, import("zod/v4/core").$strip>>;
|
|
2701
2704
|
output: import("../commons").EventDocument;
|
|
@@ -2990,6 +2993,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2990
2993
|
transactionId: import("zod").ZodString;
|
|
2991
2994
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2992
2995
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2996
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2993
2997
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2994
2998
|
}, import("zod/v4/core").$strip>>;
|
|
2995
2999
|
output: import("../commons").EventDocument;
|
|
@@ -3284,6 +3288,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3284
3288
|
transactionId: import("zod").ZodString;
|
|
3285
3289
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3286
3290
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3291
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3287
3292
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3288
3293
|
}, import("zod/v4/core").$strip>>;
|
|
3289
3294
|
output: import("../commons").EventDocument;
|
|
@@ -3578,6 +3583,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3578
3583
|
transactionId: import("zod").ZodString;
|
|
3579
3584
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3580
3585
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3586
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3581
3587
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3582
3588
|
}, import("zod/v4/core").$strip>>;
|
|
3583
3589
|
output: import("../commons").EventDocument;
|
|
@@ -3872,6 +3878,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3872
3878
|
transactionId: import("zod").ZodString;
|
|
3873
3879
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3874
3880
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3881
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3875
3882
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3876
3883
|
}, import("zod/v4/core").$strip>>;
|
|
3877
3884
|
output: import("../commons").EventDocument;
|
|
@@ -4210,7 +4217,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4210
4217
|
createdByUserType: "system" | "user";
|
|
4211
4218
|
createdAt: string;
|
|
4212
4219
|
createdBy: string;
|
|
4213
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "
|
|
4220
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
4214
4221
|
status: "Rejected";
|
|
4215
4222
|
createdByRole?: string | undefined;
|
|
4216
4223
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -4482,6 +4489,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4482
4489
|
transactionId: import("zod").ZodString;
|
|
4483
4490
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
4484
4491
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4492
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
4485
4493
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
4486
4494
|
}, import("zod/v4/core").$strip>>;
|
|
4487
4495
|
output: import("../commons").EventDocument;
|
|
@@ -4820,7 +4828,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4820
4828
|
createdByUserType: "system" | "user";
|
|
4821
4829
|
createdAt: string;
|
|
4822
4830
|
createdBy: string;
|
|
4823
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "
|
|
4831
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
4824
4832
|
status: "Rejected";
|
|
4825
4833
|
createdByRole?: string | undefined;
|
|
4826
4834
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -5141,7 +5149,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5141
5149
|
createdByUserType: "system" | "user";
|
|
5142
5150
|
createdAt: string;
|
|
5143
5151
|
createdBy: string;
|
|
5144
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "
|
|
5152
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
5145
5153
|
status: "Rejected";
|
|
5146
5154
|
createdByRole?: string | undefined;
|
|
5147
5155
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -5463,6 +5471,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5463
5471
|
transactionId: import("zod").ZodString;
|
|
5464
5472
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5465
5473
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5474
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
5466
5475
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5467
5476
|
}, import("zod/v4/core").$strip>>;
|
|
5468
5477
|
output: import("../commons").EventDocument;
|
|
@@ -5757,6 +5766,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5757
5766
|
transactionId: import("zod").ZodString;
|
|
5758
5767
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5759
5768
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5769
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
5760
5770
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5761
5771
|
}, import("zod/v4/core").$strip>>;
|
|
5762
5772
|
output: import("../commons").EventDocument;
|
|
@@ -6051,6 +6061,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6051
6061
|
transactionId: import("zod").ZodString;
|
|
6052
6062
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
6053
6063
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6064
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
6054
6065
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
6055
6066
|
}, import("zod/v4/core").$strip>>;
|
|
6056
6067
|
output: import("../commons").EventDocument;
|
|
@@ -6392,7 +6403,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6392
6403
|
createdByUserType: "system" | "user";
|
|
6393
6404
|
createdAt: string;
|
|
6394
6405
|
createdBy: string;
|
|
6395
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "
|
|
6406
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
6396
6407
|
status: "Rejected";
|
|
6397
6408
|
createdByRole?: string | undefined;
|
|
6398
6409
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -6712,7 +6723,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6712
6723
|
createdByUserType: "system" | "user";
|
|
6713
6724
|
createdAt: string;
|
|
6714
6725
|
createdBy: string;
|
|
6715
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "
|
|
6726
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
6716
6727
|
status: "Rejected";
|
|
6717
6728
|
createdByRole?: string | undefined;
|
|
6718
6729
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -6738,6 +6749,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6738
6749
|
type: string;
|
|
6739
6750
|
status: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
6740
6751
|
legalStatuses: {
|
|
6752
|
+
NOTIFIED?: {
|
|
6753
|
+
createdAt: string;
|
|
6754
|
+
createdBy: string;
|
|
6755
|
+
acceptedAt: string;
|
|
6756
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6757
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
|
6758
|
+
createdByRole?: string | undefined;
|
|
6759
|
+
} | null | undefined;
|
|
6741
6760
|
DECLARED?: {
|
|
6742
6761
|
createdAt: string;
|
|
6743
6762
|
createdBy: string;
|
|
@@ -7075,7 +7094,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7075
7094
|
createdByUserType: "system" | "user";
|
|
7076
7095
|
createdAt: string;
|
|
7077
7096
|
createdBy: string;
|
|
7078
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "
|
|
7097
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
7079
7098
|
status: "Rejected";
|
|
7080
7099
|
createdByRole?: string | undefined;
|
|
7081
7100
|
createdBySignature?: string | null | undefined;
|
|
@@ -7293,7 +7312,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7293
7312
|
count?: number | undefined;
|
|
7294
7313
|
timeStart?: string | undefined;
|
|
7295
7314
|
timeEnd?: string | undefined;
|
|
7296
|
-
actionTypes?: ("
|
|
7315
|
+
actionTypes?: ("CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM")[] | undefined;
|
|
7297
7316
|
};
|
|
7298
7317
|
output: {
|
|
7299
7318
|
results: {
|
|
@@ -7363,9 +7382,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7363
7382
|
output: void;
|
|
7364
7383
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7365
7384
|
}>;
|
|
7366
|
-
|
|
7385
|
+
requestEmailChange: import("@trpc/server").TRPCMutationProcedure<{
|
|
7386
|
+
input: {
|
|
7387
|
+
email: string;
|
|
7388
|
+
};
|
|
7389
|
+
output: {
|
|
7390
|
+
nonce: string;
|
|
7391
|
+
};
|
|
7392
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7393
|
+
}>;
|
|
7394
|
+
requestPhoneChange: import("@trpc/server").TRPCMutationProcedure<{
|
|
7367
7395
|
input: {
|
|
7368
|
-
|
|
7396
|
+
phoneNumber: string;
|
|
7369
7397
|
};
|
|
7370
7398
|
output: {
|
|
7371
7399
|
nonce: string;
|
|
@@ -7993,6 +8021,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7993
8021
|
flags?: {
|
|
7994
8022
|
anyOf?: string[] | undefined;
|
|
7995
8023
|
noneOf?: string[] | undefined;
|
|
8024
|
+
allOf?: string[] | undefined;
|
|
7996
8025
|
} | undefined;
|
|
7997
8026
|
data?: unknown;
|
|
7998
8027
|
}[];
|
|
@@ -8131,6 +8160,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8131
8160
|
flags?: {
|
|
8132
8161
|
anyOf?: string[] | undefined;
|
|
8133
8162
|
noneOf?: string[] | undefined;
|
|
8163
|
+
allOf?: string[] | undefined;
|
|
8134
8164
|
} | undefined;
|
|
8135
8165
|
data?: unknown;
|
|
8136
8166
|
}[];
|
|
@@ -8145,7 +8175,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8145
8175
|
$event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
8146
8176
|
};
|
|
8147
8177
|
}[];
|
|
8148
|
-
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" | "
|
|
8178
|
+
icon: "File" | "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" | "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";
|
|
8149
8179
|
action?: {
|
|
8150
8180
|
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
8151
8181
|
} | undefined;
|
|
@@ -74,6 +74,7 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
74
74
|
COUNTRY: z.ZodString;
|
|
75
75
|
LANGUAGES: z.ZodArray<z.ZodString>;
|
|
76
76
|
SENTRY: z.ZodOptional<z.ZodString>;
|
|
77
|
+
LOGIN_URL: z.ZodOptional<z.ZodString>;
|
|
77
78
|
REGISTER_BACKGROUND: z.ZodObject<{
|
|
78
79
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
79
80
|
backgroundImage: z.ZodOptional<z.ZodString>;
|