@opencrvs/toolkit 2.0.0-rc.cb6a4d5 → 2.0.0-rc.cbd6475
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/create-countryconfig/index.js +50 -20
- package/create-countryconfig/package.json +12 -2
- package/dist/application-config/index.js +261 -100
- package/dist/cli.js +108 -11
- package/dist/commons/api/router.d.ts +116 -51
- package/dist/commons/application-config/index.d.ts +1 -0
- package/dist/commons/conditionals/conditionals.d.ts +354 -4
- package/dist/commons/conditionals/validate.d.ts +51 -2
- package/dist/commons/events/ActionConfig.d.ts +28 -2
- package/dist/commons/events/ActionDocument.d.ts +6 -0
- package/dist/commons/events/ActionInput.d.ts +42 -36
- package/dist/commons/events/AdvancedSearchConfig.d.ts +342 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +42 -0
- package/dist/commons/events/Draft.d.ts +2 -3
- package/dist/commons/events/EventDocument.d.ts +3 -0
- package/dist/commons/events/EventIndex.d.ts +14 -3
- package/dist/commons/events/EventMetadata.d.ts +0 -7
- package/dist/commons/events/FieldConfig.d.ts +378 -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 +189 -150
- package/dist/commons/events/field.d.ts +53 -1
- package/dist/commons/events/index.d.ts +2 -0
- package/dist/commons/events/state/flags.d.ts +16 -0
- package/dist/commons/events/state/index.d.ts +0 -4
- package/dist/commons/events/state/utils.d.ts +12 -289
- package/dist/commons/events/utils.d.ts +12 -1
- package/dist/conditionals/index.js +55 -2
- package/dist/events/index.js +1053 -255
- 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/fix-accept-requested-registration-function-type.d.ts +3 -0
- package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.d.ts.map +1 -0
- package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.js +110 -0
- package/dist/migrations/v2.0/index.d.ts.map +1 -1
- package/dist/migrations/v2.0/index.js +106 -9
- package/dist/notification/index.js +887 -137
- package/dist/scopes/index.d.ts +4 -6
- package/dist/scopes/index.js +12 -4
- package/opencrvs-toolkit-2.0.0-rc.cbd6475.tgz +0 -0
- package/package.json +6 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.0.0-rc.cb6a4d5.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" | "
|
|
420
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
418
421
|
status: "Rejected";
|
|
419
422
|
createdByRole?: string | undefined;
|
|
420
423
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -429,6 +432,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
429
432
|
input: {
|
|
430
433
|
eventId: string;
|
|
431
434
|
customActionType?: string | undefined;
|
|
435
|
+
waitFor?: boolean | undefined;
|
|
432
436
|
};
|
|
433
437
|
output: {
|
|
434
438
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -621,6 +625,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
621
625
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
622
626
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
623
627
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
628
|
+
content?: {
|
|
629
|
+
immediateCorrection?: boolean | undefined;
|
|
630
|
+
} | undefined;
|
|
624
631
|
} | {
|
|
625
632
|
id: string & import("zod").$brand<"UUID">;
|
|
626
633
|
transactionId: string;
|
|
@@ -722,7 +729,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
722
729
|
createdByUserType: "system" | "user";
|
|
723
730
|
createdAt: string;
|
|
724
731
|
createdBy: string;
|
|
725
|
-
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";
|
|
726
733
|
status: "Rejected";
|
|
727
734
|
createdByRole?: string | undefined;
|
|
728
735
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -929,6 +936,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
929
936
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
930
937
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
931
938
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
939
|
+
content?: {
|
|
940
|
+
immediateCorrection?: boolean | undefined;
|
|
941
|
+
} | undefined;
|
|
932
942
|
} | {
|
|
933
943
|
id: string & import("zod").$brand<"UUID">;
|
|
934
944
|
transactionId: string;
|
|
@@ -1030,7 +1040,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1030
1040
|
createdByUserType: "system" | "user";
|
|
1031
1041
|
createdAt: string;
|
|
1032
1042
|
createdBy: string;
|
|
1033
|
-
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";
|
|
1034
1044
|
status: "Rejected";
|
|
1035
1045
|
createdByRole?: string | undefined;
|
|
1036
1046
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -1080,7 +1090,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1080
1090
|
transactionId: string;
|
|
1081
1091
|
createdAt: string;
|
|
1082
1092
|
action: {
|
|
1083
|
-
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";
|
|
1084
1094
|
transactionId: string;
|
|
1085
1095
|
createdByUserType: "system" | "user";
|
|
1086
1096
|
createdAt: string;
|
|
@@ -1097,18 +1107,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1097
1107
|
}>;
|
|
1098
1108
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
1099
1109
|
input: {
|
|
1100
|
-
eventId: string;
|
|
1101
1110
|
transactionId: string;
|
|
1102
|
-
|
|
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";
|
|
1103
1113
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1114
|
+
createdAtLocation?: string | null | undefined;
|
|
1104
1115
|
declaration?: Record<string, unknown> | undefined;
|
|
1105
1116
|
annotation?: Record<string, unknown> | undefined;
|
|
1106
1117
|
originalActionId?: string | undefined;
|
|
1107
1118
|
keepAssignment?: boolean | undefined;
|
|
1108
1119
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1109
1120
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1110
|
-
waitFor?: boolean | undefined;
|
|
1111
|
-
createdAtLocation?: string | null | undefined;
|
|
1112
1121
|
};
|
|
1113
1122
|
output: {
|
|
1114
1123
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -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: "
|
|
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";
|
|
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;
|
|
@@ -1439,6 +1451,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1439
1451
|
transactionId: import("zod").ZodString;
|
|
1440
1452
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
1441
1453
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1454
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
1442
1455
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
1443
1456
|
}, import("zod/v4/core").$strip>>;
|
|
1444
1457
|
output: import("../commons").EventDocument;
|
|
@@ -1671,6 +1684,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1671
1684
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1672
1685
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1673
1686
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1687
|
+
content?: {
|
|
1688
|
+
immediateCorrection?: boolean | undefined;
|
|
1689
|
+
} | undefined;
|
|
1674
1690
|
} | {
|
|
1675
1691
|
id: string & import("zod").$brand<"UUID">;
|
|
1676
1692
|
transactionId: string;
|
|
@@ -1772,7 +1788,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1772
1788
|
createdByUserType: "system" | "user";
|
|
1773
1789
|
createdAt: string;
|
|
1774
1790
|
createdBy: string;
|
|
1775
|
-
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";
|
|
1776
1792
|
status: "Rejected";
|
|
1777
1793
|
createdByRole?: string | undefined;
|
|
1778
1794
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -2011,6 +2027,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2011
2027
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2012
2028
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
2013
2029
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2030
|
+
content?: {
|
|
2031
|
+
immediateCorrection?: boolean | undefined;
|
|
2032
|
+
} | undefined;
|
|
2014
2033
|
} | {
|
|
2015
2034
|
id: string & import("zod").$brand<"UUID">;
|
|
2016
2035
|
transactionId: string;
|
|
@@ -2112,7 +2131,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2112
2131
|
createdByUserType: "system" | "user";
|
|
2113
2132
|
createdAt: string;
|
|
2114
2133
|
createdBy: string;
|
|
2115
|
-
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";
|
|
2116
2135
|
status: "Rejected";
|
|
2117
2136
|
createdByRole?: string | undefined;
|
|
2118
2137
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -2330,6 +2349,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2330
2349
|
waitFor?: boolean | undefined;
|
|
2331
2350
|
createdAtLocation?: string | null | undefined;
|
|
2332
2351
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
2352
|
+
content?: {
|
|
2353
|
+
immediateCorrection?: boolean | undefined;
|
|
2354
|
+
} | undefined;
|
|
2333
2355
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2334
2356
|
eventId: string;
|
|
2335
2357
|
transactionId: string;
|
|
@@ -2381,6 +2403,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2381
2403
|
transactionId: import("zod").ZodString;
|
|
2382
2404
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2383
2405
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2406
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2384
2407
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2385
2408
|
}, import("zod/v4/core").$strip>>;
|
|
2386
2409
|
output: import("../commons").EventDocument;
|
|
@@ -2621,6 +2644,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2621
2644
|
waitFor?: boolean | undefined;
|
|
2622
2645
|
createdAtLocation?: string | null | undefined;
|
|
2623
2646
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
2647
|
+
content?: {
|
|
2648
|
+
immediateCorrection?: boolean | undefined;
|
|
2649
|
+
} | undefined;
|
|
2624
2650
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2625
2651
|
eventId: string;
|
|
2626
2652
|
transactionId: string;
|
|
@@ -2672,6 +2698,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2672
2698
|
transactionId: import("zod").ZodString;
|
|
2673
2699
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2674
2700
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2701
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2675
2702
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2676
2703
|
}, import("zod/v4/core").$strip>>;
|
|
2677
2704
|
output: import("../commons").EventDocument;
|
|
@@ -2912,6 +2939,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2912
2939
|
waitFor?: boolean | undefined;
|
|
2913
2940
|
createdAtLocation?: string | null | undefined;
|
|
2914
2941
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
2942
|
+
content?: {
|
|
2943
|
+
immediateCorrection?: boolean | undefined;
|
|
2944
|
+
} | undefined;
|
|
2915
2945
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2916
2946
|
eventId: string;
|
|
2917
2947
|
transactionId: string;
|
|
@@ -2963,6 +2993,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2963
2993
|
transactionId: import("zod").ZodString;
|
|
2964
2994
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2965
2995
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2996
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2966
2997
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2967
2998
|
}, import("zod/v4/core").$strip>>;
|
|
2968
2999
|
output: import("../commons").EventDocument;
|
|
@@ -3203,6 +3234,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3203
3234
|
waitFor?: boolean | undefined;
|
|
3204
3235
|
createdAtLocation?: string | null | undefined;
|
|
3205
3236
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
3237
|
+
content?: {
|
|
3238
|
+
immediateCorrection?: boolean | undefined;
|
|
3239
|
+
} | undefined;
|
|
3206
3240
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3207
3241
|
eventId: string;
|
|
3208
3242
|
transactionId: string;
|
|
@@ -3254,6 +3288,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3254
3288
|
transactionId: import("zod").ZodString;
|
|
3255
3289
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3256
3290
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3291
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3257
3292
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3258
3293
|
}, import("zod/v4/core").$strip>>;
|
|
3259
3294
|
output: import("../commons").EventDocument;
|
|
@@ -3494,6 +3529,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3494
3529
|
waitFor?: boolean | undefined;
|
|
3495
3530
|
createdAtLocation?: string | null | undefined;
|
|
3496
3531
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
3532
|
+
content?: {
|
|
3533
|
+
immediateCorrection?: boolean | undefined;
|
|
3534
|
+
} | undefined;
|
|
3497
3535
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3498
3536
|
eventId: string;
|
|
3499
3537
|
transactionId: string;
|
|
@@ -3545,6 +3583,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3545
3583
|
transactionId: import("zod").ZodString;
|
|
3546
3584
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3547
3585
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3586
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3548
3587
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3549
3588
|
}, import("zod/v4/core").$strip>>;
|
|
3550
3589
|
output: import("../commons").EventDocument;
|
|
@@ -3785,6 +3824,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3785
3824
|
waitFor?: boolean | undefined;
|
|
3786
3825
|
createdAtLocation?: string | null | undefined;
|
|
3787
3826
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
3827
|
+
content?: {
|
|
3828
|
+
immediateCorrection?: boolean | undefined;
|
|
3829
|
+
} | undefined;
|
|
3788
3830
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3789
3831
|
eventId: string;
|
|
3790
3832
|
transactionId: string;
|
|
@@ -3836,6 +3878,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3836
3878
|
transactionId: import("zod").ZodString;
|
|
3837
3879
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3838
3880
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3881
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3839
3882
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3840
3883
|
}, import("zod/v4/core").$strip>>;
|
|
3841
3884
|
output: import("../commons").EventDocument;
|
|
@@ -4070,6 +4113,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4070
4113
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4071
4114
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4072
4115
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4116
|
+
content?: {
|
|
4117
|
+
immediateCorrection?: boolean | undefined;
|
|
4118
|
+
} | undefined;
|
|
4073
4119
|
} | {
|
|
4074
4120
|
id: string & import("zod").$brand<"UUID">;
|
|
4075
4121
|
transactionId: string;
|
|
@@ -4171,7 +4217,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4171
4217
|
createdByUserType: "system" | "user";
|
|
4172
4218
|
createdAt: string;
|
|
4173
4219
|
createdBy: string;
|
|
4174
|
-
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";
|
|
4175
4221
|
status: "Rejected";
|
|
4176
4222
|
createdByRole?: string | undefined;
|
|
4177
4223
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -4389,6 +4435,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4389
4435
|
waitFor?: boolean | undefined;
|
|
4390
4436
|
createdAtLocation?: string | null | undefined;
|
|
4391
4437
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
4438
|
+
content?: {
|
|
4439
|
+
immediateCorrection?: boolean | undefined;
|
|
4440
|
+
} | undefined;
|
|
4392
4441
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4393
4442
|
eventId: string;
|
|
4394
4443
|
transactionId: string;
|
|
@@ -4440,6 +4489,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4440
4489
|
transactionId: import("zod").ZodString;
|
|
4441
4490
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
4442
4491
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4492
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
4443
4493
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
4444
4494
|
}, import("zod/v4/core").$strip>>;
|
|
4445
4495
|
output: import("../commons").EventDocument;
|
|
@@ -4674,6 +4724,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4674
4724
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4675
4725
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4676
4726
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4727
|
+
content?: {
|
|
4728
|
+
immediateCorrection?: boolean | undefined;
|
|
4729
|
+
} | undefined;
|
|
4677
4730
|
} | {
|
|
4678
4731
|
id: string & import("zod").$brand<"UUID">;
|
|
4679
4732
|
transactionId: string;
|
|
@@ -4775,7 +4828,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4775
4828
|
createdByUserType: "system" | "user";
|
|
4776
4829
|
createdAt: string;
|
|
4777
4830
|
createdBy: string;
|
|
4778
|
-
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";
|
|
4779
4832
|
status: "Rejected";
|
|
4780
4833
|
createdByRole?: string | undefined;
|
|
4781
4834
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -4992,6 +5045,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4992
5045
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4993
5046
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4994
5047
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5048
|
+
content?: {
|
|
5049
|
+
immediateCorrection?: boolean | undefined;
|
|
5050
|
+
} | undefined;
|
|
4995
5051
|
} | {
|
|
4996
5052
|
id: string & import("zod").$brand<"UUID">;
|
|
4997
5053
|
transactionId: string;
|
|
@@ -5093,7 +5149,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5093
5149
|
createdByUserType: "system" | "user";
|
|
5094
5150
|
createdAt: string;
|
|
5095
5151
|
createdBy: string;
|
|
5096
|
-
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";
|
|
5097
5153
|
status: "Rejected";
|
|
5098
5154
|
createdByRole?: string | undefined;
|
|
5099
5155
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -5361,6 +5417,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5361
5417
|
waitFor?: boolean | undefined;
|
|
5362
5418
|
createdAtLocation?: string | null | undefined;
|
|
5363
5419
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
5420
|
+
content?: {
|
|
5421
|
+
immediateCorrection?: boolean | undefined;
|
|
5422
|
+
} | undefined;
|
|
5364
5423
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5365
5424
|
eventId: string;
|
|
5366
5425
|
transactionId: string;
|
|
@@ -5412,6 +5471,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5412
5471
|
transactionId: import("zod").ZodString;
|
|
5413
5472
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5414
5473
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5474
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
5415
5475
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5416
5476
|
}, import("zod/v4/core").$strip>>;
|
|
5417
5477
|
output: import("../commons").EventDocument;
|
|
@@ -5652,6 +5712,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5652
5712
|
waitFor?: boolean | undefined;
|
|
5653
5713
|
createdAtLocation?: string | null | undefined;
|
|
5654
5714
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
5715
|
+
content?: {
|
|
5716
|
+
immediateCorrection?: boolean | undefined;
|
|
5717
|
+
} | undefined;
|
|
5655
5718
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5656
5719
|
eventId: string;
|
|
5657
5720
|
transactionId: string;
|
|
@@ -5703,6 +5766,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5703
5766
|
transactionId: import("zod").ZodString;
|
|
5704
5767
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5705
5768
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5769
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
5706
5770
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5707
5771
|
}, import("zod/v4/core").$strip>>;
|
|
5708
5772
|
output: import("../commons").EventDocument;
|
|
@@ -5943,6 +6007,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5943
6007
|
waitFor?: boolean | undefined;
|
|
5944
6008
|
createdAtLocation?: string | null | undefined;
|
|
5945
6009
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
6010
|
+
content?: {
|
|
6011
|
+
immediateCorrection?: boolean | undefined;
|
|
6012
|
+
} | undefined;
|
|
5946
6013
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5947
6014
|
eventId: string;
|
|
5948
6015
|
transactionId: string;
|
|
@@ -5994,6 +6061,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5994
6061
|
transactionId: import("zod").ZodString;
|
|
5995
6062
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5996
6063
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6064
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
5997
6065
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5998
6066
|
}, import("zod/v4/core").$strip>>;
|
|
5999
6067
|
output: import("../commons").EventDocument;
|
|
@@ -6231,6 +6299,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6231
6299
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6232
6300
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
6233
6301
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6302
|
+
content?: {
|
|
6303
|
+
immediateCorrection?: boolean | undefined;
|
|
6304
|
+
} | undefined;
|
|
6234
6305
|
} | {
|
|
6235
6306
|
id: string & import("zod").$brand<"UUID">;
|
|
6236
6307
|
transactionId: string;
|
|
@@ -6332,7 +6403,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6332
6403
|
createdByUserType: "system" | "user";
|
|
6333
6404
|
createdAt: string;
|
|
6334
6405
|
createdBy: string;
|
|
6335
|
-
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";
|
|
6336
6407
|
status: "Rejected";
|
|
6337
6408
|
createdByRole?: string | undefined;
|
|
6338
6409
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -6548,6 +6619,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6548
6619
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6549
6620
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
6550
6621
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6622
|
+
content?: {
|
|
6623
|
+
immediateCorrection?: boolean | undefined;
|
|
6624
|
+
} | undefined;
|
|
6551
6625
|
} | {
|
|
6552
6626
|
id: string & import("zod").$brand<"UUID">;
|
|
6553
6627
|
transactionId: string;
|
|
@@ -6649,7 +6723,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6649
6723
|
createdByUserType: "system" | "user";
|
|
6650
6724
|
createdAt: string;
|
|
6651
6725
|
createdBy: string;
|
|
6652
|
-
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";
|
|
6653
6727
|
status: "Rejected";
|
|
6654
6728
|
createdByRole?: string | undefined;
|
|
6655
6729
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -6682,7 +6756,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6682
6756
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6683
6757
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
6684
6758
|
createdByRole?: string | undefined;
|
|
6685
|
-
createdBySignature?: string | null | undefined;
|
|
6686
6759
|
} | null | undefined;
|
|
6687
6760
|
REGISTERED?: {
|
|
6688
6761
|
createdAt: string;
|
|
@@ -6692,7 +6765,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6692
6765
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6693
6766
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
6694
6767
|
createdByRole?: string | undefined;
|
|
6695
|
-
createdBySignature?: string | null | undefined;
|
|
6696
6768
|
} | null | undefined;
|
|
6697
6769
|
};
|
|
6698
6770
|
createdAt: string;
|
|
@@ -6710,7 +6782,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6710
6782
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
6711
6783
|
updatedByUserRole?: string | null | undefined;
|
|
6712
6784
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6713
|
-
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6714
6785
|
updatedAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6715
6786
|
assignedTo?: string | null | undefined;
|
|
6716
6787
|
updatedBy?: string | null | undefined;
|
|
@@ -6911,6 +6982,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6911
6982
|
createdAtLocation?: string | null | undefined;
|
|
6912
6983
|
annotation?: Record<string, unknown> | null | undefined;
|
|
6913
6984
|
originalActionId?: string | null | undefined;
|
|
6985
|
+
content?: {
|
|
6986
|
+
immediateCorrection?: boolean | undefined;
|
|
6987
|
+
} | undefined;
|
|
6914
6988
|
} | {
|
|
6915
6989
|
id: string;
|
|
6916
6990
|
transactionId: string;
|
|
@@ -7012,7 +7086,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7012
7086
|
createdByUserType: "system" | "user";
|
|
7013
7087
|
createdAt: string;
|
|
7014
7088
|
createdBy: string;
|
|
7015
|
-
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "
|
|
7089
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
7016
7090
|
status: "Rejected";
|
|
7017
7091
|
createdByRole?: string | undefined;
|
|
7018
7092
|
createdBySignature?: string | null | undefined;
|
|
@@ -7169,33 +7243,22 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7169
7243
|
input: string[];
|
|
7170
7244
|
output: ({
|
|
7171
7245
|
id: string & import("zod").$brand<"UUID">;
|
|
7246
|
+
type: "user";
|
|
7172
7247
|
name: {
|
|
7173
7248
|
firstname: string;
|
|
7174
7249
|
surname: string;
|
|
7175
7250
|
};
|
|
7176
7251
|
role: string;
|
|
7177
7252
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7178
|
-
|
|
7179
|
-
status: "active" | "pending" | "deactivated";
|
|
7253
|
+
fullHonorificName?: string | undefined;
|
|
7180
7254
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
7181
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7182
7255
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7183
|
-
device?: string | undefined;
|
|
7184
|
-
fullHonorificName?: string | undefined;
|
|
7185
|
-
mobile?: string | undefined;
|
|
7186
|
-
email?: string | undefined;
|
|
7187
|
-
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
7188
7256
|
} | {
|
|
7189
7257
|
id: string & import("zod").$brand<"UUID">;
|
|
7190
|
-
name: string;
|
|
7191
7258
|
type: "system";
|
|
7259
|
+
name: string;
|
|
7192
7260
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7193
7261
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7194
|
-
signature?: undefined;
|
|
7195
|
-
avatar?: undefined;
|
|
7196
|
-
fullHonorificName?: string | undefined;
|
|
7197
|
-
legacyId?: string | undefined;
|
|
7198
|
-
status?: undefined;
|
|
7199
7262
|
})[];
|
|
7200
7263
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7201
7264
|
}>;
|
|
@@ -7213,33 +7276,24 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7213
7276
|
};
|
|
7214
7277
|
output: ({
|
|
7215
7278
|
id: string & import("zod").$brand<"UUID">;
|
|
7279
|
+
type: "user";
|
|
7216
7280
|
name: {
|
|
7217
7281
|
firstname: string;
|
|
7218
7282
|
surname: string;
|
|
7219
7283
|
};
|
|
7220
7284
|
role: string;
|
|
7221
7285
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7222
|
-
type: "user";
|
|
7223
7286
|
status: "active" | "pending" | "deactivated";
|
|
7287
|
+
fullHonorificName?: string | undefined;
|
|
7224
7288
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
7225
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7226
7289
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7227
|
-
device?: string | undefined;
|
|
7228
|
-
fullHonorificName?: string | undefined;
|
|
7229
|
-
mobile?: string | undefined;
|
|
7230
|
-
email?: string | undefined;
|
|
7231
|
-
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
7232
7290
|
} | {
|
|
7233
7291
|
id: string & import("zod").$brand<"UUID">;
|
|
7234
|
-
name: string;
|
|
7235
7292
|
type: "system";
|
|
7293
|
+
name: string;
|
|
7236
7294
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7237
7295
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7238
|
-
|
|
7239
|
-
avatar?: undefined;
|
|
7240
|
-
fullHonorificName?: string | undefined;
|
|
7241
|
-
legacyId?: string | undefined;
|
|
7242
|
-
status?: undefined;
|
|
7296
|
+
status?: "active" | "pending" | "deactivated" | undefined;
|
|
7243
7297
|
})[];
|
|
7244
7298
|
meta: object;
|
|
7245
7299
|
}>;
|
|
@@ -7250,7 +7304,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7250
7304
|
count?: number | undefined;
|
|
7251
7305
|
timeStart?: string | undefined;
|
|
7252
7306
|
timeEnd?: string | undefined;
|
|
7253
|
-
actionTypes?: ("
|
|
7307
|
+
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;
|
|
7254
7308
|
};
|
|
7255
7309
|
output: {
|
|
7256
7310
|
results: {
|
|
@@ -7320,9 +7374,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7320
7374
|
output: void;
|
|
7321
7375
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7322
7376
|
}>;
|
|
7323
|
-
|
|
7377
|
+
requestEmailChange: import("@trpc/server").TRPCMutationProcedure<{
|
|
7324
7378
|
input: {
|
|
7325
|
-
|
|
7379
|
+
email: string;
|
|
7380
|
+
};
|
|
7381
|
+
output: {
|
|
7382
|
+
nonce: string;
|
|
7383
|
+
};
|
|
7384
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7385
|
+
}>;
|
|
7386
|
+
requestPhoneChange: import("@trpc/server").TRPCMutationProcedure<{
|
|
7387
|
+
input: {
|
|
7388
|
+
phoneNumber: string;
|
|
7326
7389
|
};
|
|
7327
7390
|
output: {
|
|
7328
7391
|
nonce: string;
|
|
@@ -7950,6 +8013,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7950
8013
|
flags?: {
|
|
7951
8014
|
anyOf?: string[] | undefined;
|
|
7952
8015
|
noneOf?: string[] | undefined;
|
|
8016
|
+
allOf?: string[] | undefined;
|
|
7953
8017
|
} | undefined;
|
|
7954
8018
|
data?: unknown;
|
|
7955
8019
|
}[];
|
|
@@ -8088,6 +8152,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8088
8152
|
flags?: {
|
|
8089
8153
|
anyOf?: string[] | undefined;
|
|
8090
8154
|
noneOf?: string[] | undefined;
|
|
8155
|
+
allOf?: string[] | undefined;
|
|
8091
8156
|
} | undefined;
|
|
8092
8157
|
data?: unknown;
|
|
8093
8158
|
}[];
|
|
@@ -8102,7 +8167,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8102
8167
|
$event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
8103
8168
|
};
|
|
8104
8169
|
}[];
|
|
8105
|
-
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" | "
|
|
8170
|
+
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";
|
|
8106
8171
|
action?: {
|
|
8107
8172
|
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
8108
8173
|
} | 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>;
|