@opencrvs/toolkit 2.0.0-rc.fe35c20 → 2.0.0-rc.fe577a4
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 +46 -33
- package/dist/cli.js +7 -1
- package/dist/commons/api/router.d.ts +81 -15
- package/dist/commons/application-config/index.d.ts +1 -0
- package/dist/commons/conditionals/conditionals.d.ts +348 -4
- package/dist/commons/conditionals/validate.d.ts +51 -2
- package/dist/commons/events/ActionDocument.d.ts +6 -0
- package/dist/commons/events/ActionInput.d.ts +6 -0
- package/dist/commons/events/EventDocument.d.ts +3 -0
- package/dist/commons/events/FieldConfig.d.ts +377 -50
- package/dist/commons/events/FieldValue.d.ts +6 -0
- package/dist/commons/events/field.d.ts +47 -1
- package/dist/commons/events/state/utils.d.ts +3 -0
- package/dist/commons/events/utils.d.ts +12 -1
- package/dist/conditionals/index.js +48 -1
- package/dist/events/index.js +219 -82
- package/dist/migrations/v2.0/index.js +7 -1
- package/dist/notification/index.js +149 -36
- package/dist/scopes/index.js +7 -1
- package/opencrvs-toolkit-2.0.0-rc.fe577a4.tgz +0 -0
- package/package.json +1 -1
- package/opencrvs-toolkit-2.0.0-rc.fe35c20.tgz +0 -0
|
@@ -313,6 +313,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
313
313
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
314
314
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
315
315
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
316
|
+
content?: {
|
|
317
|
+
immediateCorrection?: boolean | undefined;
|
|
318
|
+
} | undefined;
|
|
316
319
|
} | {
|
|
317
320
|
id: string & import("zod").$brand<"UUID">;
|
|
318
321
|
transactionId: string;
|
|
@@ -414,7 +417,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
414
417
|
createdByUserType: "system" | "user";
|
|
415
418
|
createdAt: string;
|
|
416
419
|
createdBy: string;
|
|
417
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "
|
|
420
|
+
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
|
418
421
|
status: "Rejected";
|
|
419
422
|
createdByRole?: string | undefined;
|
|
420
423
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -622,6 +625,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
622
625
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
623
626
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
624
627
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
628
|
+
content?: {
|
|
629
|
+
immediateCorrection?: boolean | undefined;
|
|
630
|
+
} | undefined;
|
|
625
631
|
} | {
|
|
626
632
|
id: string & import("zod").$brand<"UUID">;
|
|
627
633
|
transactionId: string;
|
|
@@ -723,7 +729,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
723
729
|
createdByUserType: "system" | "user";
|
|
724
730
|
createdAt: string;
|
|
725
731
|
createdBy: string;
|
|
726
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "
|
|
732
|
+
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
|
727
733
|
status: "Rejected";
|
|
728
734
|
createdByRole?: string | undefined;
|
|
729
735
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -930,6 +936,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
930
936
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
931
937
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
932
938
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
939
|
+
content?: {
|
|
940
|
+
immediateCorrection?: boolean | undefined;
|
|
941
|
+
} | undefined;
|
|
933
942
|
} | {
|
|
934
943
|
id: string & import("zod").$brand<"UUID">;
|
|
935
944
|
transactionId: string;
|
|
@@ -1031,7 +1040,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1031
1040
|
createdByUserType: "system" | "user";
|
|
1032
1041
|
createdAt: string;
|
|
1033
1042
|
createdBy: string;
|
|
1034
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "
|
|
1043
|
+
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
|
1035
1044
|
status: "Rejected";
|
|
1036
1045
|
createdByRole?: string | undefined;
|
|
1037
1046
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -1081,7 +1090,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1081
1090
|
transactionId: string;
|
|
1082
1091
|
createdAt: string;
|
|
1083
1092
|
action: {
|
|
1084
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "
|
|
1093
|
+
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "NOTIFY" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "ASSIGN" | "UNASSIGN";
|
|
1085
1094
|
transactionId: string;
|
|
1086
1095
|
createdByUserType: "system" | "user";
|
|
1087
1096
|
createdAt: string;
|
|
@@ -1100,7 +1109,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1100
1109
|
input: {
|
|
1101
1110
|
transactionId: string;
|
|
1102
1111
|
eventId: string;
|
|
1103
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "
|
|
1112
|
+
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "NOTIFY" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "ASSIGN" | "UNASSIGN";
|
|
1104
1113
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1105
1114
|
createdAtLocation?: string | null | undefined;
|
|
1106
1115
|
declaration?: Record<string, unknown> | undefined;
|
|
@@ -1116,7 +1125,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1116
1125
|
transactionId: string;
|
|
1117
1126
|
createdAt: string;
|
|
1118
1127
|
action: {
|
|
1119
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "
|
|
1128
|
+
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "NOTIFY" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "ASSIGN" | "UNASSIGN";
|
|
1120
1129
|
transactionId: string;
|
|
1121
1130
|
createdByUserType: "system" | "user";
|
|
1122
1131
|
createdAt: string;
|
|
@@ -1388,6 +1397,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1388
1397
|
waitFor?: boolean | undefined;
|
|
1389
1398
|
createdAtLocation?: string | null | undefined;
|
|
1390
1399
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
1400
|
+
content?: {
|
|
1401
|
+
immediateCorrection?: boolean | undefined;
|
|
1402
|
+
} | undefined;
|
|
1391
1403
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1392
1404
|
eventId: string;
|
|
1393
1405
|
transactionId: string;
|
|
@@ -1672,6 +1684,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1672
1684
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1673
1685
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1674
1686
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1687
|
+
content?: {
|
|
1688
|
+
immediateCorrection?: boolean | undefined;
|
|
1689
|
+
} | undefined;
|
|
1675
1690
|
} | {
|
|
1676
1691
|
id: string & import("zod").$brand<"UUID">;
|
|
1677
1692
|
transactionId: string;
|
|
@@ -1773,7 +1788,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1773
1788
|
createdByUserType: "system" | "user";
|
|
1774
1789
|
createdAt: string;
|
|
1775
1790
|
createdBy: string;
|
|
1776
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "
|
|
1791
|
+
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
|
1777
1792
|
status: "Rejected";
|
|
1778
1793
|
createdByRole?: string | undefined;
|
|
1779
1794
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -2012,6 +2027,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2012
2027
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2013
2028
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
2014
2029
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2030
|
+
content?: {
|
|
2031
|
+
immediateCorrection?: boolean | undefined;
|
|
2032
|
+
} | undefined;
|
|
2015
2033
|
} | {
|
|
2016
2034
|
id: string & import("zod").$brand<"UUID">;
|
|
2017
2035
|
transactionId: string;
|
|
@@ -2113,7 +2131,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2113
2131
|
createdByUserType: "system" | "user";
|
|
2114
2132
|
createdAt: string;
|
|
2115
2133
|
createdBy: string;
|
|
2116
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "
|
|
2134
|
+
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
|
2117
2135
|
status: "Rejected";
|
|
2118
2136
|
createdByRole?: string | undefined;
|
|
2119
2137
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -2331,6 +2349,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2331
2349
|
waitFor?: boolean | undefined;
|
|
2332
2350
|
createdAtLocation?: string | null | undefined;
|
|
2333
2351
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
2352
|
+
content?: {
|
|
2353
|
+
immediateCorrection?: boolean | undefined;
|
|
2354
|
+
} | undefined;
|
|
2334
2355
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2335
2356
|
eventId: string;
|
|
2336
2357
|
transactionId: string;
|
|
@@ -2623,6 +2644,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2623
2644
|
waitFor?: boolean | undefined;
|
|
2624
2645
|
createdAtLocation?: string | null | undefined;
|
|
2625
2646
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
2647
|
+
content?: {
|
|
2648
|
+
immediateCorrection?: boolean | undefined;
|
|
2649
|
+
} | undefined;
|
|
2626
2650
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2627
2651
|
eventId: string;
|
|
2628
2652
|
transactionId: string;
|
|
@@ -2915,6 +2939,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2915
2939
|
waitFor?: boolean | undefined;
|
|
2916
2940
|
createdAtLocation?: string | null | undefined;
|
|
2917
2941
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
2942
|
+
content?: {
|
|
2943
|
+
immediateCorrection?: boolean | undefined;
|
|
2944
|
+
} | undefined;
|
|
2918
2945
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2919
2946
|
eventId: string;
|
|
2920
2947
|
transactionId: string;
|
|
@@ -3207,6 +3234,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3207
3234
|
waitFor?: boolean | undefined;
|
|
3208
3235
|
createdAtLocation?: string | null | undefined;
|
|
3209
3236
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
3237
|
+
content?: {
|
|
3238
|
+
immediateCorrection?: boolean | undefined;
|
|
3239
|
+
} | undefined;
|
|
3210
3240
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3211
3241
|
eventId: string;
|
|
3212
3242
|
transactionId: string;
|
|
@@ -3499,6 +3529,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3499
3529
|
waitFor?: boolean | undefined;
|
|
3500
3530
|
createdAtLocation?: string | null | undefined;
|
|
3501
3531
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
3532
|
+
content?: {
|
|
3533
|
+
immediateCorrection?: boolean | undefined;
|
|
3534
|
+
} | undefined;
|
|
3502
3535
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3503
3536
|
eventId: string;
|
|
3504
3537
|
transactionId: string;
|
|
@@ -3791,6 +3824,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3791
3824
|
waitFor?: boolean | undefined;
|
|
3792
3825
|
createdAtLocation?: string | null | undefined;
|
|
3793
3826
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
3827
|
+
content?: {
|
|
3828
|
+
immediateCorrection?: boolean | undefined;
|
|
3829
|
+
} | undefined;
|
|
3794
3830
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3795
3831
|
eventId: string;
|
|
3796
3832
|
transactionId: string;
|
|
@@ -4077,6 +4113,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4077
4113
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4078
4114
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4079
4115
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4116
|
+
content?: {
|
|
4117
|
+
immediateCorrection?: boolean | undefined;
|
|
4118
|
+
} | undefined;
|
|
4080
4119
|
} | {
|
|
4081
4120
|
id: string & import("zod").$brand<"UUID">;
|
|
4082
4121
|
transactionId: string;
|
|
@@ -4178,7 +4217,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4178
4217
|
createdByUserType: "system" | "user";
|
|
4179
4218
|
createdAt: string;
|
|
4180
4219
|
createdBy: string;
|
|
4181
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "
|
|
4220
|
+
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
|
4182
4221
|
status: "Rejected";
|
|
4183
4222
|
createdByRole?: string | undefined;
|
|
4184
4223
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -4396,6 +4435,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4396
4435
|
waitFor?: boolean | undefined;
|
|
4397
4436
|
createdAtLocation?: string | null | undefined;
|
|
4398
4437
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
4438
|
+
content?: {
|
|
4439
|
+
immediateCorrection?: boolean | undefined;
|
|
4440
|
+
} | undefined;
|
|
4399
4441
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4400
4442
|
eventId: string;
|
|
4401
4443
|
transactionId: string;
|
|
@@ -4682,6 +4724,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4682
4724
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4683
4725
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4684
4726
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4727
|
+
content?: {
|
|
4728
|
+
immediateCorrection?: boolean | undefined;
|
|
4729
|
+
} | undefined;
|
|
4685
4730
|
} | {
|
|
4686
4731
|
id: string & import("zod").$brand<"UUID">;
|
|
4687
4732
|
transactionId: string;
|
|
@@ -4783,7 +4828,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4783
4828
|
createdByUserType: "system" | "user";
|
|
4784
4829
|
createdAt: string;
|
|
4785
4830
|
createdBy: string;
|
|
4786
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "
|
|
4831
|
+
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
|
4787
4832
|
status: "Rejected";
|
|
4788
4833
|
createdByRole?: string | undefined;
|
|
4789
4834
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -5000,6 +5045,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5000
5045
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5001
5046
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5002
5047
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5048
|
+
content?: {
|
|
5049
|
+
immediateCorrection?: boolean | undefined;
|
|
5050
|
+
} | undefined;
|
|
5003
5051
|
} | {
|
|
5004
5052
|
id: string & import("zod").$brand<"UUID">;
|
|
5005
5053
|
transactionId: string;
|
|
@@ -5101,7 +5149,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5101
5149
|
createdByUserType: "system" | "user";
|
|
5102
5150
|
createdAt: string;
|
|
5103
5151
|
createdBy: string;
|
|
5104
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "
|
|
5152
|
+
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
|
5105
5153
|
status: "Rejected";
|
|
5106
5154
|
createdByRole?: string | undefined;
|
|
5107
5155
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -5369,6 +5417,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5369
5417
|
waitFor?: boolean | undefined;
|
|
5370
5418
|
createdAtLocation?: string | null | undefined;
|
|
5371
5419
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
5420
|
+
content?: {
|
|
5421
|
+
immediateCorrection?: boolean | undefined;
|
|
5422
|
+
} | undefined;
|
|
5372
5423
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5373
5424
|
eventId: string;
|
|
5374
5425
|
transactionId: string;
|
|
@@ -5661,6 +5712,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5661
5712
|
waitFor?: boolean | undefined;
|
|
5662
5713
|
createdAtLocation?: string | null | undefined;
|
|
5663
5714
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
5715
|
+
content?: {
|
|
5716
|
+
immediateCorrection?: boolean | undefined;
|
|
5717
|
+
} | undefined;
|
|
5664
5718
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5665
5719
|
eventId: string;
|
|
5666
5720
|
transactionId: string;
|
|
@@ -5953,6 +6007,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5953
6007
|
waitFor?: boolean | undefined;
|
|
5954
6008
|
createdAtLocation?: string | null | undefined;
|
|
5955
6009
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
6010
|
+
content?: {
|
|
6011
|
+
immediateCorrection?: boolean | undefined;
|
|
6012
|
+
} | undefined;
|
|
5956
6013
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5957
6014
|
eventId: string;
|
|
5958
6015
|
transactionId: string;
|
|
@@ -6242,6 +6299,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6242
6299
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6243
6300
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
6244
6301
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6302
|
+
content?: {
|
|
6303
|
+
immediateCorrection?: boolean | undefined;
|
|
6304
|
+
} | undefined;
|
|
6245
6305
|
} | {
|
|
6246
6306
|
id: string & import("zod").$brand<"UUID">;
|
|
6247
6307
|
transactionId: string;
|
|
@@ -6343,7 +6403,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6343
6403
|
createdByUserType: "system" | "user";
|
|
6344
6404
|
createdAt: string;
|
|
6345
6405
|
createdBy: string;
|
|
6346
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "
|
|
6406
|
+
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
|
6347
6407
|
status: "Rejected";
|
|
6348
6408
|
createdByRole?: string | undefined;
|
|
6349
6409
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -6559,6 +6619,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6559
6619
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6560
6620
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
6561
6621
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6622
|
+
content?: {
|
|
6623
|
+
immediateCorrection?: boolean | undefined;
|
|
6624
|
+
} | undefined;
|
|
6562
6625
|
} | {
|
|
6563
6626
|
id: string & import("zod").$brand<"UUID">;
|
|
6564
6627
|
transactionId: string;
|
|
@@ -6660,7 +6723,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6660
6723
|
createdByUserType: "system" | "user";
|
|
6661
6724
|
createdAt: string;
|
|
6662
6725
|
createdBy: string;
|
|
6663
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "
|
|
6726
|
+
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
|
6664
6727
|
status: "Rejected";
|
|
6665
6728
|
createdByRole?: string | undefined;
|
|
6666
6729
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -6919,6 +6982,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6919
6982
|
createdAtLocation?: string | null | undefined;
|
|
6920
6983
|
annotation?: Record<string, unknown> | null | undefined;
|
|
6921
6984
|
originalActionId?: string | null | undefined;
|
|
6985
|
+
content?: {
|
|
6986
|
+
immediateCorrection?: boolean | undefined;
|
|
6987
|
+
} | undefined;
|
|
6922
6988
|
} | {
|
|
6923
6989
|
id: string;
|
|
6924
6990
|
transactionId: string;
|
|
@@ -7020,7 +7086,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7020
7086
|
createdByUserType: "system" | "user";
|
|
7021
7087
|
createdAt: string;
|
|
7022
7088
|
createdBy: string;
|
|
7023
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "
|
|
7089
|
+
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
|
7024
7090
|
status: "Rejected";
|
|
7025
7091
|
createdByRole?: string | undefined;
|
|
7026
7092
|
createdBySignature?: string | null | undefined;
|
|
@@ -7238,7 +7304,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7238
7304
|
count?: number | undefined;
|
|
7239
7305
|
timeStart?: string | undefined;
|
|
7240
7306
|
timeEnd?: string | undefined;
|
|
7241
|
-
actionTypes?: ("DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "
|
|
7307
|
+
actionTypes?: ("DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "NOTIFY" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "ASSIGN" | "UNASSIGN")[] | undefined;
|
|
7242
7308
|
};
|
|
7243
7309
|
output: {
|
|
7244
7310
|
results: {
|
|
@@ -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>;
|