@opencrvs/toolkit 2.0.0 → 2.1.0-rc.05eb1de
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/build.sh +5 -4
- package/create-countryconfig/package.json +1 -1
- package/dist/application-config/index.js +29 -6
- package/dist/cli.js +3186 -4921
- package/dist/commons/api/router.d.ts +729 -126
- package/dist/commons/conditionals/conditionals.d.ts +1592 -40
- package/dist/commons/events/ActionConfig.d.ts +230 -2
- package/dist/commons/events/ActionDocument.d.ts +44 -0
- package/dist/commons/events/ActionInput.d.ts +26 -0
- package/dist/commons/events/ActionType.d.ts +6 -1
- package/dist/commons/events/AdvancedSearchConfig.d.ts +18 -0
- package/dist/commons/events/AuditLog.d.ts +2 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +42 -0
- package/dist/commons/events/Draft.d.ts +2 -0
- package/dist/commons/events/EventConfig.d.ts +2 -0
- package/dist/commons/events/EventDocument.d.ts +22 -0
- package/dist/commons/events/EventIndex.d.ts +25 -0
- package/dist/commons/events/EventMetadata.d.ts +26 -0
- package/dist/commons/events/FieldConfig.d.ts +15 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +44 -2
- package/dist/commons/events/field.d.ts +722 -34
- package/dist/commons/events/locations.d.ts +1 -0
- package/dist/commons/events/scopes.d.ts +1 -0
- package/dist/commons/events/state/index.d.ts +8 -0
- package/dist/commons/events/state/utils.d.ts +9 -0
- package/dist/commons/events/test.utils.d.ts +9 -1
- package/dist/commons/events/utils.d.ts +15 -1
- package/dist/conditionals/index.js +12 -5
- package/dist/environment/custom-types.d.ts +33 -0
- package/dist/environment/custom-types.d.ts.map +1 -0
- package/dist/environment/custom-types.js +12 -0
- package/dist/environment/derived-variables.d.ts +134 -0
- package/dist/environment/derived-variables.d.ts.map +1 -0
- package/dist/environment/derived-variables.js +169 -0
- package/dist/environment/editor-questions.d.ts +4 -0
- package/dist/environment/editor-questions.d.ts.map +1 -0
- package/dist/environment/editor-questions.js +67 -0
- package/dist/environment/git.d.ts +5 -0
- package/dist/environment/git.d.ts.map +1 -0
- package/dist/environment/git.js +38 -0
- package/dist/environment/github.d.ts +26 -0
- package/dist/environment/github.d.ts.map +1 -0
- package/dist/environment/github.js +247 -0
- package/dist/environment/index.d.ts +5 -0
- package/dist/environment/index.d.ts.map +1 -0
- package/dist/environment/index.js +71 -0
- package/dist/environment/logger.d.ts +6 -0
- package/dist/environment/logger.d.ts.map +1 -0
- package/dist/environment/logger.js +25 -0
- package/dist/environment/manage-users.d.ts +11 -0
- package/dist/environment/manage-users.d.ts.map +1 -0
- package/dist/environment/manage-users.js +507 -0
- package/dist/environment/questions-helper.d.ts +15 -0
- package/dist/environment/questions-helper.d.ts.map +1 -0
- package/dist/environment/questions-helper.js +70 -0
- package/dist/environment/questions.d.ts +199 -0
- package/dist/environment/questions.d.ts.map +1 -0
- package/dist/environment/questions.js +412 -0
- package/dist/environment/setup-environment.d.ts +2 -0
- package/dist/environment/setup-environment.d.ts.map +1 -0
- package/dist/environment/setup-environment.js +794 -0
- package/dist/environment/ssh-keygen.d.ts +5 -0
- package/dist/environment/ssh-keygen.d.ts.map +1 -0
- package/dist/environment/ssh-keygen.js +21 -0
- package/dist/environment/swarm-to-k8s.d.ts +2 -0
- package/dist/environment/swarm-to-k8s.d.ts.map +1 -0
- package/dist/environment/swarm-to-k8s.js +183 -0
- package/dist/environment/templates.d.ts +27 -0
- package/dist/environment/templates.d.ts.map +1 -0
- package/dist/environment/templates.js +163 -0
- package/dist/environment/update-workflows.d.ts +2 -0
- package/dist/environment/update-workflows.d.ts.map +1 -0
- package/dist/environment/update-workflows.js +179 -0
- package/dist/environment/users.d.ts +2 -0
- package/dist/environment/users.d.ts.map +1 -0
- package/dist/environment/users.js +122 -0
- package/dist/environment/utils.d.ts +18 -0
- package/dist/environment/utils.d.ts.map +1 -0
- package/dist/environment/utils.js +110 -0
- package/dist/events/index.js +245 -29
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +1 -1
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
- package/dist/migrations/v2.0/index.js +88 -5139
- 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 +184 -19
- package/dist/scopes/index.d.ts +96 -2
- package/dist/scopes/index.js +12 -5
- package/dist/templates/charts-values/dependencies/values.override.yaml +4 -0
- package/dist/templates/charts-values/dependencies/values.yaml +83 -0
- package/dist/templates/charts-values/opencrvs-services/values.override.yaml +4 -0
- package/dist/templates/charts-values/opencrvs-services/values.yaml +81 -0
- package/dist/templates/charts-values/traefik/values.override.yaml +4 -0
- package/dist/templates/charts-values/traefik/values.yaml +115 -0
- package/dist/templates/inventory/inventory.template.yml +100 -0
- package/dist/templates/inventory/production.example.yml +77 -0
- package/dist/templates/inventory/qa.example.yml +48 -0
- package/opencrvs-toolkit-2.1.0-rc.05eb1de.tgz +0 -0
- package/package.json +16 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.0.0.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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -1464,14 +1518,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1464
1518
|
user: {
|
|
1465
1519
|
id: string & import("zod").$brand<"UUID">;
|
|
1466
1520
|
type: "system";
|
|
1467
|
-
signature?: undefined;
|
|
1468
1521
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1469
1522
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1523
|
+
signature?: undefined;
|
|
1470
1524
|
} | {
|
|
1471
1525
|
id: string & import("zod").$brand<"UUID">;
|
|
1472
|
-
type: "user";
|
|
1473
1526
|
role: string;
|
|
1474
1527
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1528
|
+
type: "user";
|
|
1475
1529
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1476
1530
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1477
1531
|
};
|
|
@@ -1597,6 +1651,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1597
1651
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1598
1652
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1599
1653
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1654
|
+
} | {
|
|
1655
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1656
|
+
transactionId: string;
|
|
1657
|
+
createdByUserType: "system" | "user";
|
|
1658
|
+
createdAt: string;
|
|
1659
|
+
createdBy: string;
|
|
1660
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1661
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1662
|
+
type: "UNARCHIVE";
|
|
1663
|
+
createdByRole?: string | undefined;
|
|
1664
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1665
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1666
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1667
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1600
1668
|
} | {
|
|
1601
1669
|
id: string & import("zod").$brand<"UUID">;
|
|
1602
1670
|
transactionId: string;
|
|
@@ -1788,7 +1856,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1788
1856
|
createdByUserType: "system" | "user";
|
|
1789
1857
|
createdAt: string;
|
|
1790
1858
|
createdBy: string;
|
|
1791
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
1859
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
1792
1860
|
status: "Rejected";
|
|
1793
1861
|
createdByRole?: string | undefined;
|
|
1794
1862
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -1806,14 +1874,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1806
1874
|
user: {
|
|
1807
1875
|
id: string & import("zod").$brand<"UUID">;
|
|
1808
1876
|
type: "system";
|
|
1809
|
-
signature?: undefined;
|
|
1810
1877
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1811
1878
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1879
|
+
signature?: undefined;
|
|
1812
1880
|
} | {
|
|
1813
1881
|
id: string & import("zod").$brand<"UUID">;
|
|
1814
|
-
type: "user";
|
|
1815
1882
|
role: string;
|
|
1816
1883
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1884
|
+
type: "user";
|
|
1817
1885
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1818
1886
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1819
1887
|
};
|
|
@@ -1940,6 +2008,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1940
2008
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1941
2009
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1942
2010
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2011
|
+
} | {
|
|
2012
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2013
|
+
transactionId: string;
|
|
2014
|
+
createdByUserType: "system" | "user";
|
|
2015
|
+
createdAt: string;
|
|
2016
|
+
createdBy: string;
|
|
2017
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
2018
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
2019
|
+
type: "UNARCHIVE";
|
|
2020
|
+
createdByRole?: string | undefined;
|
|
2021
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2022
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2023
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
2024
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1943
2025
|
} | {
|
|
1944
2026
|
id: string & import("zod").$brand<"UUID">;
|
|
1945
2027
|
transactionId: string;
|
|
@@ -2131,7 +2213,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2131
2213
|
createdByUserType: "system" | "user";
|
|
2132
2214
|
createdAt: string;
|
|
2133
2215
|
createdBy: string;
|
|
2134
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
2216
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
2135
2217
|
status: "Rejected";
|
|
2136
2218
|
createdByRole?: string | undefined;
|
|
2137
2219
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -2267,6 +2349,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2267
2349
|
waitFor?: boolean | undefined;
|
|
2268
2350
|
createdAtLocation?: string | null | undefined;
|
|
2269
2351
|
type?: "ARCHIVE" | undefined;
|
|
2352
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2353
|
+
eventId: string;
|
|
2354
|
+
transactionId: string;
|
|
2355
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2356
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2357
|
+
originalActionId?: string | undefined;
|
|
2358
|
+
keepAssignment?: boolean | undefined;
|
|
2359
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2360
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2361
|
+
waitFor?: boolean | undefined;
|
|
2362
|
+
createdAtLocation?: string | null | undefined;
|
|
2363
|
+
type?: "UNARCHIVE" | undefined;
|
|
2270
2364
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2271
2365
|
eventId: string;
|
|
2272
2366
|
transactionId: string;
|
|
@@ -2416,14 +2510,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2416
2510
|
user: {
|
|
2417
2511
|
id: string & import("zod").$brand<"UUID">;
|
|
2418
2512
|
type: "system";
|
|
2419
|
-
signature?: undefined;
|
|
2420
2513
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2421
2514
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2515
|
+
signature?: undefined;
|
|
2422
2516
|
} | {
|
|
2423
2517
|
id: string & import("zod").$brand<"UUID">;
|
|
2424
|
-
type: "user";
|
|
2425
2518
|
role: string;
|
|
2426
2519
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2520
|
+
type: "user";
|
|
2427
2521
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2428
2522
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2429
2523
|
};
|
|
@@ -2562,6 +2656,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2562
2656
|
waitFor?: boolean | undefined;
|
|
2563
2657
|
createdAtLocation?: string | null | undefined;
|
|
2564
2658
|
type?: "ARCHIVE" | undefined;
|
|
2659
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2660
|
+
eventId: string;
|
|
2661
|
+
transactionId: string;
|
|
2662
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2663
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2664
|
+
originalActionId?: string | undefined;
|
|
2665
|
+
keepAssignment?: boolean | undefined;
|
|
2666
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2667
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2668
|
+
waitFor?: boolean | undefined;
|
|
2669
|
+
createdAtLocation?: string | null | undefined;
|
|
2670
|
+
type?: "UNARCHIVE" | undefined;
|
|
2565
2671
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2566
2672
|
eventId: string;
|
|
2567
2673
|
transactionId: string;
|
|
@@ -2711,14 +2817,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2711
2817
|
user: {
|
|
2712
2818
|
id: string & import("zod").$brand<"UUID">;
|
|
2713
2819
|
type: "system";
|
|
2714
|
-
signature?: undefined;
|
|
2715
2820
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2716
2821
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2822
|
+
signature?: undefined;
|
|
2717
2823
|
} | {
|
|
2718
2824
|
id: string & import("zod").$brand<"UUID">;
|
|
2719
|
-
type: "user";
|
|
2720
2825
|
role: string;
|
|
2721
2826
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2827
|
+
type: "user";
|
|
2722
2828
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2723
2829
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2724
2830
|
};
|
|
@@ -2857,6 +2963,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2857
2963
|
waitFor?: boolean | undefined;
|
|
2858
2964
|
createdAtLocation?: string | null | undefined;
|
|
2859
2965
|
type?: "ARCHIVE" | undefined;
|
|
2966
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2967
|
+
eventId: string;
|
|
2968
|
+
transactionId: string;
|
|
2969
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2970
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2971
|
+
originalActionId?: string | undefined;
|
|
2972
|
+
keepAssignment?: boolean | undefined;
|
|
2973
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2974
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2975
|
+
waitFor?: boolean | undefined;
|
|
2976
|
+
createdAtLocation?: string | null | undefined;
|
|
2977
|
+
type?: "UNARCHIVE" | undefined;
|
|
2860
2978
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2861
2979
|
eventId: string;
|
|
2862
2980
|
transactionId: string;
|
|
@@ -3006,14 +3124,321 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3006
3124
|
user: {
|
|
3007
3125
|
id: string & import("zod").$brand<"UUID">;
|
|
3008
3126
|
type: "system";
|
|
3009
|
-
signature?: undefined;
|
|
3010
3127
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3011
3128
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3129
|
+
signature?: undefined;
|
|
3012
3130
|
} | {
|
|
3013
3131
|
id: string & import("zod").$brand<"UUID">;
|
|
3132
|
+
role: string;
|
|
3133
|
+
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3014
3134
|
type: "user";
|
|
3135
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3136
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3137
|
+
};
|
|
3138
|
+
}>;
|
|
3139
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3140
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
3141
|
+
transformer: true;
|
|
3142
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
3143
|
+
request: import("@trpc/server").TRPCMutationProcedure<{
|
|
3144
|
+
input: import("../commons").ActionInput;
|
|
3145
|
+
output: import("../commons").EventDocument;
|
|
3146
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3147
|
+
}>;
|
|
3148
|
+
accept: import("@trpc/server").TRPCMutationProcedure<{
|
|
3149
|
+
input: (Omit<{
|
|
3150
|
+
eventId: string;
|
|
3151
|
+
transactionId: string;
|
|
3152
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3153
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3154
|
+
originalActionId?: string | undefined;
|
|
3155
|
+
keepAssignment?: boolean | undefined;
|
|
3156
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3157
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3158
|
+
waitFor?: boolean | undefined;
|
|
3159
|
+
type?: "CREATE" | undefined;
|
|
3160
|
+
createdAtLocation?: string | null | undefined;
|
|
3161
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3162
|
+
eventId: string;
|
|
3163
|
+
transactionId: string;
|
|
3164
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3165
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3166
|
+
originalActionId?: string | undefined;
|
|
3167
|
+
keepAssignment?: boolean | undefined;
|
|
3168
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3169
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3170
|
+
waitFor?: boolean | undefined;
|
|
3171
|
+
createdAtLocation?: string | null | undefined;
|
|
3172
|
+
type?: "REGISTER" | undefined;
|
|
3173
|
+
registrationNumber?: string | undefined;
|
|
3174
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3175
|
+
eventId: string;
|
|
3176
|
+
transactionId: string;
|
|
3177
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3178
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3179
|
+
originalActionId?: string | undefined;
|
|
3180
|
+
keepAssignment?: boolean | undefined;
|
|
3181
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3182
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3183
|
+
waitFor?: boolean | undefined;
|
|
3184
|
+
type?: "NOTIFY" | undefined;
|
|
3185
|
+
createdAtLocation?: string | null | undefined;
|
|
3186
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3187
|
+
eventId: string;
|
|
3188
|
+
transactionId: string;
|
|
3189
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3190
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3191
|
+
originalActionId?: string | undefined;
|
|
3192
|
+
keepAssignment?: boolean | undefined;
|
|
3193
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3194
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3195
|
+
waitFor?: boolean | undefined;
|
|
3196
|
+
createdAtLocation?: string | null | undefined;
|
|
3197
|
+
type?: "DECLARE" | undefined;
|
|
3198
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3199
|
+
eventId: string;
|
|
3200
|
+
transactionId: string;
|
|
3201
|
+
content: {
|
|
3202
|
+
reason: string;
|
|
3203
|
+
};
|
|
3204
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3205
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3206
|
+
originalActionId?: string | undefined;
|
|
3207
|
+
keepAssignment?: boolean | undefined;
|
|
3208
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3209
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3210
|
+
waitFor?: boolean | undefined;
|
|
3211
|
+
createdAtLocation?: string | null | undefined;
|
|
3212
|
+
type?: "REJECT" | undefined;
|
|
3213
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3214
|
+
eventId: string;
|
|
3215
|
+
transactionId: string;
|
|
3216
|
+
content: {
|
|
3217
|
+
duplicates: {
|
|
3218
|
+
id: string;
|
|
3219
|
+
trackingId: string;
|
|
3220
|
+
}[];
|
|
3221
|
+
};
|
|
3222
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3223
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3224
|
+
originalActionId?: string | undefined;
|
|
3225
|
+
keepAssignment?: boolean | undefined;
|
|
3226
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3227
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3228
|
+
waitFor?: boolean | undefined;
|
|
3229
|
+
createdAtLocation?: string | null | undefined;
|
|
3230
|
+
type?: "DUPLICATE_DETECTED" | undefined;
|
|
3231
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3232
|
+
eventId: string;
|
|
3233
|
+
transactionId: string;
|
|
3234
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3235
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3236
|
+
originalActionId?: string | undefined;
|
|
3237
|
+
keepAssignment?: boolean | undefined;
|
|
3238
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3239
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3240
|
+
waitFor?: boolean | undefined;
|
|
3241
|
+
createdAtLocation?: string | null | undefined;
|
|
3242
|
+
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
3243
|
+
content?: {
|
|
3244
|
+
duplicateOf: string;
|
|
3245
|
+
} | undefined;
|
|
3246
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3247
|
+
eventId: string;
|
|
3248
|
+
transactionId: string;
|
|
3249
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3250
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3251
|
+
originalActionId?: string | undefined;
|
|
3252
|
+
keepAssignment?: boolean | undefined;
|
|
3253
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3254
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3255
|
+
waitFor?: boolean | undefined;
|
|
3256
|
+
createdAtLocation?: string | null | undefined;
|
|
3257
|
+
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
3258
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3259
|
+
eventId: string;
|
|
3260
|
+
transactionId: string;
|
|
3261
|
+
content: {
|
|
3262
|
+
reason: string;
|
|
3263
|
+
};
|
|
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?: "ARCHIVE" | undefined;
|
|
3273
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3274
|
+
eventId: string;
|
|
3275
|
+
transactionId: string;
|
|
3276
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3277
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3278
|
+
originalActionId?: string | undefined;
|
|
3279
|
+
keepAssignment?: boolean | undefined;
|
|
3280
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3281
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3282
|
+
waitFor?: boolean | undefined;
|
|
3283
|
+
createdAtLocation?: string | null | undefined;
|
|
3284
|
+
type?: "UNARCHIVE" | undefined;
|
|
3285
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3286
|
+
eventId: string;
|
|
3287
|
+
transactionId: string;
|
|
3288
|
+
type: "ASSIGN";
|
|
3289
|
+
assignedTo: string;
|
|
3290
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3291
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3292
|
+
originalActionId?: string | undefined;
|
|
3293
|
+
keepAssignment?: boolean | undefined;
|
|
3294
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3295
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3296
|
+
waitFor?: boolean | undefined;
|
|
3297
|
+
createdAtLocation?: string | null | undefined;
|
|
3298
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3299
|
+
eventId: string;
|
|
3300
|
+
transactionId: string;
|
|
3301
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3302
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3303
|
+
originalActionId?: string | undefined;
|
|
3304
|
+
keepAssignment?: boolean | undefined;
|
|
3305
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3306
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3307
|
+
waitFor?: boolean | undefined;
|
|
3308
|
+
createdAtLocation?: string | null | undefined;
|
|
3309
|
+
type?: "UNASSIGN" | undefined;
|
|
3310
|
+
assignedTo?: null | undefined;
|
|
3311
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3312
|
+
eventId: string;
|
|
3313
|
+
transactionId: string;
|
|
3314
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3315
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3316
|
+
originalActionId?: string | undefined;
|
|
3317
|
+
keepAssignment?: boolean | undefined;
|
|
3318
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3319
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3320
|
+
waitFor?: boolean | undefined;
|
|
3321
|
+
createdAtLocation?: string | null | undefined;
|
|
3322
|
+
type?: "PRINT_CERTIFICATE" | undefined;
|
|
3323
|
+
content?: {
|
|
3324
|
+
templateId?: string | undefined;
|
|
3325
|
+
} | undefined;
|
|
3326
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3327
|
+
eventId: string;
|
|
3328
|
+
transactionId: string;
|
|
3329
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3330
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3331
|
+
originalActionId?: string | undefined;
|
|
3332
|
+
keepAssignment?: boolean | undefined;
|
|
3333
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3334
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3335
|
+
waitFor?: boolean | undefined;
|
|
3336
|
+
createdAtLocation?: string | null | undefined;
|
|
3337
|
+
type?: "REQUEST_CORRECTION" | undefined;
|
|
3338
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3339
|
+
eventId: string;
|
|
3340
|
+
transactionId: string;
|
|
3341
|
+
requestId: string;
|
|
3342
|
+
content: {
|
|
3343
|
+
reason: string;
|
|
3344
|
+
};
|
|
3345
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3346
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3347
|
+
originalActionId?: string | undefined;
|
|
3348
|
+
keepAssignment?: boolean | undefined;
|
|
3349
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3350
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3351
|
+
waitFor?: boolean | undefined;
|
|
3352
|
+
createdAtLocation?: string | null | undefined;
|
|
3353
|
+
type?: "REJECT_CORRECTION" | undefined;
|
|
3354
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3355
|
+
eventId: string;
|
|
3356
|
+
transactionId: string;
|
|
3357
|
+
requestId: string;
|
|
3358
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3359
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3360
|
+
originalActionId?: string | undefined;
|
|
3361
|
+
keepAssignment?: boolean | undefined;
|
|
3362
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3363
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3364
|
+
waitFor?: boolean | undefined;
|
|
3365
|
+
createdAtLocation?: string | null | undefined;
|
|
3366
|
+
type?: "APPROVE_CORRECTION" | undefined;
|
|
3367
|
+
content?: {
|
|
3368
|
+
immediateCorrection?: boolean | undefined;
|
|
3369
|
+
} | undefined;
|
|
3370
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3371
|
+
eventId: string;
|
|
3372
|
+
transactionId: string;
|
|
3373
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3374
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3375
|
+
originalActionId?: string | undefined;
|
|
3376
|
+
keepAssignment?: boolean | undefined;
|
|
3377
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3378
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3379
|
+
waitFor?: boolean | undefined;
|
|
3380
|
+
createdAtLocation?: string | null | undefined;
|
|
3381
|
+
type?: "READ" | undefined;
|
|
3382
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3383
|
+
eventId: string;
|
|
3384
|
+
transactionId: string;
|
|
3385
|
+
customActionType: string;
|
|
3386
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3387
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3388
|
+
originalActionId?: string | undefined;
|
|
3389
|
+
keepAssignment?: boolean | undefined;
|
|
3390
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3391
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3392
|
+
waitFor?: boolean | undefined;
|
|
3393
|
+
createdAtLocation?: string | null | undefined;
|
|
3394
|
+
type?: "CUSTOM" | undefined;
|
|
3395
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3396
|
+
eventId: string;
|
|
3397
|
+
transactionId: string;
|
|
3398
|
+
content: {
|
|
3399
|
+
comment?: string | undefined;
|
|
3400
|
+
};
|
|
3401
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3402
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3403
|
+
originalActionId?: string | undefined;
|
|
3404
|
+
keepAssignment?: boolean | undefined;
|
|
3405
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3406
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3407
|
+
waitFor?: boolean | undefined;
|
|
3408
|
+
createdAtLocation?: string | null | undefined;
|
|
3409
|
+
type?: "EDIT" | undefined;
|
|
3410
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
3411
|
+
actionId: string;
|
|
3412
|
+
};
|
|
3413
|
+
output: import("../commons").EventDocument;
|
|
3414
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3415
|
+
}>;
|
|
3416
|
+
reject: import("@trpc/server").TRPCMutationProcedure<{
|
|
3417
|
+
input: import("zod").input<import("zod").ZodObject<{
|
|
3418
|
+
transactionId: import("zod").ZodString;
|
|
3419
|
+
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3420
|
+
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3421
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3422
|
+
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3423
|
+
}, import("zod/v4/core").$strip>>;
|
|
3424
|
+
output: import("../commons").EventDocument;
|
|
3425
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3426
|
+
}>;
|
|
3427
|
+
}>>;
|
|
3428
|
+
unarchive: import("@trpc/server").TRPCBuiltRouter<{
|
|
3429
|
+
ctx: Partial<{
|
|
3430
|
+
token: `Bearer ${string}`;
|
|
3431
|
+
user: {
|
|
3432
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3433
|
+
type: "system";
|
|
3434
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3435
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3436
|
+
signature?: undefined;
|
|
3437
|
+
} | {
|
|
3438
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3015
3439
|
role: string;
|
|
3016
3440
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3441
|
+
type: "user";
|
|
3017
3442
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3018
3443
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3019
3444
|
};
|
|
@@ -3151,7 +3576,19 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3151
3576
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3152
3577
|
waitFor?: boolean | undefined;
|
|
3153
3578
|
createdAtLocation?: string | null | undefined;
|
|
3154
|
-
type?: "ARCHIVE" | undefined;
|
|
3579
|
+
type?: "ARCHIVE" | undefined;
|
|
3580
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3581
|
+
eventId: string;
|
|
3582
|
+
transactionId: string;
|
|
3583
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3584
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3585
|
+
originalActionId?: string | undefined;
|
|
3586
|
+
keepAssignment?: boolean | undefined;
|
|
3587
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3588
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3589
|
+
waitFor?: boolean | undefined;
|
|
3590
|
+
createdAtLocation?: string | null | undefined;
|
|
3591
|
+
type?: "UNARCHIVE" | undefined;
|
|
3155
3592
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3156
3593
|
eventId: string;
|
|
3157
3594
|
transactionId: string;
|
|
@@ -3301,14 +3738,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3301
3738
|
user: {
|
|
3302
3739
|
id: string & import("zod").$brand<"UUID">;
|
|
3303
3740
|
type: "system";
|
|
3304
|
-
signature?: undefined;
|
|
3305
3741
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3306
3742
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3743
|
+
signature?: undefined;
|
|
3307
3744
|
} | {
|
|
3308
3745
|
id: string & import("zod").$brand<"UUID">;
|
|
3309
|
-
type: "user";
|
|
3310
3746
|
role: string;
|
|
3311
3747
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3748
|
+
type: "user";
|
|
3312
3749
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3313
3750
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3314
3751
|
};
|
|
@@ -3447,6 +3884,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3447
3884
|
waitFor?: boolean | undefined;
|
|
3448
3885
|
createdAtLocation?: string | null | undefined;
|
|
3449
3886
|
type?: "ARCHIVE" | undefined;
|
|
3887
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3888
|
+
eventId: string;
|
|
3889
|
+
transactionId: string;
|
|
3890
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3891
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3892
|
+
originalActionId?: string | undefined;
|
|
3893
|
+
keepAssignment?: boolean | undefined;
|
|
3894
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3895
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3896
|
+
waitFor?: boolean | undefined;
|
|
3897
|
+
createdAtLocation?: string | null | undefined;
|
|
3898
|
+
type?: "UNARCHIVE" | undefined;
|
|
3450
3899
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3451
3900
|
eventId: string;
|
|
3452
3901
|
transactionId: string;
|
|
@@ -3596,14 +4045,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3596
4045
|
user: {
|
|
3597
4046
|
id: string & import("zod").$brand<"UUID">;
|
|
3598
4047
|
type: "system";
|
|
3599
|
-
signature?: undefined;
|
|
3600
4048
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3601
4049
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4050
|
+
signature?: undefined;
|
|
3602
4051
|
} | {
|
|
3603
4052
|
id: string & import("zod").$brand<"UUID">;
|
|
3604
|
-
type: "user";
|
|
3605
4053
|
role: string;
|
|
3606
4054
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4055
|
+
type: "user";
|
|
3607
4056
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3608
4057
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3609
4058
|
};
|
|
@@ -3742,6 +4191,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3742
4191
|
waitFor?: boolean | undefined;
|
|
3743
4192
|
createdAtLocation?: string | null | undefined;
|
|
3744
4193
|
type?: "ARCHIVE" | undefined;
|
|
4194
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4195
|
+
eventId: string;
|
|
4196
|
+
transactionId: string;
|
|
4197
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4198
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4199
|
+
originalActionId?: string | undefined;
|
|
4200
|
+
keepAssignment?: boolean | undefined;
|
|
4201
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4202
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4203
|
+
waitFor?: boolean | undefined;
|
|
4204
|
+
createdAtLocation?: string | null | undefined;
|
|
4205
|
+
type?: "UNARCHIVE" | undefined;
|
|
3745
4206
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3746
4207
|
eventId: string;
|
|
3747
4208
|
transactionId: string;
|
|
@@ -3891,14 +4352,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3891
4352
|
user: {
|
|
3892
4353
|
id: string & import("zod").$brand<"UUID">;
|
|
3893
4354
|
type: "system";
|
|
3894
|
-
signature?: undefined;
|
|
3895
4355
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3896
4356
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4357
|
+
signature?: undefined;
|
|
3897
4358
|
} | {
|
|
3898
4359
|
id: string & import("zod").$brand<"UUID">;
|
|
3899
|
-
type: "user";
|
|
3900
4360
|
role: string;
|
|
3901
4361
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4362
|
+
type: "user";
|
|
3902
4363
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3903
4364
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3904
4365
|
};
|
|
@@ -4026,6 +4487,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4026
4487
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4027
4488
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4028
4489
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4490
|
+
} | {
|
|
4491
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4492
|
+
transactionId: string;
|
|
4493
|
+
createdByUserType: "system" | "user";
|
|
4494
|
+
createdAt: string;
|
|
4495
|
+
createdBy: string;
|
|
4496
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
4497
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
4498
|
+
type: "UNARCHIVE";
|
|
4499
|
+
createdByRole?: string | undefined;
|
|
4500
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4501
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4502
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4503
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4029
4504
|
} | {
|
|
4030
4505
|
id: string & import("zod").$brand<"UUID">;
|
|
4031
4506
|
transactionId: string;
|
|
@@ -4217,7 +4692,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4217
4692
|
createdByUserType: "system" | "user";
|
|
4218
4693
|
createdAt: string;
|
|
4219
4694
|
createdBy: string;
|
|
4220
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
4695
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
4221
4696
|
status: "Rejected";
|
|
4222
4697
|
createdByRole?: string | undefined;
|
|
4223
4698
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -4353,6 +4828,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4353
4828
|
waitFor?: boolean | undefined;
|
|
4354
4829
|
createdAtLocation?: string | null | undefined;
|
|
4355
4830
|
type?: "ARCHIVE" | undefined;
|
|
4831
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4832
|
+
eventId: string;
|
|
4833
|
+
transactionId: string;
|
|
4834
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4835
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4836
|
+
originalActionId?: string | undefined;
|
|
4837
|
+
keepAssignment?: boolean | undefined;
|
|
4838
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4839
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4840
|
+
waitFor?: boolean | undefined;
|
|
4841
|
+
createdAtLocation?: string | null | undefined;
|
|
4842
|
+
type?: "UNARCHIVE" | undefined;
|
|
4356
4843
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4357
4844
|
eventId: string;
|
|
4358
4845
|
transactionId: string;
|
|
@@ -4502,14 +4989,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4502
4989
|
user: {
|
|
4503
4990
|
id: string & import("zod").$brand<"UUID">;
|
|
4504
4991
|
type: "system";
|
|
4505
|
-
signature?: undefined;
|
|
4506
4992
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4507
4993
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4994
|
+
signature?: undefined;
|
|
4508
4995
|
} | {
|
|
4509
4996
|
id: string & import("zod").$brand<"UUID">;
|
|
4510
|
-
type: "user";
|
|
4511
4997
|
role: string;
|
|
4512
4998
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4999
|
+
type: "user";
|
|
4513
5000
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4514
5001
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4515
5002
|
};
|
|
@@ -4637,6 +5124,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4637
5124
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4638
5125
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4639
5126
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5127
|
+
} | {
|
|
5128
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5129
|
+
transactionId: string;
|
|
5130
|
+
createdByUserType: "system" | "user";
|
|
5131
|
+
createdAt: string;
|
|
5132
|
+
createdBy: string;
|
|
5133
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5134
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
5135
|
+
type: "UNARCHIVE";
|
|
5136
|
+
createdByRole?: string | undefined;
|
|
5137
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5138
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5139
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5140
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4640
5141
|
} | {
|
|
4641
5142
|
id: string & import("zod").$brand<"UUID">;
|
|
4642
5143
|
transactionId: string;
|
|
@@ -4828,7 +5329,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4828
5329
|
createdByUserType: "system" | "user";
|
|
4829
5330
|
createdAt: string;
|
|
4830
5331
|
createdBy: string;
|
|
4831
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
5332
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
4832
5333
|
status: "Rejected";
|
|
4833
5334
|
createdByRole?: string | undefined;
|
|
4834
5335
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -4958,6 +5459,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4958
5459
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4959
5460
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4960
5461
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5462
|
+
} | {
|
|
5463
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5464
|
+
transactionId: string;
|
|
5465
|
+
createdByUserType: "system" | "user";
|
|
5466
|
+
createdAt: string;
|
|
5467
|
+
createdBy: string;
|
|
5468
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5469
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
5470
|
+
type: "UNARCHIVE";
|
|
5471
|
+
createdByRole?: string | undefined;
|
|
5472
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5473
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5474
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5475
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4961
5476
|
} | {
|
|
4962
5477
|
id: string & import("zod").$brand<"UUID">;
|
|
4963
5478
|
transactionId: string;
|
|
@@ -5149,7 +5664,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5149
5664
|
createdByUserType: "system" | "user";
|
|
5150
5665
|
createdAt: string;
|
|
5151
5666
|
createdBy: string;
|
|
5152
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
5667
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
5153
5668
|
status: "Rejected";
|
|
5154
5669
|
createdByRole?: string | undefined;
|
|
5155
5670
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -5167,14 +5682,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5167
5682
|
user: {
|
|
5168
5683
|
id: string & import("zod").$brand<"UUID">;
|
|
5169
5684
|
type: "system";
|
|
5170
|
-
signature?: undefined;
|
|
5171
5685
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5172
5686
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5687
|
+
signature?: undefined;
|
|
5173
5688
|
} | {
|
|
5174
5689
|
id: string & import("zod").$brand<"UUID">;
|
|
5175
|
-
type: "user";
|
|
5176
5690
|
role: string;
|
|
5177
5691
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5692
|
+
type: "user";
|
|
5178
5693
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5179
5694
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5180
5695
|
};
|
|
@@ -5189,14 +5704,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5189
5704
|
user: {
|
|
5190
5705
|
id: string & import("zod").$brand<"UUID">;
|
|
5191
5706
|
type: "system";
|
|
5192
|
-
signature?: undefined;
|
|
5193
5707
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5194
5708
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5709
|
+
signature?: undefined;
|
|
5195
5710
|
} | {
|
|
5196
5711
|
id: string & import("zod").$brand<"UUID">;
|
|
5197
|
-
type: "user";
|
|
5198
5712
|
role: string;
|
|
5199
5713
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5714
|
+
type: "user";
|
|
5200
5715
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5201
5716
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5202
5717
|
};
|
|
@@ -5335,6 +5850,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5335
5850
|
waitFor?: boolean | undefined;
|
|
5336
5851
|
createdAtLocation?: string | null | undefined;
|
|
5337
5852
|
type?: "ARCHIVE" | undefined;
|
|
5853
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5854
|
+
eventId: string;
|
|
5855
|
+
transactionId: string;
|
|
5856
|
+
declaration?: Record<string, unknown> | undefined;
|
|
5857
|
+
annotation?: Record<string, unknown> | undefined;
|
|
5858
|
+
originalActionId?: string | undefined;
|
|
5859
|
+
keepAssignment?: boolean | undefined;
|
|
5860
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5861
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
5862
|
+
waitFor?: boolean | undefined;
|
|
5863
|
+
createdAtLocation?: string | null | undefined;
|
|
5864
|
+
type?: "UNARCHIVE" | undefined;
|
|
5338
5865
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5339
5866
|
eventId: string;
|
|
5340
5867
|
transactionId: string;
|
|
@@ -5484,14 +6011,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5484
6011
|
user: {
|
|
5485
6012
|
id: string & import("zod").$brand<"UUID">;
|
|
5486
6013
|
type: "system";
|
|
5487
|
-
signature?: undefined;
|
|
5488
6014
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5489
6015
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6016
|
+
signature?: undefined;
|
|
5490
6017
|
} | {
|
|
5491
6018
|
id: string & import("zod").$brand<"UUID">;
|
|
5492
|
-
type: "user";
|
|
5493
6019
|
role: string;
|
|
5494
6020
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6021
|
+
type: "user";
|
|
5495
6022
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5496
6023
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5497
6024
|
};
|
|
@@ -5630,6 +6157,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5630
6157
|
waitFor?: boolean | undefined;
|
|
5631
6158
|
createdAtLocation?: string | null | undefined;
|
|
5632
6159
|
type?: "ARCHIVE" | undefined;
|
|
6160
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6161
|
+
eventId: string;
|
|
6162
|
+
transactionId: string;
|
|
6163
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6164
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6165
|
+
originalActionId?: string | undefined;
|
|
6166
|
+
keepAssignment?: boolean | undefined;
|
|
6167
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6168
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6169
|
+
waitFor?: boolean | undefined;
|
|
6170
|
+
createdAtLocation?: string | null | undefined;
|
|
6171
|
+
type?: "UNARCHIVE" | undefined;
|
|
5633
6172
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5634
6173
|
eventId: string;
|
|
5635
6174
|
transactionId: string;
|
|
@@ -5779,14 +6318,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5779
6318
|
user: {
|
|
5780
6319
|
id: string & import("zod").$brand<"UUID">;
|
|
5781
6320
|
type: "system";
|
|
5782
|
-
signature?: undefined;
|
|
5783
6321
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5784
6322
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6323
|
+
signature?: undefined;
|
|
5785
6324
|
} | {
|
|
5786
6325
|
id: string & import("zod").$brand<"UUID">;
|
|
5787
|
-
type: "user";
|
|
5788
6326
|
role: string;
|
|
5789
6327
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6328
|
+
type: "user";
|
|
5790
6329
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5791
6330
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5792
6331
|
};
|
|
@@ -5925,6 +6464,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5925
6464
|
waitFor?: boolean | undefined;
|
|
5926
6465
|
createdAtLocation?: string | null | undefined;
|
|
5927
6466
|
type?: "ARCHIVE" | undefined;
|
|
6467
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6468
|
+
eventId: string;
|
|
6469
|
+
transactionId: string;
|
|
6470
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6471
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6472
|
+
originalActionId?: string | undefined;
|
|
6473
|
+
keepAssignment?: boolean | undefined;
|
|
6474
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6475
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6476
|
+
waitFor?: boolean | undefined;
|
|
6477
|
+
createdAtLocation?: string | null | undefined;
|
|
6478
|
+
type?: "UNARCHIVE" | undefined;
|
|
5928
6479
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5929
6480
|
eventId: string;
|
|
5930
6481
|
transactionId: string;
|
|
@@ -6075,14 +6626,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6075
6626
|
user: {
|
|
6076
6627
|
id: string & import("zod").$brand<"UUID">;
|
|
6077
6628
|
type: "system";
|
|
6078
|
-
signature?: undefined;
|
|
6079
6629
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6080
6630
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6631
|
+
signature?: undefined;
|
|
6081
6632
|
} | {
|
|
6082
6633
|
id: string & import("zod").$brand<"UUID">;
|
|
6083
|
-
type: "user";
|
|
6084
6634
|
role: string;
|
|
6085
6635
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6636
|
+
type: "user";
|
|
6086
6637
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6087
6638
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6088
6639
|
};
|
|
@@ -6212,6 +6763,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6212
6763
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6213
6764
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
6214
6765
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6766
|
+
} | {
|
|
6767
|
+
id: string & import("zod").$brand<"UUID">;
|
|
6768
|
+
transactionId: string;
|
|
6769
|
+
createdByUserType: "system" | "user";
|
|
6770
|
+
createdAt: string;
|
|
6771
|
+
createdBy: string;
|
|
6772
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
6773
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
6774
|
+
type: "UNARCHIVE";
|
|
6775
|
+
createdByRole?: string | undefined;
|
|
6776
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6777
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6778
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
6779
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6215
6780
|
} | {
|
|
6216
6781
|
id: string & import("zod").$brand<"UUID">;
|
|
6217
6782
|
transactionId: string;
|
|
@@ -6403,7 +6968,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6403
6968
|
createdByUserType: "system" | "user";
|
|
6404
6969
|
createdAt: string;
|
|
6405
6970
|
createdBy: string;
|
|
6406
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
6971
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
6407
6972
|
status: "Rejected";
|
|
6408
6973
|
createdByRole?: string | undefined;
|
|
6409
6974
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -6532,6 +7097,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6532
7097
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6533
7098
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
6534
7099
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7100
|
+
} | {
|
|
7101
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7102
|
+
transactionId: string;
|
|
7103
|
+
createdByUserType: "system" | "user";
|
|
7104
|
+
createdAt: string;
|
|
7105
|
+
createdBy: string;
|
|
7106
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
7107
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
7108
|
+
type: "UNARCHIVE";
|
|
7109
|
+
createdByRole?: string | undefined;
|
|
7110
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7111
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7112
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
7113
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6535
7114
|
} | {
|
|
6536
7115
|
id: string & import("zod").$brand<"UUID">;
|
|
6537
7116
|
transactionId: string;
|
|
@@ -6723,7 +7302,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6723
7302
|
createdByUserType: "system" | "user";
|
|
6724
7303
|
createdAt: string;
|
|
6725
7304
|
createdBy: string;
|
|
6726
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
7305
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
6727
7306
|
status: "Rejected";
|
|
6728
7307
|
createdByRole?: string | undefined;
|
|
6729
7308
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -6747,8 +7326,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6747
7326
|
results: {
|
|
6748
7327
|
id: string & import("zod").$brand<"UUID">;
|
|
6749
7328
|
type: string;
|
|
6750
|
-
status: "
|
|
7329
|
+
status: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
6751
7330
|
legalStatuses: {
|
|
7331
|
+
NOTIFIED?: {
|
|
7332
|
+
createdAt: string;
|
|
7333
|
+
createdBy: string;
|
|
7334
|
+
acceptedAt: string;
|
|
7335
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7336
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
|
7337
|
+
createdByRole?: string | undefined;
|
|
7338
|
+
} | null | undefined;
|
|
6752
7339
|
DECLARED?: {
|
|
6753
7340
|
createdAt: string;
|
|
6754
7341
|
createdBy: string;
|
|
@@ -6895,6 +7482,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6895
7482
|
createdAtLocation?: string | null | undefined;
|
|
6896
7483
|
annotation?: Record<string, unknown> | null | undefined;
|
|
6897
7484
|
originalActionId?: string | null | undefined;
|
|
7485
|
+
} | {
|
|
7486
|
+
id: string;
|
|
7487
|
+
transactionId: string;
|
|
7488
|
+
createdByUserType: "system" | "user";
|
|
7489
|
+
createdAt: string;
|
|
7490
|
+
createdBy: string;
|
|
7491
|
+
declaration: Record<string, unknown>;
|
|
7492
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
7493
|
+
type: "UNARCHIVE";
|
|
7494
|
+
createdByRole?: string | undefined;
|
|
7495
|
+
createdBySignature?: string | null | undefined;
|
|
7496
|
+
createdAtLocation?: string | null | undefined;
|
|
7497
|
+
annotation?: Record<string, unknown> | null | undefined;
|
|
7498
|
+
originalActionId?: string | null | undefined;
|
|
6898
7499
|
} | {
|
|
6899
7500
|
id: string;
|
|
6900
7501
|
transactionId: string;
|
|
@@ -7086,7 +7687,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7086
7687
|
createdByUserType: "system" | "user";
|
|
7087
7688
|
createdAt: string;
|
|
7088
7689
|
createdBy: string;
|
|
7089
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
7690
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
7090
7691
|
status: "Rejected";
|
|
7091
7692
|
createdByRole?: string | undefined;
|
|
7092
7693
|
createdBySignature?: string | null | undefined;
|
|
@@ -7105,14 +7706,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7105
7706
|
user: {
|
|
7106
7707
|
id: string & import("zod").$brand<"UUID">;
|
|
7107
7708
|
type: "system";
|
|
7108
|
-
signature?: undefined;
|
|
7109
7709
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7110
7710
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7711
|
+
signature?: undefined;
|
|
7111
7712
|
} | {
|
|
7112
7713
|
id: string & import("zod").$brand<"UUID">;
|
|
7113
|
-
type: "user";
|
|
7114
7714
|
role: string;
|
|
7115
7715
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7716
|
+
type: "user";
|
|
7116
7717
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7117
7718
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7118
7719
|
};
|
|
@@ -7163,11 +7764,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7163
7764
|
};
|
|
7164
7765
|
role: string;
|
|
7165
7766
|
primaryOfficeId: string;
|
|
7166
|
-
data?: Record<string, unknown> | undefined;
|
|
7167
|
-
fullHonorificName?: string | undefined;
|
|
7168
7767
|
device?: string | undefined;
|
|
7169
|
-
|
|
7768
|
+
fullHonorificName?: string | undefined;
|
|
7170
7769
|
mobile?: string | undefined;
|
|
7770
|
+
email?: string | undefined;
|
|
7771
|
+
data?: Record<string, unknown> | undefined;
|
|
7171
7772
|
username?: undefined;
|
|
7172
7773
|
password?: undefined;
|
|
7173
7774
|
signature?: {
|
|
@@ -7200,17 +7801,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7200
7801
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
7201
7802
|
input: {
|
|
7202
7803
|
id: string;
|
|
7203
|
-
data?: Record<string, unknown> | undefined;
|
|
7204
7804
|
name?: {
|
|
7205
7805
|
firstname: string;
|
|
7206
7806
|
surname: string;
|
|
7207
7807
|
} | undefined;
|
|
7208
7808
|
role?: string | undefined;
|
|
7209
|
-
fullHonorificName?: string | undefined;
|
|
7210
|
-
device?: string | undefined;
|
|
7211
7809
|
primaryOfficeId?: string | undefined;
|
|
7212
|
-
|
|
7810
|
+
device?: string | undefined;
|
|
7811
|
+
fullHonorificName?: string | undefined;
|
|
7213
7812
|
mobile?: string | undefined;
|
|
7813
|
+
email?: string | undefined;
|
|
7814
|
+
data?: Record<string, unknown> | undefined;
|
|
7214
7815
|
signature?: {
|
|
7215
7816
|
path: string;
|
|
7216
7817
|
originalFilename: string;
|
|
@@ -7243,20 +7844,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7243
7844
|
input: string[];
|
|
7244
7845
|
output: ({
|
|
7245
7846
|
id: string & import("zod").$brand<"UUID">;
|
|
7246
|
-
type: "user";
|
|
7247
7847
|
name: {
|
|
7248
7848
|
firstname: string;
|
|
7249
7849
|
surname: string;
|
|
7250
7850
|
};
|
|
7251
7851
|
role: string;
|
|
7252
7852
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7253
|
-
|
|
7853
|
+
type: "user";
|
|
7254
7854
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
7255
7855
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7856
|
+
fullHonorificName?: string | undefined;
|
|
7256
7857
|
} | {
|
|
7257
7858
|
id: string & import("zod").$brand<"UUID">;
|
|
7258
|
-
type: "system";
|
|
7259
7859
|
name: string;
|
|
7860
|
+
type: "system";
|
|
7260
7861
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7261
7862
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7262
7863
|
})[];
|
|
@@ -7276,21 +7877,21 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7276
7877
|
};
|
|
7277
7878
|
output: ({
|
|
7278
7879
|
id: string & import("zod").$brand<"UUID">;
|
|
7279
|
-
type: "user";
|
|
7280
7880
|
name: {
|
|
7281
7881
|
firstname: string;
|
|
7282
7882
|
surname: string;
|
|
7283
7883
|
};
|
|
7284
7884
|
role: string;
|
|
7285
7885
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7886
|
+
type: "user";
|
|
7286
7887
|
status: "active" | "pending" | "deactivated";
|
|
7287
|
-
fullHonorificName?: string | undefined;
|
|
7288
7888
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
7289
7889
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7890
|
+
fullHonorificName?: string | undefined;
|
|
7290
7891
|
} | {
|
|
7291
7892
|
id: string & import("zod").$brand<"UUID">;
|
|
7292
|
-
type: "system";
|
|
7293
7893
|
name: string;
|
|
7894
|
+
type: "system";
|
|
7294
7895
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7295
7896
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7296
7897
|
status?: "active" | "pending" | "deactivated" | undefined;
|
|
@@ -7304,7 +7905,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7304
7905
|
count?: number | undefined;
|
|
7305
7906
|
timeStart?: string | undefined;
|
|
7306
7907
|
timeEnd?: string | undefined;
|
|
7307
|
-
actionTypes?: ("CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM")[] | undefined;
|
|
7908
|
+
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;
|
|
7308
7909
|
};
|
|
7309
7910
|
output: {
|
|
7310
7911
|
results: {
|
|
@@ -7341,14 +7942,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7341
7942
|
user: {
|
|
7342
7943
|
id: string & import("zod").$brand<"UUID">;
|
|
7343
7944
|
type: "system";
|
|
7344
|
-
signature?: undefined;
|
|
7345
7945
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7346
7946
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7947
|
+
signature?: undefined;
|
|
7347
7948
|
} | {
|
|
7348
7949
|
id: string & import("zod").$brand<"UUID">;
|
|
7349
|
-
type: "user";
|
|
7350
7950
|
role: string;
|
|
7351
7951
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7952
|
+
type: "user";
|
|
7352
7953
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7353
7954
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7354
7955
|
};
|
|
@@ -7465,14 +8066,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7465
8066
|
user: {
|
|
7466
8067
|
id: string & import("zod").$brand<"UUID">;
|
|
7467
8068
|
type: "system";
|
|
7468
|
-
signature?: undefined;
|
|
7469
8069
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7470
8070
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8071
|
+
signature?: undefined;
|
|
7471
8072
|
} | {
|
|
7472
8073
|
id: string & import("zod").$brand<"UUID">;
|
|
7473
|
-
type: "user";
|
|
7474
8074
|
role: string;
|
|
7475
8075
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8076
|
+
type: "user";
|
|
7476
8077
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7477
8078
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7478
8079
|
};
|
|
@@ -7579,7 +8180,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7579
8180
|
clientId: string;
|
|
7580
8181
|
clientType: "system" | "user";
|
|
7581
8182
|
createdAt: string;
|
|
7582
|
-
operation: "event.actions.
|
|
8183
|
+
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";
|
|
7583
8184
|
requestData: {
|
|
7584
8185
|
eventId: string;
|
|
7585
8186
|
actionType: string;
|
|
@@ -7758,14 +8359,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7758
8359
|
user: {
|
|
7759
8360
|
id: string & import("zod").$brand<"UUID">;
|
|
7760
8361
|
type: "system";
|
|
7761
|
-
signature?: undefined;
|
|
7762
8362
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7763
8363
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8364
|
+
signature?: undefined;
|
|
7764
8365
|
} | {
|
|
7765
8366
|
id: string & import("zod").$brand<"UUID">;
|
|
7766
|
-
type: "user";
|
|
7767
8367
|
role: string;
|
|
7768
8368
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8369
|
+
type: "user";
|
|
7769
8370
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7770
8371
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7771
8372
|
};
|
|
@@ -7831,14 +8432,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7831
8432
|
user: {
|
|
7832
8433
|
id: string & import("zod").$brand<"UUID">;
|
|
7833
8434
|
type: "system";
|
|
7834
|
-
signature?: undefined;
|
|
7835
8435
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7836
8436
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8437
|
+
signature?: undefined;
|
|
7837
8438
|
} | {
|
|
7838
8439
|
id: string & import("zod").$brand<"UUID">;
|
|
7839
|
-
type: "user";
|
|
7840
8440
|
role: string;
|
|
7841
8441
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8442
|
+
type: "user";
|
|
7842
8443
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7843
8444
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7844
8445
|
};
|
|
@@ -7853,14 +8454,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7853
8454
|
user: {
|
|
7854
8455
|
id: string & import("zod").$brand<"UUID">;
|
|
7855
8456
|
type: "system";
|
|
7856
|
-
signature?: undefined;
|
|
7857
8457
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7858
8458
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8459
|
+
signature?: undefined;
|
|
7859
8460
|
} | {
|
|
7860
8461
|
id: string & import("zod").$brand<"UUID">;
|
|
7861
|
-
type: "user";
|
|
7862
8462
|
role: string;
|
|
7863
8463
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8464
|
+
type: "user";
|
|
7864
8465
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7865
8466
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7866
8467
|
};
|
|
@@ -7884,10 +8485,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7884
8485
|
eventType?: string | undefined;
|
|
7885
8486
|
status?: {
|
|
7886
8487
|
type: "anyOf";
|
|
7887
|
-
terms: ("
|
|
8488
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
|
|
7888
8489
|
} | {
|
|
7889
8490
|
type: "exact";
|
|
7890
|
-
term: "
|
|
8491
|
+
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
7891
8492
|
} | undefined;
|
|
7892
8493
|
createdAt?: {
|
|
7893
8494
|
type: "exact";
|
|
@@ -7898,7 +8499,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7898
8499
|
lte: string;
|
|
7899
8500
|
} | {
|
|
7900
8501
|
type: "timePeriod";
|
|
7901
|
-
term: "
|
|
8502
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7902
8503
|
} | undefined;
|
|
7903
8504
|
updatedAt?: {
|
|
7904
8505
|
type: "exact";
|
|
@@ -7909,12 +8510,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7909
8510
|
lte: string;
|
|
7910
8511
|
} | {
|
|
7911
8512
|
type: "timePeriod";
|
|
7912
|
-
term: "
|
|
8513
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7913
8514
|
} | undefined;
|
|
7914
8515
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
7915
8516
|
type: "within";
|
|
7916
8517
|
location: string | {
|
|
7917
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8518
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7918
8519
|
$location?: string | undefined;
|
|
7919
8520
|
};
|
|
7920
8521
|
} | undefined;
|
|
@@ -7931,12 +8532,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7931
8532
|
lte: string;
|
|
7932
8533
|
} | {
|
|
7933
8534
|
type: "timePeriod";
|
|
7934
|
-
term: "
|
|
8535
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7935
8536
|
} | undefined;
|
|
7936
8537
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
7937
8538
|
type: "within";
|
|
7938
8539
|
location: string | {
|
|
7939
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8540
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7940
8541
|
$location?: string | undefined;
|
|
7941
8542
|
};
|
|
7942
8543
|
} | undefined;
|
|
@@ -7951,47 +8552,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7951
8552
|
createdAtLocation?: {
|
|
7952
8553
|
type: "within";
|
|
7953
8554
|
location: string | {
|
|
7954
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8555
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7955
8556
|
$location?: string | undefined;
|
|
7956
8557
|
};
|
|
7957
8558
|
} | {
|
|
7958
8559
|
type: "exact";
|
|
7959
8560
|
term: string | {
|
|
7960
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8561
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7961
8562
|
$location?: string | undefined;
|
|
7962
8563
|
};
|
|
7963
8564
|
} | undefined;
|
|
7964
8565
|
updatedAtLocation?: {
|
|
7965
8566
|
type: "within";
|
|
7966
8567
|
location: string | {
|
|
7967
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8568
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7968
8569
|
$location?: string | undefined;
|
|
7969
8570
|
};
|
|
7970
8571
|
} | {
|
|
7971
8572
|
type: "exact";
|
|
7972
8573
|
term: string | {
|
|
7973
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8574
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7974
8575
|
$location?: string | undefined;
|
|
7975
8576
|
};
|
|
7976
8577
|
} | undefined;
|
|
7977
8578
|
updatedByUserRole?: {
|
|
7978
8579
|
type: "exact";
|
|
7979
8580
|
term: string | {
|
|
7980
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8581
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7981
8582
|
$location?: string | undefined;
|
|
7982
8583
|
};
|
|
7983
8584
|
} | undefined;
|
|
7984
8585
|
assignedTo?: {
|
|
7985
8586
|
type: "exact";
|
|
7986
8587
|
term: string | {
|
|
7987
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8588
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7988
8589
|
$location?: string | undefined;
|
|
7989
8590
|
};
|
|
7990
8591
|
} | undefined;
|
|
7991
8592
|
createdBy?: {
|
|
7992
8593
|
type: "exact";
|
|
7993
8594
|
term: string | {
|
|
7994
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8595
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7995
8596
|
$location?: string | undefined;
|
|
7996
8597
|
};
|
|
7997
8598
|
} | undefined;
|
|
@@ -8002,7 +8603,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8002
8603
|
updatedBy?: {
|
|
8003
8604
|
type: "exact";
|
|
8004
8605
|
term: string | {
|
|
8005
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8606
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8006
8607
|
$location?: string | undefined;
|
|
8007
8608
|
};
|
|
8008
8609
|
} | undefined;
|
|
@@ -8013,6 +8614,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8013
8614
|
flags?: {
|
|
8014
8615
|
anyOf?: string[] | undefined;
|
|
8015
8616
|
noneOf?: string[] | undefined;
|
|
8617
|
+
allOf?: string[] | undefined;
|
|
8016
8618
|
} | undefined;
|
|
8017
8619
|
data?: unknown;
|
|
8018
8620
|
}[];
|
|
@@ -8022,10 +8624,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8022
8624
|
eventType?: string | undefined;
|
|
8023
8625
|
status?: {
|
|
8024
8626
|
type: "anyOf";
|
|
8025
|
-
terms: ("
|
|
8627
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
|
|
8026
8628
|
} | {
|
|
8027
8629
|
type: "exact";
|
|
8028
|
-
term: "
|
|
8630
|
+
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
8029
8631
|
} | undefined;
|
|
8030
8632
|
createdAt?: {
|
|
8031
8633
|
type: "exact";
|
|
@@ -8036,7 +8638,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8036
8638
|
lte: string;
|
|
8037
8639
|
} | {
|
|
8038
8640
|
type: "timePeriod";
|
|
8039
|
-
term: "
|
|
8641
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8040
8642
|
} | undefined;
|
|
8041
8643
|
updatedAt?: {
|
|
8042
8644
|
type: "exact";
|
|
@@ -8047,12 +8649,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8047
8649
|
lte: string;
|
|
8048
8650
|
} | {
|
|
8049
8651
|
type: "timePeriod";
|
|
8050
|
-
term: "
|
|
8652
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8051
8653
|
} | undefined;
|
|
8052
8654
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
8053
8655
|
type: "within";
|
|
8054
8656
|
location: string | {
|
|
8055
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8657
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8056
8658
|
$location?: string | undefined;
|
|
8057
8659
|
};
|
|
8058
8660
|
} | undefined;
|
|
@@ -8069,12 +8671,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8069
8671
|
lte: string;
|
|
8070
8672
|
} | {
|
|
8071
8673
|
type: "timePeriod";
|
|
8072
|
-
term: "
|
|
8674
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8073
8675
|
} | undefined;
|
|
8074
8676
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
8075
8677
|
type: "within";
|
|
8076
8678
|
location: string | {
|
|
8077
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8679
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8078
8680
|
$location?: string | undefined;
|
|
8079
8681
|
};
|
|
8080
8682
|
} | undefined;
|
|
@@ -8089,47 +8691,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8089
8691
|
createdAtLocation?: {
|
|
8090
8692
|
type: "within";
|
|
8091
8693
|
location: string | {
|
|
8092
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8694
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8093
8695
|
$location?: string | undefined;
|
|
8094
8696
|
};
|
|
8095
8697
|
} | {
|
|
8096
8698
|
type: "exact";
|
|
8097
8699
|
term: string | {
|
|
8098
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8700
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8099
8701
|
$location?: string | undefined;
|
|
8100
8702
|
};
|
|
8101
8703
|
} | undefined;
|
|
8102
8704
|
updatedAtLocation?: {
|
|
8103
8705
|
type: "within";
|
|
8104
8706
|
location: string | {
|
|
8105
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8707
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8106
8708
|
$location?: string | undefined;
|
|
8107
8709
|
};
|
|
8108
8710
|
} | {
|
|
8109
8711
|
type: "exact";
|
|
8110
8712
|
term: string | {
|
|
8111
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8713
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8112
8714
|
$location?: string | undefined;
|
|
8113
8715
|
};
|
|
8114
8716
|
} | undefined;
|
|
8115
8717
|
updatedByUserRole?: {
|
|
8116
8718
|
type: "exact";
|
|
8117
8719
|
term: string | {
|
|
8118
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8720
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8119
8721
|
$location?: string | undefined;
|
|
8120
8722
|
};
|
|
8121
8723
|
} | undefined;
|
|
8122
8724
|
assignedTo?: {
|
|
8123
8725
|
type: "exact";
|
|
8124
8726
|
term: string | {
|
|
8125
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8727
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8126
8728
|
$location?: string | undefined;
|
|
8127
8729
|
};
|
|
8128
8730
|
} | undefined;
|
|
8129
8731
|
createdBy?: {
|
|
8130
8732
|
type: "exact";
|
|
8131
8733
|
term: string | {
|
|
8132
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8734
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8133
8735
|
$location?: string | undefined;
|
|
8134
8736
|
};
|
|
8135
8737
|
} | undefined;
|
|
@@ -8140,7 +8742,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8140
8742
|
updatedBy?: {
|
|
8141
8743
|
type: "exact";
|
|
8142
8744
|
term: string | {
|
|
8143
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8745
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8144
8746
|
$location?: string | undefined;
|
|
8145
8747
|
};
|
|
8146
8748
|
} | undefined;
|
|
@@ -8151,6 +8753,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8151
8753
|
flags?: {
|
|
8152
8754
|
anyOf?: string[] | undefined;
|
|
8153
8755
|
noneOf?: string[] | undefined;
|
|
8756
|
+
allOf?: string[] | undefined;
|
|
8154
8757
|
} | undefined;
|
|
8155
8758
|
data?: unknown;
|
|
8156
8759
|
}[];
|
|
@@ -8165,9 +8768,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8165
8768
|
$event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
8166
8769
|
};
|
|
8167
8770
|
}[];
|
|
8168
|
-
icon: "
|
|
8771
|
+
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";
|
|
8169
8772
|
action?: {
|
|
8170
|
-
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
8773
|
+
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
8171
8774
|
} | undefined;
|
|
8172
8775
|
emptyMessage?: {
|
|
8173
8776
|
id: string;
|
|
@@ -8193,14 +8796,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8193
8796
|
user: {
|
|
8194
8797
|
id: string & import("zod").$brand<"UUID">;
|
|
8195
8798
|
type: "system";
|
|
8196
|
-
signature?: undefined;
|
|
8197
8799
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8198
8800
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8801
|
+
signature?: undefined;
|
|
8199
8802
|
} | {
|
|
8200
8803
|
id: string & import("zod").$brand<"UUID">;
|
|
8201
|
-
type: "user";
|
|
8202
8804
|
role: string;
|
|
8203
8805
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8806
|
+
type: "user";
|
|
8204
8807
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8205
8808
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8206
8809
|
};
|
|
@@ -8241,14 +8844,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8241
8844
|
user: {
|
|
8242
8845
|
id: string & import("zod").$brand<"UUID">;
|
|
8243
8846
|
type: "system";
|
|
8244
|
-
signature?: undefined;
|
|
8245
8847
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8246
8848
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8849
|
+
signature?: undefined;
|
|
8247
8850
|
} | {
|
|
8248
8851
|
id: string & import("zod").$brand<"UUID">;
|
|
8249
|
-
type: "user";
|
|
8250
8852
|
role: string;
|
|
8251
8853
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8854
|
+
type: "user";
|
|
8252
8855
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8253
8856
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8254
8857
|
};
|
|
@@ -8359,14 +8962,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8359
8962
|
user: {
|
|
8360
8963
|
id: string & import("zod").$brand<"UUID">;
|
|
8361
8964
|
type: "system";
|
|
8362
|
-
signature?: undefined;
|
|
8363
8965
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8364
8966
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8967
|
+
signature?: undefined;
|
|
8365
8968
|
} | {
|
|
8366
8969
|
id: string & import("zod").$brand<"UUID">;
|
|
8367
|
-
type: "user";
|
|
8368
8970
|
role: string;
|
|
8369
8971
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8972
|
+
type: "user";
|
|
8370
8973
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8371
8974
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8372
8975
|
};
|
|
@@ -8394,14 +8997,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8394
8997
|
user: {
|
|
8395
8998
|
id: string & import("zod").$brand<"UUID">;
|
|
8396
8999
|
type: "system";
|
|
8397
|
-
signature?: undefined;
|
|
8398
9000
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8399
9001
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9002
|
+
signature?: undefined;
|
|
8400
9003
|
} | {
|
|
8401
9004
|
id: string & import("zod").$brand<"UUID">;
|
|
8402
|
-
type: "user";
|
|
8403
9005
|
role: string;
|
|
8404
9006
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
9007
|
+
type: "user";
|
|
8405
9008
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8406
9009
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8407
9010
|
};
|