@opencrvs/toolkit 2.1.0-rc.b0003b1 → 2.1.0-rc.b061691
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build.sh +2 -2
- package/dist/application-config/index.js +212 -188
- package/dist/cli.js +165 -5154
- package/dist/commons/api/router.d.ts +758 -201
- package/dist/commons/conditionals/conditionals.d.ts +1592 -40
- package/dist/commons/conditionals/validate.d.ts +2 -1
- package/dist/commons/events/ActionConfig.d.ts +230 -0
- package/dist/commons/events/ActionDocument.d.ts +51 -13
- package/dist/commons/events/ActionInput.d.ts +26 -6
- package/dist/commons/events/ActionStatus.d.ts +14 -0
- package/dist/commons/events/ActionType.d.ts +6 -1
- package/dist/commons/events/AdvancedSearchConfig.d.ts +12 -0
- package/dist/commons/events/AuditLog.d.ts +2 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +18 -0
- package/dist/commons/events/Draft.d.ts +2 -0
- package/dist/commons/events/EventDocument.d.ts +24 -2
- package/dist/commons/events/EventIndex.d.ts +5 -24
- package/dist/commons/events/EventMetadata.d.ts +2 -1
- package/dist/commons/events/FieldConfig.d.ts +10 -0
- package/dist/commons/events/Flag.d.ts +48 -0
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +4 -4
- package/dist/commons/events/WorkqueueConfig.d.ts +25 -7
- package/dist/commons/events/field.d.ts +722 -34
- package/dist/commons/events/scopes.d.ts +1 -0
- package/dist/commons/events/test.utils.d.ts +9 -4
- package/dist/commons/events/utils.d.ts +26 -4
- package/dist/conditionals/index.js +305 -55
- package/dist/environment/derived-variables.d.ts +0 -12
- package/dist/environment/derived-variables.d.ts.map +1 -1
- package/dist/environment/derived-variables.js +0 -14
- package/dist/environment/logger.d.ts +3 -12
- package/dist/environment/logger.d.ts.map +1 -1
- package/dist/environment/manage-users.js +17 -7
- package/dist/environment/setup-environment.js +0 -14
- package/dist/environment/swarm-to-k8s.js +17 -7
- package/dist/environment/update-workflows.js +17 -7
- package/dist/environment/users.js +17 -7
- package/dist/environment/utils.js +17 -7
- package/dist/events/index.js +3330 -3128
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
- package/dist/migrations/v2.0/index.js +88 -5144
- package/dist/migrations/v2.0/remove-hearth-migrations.js +17 -7
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts +3 -0
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-explicit-correction-flags.js +234 -0
- package/dist/migrations/v2.1/index.d.ts +6 -0
- package/dist/migrations/v2.1/index.d.ts.map +1 -0
- package/dist/migrations/v2.1/index.js +218 -0
- package/dist/notification/index.js +1557 -872
- package/dist/scopes/index.d.ts +257 -1
- package/dist/scopes/index.js +306 -55
- package/dist/templates/charts-values/dependencies/values.yaml +0 -3
- package/dist/templates/charts-values/opencrvs-services/values.yaml +0 -4
- package/opencrvs-toolkit-2.1.0-rc.b061691.tgz +0 -0
- package/package.json +3 -3
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.1.0-rc.b0003b1.tgz +0 -0
|
@@ -4,14 +4,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4
4
|
user: {
|
|
5
5
|
id: string & import("zod").$brand<"UUID">;
|
|
6
6
|
type: "system";
|
|
7
|
-
signature?: undefined;
|
|
8
7
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9
8
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9
|
+
signature?: undefined;
|
|
10
10
|
} | {
|
|
11
11
|
id: string & import("zod").$brand<"UUID">;
|
|
12
|
-
type: "user";
|
|
13
12
|
role: string;
|
|
14
13
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
14
|
+
type: "user";
|
|
15
15
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
16
16
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
17
17
|
};
|
|
@@ -26,14 +26,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26
26
|
user: {
|
|
27
27
|
id: string & import("zod").$brand<"UUID">;
|
|
28
28
|
type: "system";
|
|
29
|
-
signature?: undefined;
|
|
30
29
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
31
30
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
31
|
+
signature?: undefined;
|
|
32
32
|
} | {
|
|
33
33
|
id: string & import("zod").$brand<"UUID">;
|
|
34
|
-
type: "user";
|
|
35
34
|
role: string;
|
|
36
35
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
36
|
+
type: "user";
|
|
37
37
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
38
38
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
39
39
|
};
|
|
@@ -48,14 +48,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
48
48
|
user: {
|
|
49
49
|
id: string & import("zod").$brand<"UUID">;
|
|
50
50
|
type: "system";
|
|
51
|
-
signature?: undefined;
|
|
52
51
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
53
52
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
53
|
+
signature?: undefined;
|
|
54
54
|
} | {
|
|
55
55
|
id: string & import("zod").$brand<"UUID">;
|
|
56
|
-
type: "user";
|
|
57
56
|
role: string;
|
|
58
57
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
58
|
+
type: "user";
|
|
59
59
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
60
60
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
61
61
|
};
|
|
@@ -94,14 +94,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
94
94
|
user: {
|
|
95
95
|
id: string & import("zod").$brand<"UUID">;
|
|
96
96
|
type: "system";
|
|
97
|
-
signature?: undefined;
|
|
98
97
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
99
98
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
99
|
+
signature?: undefined;
|
|
100
100
|
} | {
|
|
101
101
|
id: string & import("zod").$brand<"UUID">;
|
|
102
|
-
type: "user";
|
|
103
102
|
role: string;
|
|
104
103
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
104
|
+
type: "user";
|
|
105
105
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
106
106
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
107
107
|
};
|
|
@@ -226,6 +226,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
226
226
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
227
227
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
228
228
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
229
|
+
} | {
|
|
230
|
+
id: string & import("zod").$brand<"UUID">;
|
|
231
|
+
transactionId: string;
|
|
232
|
+
createdByUserType: "system" | "user";
|
|
233
|
+
createdAt: string;
|
|
234
|
+
createdBy: string;
|
|
235
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
236
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
237
|
+
type: "UNARCHIVE";
|
|
238
|
+
createdByRole?: string | undefined;
|
|
239
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
240
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
241
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
242
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
229
243
|
} | {
|
|
230
244
|
id: string & import("zod").$brand<"UUID">;
|
|
231
245
|
transactionId: string;
|
|
@@ -388,14 +402,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
388
402
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
389
403
|
status: "Requested" | "Accepted" | "Rejected";
|
|
390
404
|
type: "EDIT";
|
|
391
|
-
content: {
|
|
392
|
-
comment?: string | undefined;
|
|
393
|
-
};
|
|
394
405
|
createdByRole?: string | undefined;
|
|
395
406
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
396
407
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
397
408
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
398
409
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
410
|
+
content?: {
|
|
411
|
+
comment?: string | undefined;
|
|
412
|
+
} | undefined;
|
|
399
413
|
} | {
|
|
400
414
|
id: string & import("zod").$brand<"UUID">;
|
|
401
415
|
transactionId: string;
|
|
@@ -417,7 +431,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
417
431
|
createdByUserType: "system" | "user";
|
|
418
432
|
createdAt: string;
|
|
419
433
|
createdBy: string;
|
|
420
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
434
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
421
435
|
status: "Rejected";
|
|
422
436
|
createdByRole?: string | undefined;
|
|
423
437
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -538,6 +552,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
538
552
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
539
553
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
540
554
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
555
|
+
} | {
|
|
556
|
+
id: string & import("zod").$brand<"UUID">;
|
|
557
|
+
transactionId: string;
|
|
558
|
+
createdByUserType: "system" | "user";
|
|
559
|
+
createdAt: string;
|
|
560
|
+
createdBy: string;
|
|
561
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
562
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
563
|
+
type: "UNARCHIVE";
|
|
564
|
+
createdByRole?: string | undefined;
|
|
565
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
566
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
567
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
568
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
541
569
|
} | {
|
|
542
570
|
id: string & import("zod").$brand<"UUID">;
|
|
543
571
|
transactionId: string;
|
|
@@ -700,14 +728,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
700
728
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
701
729
|
status: "Requested" | "Accepted" | "Rejected";
|
|
702
730
|
type: "EDIT";
|
|
703
|
-
content: {
|
|
704
|
-
comment?: string | undefined;
|
|
705
|
-
};
|
|
706
731
|
createdByRole?: string | undefined;
|
|
707
732
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
708
733
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
709
734
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
710
735
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
736
|
+
content?: {
|
|
737
|
+
comment?: string | undefined;
|
|
738
|
+
} | undefined;
|
|
711
739
|
} | {
|
|
712
740
|
id: string & import("zod").$brand<"UUID">;
|
|
713
741
|
transactionId: string;
|
|
@@ -729,7 +757,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
729
757
|
createdByUserType: "system" | "user";
|
|
730
758
|
createdAt: string;
|
|
731
759
|
createdBy: string;
|
|
732
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
760
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
733
761
|
status: "Rejected";
|
|
734
762
|
createdByRole?: string | undefined;
|
|
735
763
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -849,6 +877,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
849
877
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
850
878
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
851
879
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
880
|
+
} | {
|
|
881
|
+
id: string & import("zod").$brand<"UUID">;
|
|
882
|
+
transactionId: string;
|
|
883
|
+
createdByUserType: "system" | "user";
|
|
884
|
+
createdAt: string;
|
|
885
|
+
createdBy: string;
|
|
886
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
887
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
888
|
+
type: "UNARCHIVE";
|
|
889
|
+
createdByRole?: string | undefined;
|
|
890
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
891
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
892
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
893
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
852
894
|
} | {
|
|
853
895
|
id: string & import("zod").$brand<"UUID">;
|
|
854
896
|
transactionId: string;
|
|
@@ -1011,14 +1053,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1011
1053
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1012
1054
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1013
1055
|
type: "EDIT";
|
|
1014
|
-
content: {
|
|
1015
|
-
comment?: string | undefined;
|
|
1016
|
-
};
|
|
1017
1056
|
createdByRole?: string | undefined;
|
|
1018
1057
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1019
1058
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1020
1059
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1021
1060
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1061
|
+
content?: {
|
|
1062
|
+
comment?: string | undefined;
|
|
1063
|
+
} | undefined;
|
|
1022
1064
|
} | {
|
|
1023
1065
|
id: string & import("zod").$brand<"UUID">;
|
|
1024
1066
|
transactionId: string;
|
|
@@ -1040,7 +1082,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1040
1082
|
createdByUserType: "system" | "user";
|
|
1041
1083
|
createdAt: string;
|
|
1042
1084
|
createdBy: string;
|
|
1043
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
1085
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
1044
1086
|
status: "Rejected";
|
|
1045
1087
|
createdByRole?: string | undefined;
|
|
1046
1088
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -1066,14 +1108,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1066
1108
|
user: {
|
|
1067
1109
|
id: string & import("zod").$brand<"UUID">;
|
|
1068
1110
|
type: "system";
|
|
1069
|
-
signature?: undefined;
|
|
1070
1111
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1071
1112
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1113
|
+
signature?: undefined;
|
|
1072
1114
|
} | {
|
|
1073
1115
|
id: string & import("zod").$brand<"UUID">;
|
|
1074
|
-
type: "user";
|
|
1075
1116
|
role: string;
|
|
1076
1117
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1118
|
+
type: "user";
|
|
1077
1119
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1078
1120
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1079
1121
|
};
|
|
@@ -1090,13 +1132,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1090
1132
|
transactionId: string;
|
|
1091
1133
|
createdAt: string;
|
|
1092
1134
|
action: {
|
|
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";
|
|
1094
1135
|
transactionId: string;
|
|
1095
1136
|
createdByUserType: "system" | "user";
|
|
1096
1137
|
createdAt: string;
|
|
1097
1138
|
createdBy: string;
|
|
1098
1139
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1099
1140
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1141
|
+
type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
|
|
1100
1142
|
createdByRole?: string | undefined;
|
|
1101
1143
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1102
1144
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -1107,17 +1149,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1107
1149
|
}>;
|
|
1108
1150
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
1109
1151
|
input: {
|
|
1110
|
-
transactionId: string;
|
|
1111
1152
|
eventId: string;
|
|
1112
|
-
|
|
1153
|
+
transactionId: string;
|
|
1154
|
+
type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
|
|
1113
1155
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1114
|
-
createdAtLocation?: string | null | undefined;
|
|
1115
1156
|
declaration?: Record<string, unknown> | undefined;
|
|
1116
1157
|
annotation?: Record<string, unknown> | undefined;
|
|
1117
1158
|
originalActionId?: string | undefined;
|
|
1118
1159
|
keepAssignment?: boolean | undefined;
|
|
1119
1160
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1120
1161
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1162
|
+
createdAtLocation?: string | null | undefined;
|
|
1121
1163
|
};
|
|
1122
1164
|
output: {
|
|
1123
1165
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -1125,13 +1167,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1125
1167
|
transactionId: string;
|
|
1126
1168
|
createdAt: string;
|
|
1127
1169
|
action: {
|
|
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
1170
|
transactionId: string;
|
|
1130
1171
|
createdByUserType: "system" | "user";
|
|
1131
1172
|
createdAt: string;
|
|
1132
1173
|
createdBy: string;
|
|
1133
1174
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1134
1175
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1176
|
+
type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
|
|
1135
1177
|
createdByRole?: string | undefined;
|
|
1136
1178
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1137
1179
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -1147,14 +1189,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1147
1189
|
user: {
|
|
1148
1190
|
id: string & import("zod").$brand<"UUID">;
|
|
1149
1191
|
type: "system";
|
|
1150
|
-
signature?: undefined;
|
|
1151
1192
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1152
1193
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1194
|
+
signature?: undefined;
|
|
1153
1195
|
} | {
|
|
1154
1196
|
id: string & import("zod").$brand<"UUID">;
|
|
1155
|
-
type: "user";
|
|
1156
1197
|
role: string;
|
|
1157
1198
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1199
|
+
type: "user";
|
|
1158
1200
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1159
1201
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1160
1202
|
};
|
|
@@ -1169,14 +1211,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1169
1211
|
user: {
|
|
1170
1212
|
id: string & import("zod").$brand<"UUID">;
|
|
1171
1213
|
type: "system";
|
|
1172
|
-
signature?: undefined;
|
|
1173
1214
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1174
1215
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1216
|
+
signature?: undefined;
|
|
1175
1217
|
} | {
|
|
1176
1218
|
id: string & import("zod").$brand<"UUID">;
|
|
1177
|
-
type: "user";
|
|
1178
1219
|
role: string;
|
|
1179
1220
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1221
|
+
type: "user";
|
|
1180
1222
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1181
1223
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1182
1224
|
};
|
|
@@ -1315,6 +1357,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1315
1357
|
waitFor?: boolean | undefined;
|
|
1316
1358
|
createdAtLocation?: string | null | undefined;
|
|
1317
1359
|
type?: "ARCHIVE" | undefined;
|
|
1360
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1361
|
+
eventId: string;
|
|
1362
|
+
transactionId: string;
|
|
1363
|
+
declaration?: Record<string, unknown> | undefined;
|
|
1364
|
+
annotation?: Record<string, unknown> | undefined;
|
|
1365
|
+
originalActionId?: string | undefined;
|
|
1366
|
+
keepAssignment?: boolean | undefined;
|
|
1367
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1368
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
1369
|
+
waitFor?: boolean | undefined;
|
|
1370
|
+
createdAtLocation?: string | null | undefined;
|
|
1371
|
+
type?: "UNARCHIVE" | undefined;
|
|
1318
1372
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1319
1373
|
eventId: string;
|
|
1320
1374
|
transactionId: string;
|
|
@@ -1428,9 +1482,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1428
1482
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1429
1483
|
eventId: string;
|
|
1430
1484
|
transactionId: string;
|
|
1431
|
-
content: {
|
|
1432
|
-
comment?: string | undefined;
|
|
1433
|
-
};
|
|
1434
1485
|
declaration?: Record<string, unknown> | undefined;
|
|
1435
1486
|
annotation?: Record<string, unknown> | undefined;
|
|
1436
1487
|
originalActionId?: string | undefined;
|
|
@@ -1464,14 +1515,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1464
1515
|
user: {
|
|
1465
1516
|
id: string & import("zod").$brand<"UUID">;
|
|
1466
1517
|
type: "system";
|
|
1467
|
-
signature?: undefined;
|
|
1468
1518
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1469
1519
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1520
|
+
signature?: undefined;
|
|
1470
1521
|
} | {
|
|
1471
1522
|
id: string & import("zod").$brand<"UUID">;
|
|
1472
|
-
type: "user";
|
|
1473
1523
|
role: string;
|
|
1474
1524
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1525
|
+
type: "user";
|
|
1475
1526
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1476
1527
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1477
1528
|
};
|
|
@@ -1597,6 +1648,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1597
1648
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1598
1649
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1599
1650
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1651
|
+
} | {
|
|
1652
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1653
|
+
transactionId: string;
|
|
1654
|
+
createdByUserType: "system" | "user";
|
|
1655
|
+
createdAt: string;
|
|
1656
|
+
createdBy: string;
|
|
1657
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1658
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1659
|
+
type: "UNARCHIVE";
|
|
1660
|
+
createdByRole?: string | undefined;
|
|
1661
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1662
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1663
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1664
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1600
1665
|
} | {
|
|
1601
1666
|
id: string & import("zod").$brand<"UUID">;
|
|
1602
1667
|
transactionId: string;
|
|
@@ -1759,14 +1824,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1759
1824
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1760
1825
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1761
1826
|
type: "EDIT";
|
|
1762
|
-
content: {
|
|
1763
|
-
comment?: string | undefined;
|
|
1764
|
-
};
|
|
1765
1827
|
createdByRole?: string | undefined;
|
|
1766
1828
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1767
1829
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1768
1830
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1769
1831
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1832
|
+
content?: {
|
|
1833
|
+
comment?: string | undefined;
|
|
1834
|
+
} | undefined;
|
|
1770
1835
|
} | {
|
|
1771
1836
|
id: string & import("zod").$brand<"UUID">;
|
|
1772
1837
|
transactionId: string;
|
|
@@ -1788,7 +1853,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1788
1853
|
createdByUserType: "system" | "user";
|
|
1789
1854
|
createdAt: string;
|
|
1790
1855
|
createdBy: string;
|
|
1791
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
1856
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
1792
1857
|
status: "Rejected";
|
|
1793
1858
|
createdByRole?: string | undefined;
|
|
1794
1859
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -1806,14 +1871,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1806
1871
|
user: {
|
|
1807
1872
|
id: string & import("zod").$brand<"UUID">;
|
|
1808
1873
|
type: "system";
|
|
1809
|
-
signature?: undefined;
|
|
1810
1874
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1811
1875
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1876
|
+
signature?: undefined;
|
|
1812
1877
|
} | {
|
|
1813
1878
|
id: string & import("zod").$brand<"UUID">;
|
|
1814
|
-
type: "user";
|
|
1815
1879
|
role: string;
|
|
1816
1880
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1881
|
+
type: "user";
|
|
1817
1882
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1818
1883
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1819
1884
|
};
|
|
@@ -1940,6 +2005,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1940
2005
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1941
2006
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1942
2007
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2008
|
+
} | {
|
|
2009
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2010
|
+
transactionId: string;
|
|
2011
|
+
createdByUserType: "system" | "user";
|
|
2012
|
+
createdAt: string;
|
|
2013
|
+
createdBy: string;
|
|
2014
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
2015
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
2016
|
+
type: "UNARCHIVE";
|
|
2017
|
+
createdByRole?: string | undefined;
|
|
2018
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2019
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2020
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
2021
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1943
2022
|
} | {
|
|
1944
2023
|
id: string & import("zod").$brand<"UUID">;
|
|
1945
2024
|
transactionId: string;
|
|
@@ -2102,14 +2181,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2102
2181
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
2103
2182
|
status: "Requested" | "Accepted" | "Rejected";
|
|
2104
2183
|
type: "EDIT";
|
|
2105
|
-
content: {
|
|
2106
|
-
comment?: string | undefined;
|
|
2107
|
-
};
|
|
2108
2184
|
createdByRole?: string | undefined;
|
|
2109
2185
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2110
2186
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2111
2187
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
2112
2188
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2189
|
+
content?: {
|
|
2190
|
+
comment?: string | undefined;
|
|
2191
|
+
} | undefined;
|
|
2113
2192
|
} | {
|
|
2114
2193
|
id: string & import("zod").$brand<"UUID">;
|
|
2115
2194
|
transactionId: string;
|
|
@@ -2131,7 +2210,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2131
2210
|
createdByUserType: "system" | "user";
|
|
2132
2211
|
createdAt: string;
|
|
2133
2212
|
createdBy: string;
|
|
2134
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
2213
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
2135
2214
|
status: "Rejected";
|
|
2136
2215
|
createdByRole?: string | undefined;
|
|
2137
2216
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -2267,6 +2346,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2267
2346
|
waitFor?: boolean | undefined;
|
|
2268
2347
|
createdAtLocation?: string | null | undefined;
|
|
2269
2348
|
type?: "ARCHIVE" | undefined;
|
|
2349
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2350
|
+
eventId: string;
|
|
2351
|
+
transactionId: string;
|
|
2352
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2353
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2354
|
+
originalActionId?: string | undefined;
|
|
2355
|
+
keepAssignment?: boolean | undefined;
|
|
2356
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2357
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2358
|
+
waitFor?: boolean | undefined;
|
|
2359
|
+
createdAtLocation?: string | null | undefined;
|
|
2360
|
+
type?: "UNARCHIVE" | undefined;
|
|
2270
2361
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2271
2362
|
eventId: string;
|
|
2272
2363
|
transactionId: string;
|
|
@@ -2380,9 +2471,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2380
2471
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2381
2472
|
eventId: string;
|
|
2382
2473
|
transactionId: string;
|
|
2383
|
-
content: {
|
|
2384
|
-
comment?: string | undefined;
|
|
2385
|
-
};
|
|
2386
2474
|
declaration?: Record<string, unknown> | undefined;
|
|
2387
2475
|
annotation?: Record<string, unknown> | undefined;
|
|
2388
2476
|
originalActionId?: string | undefined;
|
|
@@ -2416,14 +2504,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2416
2504
|
user: {
|
|
2417
2505
|
id: string & import("zod").$brand<"UUID">;
|
|
2418
2506
|
type: "system";
|
|
2419
|
-
signature?: undefined;
|
|
2420
2507
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2421
2508
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2509
|
+
signature?: undefined;
|
|
2422
2510
|
} | {
|
|
2423
2511
|
id: string & import("zod").$brand<"UUID">;
|
|
2424
|
-
type: "user";
|
|
2425
2512
|
role: string;
|
|
2426
2513
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2514
|
+
type: "user";
|
|
2427
2515
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2428
2516
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2429
2517
|
};
|
|
@@ -2562,6 +2650,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2562
2650
|
waitFor?: boolean | undefined;
|
|
2563
2651
|
createdAtLocation?: string | null | undefined;
|
|
2564
2652
|
type?: "ARCHIVE" | undefined;
|
|
2653
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2654
|
+
eventId: string;
|
|
2655
|
+
transactionId: string;
|
|
2656
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2657
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2658
|
+
originalActionId?: string | undefined;
|
|
2659
|
+
keepAssignment?: boolean | undefined;
|
|
2660
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2661
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2662
|
+
waitFor?: boolean | undefined;
|
|
2663
|
+
createdAtLocation?: string | null | undefined;
|
|
2664
|
+
type?: "UNARCHIVE" | undefined;
|
|
2565
2665
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2566
2666
|
eventId: string;
|
|
2567
2667
|
transactionId: string;
|
|
@@ -2675,9 +2775,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2675
2775
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2676
2776
|
eventId: string;
|
|
2677
2777
|
transactionId: string;
|
|
2678
|
-
content: {
|
|
2679
|
-
comment?: string | undefined;
|
|
2680
|
-
};
|
|
2681
2778
|
declaration?: Record<string, unknown> | undefined;
|
|
2682
2779
|
annotation?: Record<string, unknown> | undefined;
|
|
2683
2780
|
originalActionId?: string | undefined;
|
|
@@ -2711,14 +2808,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2711
2808
|
user: {
|
|
2712
2809
|
id: string & import("zod").$brand<"UUID">;
|
|
2713
2810
|
type: "system";
|
|
2714
|
-
signature?: undefined;
|
|
2715
2811
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2716
2812
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2813
|
+
signature?: undefined;
|
|
2717
2814
|
} | {
|
|
2718
2815
|
id: string & import("zod").$brand<"UUID">;
|
|
2719
|
-
type: "user";
|
|
2720
2816
|
role: string;
|
|
2721
2817
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2818
|
+
type: "user";
|
|
2722
2819
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2723
2820
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2724
2821
|
};
|
|
@@ -2857,6 +2954,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2857
2954
|
waitFor?: boolean | undefined;
|
|
2858
2955
|
createdAtLocation?: string | null | undefined;
|
|
2859
2956
|
type?: "ARCHIVE" | undefined;
|
|
2957
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2958
|
+
eventId: string;
|
|
2959
|
+
transactionId: string;
|
|
2960
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2961
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2962
|
+
originalActionId?: string | undefined;
|
|
2963
|
+
keepAssignment?: boolean | undefined;
|
|
2964
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2965
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2966
|
+
waitFor?: boolean | undefined;
|
|
2967
|
+
createdAtLocation?: string | null | undefined;
|
|
2968
|
+
type?: "UNARCHIVE" | undefined;
|
|
2860
2969
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2861
2970
|
eventId: string;
|
|
2862
2971
|
transactionId: string;
|
|
@@ -2970,9 +3079,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2970
3079
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2971
3080
|
eventId: string;
|
|
2972
3081
|
transactionId: string;
|
|
2973
|
-
content: {
|
|
2974
|
-
comment?: string | undefined;
|
|
2975
|
-
};
|
|
2976
3082
|
declaration?: Record<string, unknown> | undefined;
|
|
2977
3083
|
annotation?: Record<string, unknown> | undefined;
|
|
2978
3084
|
originalActionId?: string | undefined;
|
|
@@ -3006,14 +3112,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3006
3112
|
user: {
|
|
3007
3113
|
id: string & import("zod").$brand<"UUID">;
|
|
3008
3114
|
type: "system";
|
|
3009
|
-
signature?: undefined;
|
|
3010
3115
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3011
3116
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3117
|
+
signature?: undefined;
|
|
3012
3118
|
} | {
|
|
3013
3119
|
id: string & import("zod").$brand<"UUID">;
|
|
3014
|
-
type: "user";
|
|
3015
3120
|
role: string;
|
|
3016
3121
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3122
|
+
type: "user";
|
|
3017
3123
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3018
3124
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3019
3125
|
};
|
|
@@ -3152,6 +3258,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3152
3258
|
waitFor?: boolean | undefined;
|
|
3153
3259
|
createdAtLocation?: string | null | undefined;
|
|
3154
3260
|
type?: "ARCHIVE" | undefined;
|
|
3261
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3262
|
+
eventId: string;
|
|
3263
|
+
transactionId: string;
|
|
3264
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3265
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3266
|
+
originalActionId?: string | undefined;
|
|
3267
|
+
keepAssignment?: boolean | undefined;
|
|
3268
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3269
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3270
|
+
waitFor?: boolean | undefined;
|
|
3271
|
+
createdAtLocation?: string | null | undefined;
|
|
3272
|
+
type?: "UNARCHIVE" | undefined;
|
|
3155
3273
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3156
3274
|
eventId: string;
|
|
3157
3275
|
transactionId: string;
|
|
@@ -3265,9 +3383,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3265
3383
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3266
3384
|
eventId: string;
|
|
3267
3385
|
transactionId: string;
|
|
3268
|
-
content: {
|
|
3269
|
-
comment?: string | undefined;
|
|
3270
|
-
};
|
|
3271
3386
|
declaration?: Record<string, unknown> | undefined;
|
|
3272
3387
|
annotation?: Record<string, unknown> | undefined;
|
|
3273
3388
|
originalActionId?: string | undefined;
|
|
@@ -3295,20 +3410,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3295
3410
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3296
3411
|
}>;
|
|
3297
3412
|
}>>;
|
|
3298
|
-
|
|
3413
|
+
unarchive: import("@trpc/server").TRPCBuiltRouter<{
|
|
3299
3414
|
ctx: Partial<{
|
|
3300
3415
|
token: `Bearer ${string}`;
|
|
3301
3416
|
user: {
|
|
3302
3417
|
id: string & import("zod").$brand<"UUID">;
|
|
3303
3418
|
type: "system";
|
|
3304
|
-
signature?: undefined;
|
|
3305
3419
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3306
3420
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3421
|
+
signature?: undefined;
|
|
3307
3422
|
} | {
|
|
3308
3423
|
id: string & import("zod").$brand<"UUID">;
|
|
3309
|
-
type: "user";
|
|
3310
3424
|
role: string;
|
|
3311
3425
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3426
|
+
type: "user";
|
|
3312
3427
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3313
3428
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3314
3429
|
};
|
|
@@ -3447,6 +3562,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3447
3562
|
waitFor?: boolean | undefined;
|
|
3448
3563
|
createdAtLocation?: string | null | undefined;
|
|
3449
3564
|
type?: "ARCHIVE" | undefined;
|
|
3565
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3566
|
+
eventId: string;
|
|
3567
|
+
transactionId: string;
|
|
3568
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3569
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3570
|
+
originalActionId?: string | undefined;
|
|
3571
|
+
keepAssignment?: boolean | undefined;
|
|
3572
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3573
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3574
|
+
waitFor?: boolean | undefined;
|
|
3575
|
+
createdAtLocation?: string | null | undefined;
|
|
3576
|
+
type?: "UNARCHIVE" | undefined;
|
|
3450
3577
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3451
3578
|
eventId: string;
|
|
3452
3579
|
transactionId: string;
|
|
@@ -3560,9 +3687,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3560
3687
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3561
3688
|
eventId: string;
|
|
3562
3689
|
transactionId: string;
|
|
3563
|
-
content: {
|
|
3564
|
-
comment?: string | undefined;
|
|
3565
|
-
};
|
|
3566
3690
|
declaration?: Record<string, unknown> | undefined;
|
|
3567
3691
|
annotation?: Record<string, unknown> | undefined;
|
|
3568
3692
|
originalActionId?: string | undefined;
|
|
@@ -3590,20 +3714,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3590
3714
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3591
3715
|
}>;
|
|
3592
3716
|
}>>;
|
|
3593
|
-
|
|
3717
|
+
register: import("@trpc/server").TRPCBuiltRouter<{
|
|
3594
3718
|
ctx: Partial<{
|
|
3595
3719
|
token: `Bearer ${string}`;
|
|
3596
3720
|
user: {
|
|
3597
3721
|
id: string & import("zod").$brand<"UUID">;
|
|
3598
3722
|
type: "system";
|
|
3599
|
-
signature?: undefined;
|
|
3600
3723
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3601
3724
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3725
|
+
signature?: undefined;
|
|
3602
3726
|
} | {
|
|
3603
3727
|
id: string & import("zod").$brand<"UUID">;
|
|
3604
|
-
type: "user";
|
|
3605
3728
|
role: string;
|
|
3606
3729
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3730
|
+
type: "user";
|
|
3607
3731
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3608
3732
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3609
3733
|
};
|
|
@@ -3742,6 +3866,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3742
3866
|
waitFor?: boolean | undefined;
|
|
3743
3867
|
createdAtLocation?: string | null | undefined;
|
|
3744
3868
|
type?: "ARCHIVE" | undefined;
|
|
3869
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3870
|
+
eventId: string;
|
|
3871
|
+
transactionId: string;
|
|
3872
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3873
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3874
|
+
originalActionId?: string | undefined;
|
|
3875
|
+
keepAssignment?: boolean | undefined;
|
|
3876
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3877
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3878
|
+
waitFor?: boolean | undefined;
|
|
3879
|
+
createdAtLocation?: string | null | undefined;
|
|
3880
|
+
type?: "UNARCHIVE" | undefined;
|
|
3745
3881
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3746
3882
|
eventId: string;
|
|
3747
3883
|
transactionId: string;
|
|
@@ -3855,9 +3991,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3855
3991
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3856
3992
|
eventId: string;
|
|
3857
3993
|
transactionId: string;
|
|
3858
|
-
content: {
|
|
3859
|
-
comment?: string | undefined;
|
|
3860
|
-
};
|
|
3861
3994
|
declaration?: Record<string, unknown> | undefined;
|
|
3862
3995
|
annotation?: Record<string, unknown> | undefined;
|
|
3863
3996
|
originalActionId?: string | undefined;
|
|
@@ -3885,20 +4018,324 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3885
4018
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3886
4019
|
}>;
|
|
3887
4020
|
}>>;
|
|
3888
|
-
|
|
4021
|
+
printCertificate: import("@trpc/server").TRPCBuiltRouter<{
|
|
3889
4022
|
ctx: Partial<{
|
|
3890
4023
|
token: `Bearer ${string}`;
|
|
3891
4024
|
user: {
|
|
3892
4025
|
id: string & import("zod").$brand<"UUID">;
|
|
3893
4026
|
type: "system";
|
|
3894
|
-
signature?: undefined;
|
|
3895
4027
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3896
4028
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4029
|
+
signature?: undefined;
|
|
3897
4030
|
} | {
|
|
3898
4031
|
id: string & import("zod").$brand<"UUID">;
|
|
4032
|
+
role: string;
|
|
4033
|
+
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3899
4034
|
type: "user";
|
|
4035
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4036
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4037
|
+
};
|
|
4038
|
+
}>;
|
|
4039
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4040
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
4041
|
+
transformer: true;
|
|
4042
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
4043
|
+
request: import("@trpc/server").TRPCMutationProcedure<{
|
|
4044
|
+
input: import("../commons").ActionInput;
|
|
4045
|
+
output: import("../commons").EventDocument;
|
|
4046
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4047
|
+
}>;
|
|
4048
|
+
accept: import("@trpc/server").TRPCMutationProcedure<{
|
|
4049
|
+
input: (Omit<{
|
|
4050
|
+
eventId: string;
|
|
4051
|
+
transactionId: string;
|
|
4052
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4053
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4054
|
+
originalActionId?: string | undefined;
|
|
4055
|
+
keepAssignment?: boolean | undefined;
|
|
4056
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4057
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4058
|
+
waitFor?: boolean | undefined;
|
|
4059
|
+
type?: "CREATE" | undefined;
|
|
4060
|
+
createdAtLocation?: string | null | undefined;
|
|
4061
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4062
|
+
eventId: string;
|
|
4063
|
+
transactionId: string;
|
|
4064
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4065
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4066
|
+
originalActionId?: string | undefined;
|
|
4067
|
+
keepAssignment?: boolean | undefined;
|
|
4068
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4069
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4070
|
+
waitFor?: boolean | undefined;
|
|
4071
|
+
createdAtLocation?: string | null | undefined;
|
|
4072
|
+
type?: "REGISTER" | undefined;
|
|
4073
|
+
registrationNumber?: string | undefined;
|
|
4074
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4075
|
+
eventId: string;
|
|
4076
|
+
transactionId: string;
|
|
4077
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4078
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4079
|
+
originalActionId?: string | undefined;
|
|
4080
|
+
keepAssignment?: boolean | undefined;
|
|
4081
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4082
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4083
|
+
waitFor?: boolean | undefined;
|
|
4084
|
+
type?: "NOTIFY" | undefined;
|
|
4085
|
+
createdAtLocation?: string | null | undefined;
|
|
4086
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4087
|
+
eventId: string;
|
|
4088
|
+
transactionId: string;
|
|
4089
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4090
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4091
|
+
originalActionId?: string | undefined;
|
|
4092
|
+
keepAssignment?: boolean | undefined;
|
|
4093
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4094
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4095
|
+
waitFor?: boolean | undefined;
|
|
4096
|
+
createdAtLocation?: string | null | undefined;
|
|
4097
|
+
type?: "DECLARE" | undefined;
|
|
4098
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4099
|
+
eventId: string;
|
|
4100
|
+
transactionId: string;
|
|
4101
|
+
content: {
|
|
4102
|
+
reason: string;
|
|
4103
|
+
};
|
|
4104
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4105
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4106
|
+
originalActionId?: string | undefined;
|
|
4107
|
+
keepAssignment?: boolean | undefined;
|
|
4108
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4109
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4110
|
+
waitFor?: boolean | undefined;
|
|
4111
|
+
createdAtLocation?: string | null | undefined;
|
|
4112
|
+
type?: "REJECT" | undefined;
|
|
4113
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4114
|
+
eventId: string;
|
|
4115
|
+
transactionId: string;
|
|
4116
|
+
content: {
|
|
4117
|
+
duplicates: {
|
|
4118
|
+
id: string;
|
|
4119
|
+
trackingId: string;
|
|
4120
|
+
}[];
|
|
4121
|
+
};
|
|
4122
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4123
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4124
|
+
originalActionId?: string | undefined;
|
|
4125
|
+
keepAssignment?: boolean | undefined;
|
|
4126
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4127
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4128
|
+
waitFor?: boolean | undefined;
|
|
4129
|
+
createdAtLocation?: string | null | undefined;
|
|
4130
|
+
type?: "DUPLICATE_DETECTED" | undefined;
|
|
4131
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4132
|
+
eventId: string;
|
|
4133
|
+
transactionId: string;
|
|
4134
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4135
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4136
|
+
originalActionId?: string | undefined;
|
|
4137
|
+
keepAssignment?: boolean | undefined;
|
|
4138
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4139
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4140
|
+
waitFor?: boolean | undefined;
|
|
4141
|
+
createdAtLocation?: string | null | undefined;
|
|
4142
|
+
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
4143
|
+
content?: {
|
|
4144
|
+
duplicateOf: string;
|
|
4145
|
+
} | undefined;
|
|
4146
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4147
|
+
eventId: string;
|
|
4148
|
+
transactionId: string;
|
|
4149
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4150
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4151
|
+
originalActionId?: string | undefined;
|
|
4152
|
+
keepAssignment?: boolean | undefined;
|
|
4153
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4154
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4155
|
+
waitFor?: boolean | undefined;
|
|
4156
|
+
createdAtLocation?: string | null | undefined;
|
|
4157
|
+
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
4158
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4159
|
+
eventId: string;
|
|
4160
|
+
transactionId: string;
|
|
4161
|
+
content: {
|
|
4162
|
+
reason: string;
|
|
4163
|
+
};
|
|
4164
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4165
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4166
|
+
originalActionId?: string | undefined;
|
|
4167
|
+
keepAssignment?: boolean | undefined;
|
|
4168
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4169
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4170
|
+
waitFor?: boolean | undefined;
|
|
4171
|
+
createdAtLocation?: string | null | undefined;
|
|
4172
|
+
type?: "ARCHIVE" | undefined;
|
|
4173
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4174
|
+
eventId: string;
|
|
4175
|
+
transactionId: string;
|
|
4176
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4177
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4178
|
+
originalActionId?: string | undefined;
|
|
4179
|
+
keepAssignment?: boolean | undefined;
|
|
4180
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4181
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4182
|
+
waitFor?: boolean | undefined;
|
|
4183
|
+
createdAtLocation?: string | null | undefined;
|
|
4184
|
+
type?: "UNARCHIVE" | undefined;
|
|
4185
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4186
|
+
eventId: string;
|
|
4187
|
+
transactionId: string;
|
|
4188
|
+
type: "ASSIGN";
|
|
4189
|
+
assignedTo: string;
|
|
4190
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4191
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4192
|
+
originalActionId?: string | undefined;
|
|
4193
|
+
keepAssignment?: boolean | undefined;
|
|
4194
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4195
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4196
|
+
waitFor?: boolean | undefined;
|
|
4197
|
+
createdAtLocation?: string | null | undefined;
|
|
4198
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4199
|
+
eventId: string;
|
|
4200
|
+
transactionId: string;
|
|
4201
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4202
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4203
|
+
originalActionId?: string | undefined;
|
|
4204
|
+
keepAssignment?: boolean | undefined;
|
|
4205
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4206
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4207
|
+
waitFor?: boolean | undefined;
|
|
4208
|
+
createdAtLocation?: string | null | undefined;
|
|
4209
|
+
type?: "UNASSIGN" | undefined;
|
|
4210
|
+
assignedTo?: null | undefined;
|
|
4211
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4212
|
+
eventId: string;
|
|
4213
|
+
transactionId: string;
|
|
4214
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4215
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4216
|
+
originalActionId?: string | undefined;
|
|
4217
|
+
keepAssignment?: boolean | undefined;
|
|
4218
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4219
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4220
|
+
waitFor?: boolean | undefined;
|
|
4221
|
+
createdAtLocation?: string | null | undefined;
|
|
4222
|
+
type?: "PRINT_CERTIFICATE" | undefined;
|
|
4223
|
+
content?: {
|
|
4224
|
+
templateId?: string | undefined;
|
|
4225
|
+
} | undefined;
|
|
4226
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4227
|
+
eventId: string;
|
|
4228
|
+
transactionId: string;
|
|
4229
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4230
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4231
|
+
originalActionId?: string | undefined;
|
|
4232
|
+
keepAssignment?: boolean | undefined;
|
|
4233
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4234
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4235
|
+
waitFor?: boolean | undefined;
|
|
4236
|
+
createdAtLocation?: string | null | undefined;
|
|
4237
|
+
type?: "REQUEST_CORRECTION" | undefined;
|
|
4238
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4239
|
+
eventId: string;
|
|
4240
|
+
transactionId: string;
|
|
4241
|
+
requestId: string;
|
|
4242
|
+
content: {
|
|
4243
|
+
reason: string;
|
|
4244
|
+
};
|
|
4245
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4246
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4247
|
+
originalActionId?: string | undefined;
|
|
4248
|
+
keepAssignment?: boolean | undefined;
|
|
4249
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4250
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4251
|
+
waitFor?: boolean | undefined;
|
|
4252
|
+
createdAtLocation?: string | null | undefined;
|
|
4253
|
+
type?: "REJECT_CORRECTION" | undefined;
|
|
4254
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4255
|
+
eventId: string;
|
|
4256
|
+
transactionId: string;
|
|
4257
|
+
requestId: string;
|
|
4258
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4259
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4260
|
+
originalActionId?: string | undefined;
|
|
4261
|
+
keepAssignment?: boolean | undefined;
|
|
4262
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4263
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4264
|
+
waitFor?: boolean | undefined;
|
|
4265
|
+
createdAtLocation?: string | null | undefined;
|
|
4266
|
+
type?: "APPROVE_CORRECTION" | undefined;
|
|
4267
|
+
content?: {
|
|
4268
|
+
immediateCorrection?: boolean | undefined;
|
|
4269
|
+
} | undefined;
|
|
4270
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4271
|
+
eventId: string;
|
|
4272
|
+
transactionId: string;
|
|
4273
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4274
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4275
|
+
originalActionId?: string | undefined;
|
|
4276
|
+
keepAssignment?: boolean | undefined;
|
|
4277
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4278
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4279
|
+
waitFor?: boolean | undefined;
|
|
4280
|
+
createdAtLocation?: string | null | undefined;
|
|
4281
|
+
type?: "READ" | undefined;
|
|
4282
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4283
|
+
eventId: string;
|
|
4284
|
+
transactionId: string;
|
|
4285
|
+
customActionType: string;
|
|
4286
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4287
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4288
|
+
originalActionId?: string | undefined;
|
|
4289
|
+
keepAssignment?: boolean | undefined;
|
|
4290
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4291
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4292
|
+
waitFor?: boolean | undefined;
|
|
4293
|
+
createdAtLocation?: string | null | undefined;
|
|
4294
|
+
type?: "CUSTOM" | undefined;
|
|
4295
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4296
|
+
eventId: string;
|
|
4297
|
+
transactionId: string;
|
|
4298
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4299
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4300
|
+
originalActionId?: string | undefined;
|
|
4301
|
+
keepAssignment?: boolean | undefined;
|
|
4302
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4303
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4304
|
+
waitFor?: boolean | undefined;
|
|
4305
|
+
createdAtLocation?: string | null | undefined;
|
|
4306
|
+
type?: "EDIT" | undefined;
|
|
4307
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
4308
|
+
actionId: string;
|
|
4309
|
+
};
|
|
4310
|
+
output: import("../commons").EventDocument;
|
|
4311
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4312
|
+
}>;
|
|
4313
|
+
reject: import("@trpc/server").TRPCMutationProcedure<{
|
|
4314
|
+
input: import("zod").input<import("zod").ZodObject<{
|
|
4315
|
+
transactionId: import("zod").ZodString;
|
|
4316
|
+
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
4317
|
+
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4318
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
4319
|
+
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
4320
|
+
}, import("zod/v4/core").$strip>>;
|
|
4321
|
+
output: import("../commons").EventDocument;
|
|
4322
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4323
|
+
}>;
|
|
4324
|
+
}>>;
|
|
4325
|
+
custom: import("@trpc/server").TRPCBuiltRouter<{
|
|
4326
|
+
ctx: Partial<{
|
|
4327
|
+
token: `Bearer ${string}`;
|
|
4328
|
+
user: {
|
|
4329
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4330
|
+
type: "system";
|
|
4331
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4332
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4333
|
+
signature?: undefined;
|
|
4334
|
+
} | {
|
|
4335
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3900
4336
|
role: string;
|
|
3901
4337
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4338
|
+
type: "user";
|
|
3902
4339
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3903
4340
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3904
4341
|
};
|
|
@@ -4006,9 +4443,26 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4006
4443
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4007
4444
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4008
4445
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4009
|
-
content?: {
|
|
4010
|
-
duplicateOf: string & import("zod").$brand<"UUID">;
|
|
4011
|
-
} | undefined;
|
|
4446
|
+
content?: {
|
|
4447
|
+
duplicateOf: string & import("zod").$brand<"UUID">;
|
|
4448
|
+
} | undefined;
|
|
4449
|
+
} | {
|
|
4450
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4451
|
+
transactionId: string;
|
|
4452
|
+
createdByUserType: "system" | "user";
|
|
4453
|
+
createdAt: string;
|
|
4454
|
+
createdBy: string;
|
|
4455
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
4456
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
4457
|
+
type: "ARCHIVE";
|
|
4458
|
+
content: {
|
|
4459
|
+
reason: string;
|
|
4460
|
+
};
|
|
4461
|
+
createdByRole?: string | undefined;
|
|
4462
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4463
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4464
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4465
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4012
4466
|
} | {
|
|
4013
4467
|
id: string & import("zod").$brand<"UUID">;
|
|
4014
4468
|
transactionId: string;
|
|
@@ -4017,10 +4471,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4017
4471
|
createdBy: string;
|
|
4018
4472
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
4019
4473
|
status: "Requested" | "Accepted" | "Rejected";
|
|
4020
|
-
type: "
|
|
4021
|
-
content: {
|
|
4022
|
-
reason: string;
|
|
4023
|
-
};
|
|
4474
|
+
type: "UNARCHIVE";
|
|
4024
4475
|
createdByRole?: string | undefined;
|
|
4025
4476
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4026
4477
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -4188,14 +4639,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4188
4639
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
4189
4640
|
status: "Requested" | "Accepted" | "Rejected";
|
|
4190
4641
|
type: "EDIT";
|
|
4191
|
-
content: {
|
|
4192
|
-
comment?: string | undefined;
|
|
4193
|
-
};
|
|
4194
4642
|
createdByRole?: string | undefined;
|
|
4195
4643
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4196
4644
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4197
4645
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4198
4646
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4647
|
+
content?: {
|
|
4648
|
+
comment?: string | undefined;
|
|
4649
|
+
} | undefined;
|
|
4199
4650
|
} | {
|
|
4200
4651
|
id: string & import("zod").$brand<"UUID">;
|
|
4201
4652
|
transactionId: string;
|
|
@@ -4217,7 +4668,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4217
4668
|
createdByUserType: "system" | "user";
|
|
4218
4669
|
createdAt: string;
|
|
4219
4670
|
createdBy: string;
|
|
4220
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
4671
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
4221
4672
|
status: "Rejected";
|
|
4222
4673
|
createdByRole?: string | undefined;
|
|
4223
4674
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -4353,6 +4804,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4353
4804
|
waitFor?: boolean | undefined;
|
|
4354
4805
|
createdAtLocation?: string | null | undefined;
|
|
4355
4806
|
type?: "ARCHIVE" | undefined;
|
|
4807
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4808
|
+
eventId: string;
|
|
4809
|
+
transactionId: string;
|
|
4810
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4811
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4812
|
+
originalActionId?: string | undefined;
|
|
4813
|
+
keepAssignment?: boolean | undefined;
|
|
4814
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4815
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4816
|
+
waitFor?: boolean | undefined;
|
|
4817
|
+
createdAtLocation?: string | null | undefined;
|
|
4818
|
+
type?: "UNARCHIVE" | undefined;
|
|
4356
4819
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4357
4820
|
eventId: string;
|
|
4358
4821
|
transactionId: string;
|
|
@@ -4466,9 +4929,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4466
4929
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4467
4930
|
eventId: string;
|
|
4468
4931
|
transactionId: string;
|
|
4469
|
-
content: {
|
|
4470
|
-
comment?: string | undefined;
|
|
4471
|
-
};
|
|
4472
4932
|
declaration?: Record<string, unknown> | undefined;
|
|
4473
4933
|
annotation?: Record<string, unknown> | undefined;
|
|
4474
4934
|
originalActionId?: string | undefined;
|
|
@@ -4502,14 +4962,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4502
4962
|
user: {
|
|
4503
4963
|
id: string & import("zod").$brand<"UUID">;
|
|
4504
4964
|
type: "system";
|
|
4505
|
-
signature?: undefined;
|
|
4506
4965
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4507
4966
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4967
|
+
signature?: undefined;
|
|
4508
4968
|
} | {
|
|
4509
4969
|
id: string & import("zod").$brand<"UUID">;
|
|
4510
|
-
type: "user";
|
|
4511
4970
|
role: string;
|
|
4512
4971
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4972
|
+
type: "user";
|
|
4513
4973
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4514
4974
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4515
4975
|
};
|
|
@@ -4637,6 +5097,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4637
5097
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4638
5098
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4639
5099
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5100
|
+
} | {
|
|
5101
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5102
|
+
transactionId: string;
|
|
5103
|
+
createdByUserType: "system" | "user";
|
|
5104
|
+
createdAt: string;
|
|
5105
|
+
createdBy: string;
|
|
5106
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5107
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
5108
|
+
type: "UNARCHIVE";
|
|
5109
|
+
createdByRole?: string | undefined;
|
|
5110
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5111
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5112
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5113
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4640
5114
|
} | {
|
|
4641
5115
|
id: string & import("zod").$brand<"UUID">;
|
|
4642
5116
|
transactionId: string;
|
|
@@ -4799,14 +5273,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4799
5273
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
4800
5274
|
status: "Requested" | "Accepted" | "Rejected";
|
|
4801
5275
|
type: "EDIT";
|
|
4802
|
-
content: {
|
|
4803
|
-
comment?: string | undefined;
|
|
4804
|
-
};
|
|
4805
5276
|
createdByRole?: string | undefined;
|
|
4806
5277
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4807
5278
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4808
5279
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4809
5280
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5281
|
+
content?: {
|
|
5282
|
+
comment?: string | undefined;
|
|
5283
|
+
} | undefined;
|
|
4810
5284
|
} | {
|
|
4811
5285
|
id: string & import("zod").$brand<"UUID">;
|
|
4812
5286
|
transactionId: string;
|
|
@@ -4828,7 +5302,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4828
5302
|
createdByUserType: "system" | "user";
|
|
4829
5303
|
createdAt: string;
|
|
4830
5304
|
createdBy: string;
|
|
4831
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
5305
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
4832
5306
|
status: "Rejected";
|
|
4833
5307
|
createdByRole?: string | undefined;
|
|
4834
5308
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -4958,6 +5432,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4958
5432
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4959
5433
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4960
5434
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5435
|
+
} | {
|
|
5436
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5437
|
+
transactionId: string;
|
|
5438
|
+
createdByUserType: "system" | "user";
|
|
5439
|
+
createdAt: string;
|
|
5440
|
+
createdBy: string;
|
|
5441
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5442
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
5443
|
+
type: "UNARCHIVE";
|
|
5444
|
+
createdByRole?: string | undefined;
|
|
5445
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5446
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5447
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5448
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4961
5449
|
} | {
|
|
4962
5450
|
id: string & import("zod").$brand<"UUID">;
|
|
4963
5451
|
transactionId: string;
|
|
@@ -5120,14 +5608,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5120
5608
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5121
5609
|
status: "Requested" | "Accepted" | "Rejected";
|
|
5122
5610
|
type: "EDIT";
|
|
5123
|
-
content: {
|
|
5124
|
-
comment?: string | undefined;
|
|
5125
|
-
};
|
|
5126
5611
|
createdByRole?: string | undefined;
|
|
5127
5612
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5128
5613
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5129
5614
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5130
5615
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5616
|
+
content?: {
|
|
5617
|
+
comment?: string | undefined;
|
|
5618
|
+
} | undefined;
|
|
5131
5619
|
} | {
|
|
5132
5620
|
id: string & import("zod").$brand<"UUID">;
|
|
5133
5621
|
transactionId: string;
|
|
@@ -5149,7 +5637,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5149
5637
|
createdByUserType: "system" | "user";
|
|
5150
5638
|
createdAt: string;
|
|
5151
5639
|
createdBy: string;
|
|
5152
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
5640
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
5153
5641
|
status: "Rejected";
|
|
5154
5642
|
createdByRole?: string | undefined;
|
|
5155
5643
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -5167,14 +5655,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5167
5655
|
user: {
|
|
5168
5656
|
id: string & import("zod").$brand<"UUID">;
|
|
5169
5657
|
type: "system";
|
|
5170
|
-
signature?: undefined;
|
|
5171
5658
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5172
5659
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5660
|
+
signature?: undefined;
|
|
5173
5661
|
} | {
|
|
5174
5662
|
id: string & import("zod").$brand<"UUID">;
|
|
5175
|
-
type: "user";
|
|
5176
5663
|
role: string;
|
|
5177
5664
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5665
|
+
type: "user";
|
|
5178
5666
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5179
5667
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5180
5668
|
};
|
|
@@ -5189,14 +5677,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5189
5677
|
user: {
|
|
5190
5678
|
id: string & import("zod").$brand<"UUID">;
|
|
5191
5679
|
type: "system";
|
|
5192
|
-
signature?: undefined;
|
|
5193
5680
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5194
5681
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5682
|
+
signature?: undefined;
|
|
5195
5683
|
} | {
|
|
5196
5684
|
id: string & import("zod").$brand<"UUID">;
|
|
5197
|
-
type: "user";
|
|
5198
5685
|
role: string;
|
|
5199
5686
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5687
|
+
type: "user";
|
|
5200
5688
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5201
5689
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5202
5690
|
};
|
|
@@ -5335,6 +5823,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5335
5823
|
waitFor?: boolean | undefined;
|
|
5336
5824
|
createdAtLocation?: string | null | undefined;
|
|
5337
5825
|
type?: "ARCHIVE" | undefined;
|
|
5826
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5827
|
+
eventId: string;
|
|
5828
|
+
transactionId: string;
|
|
5829
|
+
declaration?: Record<string, unknown> | undefined;
|
|
5830
|
+
annotation?: Record<string, unknown> | undefined;
|
|
5831
|
+
originalActionId?: string | undefined;
|
|
5832
|
+
keepAssignment?: boolean | undefined;
|
|
5833
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5834
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
5835
|
+
waitFor?: boolean | undefined;
|
|
5836
|
+
createdAtLocation?: string | null | undefined;
|
|
5837
|
+
type?: "UNARCHIVE" | undefined;
|
|
5338
5838
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5339
5839
|
eventId: string;
|
|
5340
5840
|
transactionId: string;
|
|
@@ -5448,9 +5948,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5448
5948
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5449
5949
|
eventId: string;
|
|
5450
5950
|
transactionId: string;
|
|
5451
|
-
content: {
|
|
5452
|
-
comment?: string | undefined;
|
|
5453
|
-
};
|
|
5454
5951
|
declaration?: Record<string, unknown> | undefined;
|
|
5455
5952
|
annotation?: Record<string, unknown> | undefined;
|
|
5456
5953
|
originalActionId?: string | undefined;
|
|
@@ -5484,14 +5981,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5484
5981
|
user: {
|
|
5485
5982
|
id: string & import("zod").$brand<"UUID">;
|
|
5486
5983
|
type: "system";
|
|
5487
|
-
signature?: undefined;
|
|
5488
5984
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5489
5985
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5986
|
+
signature?: undefined;
|
|
5490
5987
|
} | {
|
|
5491
5988
|
id: string & import("zod").$brand<"UUID">;
|
|
5492
|
-
type: "user";
|
|
5493
5989
|
role: string;
|
|
5494
5990
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5991
|
+
type: "user";
|
|
5495
5992
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5496
5993
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5497
5994
|
};
|
|
@@ -5630,6 +6127,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5630
6127
|
waitFor?: boolean | undefined;
|
|
5631
6128
|
createdAtLocation?: string | null | undefined;
|
|
5632
6129
|
type?: "ARCHIVE" | undefined;
|
|
6130
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6131
|
+
eventId: string;
|
|
6132
|
+
transactionId: string;
|
|
6133
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6134
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6135
|
+
originalActionId?: string | undefined;
|
|
6136
|
+
keepAssignment?: boolean | undefined;
|
|
6137
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6138
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6139
|
+
waitFor?: boolean | undefined;
|
|
6140
|
+
createdAtLocation?: string | null | undefined;
|
|
6141
|
+
type?: "UNARCHIVE" | undefined;
|
|
5633
6142
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5634
6143
|
eventId: string;
|
|
5635
6144
|
transactionId: string;
|
|
@@ -5743,9 +6252,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5743
6252
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5744
6253
|
eventId: string;
|
|
5745
6254
|
transactionId: string;
|
|
5746
|
-
content: {
|
|
5747
|
-
comment?: string | undefined;
|
|
5748
|
-
};
|
|
5749
6255
|
declaration?: Record<string, unknown> | undefined;
|
|
5750
6256
|
annotation?: Record<string, unknown> | undefined;
|
|
5751
6257
|
originalActionId?: string | undefined;
|
|
@@ -5779,14 +6285,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5779
6285
|
user: {
|
|
5780
6286
|
id: string & import("zod").$brand<"UUID">;
|
|
5781
6287
|
type: "system";
|
|
5782
|
-
signature?: undefined;
|
|
5783
6288
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5784
6289
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6290
|
+
signature?: undefined;
|
|
5785
6291
|
} | {
|
|
5786
6292
|
id: string & import("zod").$brand<"UUID">;
|
|
5787
|
-
type: "user";
|
|
5788
6293
|
role: string;
|
|
5789
6294
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6295
|
+
type: "user";
|
|
5790
6296
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5791
6297
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5792
6298
|
};
|
|
@@ -5925,6 +6431,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5925
6431
|
waitFor?: boolean | undefined;
|
|
5926
6432
|
createdAtLocation?: string | null | undefined;
|
|
5927
6433
|
type?: "ARCHIVE" | undefined;
|
|
6434
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6435
|
+
eventId: string;
|
|
6436
|
+
transactionId: string;
|
|
6437
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6438
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6439
|
+
originalActionId?: string | undefined;
|
|
6440
|
+
keepAssignment?: boolean | undefined;
|
|
6441
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6442
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6443
|
+
waitFor?: boolean | undefined;
|
|
6444
|
+
createdAtLocation?: string | null | undefined;
|
|
6445
|
+
type?: "UNARCHIVE" | undefined;
|
|
5928
6446
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5929
6447
|
eventId: string;
|
|
5930
6448
|
transactionId: string;
|
|
@@ -6038,9 +6556,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6038
6556
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6039
6557
|
eventId: string;
|
|
6040
6558
|
transactionId: string;
|
|
6041
|
-
content: {
|
|
6042
|
-
comment?: string | undefined;
|
|
6043
|
-
};
|
|
6044
6559
|
declaration?: Record<string, unknown> | undefined;
|
|
6045
6560
|
annotation?: Record<string, unknown> | undefined;
|
|
6046
6561
|
originalActionId?: string | undefined;
|
|
@@ -6075,14 +6590,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6075
6590
|
user: {
|
|
6076
6591
|
id: string & import("zod").$brand<"UUID">;
|
|
6077
6592
|
type: "system";
|
|
6078
|
-
signature?: undefined;
|
|
6079
6593
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6080
6594
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6595
|
+
signature?: undefined;
|
|
6081
6596
|
} | {
|
|
6082
6597
|
id: string & import("zod").$brand<"UUID">;
|
|
6083
|
-
type: "user";
|
|
6084
6598
|
role: string;
|
|
6085
6599
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6600
|
+
type: "user";
|
|
6086
6601
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6087
6602
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6088
6603
|
};
|
|
@@ -6212,6 +6727,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6212
6727
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6213
6728
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
6214
6729
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6730
|
+
} | {
|
|
6731
|
+
id: string & import("zod").$brand<"UUID">;
|
|
6732
|
+
transactionId: string;
|
|
6733
|
+
createdByUserType: "system" | "user";
|
|
6734
|
+
createdAt: string;
|
|
6735
|
+
createdBy: string;
|
|
6736
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
6737
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
6738
|
+
type: "UNARCHIVE";
|
|
6739
|
+
createdByRole?: string | undefined;
|
|
6740
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6741
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6742
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
6743
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6215
6744
|
} | {
|
|
6216
6745
|
id: string & import("zod").$brand<"UUID">;
|
|
6217
6746
|
transactionId: string;
|
|
@@ -6374,14 +6903,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6374
6903
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
6375
6904
|
status: "Requested" | "Accepted" | "Rejected";
|
|
6376
6905
|
type: "EDIT";
|
|
6377
|
-
content: {
|
|
6378
|
-
comment?: string | undefined;
|
|
6379
|
-
};
|
|
6380
6906
|
createdByRole?: string | undefined;
|
|
6381
6907
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6382
6908
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6383
6909
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
6384
6910
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6911
|
+
content?: {
|
|
6912
|
+
comment?: string | undefined;
|
|
6913
|
+
} | undefined;
|
|
6385
6914
|
} | {
|
|
6386
6915
|
id: string & import("zod").$brand<"UUID">;
|
|
6387
6916
|
transactionId: string;
|
|
@@ -6403,7 +6932,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6403
6932
|
createdByUserType: "system" | "user";
|
|
6404
6933
|
createdAt: string;
|
|
6405
6934
|
createdBy: string;
|
|
6406
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
6935
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
6407
6936
|
status: "Rejected";
|
|
6408
6937
|
createdByRole?: string | undefined;
|
|
6409
6938
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -6532,6 +7061,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6532
7061
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6533
7062
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
6534
7063
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7064
|
+
} | {
|
|
7065
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7066
|
+
transactionId: string;
|
|
7067
|
+
createdByUserType: "system" | "user";
|
|
7068
|
+
createdAt: string;
|
|
7069
|
+
createdBy: string;
|
|
7070
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
7071
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
7072
|
+
type: "UNARCHIVE";
|
|
7073
|
+
createdByRole?: string | undefined;
|
|
7074
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7075
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7076
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
7077
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6535
7078
|
} | {
|
|
6536
7079
|
id: string & import("zod").$brand<"UUID">;
|
|
6537
7080
|
transactionId: string;
|
|
@@ -6694,14 +7237,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6694
7237
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
6695
7238
|
status: "Requested" | "Accepted" | "Rejected";
|
|
6696
7239
|
type: "EDIT";
|
|
6697
|
-
content: {
|
|
6698
|
-
comment?: string | undefined;
|
|
6699
|
-
};
|
|
6700
7240
|
createdByRole?: string | undefined;
|
|
6701
7241
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6702
7242
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6703
7243
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
6704
7244
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7245
|
+
content?: {
|
|
7246
|
+
comment?: string | undefined;
|
|
7247
|
+
} | undefined;
|
|
6705
7248
|
} | {
|
|
6706
7249
|
id: string & import("zod").$brand<"UUID">;
|
|
6707
7250
|
transactionId: string;
|
|
@@ -6723,7 +7266,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6723
7266
|
createdByUserType: "system" | "user";
|
|
6724
7267
|
createdAt: string;
|
|
6725
7268
|
createdBy: string;
|
|
6726
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
7269
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
6727
7270
|
status: "Rejected";
|
|
6728
7271
|
createdByRole?: string | undefined;
|
|
6729
7272
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -6747,7 +7290,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6747
7290
|
results: {
|
|
6748
7291
|
id: string & import("zod").$brand<"UUID">;
|
|
6749
7292
|
type: string;
|
|
6750
|
-
status: "
|
|
7293
|
+
status: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
6751
7294
|
legalStatuses: {
|
|
6752
7295
|
NOTIFIED?: {
|
|
6753
7296
|
createdAt: string;
|
|
@@ -6903,6 +7446,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6903
7446
|
createdAtLocation?: string | null | undefined;
|
|
6904
7447
|
annotation?: Record<string, unknown> | null | undefined;
|
|
6905
7448
|
originalActionId?: string | null | undefined;
|
|
7449
|
+
} | {
|
|
7450
|
+
id: string;
|
|
7451
|
+
transactionId: string;
|
|
7452
|
+
createdByUserType: "system" | "user";
|
|
7453
|
+
createdAt: string;
|
|
7454
|
+
createdBy: string;
|
|
7455
|
+
declaration: Record<string, unknown>;
|
|
7456
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
7457
|
+
type: "UNARCHIVE";
|
|
7458
|
+
createdByRole?: string | undefined;
|
|
7459
|
+
createdBySignature?: string | null | undefined;
|
|
7460
|
+
createdAtLocation?: string | null | undefined;
|
|
7461
|
+
annotation?: Record<string, unknown> | null | undefined;
|
|
7462
|
+
originalActionId?: string | null | undefined;
|
|
6906
7463
|
} | {
|
|
6907
7464
|
id: string;
|
|
6908
7465
|
transactionId: string;
|
|
@@ -7065,14 +7622,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7065
7622
|
declaration: Record<string, unknown>;
|
|
7066
7623
|
status: "Requested" | "Accepted" | "Rejected";
|
|
7067
7624
|
type: "EDIT";
|
|
7068
|
-
content: {
|
|
7069
|
-
comment?: string | undefined;
|
|
7070
|
-
};
|
|
7071
7625
|
createdByRole?: string | undefined;
|
|
7072
7626
|
createdBySignature?: string | null | undefined;
|
|
7073
7627
|
createdAtLocation?: string | null | undefined;
|
|
7074
7628
|
annotation?: Record<string, unknown> | null | undefined;
|
|
7075
7629
|
originalActionId?: string | null | undefined;
|
|
7630
|
+
content?: {
|
|
7631
|
+
comment?: string | undefined;
|
|
7632
|
+
} | undefined;
|
|
7076
7633
|
} | {
|
|
7077
7634
|
id: string;
|
|
7078
7635
|
transactionId: string;
|
|
@@ -7094,7 +7651,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7094
7651
|
createdByUserType: "system" | "user";
|
|
7095
7652
|
createdAt: string;
|
|
7096
7653
|
createdBy: string;
|
|
7097
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
7654
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
7098
7655
|
status: "Rejected";
|
|
7099
7656
|
createdByRole?: string | undefined;
|
|
7100
7657
|
createdBySignature?: string | null | undefined;
|
|
@@ -7113,14 +7670,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7113
7670
|
user: {
|
|
7114
7671
|
id: string & import("zod").$brand<"UUID">;
|
|
7115
7672
|
type: "system";
|
|
7116
|
-
signature?: undefined;
|
|
7117
7673
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7118
7674
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7675
|
+
signature?: undefined;
|
|
7119
7676
|
} | {
|
|
7120
7677
|
id: string & import("zod").$brand<"UUID">;
|
|
7121
|
-
type: "user";
|
|
7122
7678
|
role: string;
|
|
7123
7679
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7680
|
+
type: "user";
|
|
7124
7681
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7125
7682
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7126
7683
|
};
|
|
@@ -7171,11 +7728,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7171
7728
|
};
|
|
7172
7729
|
role: string;
|
|
7173
7730
|
primaryOfficeId: string;
|
|
7174
|
-
data?: Record<string, unknown> | undefined;
|
|
7175
|
-
fullHonorificName?: string | undefined;
|
|
7176
7731
|
device?: string | undefined;
|
|
7177
|
-
|
|
7732
|
+
fullHonorificName?: string | undefined;
|
|
7178
7733
|
mobile?: string | undefined;
|
|
7734
|
+
email?: string | undefined;
|
|
7735
|
+
data?: Record<string, unknown> | undefined;
|
|
7179
7736
|
username?: undefined;
|
|
7180
7737
|
password?: undefined;
|
|
7181
7738
|
signature?: {
|
|
@@ -7208,17 +7765,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7208
7765
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
7209
7766
|
input: {
|
|
7210
7767
|
id: string;
|
|
7211
|
-
data?: Record<string, unknown> | undefined;
|
|
7212
7768
|
name?: {
|
|
7213
7769
|
firstname: string;
|
|
7214
7770
|
surname: string;
|
|
7215
7771
|
} | undefined;
|
|
7216
7772
|
role?: string | undefined;
|
|
7217
|
-
fullHonorificName?: string | undefined;
|
|
7218
|
-
device?: string | undefined;
|
|
7219
7773
|
primaryOfficeId?: string | undefined;
|
|
7220
|
-
|
|
7774
|
+
device?: string | undefined;
|
|
7775
|
+
fullHonorificName?: string | undefined;
|
|
7221
7776
|
mobile?: string | undefined;
|
|
7777
|
+
email?: string | undefined;
|
|
7778
|
+
data?: Record<string, unknown> | undefined;
|
|
7222
7779
|
signature?: {
|
|
7223
7780
|
path: string;
|
|
7224
7781
|
originalFilename: string;
|
|
@@ -7251,20 +7808,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7251
7808
|
input: string[];
|
|
7252
7809
|
output: ({
|
|
7253
7810
|
id: string & import("zod").$brand<"UUID">;
|
|
7254
|
-
type: "user";
|
|
7255
7811
|
name: {
|
|
7256
7812
|
firstname: string;
|
|
7257
7813
|
surname: string;
|
|
7258
7814
|
};
|
|
7259
7815
|
role: string;
|
|
7260
7816
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7261
|
-
|
|
7817
|
+
type: "user";
|
|
7262
7818
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
7263
7819
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7820
|
+
fullHonorificName?: string | undefined;
|
|
7264
7821
|
} | {
|
|
7265
7822
|
id: string & import("zod").$brand<"UUID">;
|
|
7266
|
-
type: "system";
|
|
7267
7823
|
name: string;
|
|
7824
|
+
type: "system";
|
|
7268
7825
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7269
7826
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7270
7827
|
})[];
|
|
@@ -7284,21 +7841,21 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7284
7841
|
};
|
|
7285
7842
|
output: ({
|
|
7286
7843
|
id: string & import("zod").$brand<"UUID">;
|
|
7287
|
-
type: "user";
|
|
7288
7844
|
name: {
|
|
7289
7845
|
firstname: string;
|
|
7290
7846
|
surname: string;
|
|
7291
7847
|
};
|
|
7292
7848
|
role: string;
|
|
7293
7849
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7850
|
+
type: "user";
|
|
7294
7851
|
status: "active" | "pending" | "deactivated";
|
|
7295
|
-
fullHonorificName?: string | undefined;
|
|
7296
7852
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
7297
7853
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7854
|
+
fullHonorificName?: string | undefined;
|
|
7298
7855
|
} | {
|
|
7299
7856
|
id: string & import("zod").$brand<"UUID">;
|
|
7300
|
-
type: "system";
|
|
7301
7857
|
name: string;
|
|
7858
|
+
type: "system";
|
|
7302
7859
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7303
7860
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7304
7861
|
status?: "active" | "pending" | "deactivated" | undefined;
|
|
@@ -7312,7 +7869,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7312
7869
|
count?: number | undefined;
|
|
7313
7870
|
timeStart?: string | undefined;
|
|
7314
7871
|
timeEnd?: string | undefined;
|
|
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;
|
|
7872
|
+
actionTypes?: ("CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM")[] | undefined;
|
|
7316
7873
|
};
|
|
7317
7874
|
output: {
|
|
7318
7875
|
results: {
|
|
@@ -7349,14 +7906,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7349
7906
|
user: {
|
|
7350
7907
|
id: string & import("zod").$brand<"UUID">;
|
|
7351
7908
|
type: "system";
|
|
7352
|
-
signature?: undefined;
|
|
7353
7909
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7354
7910
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7911
|
+
signature?: undefined;
|
|
7355
7912
|
} | {
|
|
7356
7913
|
id: string & import("zod").$brand<"UUID">;
|
|
7357
|
-
type: "user";
|
|
7358
7914
|
role: string;
|
|
7359
7915
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7916
|
+
type: "user";
|
|
7360
7917
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7361
7918
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7362
7919
|
};
|
|
@@ -7473,14 +8030,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7473
8030
|
user: {
|
|
7474
8031
|
id: string & import("zod").$brand<"UUID">;
|
|
7475
8032
|
type: "system";
|
|
7476
|
-
signature?: undefined;
|
|
7477
8033
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7478
8034
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8035
|
+
signature?: undefined;
|
|
7479
8036
|
} | {
|
|
7480
8037
|
id: string & import("zod").$brand<"UUID">;
|
|
7481
|
-
type: "user";
|
|
7482
8038
|
role: string;
|
|
7483
8039
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8040
|
+
type: "user";
|
|
7484
8041
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7485
8042
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7486
8043
|
};
|
|
@@ -7587,7 +8144,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7587
8144
|
clientId: string;
|
|
7588
8145
|
clientType: "system" | "user";
|
|
7589
8146
|
createdAt: string;
|
|
7590
|
-
operation: "event.actions.
|
|
8147
|
+
operation: "event.actions.archive.request" | "event.actions.assign.request" | "event.actions.correction.approve.request" | "event.actions.correction.reject.request" | "event.actions.correction.request.request" | "event.actions.declare.request" | "event.actions.edit.request" | "event.actions.mark_as_duplicate.request" | "event.actions.mark_as_not_duplicate.request" | "event.actions.notify.request" | "event.actions.print_certificate.request" | "event.actions.read.request" | "event.actions.register.request" | "event.actions.reinstate.request" | "event.actions.reject.request" | "event.actions.unarchive.request" | "event.actions.unassign.request" | "event.actions.validate.request";
|
|
7591
8148
|
requestData: {
|
|
7592
8149
|
eventId: string;
|
|
7593
8150
|
actionType: string;
|
|
@@ -7766,14 +8323,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7766
8323
|
user: {
|
|
7767
8324
|
id: string & import("zod").$brand<"UUID">;
|
|
7768
8325
|
type: "system";
|
|
7769
|
-
signature?: undefined;
|
|
7770
8326
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7771
8327
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8328
|
+
signature?: undefined;
|
|
7772
8329
|
} | {
|
|
7773
8330
|
id: string & import("zod").$brand<"UUID">;
|
|
7774
|
-
type: "user";
|
|
7775
8331
|
role: string;
|
|
7776
8332
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8333
|
+
type: "user";
|
|
7777
8334
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7778
8335
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7779
8336
|
};
|
|
@@ -7839,14 +8396,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7839
8396
|
user: {
|
|
7840
8397
|
id: string & import("zod").$brand<"UUID">;
|
|
7841
8398
|
type: "system";
|
|
7842
|
-
signature?: undefined;
|
|
7843
8399
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7844
8400
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8401
|
+
signature?: undefined;
|
|
7845
8402
|
} | {
|
|
7846
8403
|
id: string & import("zod").$brand<"UUID">;
|
|
7847
|
-
type: "user";
|
|
7848
8404
|
role: string;
|
|
7849
8405
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8406
|
+
type: "user";
|
|
7850
8407
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7851
8408
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7852
8409
|
};
|
|
@@ -7861,14 +8418,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7861
8418
|
user: {
|
|
7862
8419
|
id: string & import("zod").$brand<"UUID">;
|
|
7863
8420
|
type: "system";
|
|
7864
|
-
signature?: undefined;
|
|
7865
8421
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7866
8422
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8423
|
+
signature?: undefined;
|
|
7867
8424
|
} | {
|
|
7868
8425
|
id: string & import("zod").$brand<"UUID">;
|
|
7869
|
-
type: "user";
|
|
7870
8426
|
role: string;
|
|
7871
8427
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8428
|
+
type: "user";
|
|
7872
8429
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7873
8430
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7874
8431
|
};
|
|
@@ -7892,10 +8449,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7892
8449
|
eventType?: string | undefined;
|
|
7893
8450
|
status?: {
|
|
7894
8451
|
type: "anyOf";
|
|
7895
|
-
terms: ("
|
|
8452
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
|
|
7896
8453
|
} | {
|
|
7897
8454
|
type: "exact";
|
|
7898
|
-
term: "
|
|
8455
|
+
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
7899
8456
|
} | undefined;
|
|
7900
8457
|
createdAt?: {
|
|
7901
8458
|
type: "exact";
|
|
@@ -7906,7 +8463,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7906
8463
|
lte: string;
|
|
7907
8464
|
} | {
|
|
7908
8465
|
type: "timePeriod";
|
|
7909
|
-
term: "
|
|
8466
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7910
8467
|
} | undefined;
|
|
7911
8468
|
updatedAt?: {
|
|
7912
8469
|
type: "exact";
|
|
@@ -7917,12 +8474,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7917
8474
|
lte: string;
|
|
7918
8475
|
} | {
|
|
7919
8476
|
type: "timePeriod";
|
|
7920
|
-
term: "
|
|
8477
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7921
8478
|
} | undefined;
|
|
7922
8479
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
7923
8480
|
type: "within";
|
|
7924
8481
|
location: string | {
|
|
7925
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8482
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7926
8483
|
$location?: string | undefined;
|
|
7927
8484
|
};
|
|
7928
8485
|
} | undefined;
|
|
@@ -7939,12 +8496,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7939
8496
|
lte: string;
|
|
7940
8497
|
} | {
|
|
7941
8498
|
type: "timePeriod";
|
|
7942
|
-
term: "
|
|
8499
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7943
8500
|
} | undefined;
|
|
7944
8501
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
7945
8502
|
type: "within";
|
|
7946
8503
|
location: string | {
|
|
7947
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8504
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7948
8505
|
$location?: string | undefined;
|
|
7949
8506
|
};
|
|
7950
8507
|
} | undefined;
|
|
@@ -7959,47 +8516,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7959
8516
|
createdAtLocation?: {
|
|
7960
8517
|
type: "within";
|
|
7961
8518
|
location: string | {
|
|
7962
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8519
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7963
8520
|
$location?: string | undefined;
|
|
7964
8521
|
};
|
|
7965
8522
|
} | {
|
|
7966
8523
|
type: "exact";
|
|
7967
8524
|
term: string | {
|
|
7968
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8525
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7969
8526
|
$location?: string | undefined;
|
|
7970
8527
|
};
|
|
7971
8528
|
} | undefined;
|
|
7972
8529
|
updatedAtLocation?: {
|
|
7973
8530
|
type: "within";
|
|
7974
8531
|
location: string | {
|
|
7975
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8532
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7976
8533
|
$location?: string | undefined;
|
|
7977
8534
|
};
|
|
7978
8535
|
} | {
|
|
7979
8536
|
type: "exact";
|
|
7980
8537
|
term: string | {
|
|
7981
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8538
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7982
8539
|
$location?: string | undefined;
|
|
7983
8540
|
};
|
|
7984
8541
|
} | undefined;
|
|
7985
8542
|
updatedByUserRole?: {
|
|
7986
8543
|
type: "exact";
|
|
7987
8544
|
term: string | {
|
|
7988
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8545
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7989
8546
|
$location?: string | undefined;
|
|
7990
8547
|
};
|
|
7991
8548
|
} | undefined;
|
|
7992
8549
|
assignedTo?: {
|
|
7993
8550
|
type: "exact";
|
|
7994
8551
|
term: string | {
|
|
7995
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8552
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7996
8553
|
$location?: string | undefined;
|
|
7997
8554
|
};
|
|
7998
8555
|
} | undefined;
|
|
7999
8556
|
createdBy?: {
|
|
8000
8557
|
type: "exact";
|
|
8001
8558
|
term: string | {
|
|
8002
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8559
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8003
8560
|
$location?: string | undefined;
|
|
8004
8561
|
};
|
|
8005
8562
|
} | undefined;
|
|
@@ -8010,7 +8567,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8010
8567
|
updatedBy?: {
|
|
8011
8568
|
type: "exact";
|
|
8012
8569
|
term: string | {
|
|
8013
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8570
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8014
8571
|
$location?: string | undefined;
|
|
8015
8572
|
};
|
|
8016
8573
|
} | undefined;
|
|
@@ -8031,10 +8588,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8031
8588
|
eventType?: string | undefined;
|
|
8032
8589
|
status?: {
|
|
8033
8590
|
type: "anyOf";
|
|
8034
|
-
terms: ("
|
|
8591
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
|
|
8035
8592
|
} | {
|
|
8036
8593
|
type: "exact";
|
|
8037
|
-
term: "
|
|
8594
|
+
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
8038
8595
|
} | undefined;
|
|
8039
8596
|
createdAt?: {
|
|
8040
8597
|
type: "exact";
|
|
@@ -8045,7 +8602,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8045
8602
|
lte: string;
|
|
8046
8603
|
} | {
|
|
8047
8604
|
type: "timePeriod";
|
|
8048
|
-
term: "
|
|
8605
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8049
8606
|
} | undefined;
|
|
8050
8607
|
updatedAt?: {
|
|
8051
8608
|
type: "exact";
|
|
@@ -8056,12 +8613,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8056
8613
|
lte: string;
|
|
8057
8614
|
} | {
|
|
8058
8615
|
type: "timePeriod";
|
|
8059
|
-
term: "
|
|
8616
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8060
8617
|
} | undefined;
|
|
8061
8618
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
8062
8619
|
type: "within";
|
|
8063
8620
|
location: string | {
|
|
8064
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8621
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8065
8622
|
$location?: string | undefined;
|
|
8066
8623
|
};
|
|
8067
8624
|
} | undefined;
|
|
@@ -8078,12 +8635,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8078
8635
|
lte: string;
|
|
8079
8636
|
} | {
|
|
8080
8637
|
type: "timePeriod";
|
|
8081
|
-
term: "
|
|
8638
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8082
8639
|
} | undefined;
|
|
8083
8640
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
8084
8641
|
type: "within";
|
|
8085
8642
|
location: string | {
|
|
8086
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8643
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8087
8644
|
$location?: string | undefined;
|
|
8088
8645
|
};
|
|
8089
8646
|
} | undefined;
|
|
@@ -8098,47 +8655,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8098
8655
|
createdAtLocation?: {
|
|
8099
8656
|
type: "within";
|
|
8100
8657
|
location: string | {
|
|
8101
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8658
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8102
8659
|
$location?: string | undefined;
|
|
8103
8660
|
};
|
|
8104
8661
|
} | {
|
|
8105
8662
|
type: "exact";
|
|
8106
8663
|
term: string | {
|
|
8107
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8664
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8108
8665
|
$location?: string | undefined;
|
|
8109
8666
|
};
|
|
8110
8667
|
} | undefined;
|
|
8111
8668
|
updatedAtLocation?: {
|
|
8112
8669
|
type: "within";
|
|
8113
8670
|
location: string | {
|
|
8114
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8671
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8115
8672
|
$location?: string | undefined;
|
|
8116
8673
|
};
|
|
8117
8674
|
} | {
|
|
8118
8675
|
type: "exact";
|
|
8119
8676
|
term: string | {
|
|
8120
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8677
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8121
8678
|
$location?: string | undefined;
|
|
8122
8679
|
};
|
|
8123
8680
|
} | undefined;
|
|
8124
8681
|
updatedByUserRole?: {
|
|
8125
8682
|
type: "exact";
|
|
8126
8683
|
term: string | {
|
|
8127
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8684
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8128
8685
|
$location?: string | undefined;
|
|
8129
8686
|
};
|
|
8130
8687
|
} | undefined;
|
|
8131
8688
|
assignedTo?: {
|
|
8132
8689
|
type: "exact";
|
|
8133
8690
|
term: string | {
|
|
8134
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8691
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8135
8692
|
$location?: string | undefined;
|
|
8136
8693
|
};
|
|
8137
8694
|
} | undefined;
|
|
8138
8695
|
createdBy?: {
|
|
8139
8696
|
type: "exact";
|
|
8140
8697
|
term: string | {
|
|
8141
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8698
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8142
8699
|
$location?: string | undefined;
|
|
8143
8700
|
};
|
|
8144
8701
|
} | undefined;
|
|
@@ -8149,7 +8706,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8149
8706
|
updatedBy?: {
|
|
8150
8707
|
type: "exact";
|
|
8151
8708
|
term: string | {
|
|
8152
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8709
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8153
8710
|
$location?: string | undefined;
|
|
8154
8711
|
};
|
|
8155
8712
|
} | undefined;
|
|
@@ -8175,9 +8732,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8175
8732
|
$event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
8176
8733
|
};
|
|
8177
8734
|
}[];
|
|
8178
|
-
icon: "
|
|
8735
|
+
icon: "Activity" | "Archive" | "ArchiveBox" | "ArchiveTray" | "Archived" | "ArrowCircleDown" | "ArrowCounterClockwise" | "ArrowLeft" | "ArrowRight" | "Assigned" | "Briefcase" | "Buildings" | "CaretDown" | "CaretLeft" | "CaretRight" | "Certified" | "ChartActivity" | "ChartBar" | "ChartLine" | "ChatCircle" | "ChatText" | "Check" | "CheckSquare" | "Circle" | "CircleWavyCheck" | "CircleWavyQuestion" | "Clock" | "Close" | "Collapse" | "Compass" | "Copy" | "Database" | "DeviceTabletCamera" | "DotsThreeVertical" | "Draft" | "DuplicateYellow" | "Envelope" | "Expand" | "Export" | "ExternalValidate" | "Eye" | "EyeSlash" | "File" | "FileArrowUp" | "FileDotted" | "FileMinus" | "FilePlus" | "FileSearch" | "FileText" | "FileX" | "Files" | "FilledCheck" | "Fingerprint" | "Gear" | "GitBranch" | "Globe" | "Handshake" | "IdentificationCard" | "InReview" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "MapPin" | "Medal" | "NotePencil" | "Offline" | "PaperPlaneTilt" | "Paperclip" | "Pen" | "PenNib" | "Pencil" | "PencilCircle" | "PencilLine" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "PushPin" | "QrCode" | "Registered" | "RequiresUpdates" | "Sent" | "SignOut" | "Stamp" | "Star" | "Sun" | "Target" | "TextT" | "Timer" | "Trash" | "UploadSimple" | "User" | "UserCircle" | "UserPlus" | "Users" | "Validated" | "WaitingApproval" | "WarningCircle" | "Webcam" | "X";
|
|
8179
8736
|
action?: {
|
|
8180
|
-
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
8737
|
+
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
8181
8738
|
} | undefined;
|
|
8182
8739
|
emptyMessage?: {
|
|
8183
8740
|
id: string;
|
|
@@ -8203,14 +8760,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8203
8760
|
user: {
|
|
8204
8761
|
id: string & import("zod").$brand<"UUID">;
|
|
8205
8762
|
type: "system";
|
|
8206
|
-
signature?: undefined;
|
|
8207
8763
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8208
8764
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8765
|
+
signature?: undefined;
|
|
8209
8766
|
} | {
|
|
8210
8767
|
id: string & import("zod").$brand<"UUID">;
|
|
8211
|
-
type: "user";
|
|
8212
8768
|
role: string;
|
|
8213
8769
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8770
|
+
type: "user";
|
|
8214
8771
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8215
8772
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8216
8773
|
};
|
|
@@ -8251,14 +8808,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8251
8808
|
user: {
|
|
8252
8809
|
id: string & import("zod").$brand<"UUID">;
|
|
8253
8810
|
type: "system";
|
|
8254
|
-
signature?: undefined;
|
|
8255
8811
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8256
8812
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8813
|
+
signature?: undefined;
|
|
8257
8814
|
} | {
|
|
8258
8815
|
id: string & import("zod").$brand<"UUID">;
|
|
8259
|
-
type: "user";
|
|
8260
8816
|
role: string;
|
|
8261
8817
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8818
|
+
type: "user";
|
|
8262
8819
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8263
8820
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8264
8821
|
};
|
|
@@ -8369,14 +8926,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8369
8926
|
user: {
|
|
8370
8927
|
id: string & import("zod").$brand<"UUID">;
|
|
8371
8928
|
type: "system";
|
|
8372
|
-
signature?: undefined;
|
|
8373
8929
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8374
8930
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8931
|
+
signature?: undefined;
|
|
8375
8932
|
} | {
|
|
8376
8933
|
id: string & import("zod").$brand<"UUID">;
|
|
8377
|
-
type: "user";
|
|
8378
8934
|
role: string;
|
|
8379
8935
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8936
|
+
type: "user";
|
|
8380
8937
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8381
8938
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8382
8939
|
};
|
|
@@ -8404,14 +8961,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8404
8961
|
user: {
|
|
8405
8962
|
id: string & import("zod").$brand<"UUID">;
|
|
8406
8963
|
type: "system";
|
|
8407
|
-
signature?: undefined;
|
|
8408
8964
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8409
8965
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8966
|
+
signature?: undefined;
|
|
8410
8967
|
} | {
|
|
8411
8968
|
id: string & import("zod").$brand<"UUID">;
|
|
8412
|
-
type: "user";
|
|
8413
8969
|
role: string;
|
|
8414
8970
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8971
|
+
type: "user";
|
|
8415
8972
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8416
8973
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8417
8974
|
};
|