@opencrvs/toolkit 1.9.12-rc.fdea6df → 1.9.12-rc.fdec004
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build.sh +8 -0
- package/dist/application-config/index.js +2045 -41
- package/dist/cli.d.ts +2 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +3633 -0
- package/dist/commons/api/router.d.ts +237 -204
- package/dist/commons/application-config/index.d.ts +13 -16
- package/dist/commons/conditionals/conditionals.d.ts +3 -3
- package/dist/commons/events/ActionDocument.d.ts +198 -198
- package/dist/commons/events/ActionInput.d.ts +113 -113
- package/dist/commons/events/ActionType.d.ts +3 -3
- package/dist/commons/events/AdvancedSearchConfig.d.ts +16 -10
- package/dist/commons/events/CompositeFieldValue.d.ts +4 -4
- package/dist/commons/events/CountryConfigQueryInput.d.ts +443 -172
- package/dist/commons/events/Draft.d.ts +15 -15
- package/dist/commons/events/DynamicFieldValue.d.ts +37 -19
- package/dist/commons/events/EventConfig.d.ts +4 -2
- package/dist/commons/events/EventDocument.d.ts +81 -81
- package/dist/commons/events/EventIndex.d.ts +35 -27
- package/dist/commons/events/EventInput.d.ts +1 -1
- package/dist/commons/events/EventMetadata.d.ts +24 -24
- package/dist/commons/events/FieldConfig.d.ts +157 -46
- package/dist/commons/events/FieldType.d.ts +2 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +98 -72
- package/dist/commons/events/FieldValue.d.ts +54 -26
- package/dist/commons/events/PlainDate.d.ts +1 -1
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +16 -16
- package/dist/commons/events/WorkqueueConfig.d.ts +438 -194
- package/dist/commons/events/defineConfig.d.ts +0 -4
- package/dist/commons/events/locations.d.ts +4 -4
- package/dist/commons/events/scopes.d.ts +1 -1
- package/dist/commons/events/state/index.d.ts +2 -2
- package/dist/commons/events/state/utils.d.ts +3 -3
- package/dist/commons/events/utils.d.ts +5 -177
- package/dist/conditionals/index.js +13 -5
- package/dist/events/index.js +159 -37
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts +3 -0
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +405 -0
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +3 -0
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -0
- package/dist/migrations/v2.0/checkout-upstream-files.js +143 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts +2 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts.map +1 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +829 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts +3 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts.map +1 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.js +159 -0
- package/dist/migrations/v2.0/create-events-index.d.ts +3 -0
- package/dist/migrations/v2.0/create-events-index.d.ts.map +1 -0
- package/dist/migrations/v2.0/create-events-index.js +326 -0
- package/dist/migrations/v2.0/index.d.ts +7 -0
- package/dist/migrations/v2.0/index.d.ts.map +1 -0
- package/dist/migrations/v2.0/index.js +3572 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts +3 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +1 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +344 -0
- package/dist/migrations/v2.0/migrate-scopes.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-scopes.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-scopes.js +282 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.js +268 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.js +237 -0
- package/dist/migrations/v2.0/remove-delete-actions.d.ts +3 -0
- package/dist/migrations/v2.0/remove-delete-actions.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-delete-actions.js +157 -0
- package/dist/migrations/v2.0/remove-demo-scope.d.ts +3 -0
- package/dist/migrations/v2.0/remove-demo-scope.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-demo-scope.js +75 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts +3 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.js +97 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts +3 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.js +78 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts +3 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.js +110 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts +3 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.js +164 -0
- package/dist/migrations/v2.0/rename-api-paths.d.ts +3 -0
- package/dist/migrations/v2.0/rename-api-paths.d.ts.map +1 -0
- package/dist/migrations/v2.0/rename-api-paths.js +188 -0
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts +3 -0
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts.map +1 -0
- package/dist/migrations/v2.0/rename-location-parent-id.js +181 -0
- package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts +3 -0
- package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts.map +1 -0
- package/dist/migrations/v2.0/simplify-analytics-precalculations.js +196 -0
- package/dist/notification/index.js +78 -25
- package/dist/scopes/index.d.ts +31 -10
- package/dist/scopes/index.js +17 -5
- package/opencrvs-toolkit-1.9.12-rc.fdec004.tgz +0 -0
- package/package.json +11 -7
- package/tsconfig.json +3 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-1.9.12-rc.fdea6df.tgz +0 -0
|
@@ -4,15 +4,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4
4
|
user: {
|
|
5
5
|
id: string;
|
|
6
6
|
type: "system";
|
|
7
|
-
primaryOfficeId?: undefined;
|
|
8
7
|
signature?: undefined;
|
|
9
|
-
|
|
8
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10
10
|
} | {
|
|
11
|
-
id: string
|
|
11
|
+
id: string & import("zod").$brand<"UUID">;
|
|
12
12
|
type: "user";
|
|
13
13
|
role: string;
|
|
14
14
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
15
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
15
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
16
16
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
17
17
|
};
|
|
18
18
|
}>;
|
|
@@ -26,15 +26,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26
26
|
user: {
|
|
27
27
|
id: string;
|
|
28
28
|
type: "system";
|
|
29
|
-
primaryOfficeId?: undefined;
|
|
30
29
|
signature?: undefined;
|
|
31
|
-
|
|
30
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
31
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
32
32
|
} | {
|
|
33
|
-
id: string
|
|
33
|
+
id: string & import("zod").$brand<"UUID">;
|
|
34
34
|
type: "user";
|
|
35
35
|
role: string;
|
|
36
36
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
37
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
37
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
38
38
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
39
39
|
};
|
|
40
40
|
}>;
|
|
@@ -48,15 +48,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
48
48
|
user: {
|
|
49
49
|
id: string;
|
|
50
50
|
type: "system";
|
|
51
|
-
primaryOfficeId?: undefined;
|
|
52
51
|
signature?: undefined;
|
|
53
|
-
|
|
52
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
53
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
54
54
|
} | {
|
|
55
|
-
id: string
|
|
55
|
+
id: string & import("zod").$brand<"UUID">;
|
|
56
56
|
type: "user";
|
|
57
57
|
role: string;
|
|
58
58
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
59
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
59
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
60
60
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
61
61
|
};
|
|
62
62
|
}>;
|
|
@@ -94,15 +94,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
94
94
|
user: {
|
|
95
95
|
id: string;
|
|
96
96
|
type: "system";
|
|
97
|
-
primaryOfficeId?: undefined;
|
|
98
97
|
signature?: undefined;
|
|
99
|
-
|
|
98
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
99
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
100
100
|
} | {
|
|
101
|
-
id: string
|
|
101
|
+
id: string & import("zod").$brand<"UUID">;
|
|
102
102
|
type: "user";
|
|
103
103
|
role: string;
|
|
104
104
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
105
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
105
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
106
106
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
107
107
|
};
|
|
108
108
|
}>;
|
|
@@ -410,15 +410,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
410
410
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
411
411
|
} | {
|
|
412
412
|
id: string & import("zod").$brand<"UUID">;
|
|
413
|
-
createdAt: string;
|
|
414
413
|
transactionId: string;
|
|
415
414
|
createdByUserType: "system" | "user";
|
|
415
|
+
createdAt: string;
|
|
416
416
|
createdBy: string;
|
|
417
417
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
418
418
|
status: "Rejected";
|
|
419
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
420
419
|
createdByRole?: string | undefined;
|
|
421
420
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
421
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
422
422
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
423
423
|
})[];
|
|
424
424
|
trackingId: string;
|
|
@@ -718,15 +718,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
718
718
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
719
719
|
} | {
|
|
720
720
|
id: string & import("zod").$brand<"UUID">;
|
|
721
|
-
createdAt: string;
|
|
722
721
|
transactionId: string;
|
|
723
722
|
createdByUserType: "system" | "user";
|
|
723
|
+
createdAt: string;
|
|
724
724
|
createdBy: string;
|
|
725
725
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
726
726
|
status: "Rejected";
|
|
727
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
728
727
|
createdByRole?: string | undefined;
|
|
729
728
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
729
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
730
730
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
731
731
|
})[];
|
|
732
732
|
trackingId: string;
|
|
@@ -1026,15 +1026,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1026
1026
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1027
1027
|
} | {
|
|
1028
1028
|
id: string & import("zod").$brand<"UUID">;
|
|
1029
|
-
createdAt: string;
|
|
1030
1029
|
transactionId: string;
|
|
1031
1030
|
createdByUserType: "system" | "user";
|
|
1031
|
+
createdAt: string;
|
|
1032
1032
|
createdBy: string;
|
|
1033
1033
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
1034
1034
|
status: "Rejected";
|
|
1035
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1036
1035
|
createdByRole?: string | undefined;
|
|
1037
1036
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1037
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1038
1038
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1039
1039
|
})[];
|
|
1040
1040
|
trackingId: string;
|
|
@@ -1056,15 +1056,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1056
1056
|
user: {
|
|
1057
1057
|
id: string;
|
|
1058
1058
|
type: "system";
|
|
1059
|
-
primaryOfficeId?: undefined;
|
|
1060
1059
|
signature?: undefined;
|
|
1061
|
-
|
|
1060
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1061
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1062
1062
|
} | {
|
|
1063
|
-
id: string
|
|
1063
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1064
1064
|
type: "user";
|
|
1065
1065
|
role: string;
|
|
1066
1066
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1067
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1067
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1068
1068
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1069
1069
|
};
|
|
1070
1070
|
}>;
|
|
@@ -1081,12 +1081,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1081
1081
|
createdAt: string;
|
|
1082
1082
|
action: {
|
|
1083
1083
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN";
|
|
1084
|
-
createdAt: string;
|
|
1085
1084
|
transactionId: string;
|
|
1086
|
-
status: "Requested" | "Accepted" | "Rejected";
|
|
1087
1085
|
createdByUserType: "system" | "user";
|
|
1086
|
+
createdAt: string;
|
|
1088
1087
|
createdBy: string;
|
|
1089
1088
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1089
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1090
1090
|
createdByRole?: string | undefined;
|
|
1091
1091
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1092
1092
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -1114,12 +1114,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1114
1114
|
createdAt: string;
|
|
1115
1115
|
action: {
|
|
1116
1116
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN";
|
|
1117
|
-
createdAt: string;
|
|
1118
1117
|
transactionId: string;
|
|
1119
|
-
status: "Requested" | "Accepted" | "Rejected";
|
|
1120
1118
|
createdByUserType: "system" | "user";
|
|
1119
|
+
createdAt: string;
|
|
1121
1120
|
createdBy: string;
|
|
1122
1121
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1122
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1123
1123
|
createdByRole?: string | undefined;
|
|
1124
1124
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1125
1125
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -1135,15 +1135,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1135
1135
|
user: {
|
|
1136
1136
|
id: string;
|
|
1137
1137
|
type: "system";
|
|
1138
|
-
primaryOfficeId?: undefined;
|
|
1139
1138
|
signature?: undefined;
|
|
1140
|
-
|
|
1139
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1140
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1141
1141
|
} | {
|
|
1142
|
-
id: string
|
|
1142
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1143
1143
|
type: "user";
|
|
1144
1144
|
role: string;
|
|
1145
1145
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1146
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1146
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1147
1147
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1148
1148
|
};
|
|
1149
1149
|
}>;
|
|
@@ -1157,15 +1157,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1157
1157
|
user: {
|
|
1158
1158
|
id: string;
|
|
1159
1159
|
type: "system";
|
|
1160
|
-
primaryOfficeId?: undefined;
|
|
1161
1160
|
signature?: undefined;
|
|
1162
|
-
|
|
1161
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1162
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1163
1163
|
} | {
|
|
1164
|
-
id: string
|
|
1164
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1165
1165
|
type: "user";
|
|
1166
1166
|
role: string;
|
|
1167
1167
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1168
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1168
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1169
1169
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1170
1170
|
};
|
|
1171
1171
|
}>;
|
|
@@ -1201,15 +1201,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1201
1201
|
user: {
|
|
1202
1202
|
id: string;
|
|
1203
1203
|
type: "system";
|
|
1204
|
-
primaryOfficeId?: undefined;
|
|
1205
1204
|
signature?: undefined;
|
|
1206
|
-
|
|
1205
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1206
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1207
1207
|
} | {
|
|
1208
|
-
id: string
|
|
1208
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1209
1209
|
type: "user";
|
|
1210
1210
|
role: string;
|
|
1211
1211
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1212
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1212
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1213
1213
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1214
1214
|
};
|
|
1215
1215
|
}>;
|
|
@@ -1516,15 +1516,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1516
1516
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1517
1517
|
} | {
|
|
1518
1518
|
id: string & import("zod").$brand<"UUID">;
|
|
1519
|
-
createdAt: string;
|
|
1520
1519
|
transactionId: string;
|
|
1521
1520
|
createdByUserType: "system" | "user";
|
|
1521
|
+
createdAt: string;
|
|
1522
1522
|
createdBy: string;
|
|
1523
1523
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
1524
1524
|
status: "Rejected";
|
|
1525
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1526
1525
|
createdByRole?: string | undefined;
|
|
1527
1526
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1527
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1528
1528
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1529
1529
|
})[];
|
|
1530
1530
|
trackingId: string;
|
|
@@ -1554,15 +1554,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1554
1554
|
user: {
|
|
1555
1555
|
id: string;
|
|
1556
1556
|
type: "system";
|
|
1557
|
-
primaryOfficeId?: undefined;
|
|
1558
1557
|
signature?: undefined;
|
|
1559
|
-
|
|
1558
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1559
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1560
1560
|
} | {
|
|
1561
|
-
id: string
|
|
1561
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1562
1562
|
type: "user";
|
|
1563
1563
|
role: string;
|
|
1564
1564
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1565
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1565
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1566
1566
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1567
1567
|
};
|
|
1568
1568
|
}>;
|
|
@@ -1598,15 +1598,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1598
1598
|
user: {
|
|
1599
1599
|
id: string;
|
|
1600
1600
|
type: "system";
|
|
1601
|
-
primaryOfficeId?: undefined;
|
|
1602
1601
|
signature?: undefined;
|
|
1603
|
-
|
|
1602
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1603
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1604
1604
|
} | {
|
|
1605
|
-
id: string
|
|
1605
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1606
1606
|
type: "user";
|
|
1607
1607
|
role: string;
|
|
1608
1608
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1609
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1609
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1610
1610
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1611
1611
|
};
|
|
1612
1612
|
}>;
|
|
@@ -1642,15 +1642,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1642
1642
|
user: {
|
|
1643
1643
|
id: string;
|
|
1644
1644
|
type: "system";
|
|
1645
|
-
primaryOfficeId?: undefined;
|
|
1646
1645
|
signature?: undefined;
|
|
1647
|
-
|
|
1646
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1647
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1648
1648
|
} | {
|
|
1649
|
-
id: string
|
|
1649
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1650
1650
|
type: "user";
|
|
1651
1651
|
role: string;
|
|
1652
1652
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1653
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1653
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1654
1654
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1655
1655
|
};
|
|
1656
1656
|
}>;
|
|
@@ -1686,15 +1686,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1686
1686
|
user: {
|
|
1687
1687
|
id: string;
|
|
1688
1688
|
type: "system";
|
|
1689
|
-
primaryOfficeId?: undefined;
|
|
1690
1689
|
signature?: undefined;
|
|
1691
|
-
|
|
1690
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1691
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1692
1692
|
} | {
|
|
1693
|
-
id: string
|
|
1693
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1694
1694
|
type: "user";
|
|
1695
1695
|
role: string;
|
|
1696
1696
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1697
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1697
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1698
1698
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1699
1699
|
};
|
|
1700
1700
|
}>;
|
|
@@ -1730,15 +1730,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1730
1730
|
user: {
|
|
1731
1731
|
id: string;
|
|
1732
1732
|
type: "system";
|
|
1733
|
-
primaryOfficeId?: undefined;
|
|
1734
1733
|
signature?: undefined;
|
|
1735
|
-
|
|
1734
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1735
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1736
1736
|
} | {
|
|
1737
|
-
id: string
|
|
1737
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1738
1738
|
type: "user";
|
|
1739
1739
|
role: string;
|
|
1740
1740
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1741
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1741
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1742
1742
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1743
1743
|
};
|
|
1744
1744
|
}>;
|
|
@@ -1774,15 +1774,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1774
1774
|
user: {
|
|
1775
1775
|
id: string;
|
|
1776
1776
|
type: "system";
|
|
1777
|
-
primaryOfficeId?: undefined;
|
|
1778
1777
|
signature?: undefined;
|
|
1779
|
-
|
|
1778
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1779
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1780
1780
|
} | {
|
|
1781
|
-
id: string
|
|
1781
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1782
1782
|
type: "user";
|
|
1783
1783
|
role: string;
|
|
1784
1784
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1785
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1785
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1786
1786
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1787
1787
|
};
|
|
1788
1788
|
}>;
|
|
@@ -2090,15 +2090,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2090
2090
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2091
2091
|
} | {
|
|
2092
2092
|
id: string & import("zod").$brand<"UUID">;
|
|
2093
|
-
createdAt: string;
|
|
2094
2093
|
transactionId: string;
|
|
2095
2094
|
createdByUserType: "system" | "user";
|
|
2095
|
+
createdAt: string;
|
|
2096
2096
|
createdBy: string;
|
|
2097
2097
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
2098
2098
|
status: "Rejected";
|
|
2099
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2100
2099
|
createdByRole?: string | undefined;
|
|
2101
2100
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2101
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2102
2102
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2103
2103
|
})[];
|
|
2104
2104
|
trackingId: string;
|
|
@@ -2128,15 +2128,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2128
2128
|
user: {
|
|
2129
2129
|
id: string;
|
|
2130
2130
|
type: "system";
|
|
2131
|
-
primaryOfficeId?: undefined;
|
|
2132
2131
|
signature?: undefined;
|
|
2133
|
-
|
|
2132
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2133
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2134
2134
|
} | {
|
|
2135
|
-
id: string
|
|
2135
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2136
2136
|
type: "user";
|
|
2137
2137
|
role: string;
|
|
2138
2138
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2139
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2139
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2140
2140
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2141
2141
|
};
|
|
2142
2142
|
}>;
|
|
@@ -2444,15 +2444,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2444
2444
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2445
2445
|
} | {
|
|
2446
2446
|
id: string & import("zod").$brand<"UUID">;
|
|
2447
|
-
createdAt: string;
|
|
2448
2447
|
transactionId: string;
|
|
2449
2448
|
createdByUserType: "system" | "user";
|
|
2449
|
+
createdAt: string;
|
|
2450
2450
|
createdBy: string;
|
|
2451
2451
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
2452
2452
|
status: "Rejected";
|
|
2453
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2454
2453
|
createdByRole?: string | undefined;
|
|
2455
2454
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2455
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2456
2456
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2457
2457
|
})[];
|
|
2458
2458
|
trackingId: string;
|
|
@@ -2759,15 +2759,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2759
2759
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2760
2760
|
} | {
|
|
2761
2761
|
id: string & import("zod").$brand<"UUID">;
|
|
2762
|
-
createdAt: string;
|
|
2763
2762
|
transactionId: string;
|
|
2764
2763
|
createdByUserType: "system" | "user";
|
|
2764
|
+
createdAt: string;
|
|
2765
2765
|
createdBy: string;
|
|
2766
2766
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
2767
2767
|
status: "Rejected";
|
|
2768
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2769
2768
|
createdByRole?: string | undefined;
|
|
2770
2769
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2770
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2771
2771
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2772
2772
|
})[];
|
|
2773
2773
|
trackingId: string;
|
|
@@ -2781,15 +2781,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2781
2781
|
user: {
|
|
2782
2782
|
id: string;
|
|
2783
2783
|
type: "system";
|
|
2784
|
-
primaryOfficeId?: undefined;
|
|
2785
2784
|
signature?: undefined;
|
|
2786
|
-
|
|
2785
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2786
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2787
2787
|
} | {
|
|
2788
|
-
id: string
|
|
2788
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2789
2789
|
type: "user";
|
|
2790
2790
|
role: string;
|
|
2791
2791
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2792
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2792
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2793
2793
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2794
2794
|
};
|
|
2795
2795
|
}>;
|
|
@@ -2803,15 +2803,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2803
2803
|
user: {
|
|
2804
2804
|
id: string;
|
|
2805
2805
|
type: "system";
|
|
2806
|
-
primaryOfficeId?: undefined;
|
|
2807
2806
|
signature?: undefined;
|
|
2808
|
-
|
|
2807
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2808
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2809
2809
|
} | {
|
|
2810
|
-
id: string
|
|
2810
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2811
2811
|
type: "user";
|
|
2812
2812
|
role: string;
|
|
2813
2813
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2814
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2814
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2815
2815
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2816
2816
|
};
|
|
2817
2817
|
}>;
|
|
@@ -2847,15 +2847,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2847
2847
|
user: {
|
|
2848
2848
|
id: string;
|
|
2849
2849
|
type: "system";
|
|
2850
|
-
primaryOfficeId?: undefined;
|
|
2851
2850
|
signature?: undefined;
|
|
2852
|
-
|
|
2851
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2852
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2853
2853
|
} | {
|
|
2854
|
-
id: string
|
|
2854
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2855
2855
|
type: "user";
|
|
2856
2856
|
role: string;
|
|
2857
2857
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2858
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2858
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2859
2859
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2860
2860
|
};
|
|
2861
2861
|
}>;
|
|
@@ -2891,15 +2891,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2891
2891
|
user: {
|
|
2892
2892
|
id: string;
|
|
2893
2893
|
type: "system";
|
|
2894
|
-
primaryOfficeId?: undefined;
|
|
2895
2894
|
signature?: undefined;
|
|
2896
|
-
|
|
2895
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2896
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2897
2897
|
} | {
|
|
2898
|
-
id: string
|
|
2898
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2899
2899
|
type: "user";
|
|
2900
2900
|
role: string;
|
|
2901
2901
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2902
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2902
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2903
2903
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2904
2904
|
};
|
|
2905
2905
|
}>;
|
|
@@ -2936,15 +2936,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2936
2936
|
user: {
|
|
2937
2937
|
id: string;
|
|
2938
2938
|
type: "system";
|
|
2939
|
-
primaryOfficeId?: undefined;
|
|
2940
2939
|
signature?: undefined;
|
|
2941
|
-
|
|
2940
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2941
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2942
2942
|
} | {
|
|
2943
|
-
id: string
|
|
2943
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2944
2944
|
type: "user";
|
|
2945
2945
|
role: string;
|
|
2946
2946
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2947
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2947
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2948
2948
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2949
2949
|
};
|
|
2950
2950
|
}>;
|
|
@@ -3254,15 +3254,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3254
3254
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3255
3255
|
} | {
|
|
3256
3256
|
id: string & import("zod").$brand<"UUID">;
|
|
3257
|
-
createdAt: string;
|
|
3258
3257
|
transactionId: string;
|
|
3259
3258
|
createdByUserType: "system" | "user";
|
|
3259
|
+
createdAt: string;
|
|
3260
3260
|
createdBy: string;
|
|
3261
3261
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
3262
3262
|
status: "Rejected";
|
|
3263
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3264
3263
|
createdByRole?: string | undefined;
|
|
3265
3264
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3265
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3266
3266
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3267
3267
|
})[];
|
|
3268
3268
|
trackingId: string;
|
|
@@ -3568,15 +3568,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3568
3568
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3569
3569
|
} | {
|
|
3570
3570
|
id: string & import("zod").$brand<"UUID">;
|
|
3571
|
-
createdAt: string;
|
|
3572
3571
|
transactionId: string;
|
|
3573
3572
|
createdByUserType: "system" | "user";
|
|
3573
|
+
createdAt: string;
|
|
3574
3574
|
createdBy: string;
|
|
3575
3575
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
3576
3576
|
status: "Rejected";
|
|
3577
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3578
3577
|
createdByRole?: string | undefined;
|
|
3579
3578
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3579
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3580
3580
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3581
3581
|
})[];
|
|
3582
3582
|
trackingId: string;
|
|
@@ -3596,7 +3596,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3596
3596
|
results: {
|
|
3597
3597
|
id: string & import("zod").$brand<"UUID">;
|
|
3598
3598
|
type: string;
|
|
3599
|
-
status: "
|
|
3599
|
+
status: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
3600
3600
|
legalStatuses: {
|
|
3601
3601
|
DECLARED?: {
|
|
3602
3602
|
createdAt: string;
|
|
@@ -3931,15 +3931,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3931
3931
|
originalActionId?: string | null | undefined;
|
|
3932
3932
|
} | {
|
|
3933
3933
|
id: string;
|
|
3934
|
-
createdAt: string;
|
|
3935
3934
|
transactionId: string;
|
|
3936
3935
|
createdByUserType: "system" | "user";
|
|
3936
|
+
createdAt: string;
|
|
3937
3937
|
createdBy: string;
|
|
3938
3938
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
3939
3939
|
status: "Rejected";
|
|
3940
|
-
createdAtLocation?: string | null | undefined;
|
|
3941
3940
|
createdByRole?: string | undefined;
|
|
3942
3941
|
createdBySignature?: string | null | undefined;
|
|
3942
|
+
createdAtLocation?: string | null | undefined;
|
|
3943
3943
|
originalActionId?: string | null | undefined;
|
|
3944
3944
|
})[];
|
|
3945
3945
|
trackingId: string;
|
|
@@ -3954,15 +3954,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3954
3954
|
user: {
|
|
3955
3955
|
id: string;
|
|
3956
3956
|
type: "system";
|
|
3957
|
-
primaryOfficeId?: undefined;
|
|
3958
3957
|
signature?: undefined;
|
|
3959
|
-
|
|
3958
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3959
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3960
3960
|
} | {
|
|
3961
|
-
id: string
|
|
3961
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3962
3962
|
type: "user";
|
|
3963
3963
|
role: string;
|
|
3964
3964
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3965
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
3965
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3966
3966
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3967
3967
|
};
|
|
3968
3968
|
}>;
|
|
@@ -3973,7 +3973,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3973
3973
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
3974
3974
|
input: string;
|
|
3975
3975
|
output: {
|
|
3976
|
-
id: string
|
|
3976
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3977
3977
|
name: {
|
|
3978
3978
|
use: string;
|
|
3979
3979
|
given: string[];
|
|
@@ -3984,18 +3984,19 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3984
3984
|
type: "user";
|
|
3985
3985
|
status: "active" | "pending" | "deactivated";
|
|
3986
3986
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
3987
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
3987
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3988
3988
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3989
3989
|
device?: string | undefined;
|
|
3990
3990
|
fullHonorificName?: string | undefined;
|
|
3991
3991
|
mobile?: string | undefined;
|
|
3992
3992
|
email?: string | undefined;
|
|
3993
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
3993
3994
|
} | {
|
|
3994
3995
|
id: string;
|
|
3995
3996
|
name: string;
|
|
3996
3997
|
type: "system";
|
|
3997
|
-
primaryOfficeId?: undefined;
|
|
3998
|
-
administrativeAreaId?: undefined;
|
|
3998
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3999
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3999
4000
|
signature?: undefined;
|
|
4000
4001
|
avatar?: undefined;
|
|
4001
4002
|
fullHonorificName?: string | undefined;
|
|
@@ -4011,16 +4012,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4011
4012
|
given: string[];
|
|
4012
4013
|
family: string;
|
|
4013
4014
|
}[];
|
|
4014
|
-
email: string;
|
|
4015
4015
|
role: string;
|
|
4016
4016
|
primaryOfficeId: string;
|
|
4017
|
-
|
|
4018
|
-
mobile?: string | undefined;
|
|
4017
|
+
data?: Record<string, unknown> | undefined;
|
|
4019
4018
|
fullHonorificName?: string | undefined;
|
|
4020
|
-
emailForNotification?: string | undefined;
|
|
4021
|
-
password?: string | undefined;
|
|
4022
4019
|
device?: string | undefined;
|
|
4023
|
-
|
|
4020
|
+
email?: string | undefined;
|
|
4021
|
+
mobile?: string | undefined;
|
|
4022
|
+
username?: undefined;
|
|
4024
4023
|
signature?: {
|
|
4025
4024
|
path: string;
|
|
4026
4025
|
originalFilename: string;
|
|
@@ -4028,7 +4027,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4028
4027
|
} | undefined;
|
|
4029
4028
|
};
|
|
4030
4029
|
output: {
|
|
4031
|
-
id: string
|
|
4030
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4032
4031
|
name: {
|
|
4033
4032
|
use: string;
|
|
4034
4033
|
given: string[];
|
|
@@ -4039,42 +4038,42 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4039
4038
|
type: "user";
|
|
4040
4039
|
status: "active" | "pending" | "deactivated";
|
|
4041
4040
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4042
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4041
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4043
4042
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4044
4043
|
device?: string | undefined;
|
|
4045
4044
|
fullHonorificName?: string | undefined;
|
|
4046
4045
|
mobile?: string | undefined;
|
|
4047
4046
|
email?: string | undefined;
|
|
4047
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4048
4048
|
};
|
|
4049
4049
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4050
4050
|
}>;
|
|
4051
4051
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
4052
4052
|
input: {
|
|
4053
|
-
|
|
4053
|
+
id: string;
|
|
4054
|
+
data?: Record<string, unknown> | undefined;
|
|
4055
|
+
name?: {
|
|
4054
4056
|
use: string;
|
|
4055
4057
|
given: string[];
|
|
4056
4058
|
family: string;
|
|
4057
|
-
}[];
|
|
4058
|
-
|
|
4059
|
-
role: string;
|
|
4060
|
-
primaryOfficeId: string;
|
|
4061
|
-
username?: string | undefined;
|
|
4062
|
-
mobile?: string | undefined;
|
|
4059
|
+
}[] | undefined;
|
|
4060
|
+
role?: string | undefined;
|
|
4063
4061
|
fullHonorificName?: string | undefined;
|
|
4064
|
-
emailForNotification?: string | undefined;
|
|
4065
|
-
password?: string | undefined;
|
|
4066
4062
|
device?: string | undefined;
|
|
4067
|
-
|
|
4063
|
+
primaryOfficeId?: string | undefined;
|
|
4064
|
+
email?: string | undefined;
|
|
4065
|
+
mobile?: string | undefined;
|
|
4068
4066
|
signature?: {
|
|
4069
4067
|
path: string;
|
|
4070
4068
|
originalFilename: string;
|
|
4071
4069
|
type: string;
|
|
4072
4070
|
} | undefined;
|
|
4071
|
+
status?: "active" | "deactivated" | undefined;
|
|
4073
4072
|
} & {
|
|
4074
4073
|
id: string;
|
|
4075
4074
|
};
|
|
4076
4075
|
output: {
|
|
4077
|
-
id: string
|
|
4076
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4078
4077
|
name: {
|
|
4079
4078
|
use: string;
|
|
4080
4079
|
given: string[];
|
|
@@ -4085,19 +4084,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4085
4084
|
type: "user";
|
|
4086
4085
|
status: "active" | "pending" | "deactivated";
|
|
4087
4086
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4088
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4087
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4089
4088
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4090
4089
|
device?: string | undefined;
|
|
4091
4090
|
fullHonorificName?: string | undefined;
|
|
4092
4091
|
mobile?: string | undefined;
|
|
4093
4092
|
email?: string | undefined;
|
|
4093
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4094
4094
|
};
|
|
4095
4095
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4096
4096
|
}>;
|
|
4097
4097
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
4098
4098
|
input: string[];
|
|
4099
4099
|
output: ({
|
|
4100
|
-
id: string
|
|
4100
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4101
4101
|
name: {
|
|
4102
4102
|
use: string;
|
|
4103
4103
|
given: string[];
|
|
@@ -4108,18 +4108,19 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4108
4108
|
type: "user";
|
|
4109
4109
|
status: "active" | "pending" | "deactivated";
|
|
4110
4110
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4111
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4111
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4112
4112
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4113
4113
|
device?: string | undefined;
|
|
4114
4114
|
fullHonorificName?: string | undefined;
|
|
4115
4115
|
mobile?: string | undefined;
|
|
4116
4116
|
email?: string | undefined;
|
|
4117
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4117
4118
|
} | {
|
|
4118
4119
|
id: string;
|
|
4119
4120
|
name: string;
|
|
4120
4121
|
type: "system";
|
|
4121
|
-
primaryOfficeId?: undefined;
|
|
4122
|
-
administrativeAreaId?: undefined;
|
|
4122
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4123
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4123
4124
|
signature?: undefined;
|
|
4124
4125
|
avatar?: undefined;
|
|
4125
4126
|
fullHonorificName?: string | undefined;
|
|
@@ -4135,12 +4136,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4135
4136
|
sortOrder: "desc" | "asc";
|
|
4136
4137
|
username?: string | undefined;
|
|
4137
4138
|
mobile?: string | undefined;
|
|
4139
|
+
email?: string | undefined;
|
|
4138
4140
|
status?: string | undefined;
|
|
4139
4141
|
primaryOfficeId?: string | undefined;
|
|
4140
|
-
|
|
4142
|
+
sortBy?: "createdAt" | "status" | "username" | "firstname" | "surname" | "role" | "email" | undefined;
|
|
4141
4143
|
};
|
|
4142
4144
|
output: ({
|
|
4143
|
-
id: string
|
|
4145
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4144
4146
|
name: {
|
|
4145
4147
|
use: string;
|
|
4146
4148
|
given: string[];
|
|
@@ -4151,25 +4153,26 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4151
4153
|
type: "user";
|
|
4152
4154
|
status: "active" | "pending" | "deactivated";
|
|
4153
4155
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4154
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4156
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4155
4157
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4156
4158
|
device?: string | undefined;
|
|
4157
4159
|
fullHonorificName?: string | undefined;
|
|
4158
4160
|
mobile?: string | undefined;
|
|
4159
4161
|
email?: string | undefined;
|
|
4162
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4160
4163
|
} | {
|
|
4161
4164
|
id: string;
|
|
4162
4165
|
name: string;
|
|
4163
4166
|
type: "system";
|
|
4164
|
-
primaryOfficeId?: undefined;
|
|
4165
|
-
administrativeAreaId?: undefined;
|
|
4167
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4168
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4166
4169
|
signature?: undefined;
|
|
4167
4170
|
avatar?: undefined;
|
|
4168
4171
|
fullHonorificName?: string | undefined;
|
|
4169
4172
|
legacyId?: string | undefined;
|
|
4170
4173
|
status?: undefined;
|
|
4171
4174
|
})[];
|
|
4172
|
-
meta:
|
|
4175
|
+
meta: object;
|
|
4173
4176
|
}>;
|
|
4174
4177
|
actions: import("@trpc/server").TRPCQueryProcedure<{
|
|
4175
4178
|
input: {
|
|
@@ -4215,15 +4218,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4215
4218
|
user: {
|
|
4216
4219
|
id: string;
|
|
4217
4220
|
type: "system";
|
|
4218
|
-
primaryOfficeId?: undefined;
|
|
4219
4221
|
signature?: undefined;
|
|
4220
|
-
|
|
4222
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4223
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4221
4224
|
} | {
|
|
4222
|
-
id: string
|
|
4225
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4223
4226
|
type: "user";
|
|
4224
4227
|
role: string;
|
|
4225
4228
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4226
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4229
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4227
4230
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4228
4231
|
};
|
|
4229
4232
|
}>;
|
|
@@ -4242,7 +4245,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4242
4245
|
}>>;
|
|
4243
4246
|
changePassword: import("@trpc/server").TRPCMutationProcedure<{
|
|
4244
4247
|
input: {
|
|
4245
|
-
userId: string;
|
|
4246
4248
|
existingPassword: string;
|
|
4247
4249
|
password: string;
|
|
4248
4250
|
};
|
|
@@ -4290,7 +4292,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4290
4292
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4291
4293
|
}>;
|
|
4292
4294
|
activate: import("@trpc/server").TRPCMutationProcedure<{
|
|
4293
|
-
input:
|
|
4295
|
+
input: {
|
|
4296
|
+
userId: string;
|
|
4297
|
+
password: string;
|
|
4298
|
+
securityQNAs: {
|
|
4299
|
+
questionKey: string;
|
|
4300
|
+
answer: string;
|
|
4301
|
+
}[];
|
|
4302
|
+
};
|
|
4294
4303
|
output: void;
|
|
4295
4304
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4296
4305
|
}>;
|
|
@@ -4300,15 +4309,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4300
4309
|
user: {
|
|
4301
4310
|
id: string;
|
|
4302
4311
|
type: "system";
|
|
4303
|
-
primaryOfficeId?: undefined;
|
|
4304
4312
|
signature?: undefined;
|
|
4305
|
-
|
|
4313
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4314
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4306
4315
|
} | {
|
|
4307
|
-
id: string
|
|
4316
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4308
4317
|
type: "user";
|
|
4309
4318
|
role: string;
|
|
4310
4319
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4311
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4320
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4312
4321
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4313
4322
|
};
|
|
4314
4323
|
}>;
|
|
@@ -4593,15 +4602,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4593
4602
|
user: {
|
|
4594
4603
|
id: string;
|
|
4595
4604
|
type: "system";
|
|
4596
|
-
primaryOfficeId?: undefined;
|
|
4597
4605
|
signature?: undefined;
|
|
4598
|
-
|
|
4606
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4607
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4599
4608
|
} | {
|
|
4600
|
-
id: string
|
|
4609
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4601
4610
|
type: "user";
|
|
4602
4611
|
role: string;
|
|
4603
4612
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4604
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4613
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4605
4614
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4606
4615
|
};
|
|
4607
4616
|
}>;
|
|
@@ -4624,7 +4633,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4624
4633
|
locationType: string | null;
|
|
4625
4634
|
externalId?: string | null | undefined;
|
|
4626
4635
|
}[];
|
|
4627
|
-
meta:
|
|
4636
|
+
meta: object;
|
|
4628
4637
|
}>;
|
|
4629
4638
|
set: import("@trpc/server").TRPCMutationProcedure<{
|
|
4630
4639
|
input: {
|
|
@@ -4636,7 +4645,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4636
4645
|
externalId?: string | null | undefined;
|
|
4637
4646
|
}[];
|
|
4638
4647
|
output: void;
|
|
4639
|
-
meta:
|
|
4648
|
+
meta: object;
|
|
4640
4649
|
}>;
|
|
4641
4650
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
4642
4651
|
input: {
|
|
@@ -4666,15 +4675,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4666
4675
|
user: {
|
|
4667
4676
|
id: string;
|
|
4668
4677
|
type: "system";
|
|
4669
|
-
primaryOfficeId?: undefined;
|
|
4670
4678
|
signature?: undefined;
|
|
4671
|
-
|
|
4679
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4680
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4672
4681
|
} | {
|
|
4673
|
-
id: string
|
|
4682
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4674
4683
|
type: "user";
|
|
4675
4684
|
role: string;
|
|
4676
4685
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4677
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4686
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4678
4687
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4679
4688
|
};
|
|
4680
4689
|
}>;
|
|
@@ -4688,15 +4697,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4688
4697
|
user: {
|
|
4689
4698
|
id: string;
|
|
4690
4699
|
type: "system";
|
|
4691
|
-
primaryOfficeId?: undefined;
|
|
4692
4700
|
signature?: undefined;
|
|
4693
|
-
|
|
4701
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4702
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4694
4703
|
} | {
|
|
4695
|
-
id: string
|
|
4704
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4696
4705
|
type: "user";
|
|
4697
4706
|
role: string;
|
|
4698
4707
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4699
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4708
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4700
4709
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4701
4710
|
};
|
|
4702
4711
|
}>;
|
|
@@ -4719,10 +4728,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4719
4728
|
eventType?: string | undefined;
|
|
4720
4729
|
status?: {
|
|
4721
4730
|
type: "anyOf";
|
|
4722
|
-
terms: ("
|
|
4731
|
+
terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
|
|
4723
4732
|
} | {
|
|
4724
4733
|
type: "exact";
|
|
4725
|
-
term: "
|
|
4734
|
+
term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
4726
4735
|
} | undefined;
|
|
4727
4736
|
createdAt?: {
|
|
4728
4737
|
type: "exact";
|
|
@@ -4749,7 +4758,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4749
4758
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4750
4759
|
type: "within";
|
|
4751
4760
|
location: string | {
|
|
4752
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4761
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4753
4762
|
$location?: string | undefined;
|
|
4754
4763
|
};
|
|
4755
4764
|
} | undefined;
|
|
@@ -4771,7 +4780,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4771
4780
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4772
4781
|
type: "within";
|
|
4773
4782
|
location: string | {
|
|
4774
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4783
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4775
4784
|
$location?: string | undefined;
|
|
4776
4785
|
};
|
|
4777
4786
|
} | undefined;
|
|
@@ -4786,35 +4795,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4786
4795
|
createdAtLocation?: {
|
|
4787
4796
|
type: "within";
|
|
4788
4797
|
location: string | {
|
|
4789
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4798
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4799
|
+
$location?: string | undefined;
|
|
4800
|
+
};
|
|
4801
|
+
} | {
|
|
4802
|
+
type: "exact";
|
|
4803
|
+
term: string | {
|
|
4804
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4790
4805
|
$location?: string | undefined;
|
|
4791
4806
|
};
|
|
4792
4807
|
} | undefined;
|
|
4793
4808
|
updatedAtLocation?: {
|
|
4794
4809
|
type: "within";
|
|
4795
4810
|
location: string | {
|
|
4796
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4811
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4812
|
+
$location?: string | undefined;
|
|
4813
|
+
};
|
|
4814
|
+
} | {
|
|
4815
|
+
type: "exact";
|
|
4816
|
+
term: string | {
|
|
4817
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4797
4818
|
$location?: string | undefined;
|
|
4798
4819
|
};
|
|
4799
4820
|
} | undefined;
|
|
4800
4821
|
updatedByUserRole?: {
|
|
4801
4822
|
type: "exact";
|
|
4802
4823
|
term: string | {
|
|
4803
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4824
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4804
4825
|
$location?: string | undefined;
|
|
4805
4826
|
};
|
|
4806
4827
|
} | undefined;
|
|
4807
4828
|
assignedTo?: {
|
|
4808
4829
|
type: "exact";
|
|
4809
4830
|
term: string | {
|
|
4810
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4831
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4811
4832
|
$location?: string | undefined;
|
|
4812
4833
|
};
|
|
4813
4834
|
} | undefined;
|
|
4814
4835
|
createdBy?: {
|
|
4815
4836
|
type: "exact";
|
|
4816
4837
|
term: string | {
|
|
4817
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4838
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4818
4839
|
$location?: string | undefined;
|
|
4819
4840
|
};
|
|
4820
4841
|
} | undefined;
|
|
@@ -4825,7 +4846,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4825
4846
|
updatedBy?: {
|
|
4826
4847
|
type: "exact";
|
|
4827
4848
|
term: string | {
|
|
4828
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4849
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4829
4850
|
$location?: string | undefined;
|
|
4830
4851
|
};
|
|
4831
4852
|
} | undefined;
|
|
@@ -4845,10 +4866,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4845
4866
|
eventType?: string | undefined;
|
|
4846
4867
|
status?: {
|
|
4847
4868
|
type: "anyOf";
|
|
4848
|
-
terms: ("
|
|
4869
|
+
terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
|
|
4849
4870
|
} | {
|
|
4850
4871
|
type: "exact";
|
|
4851
|
-
term: "
|
|
4872
|
+
term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
4852
4873
|
} | undefined;
|
|
4853
4874
|
createdAt?: {
|
|
4854
4875
|
type: "exact";
|
|
@@ -4875,7 +4896,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4875
4896
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4876
4897
|
type: "within";
|
|
4877
4898
|
location: string | {
|
|
4878
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4899
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4879
4900
|
$location?: string | undefined;
|
|
4880
4901
|
};
|
|
4881
4902
|
} | undefined;
|
|
@@ -4897,7 +4918,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4897
4918
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4898
4919
|
type: "within";
|
|
4899
4920
|
location: string | {
|
|
4900
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4921
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4901
4922
|
$location?: string | undefined;
|
|
4902
4923
|
};
|
|
4903
4924
|
} | undefined;
|
|
@@ -4912,35 +4933,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4912
4933
|
createdAtLocation?: {
|
|
4913
4934
|
type: "within";
|
|
4914
4935
|
location: string | {
|
|
4915
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4936
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4937
|
+
$location?: string | undefined;
|
|
4938
|
+
};
|
|
4939
|
+
} | {
|
|
4940
|
+
type: "exact";
|
|
4941
|
+
term: string | {
|
|
4942
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4916
4943
|
$location?: string | undefined;
|
|
4917
4944
|
};
|
|
4918
4945
|
} | undefined;
|
|
4919
4946
|
updatedAtLocation?: {
|
|
4920
4947
|
type: "within";
|
|
4921
4948
|
location: string | {
|
|
4922
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4949
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4950
|
+
$location?: string | undefined;
|
|
4951
|
+
};
|
|
4952
|
+
} | {
|
|
4953
|
+
type: "exact";
|
|
4954
|
+
term: string | {
|
|
4955
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4923
4956
|
$location?: string | undefined;
|
|
4924
4957
|
};
|
|
4925
4958
|
} | undefined;
|
|
4926
4959
|
updatedByUserRole?: {
|
|
4927
4960
|
type: "exact";
|
|
4928
4961
|
term: string | {
|
|
4929
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4962
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4930
4963
|
$location?: string | undefined;
|
|
4931
4964
|
};
|
|
4932
4965
|
} | undefined;
|
|
4933
4966
|
assignedTo?: {
|
|
4934
4967
|
type: "exact";
|
|
4935
4968
|
term: string | {
|
|
4936
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4969
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4937
4970
|
$location?: string | undefined;
|
|
4938
4971
|
};
|
|
4939
4972
|
} | undefined;
|
|
4940
4973
|
createdBy?: {
|
|
4941
4974
|
type: "exact";
|
|
4942
4975
|
term: string | {
|
|
4943
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4976
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4944
4977
|
$location?: string | undefined;
|
|
4945
4978
|
};
|
|
4946
4979
|
} | undefined;
|
|
@@ -4951,7 +4984,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4951
4984
|
updatedBy?: {
|
|
4952
4985
|
type: "exact";
|
|
4953
4986
|
term: string | {
|
|
4954
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4987
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4955
4988
|
$location?: string | undefined;
|
|
4956
4989
|
};
|
|
4957
4990
|
} | undefined;
|
|
@@ -5004,15 +5037,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5004
5037
|
user: {
|
|
5005
5038
|
id: string;
|
|
5006
5039
|
type: "system";
|
|
5007
|
-
primaryOfficeId?: undefined;
|
|
5008
5040
|
signature?: undefined;
|
|
5009
|
-
|
|
5041
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5042
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5010
5043
|
} | {
|
|
5011
|
-
id: string
|
|
5044
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5012
5045
|
type: "user";
|
|
5013
5046
|
role: string;
|
|
5014
5047
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5015
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5048
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5016
5049
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5017
5050
|
};
|
|
5018
5051
|
}>;
|
|
@@ -5043,7 +5076,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5043
5076
|
externalId?: string | null | undefined;
|
|
5044
5077
|
}[];
|
|
5045
5078
|
output: void;
|
|
5046
|
-
meta:
|
|
5079
|
+
meta: object;
|
|
5047
5080
|
}>;
|
|
5048
5081
|
}>>;
|
|
5049
5082
|
integrations: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -5052,15 +5085,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5052
5085
|
user: {
|
|
5053
5086
|
id: string;
|
|
5054
5087
|
type: "system";
|
|
5055
|
-
primaryOfficeId?: undefined;
|
|
5056
5088
|
signature?: undefined;
|
|
5057
|
-
|
|
5089
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5090
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5058
5091
|
} | {
|
|
5059
|
-
id: string
|
|
5092
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5060
5093
|
type: "user";
|
|
5061
5094
|
role: string;
|
|
5062
5095
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5063
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5096
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5064
5097
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5065
5098
|
};
|
|
5066
5099
|
}>;
|
|
@@ -5170,15 +5203,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5170
5203
|
user: {
|
|
5171
5204
|
id: string;
|
|
5172
5205
|
type: "system";
|
|
5173
|
-
primaryOfficeId?: undefined;
|
|
5174
5206
|
signature?: undefined;
|
|
5175
|
-
|
|
5207
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5208
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5176
5209
|
} | {
|
|
5177
|
-
id: string
|
|
5210
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5178
5211
|
type: "user";
|
|
5179
5212
|
role: string;
|
|
5180
5213
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5181
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5214
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5182
5215
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5183
5216
|
};
|
|
5184
5217
|
}>;
|
|
@@ -5205,15 +5238,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5205
5238
|
user: {
|
|
5206
5239
|
id: string;
|
|
5207
5240
|
type: "system";
|
|
5208
|
-
primaryOfficeId?: undefined;
|
|
5209
5241
|
signature?: undefined;
|
|
5210
|
-
|
|
5242
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5243
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5211
5244
|
} | {
|
|
5212
|
-
id: string
|
|
5245
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5213
5246
|
type: "user";
|
|
5214
5247
|
role: string;
|
|
5215
5248
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5216
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5249
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5217
5250
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5218
5251
|
};
|
|
5219
5252
|
}>;
|