@opencrvs/toolkit 2.1.2 → 2.2.0-rc.19ec10b
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 +9 -14
- package/create-countryconfig/package.json +1 -1
- package/dist/application-config/index.js +57 -14
- package/dist/authentication/index.d.ts +2 -1
- package/dist/authentication/index.js +34 -14
- package/dist/cli.js +1491 -2020
- package/dist/commons/api/router.d.ts +1564 -248
- package/dist/commons/application-config/index.d.ts +3 -3
- package/dist/commons/conditionals/conditionals.d.ts +58 -7
- package/dist/commons/conditionals/index.d.ts +1 -0
- package/dist/commons/conditionals/validate.d.ts +6 -1
- package/dist/commons/events/ActionConfig.d.ts +146 -20
- package/dist/commons/events/ActionDocument.d.ts +89 -0
- package/dist/commons/events/ActionInput.d.ts +56 -4
- package/dist/commons/events/ActionStatus.d.ts +2 -2
- package/dist/commons/events/ActionType.d.ts +13 -1
- package/dist/commons/events/AdvancedSearchConfig.d.ts +15 -0
- package/dist/commons/events/AuditLog.d.ts +4 -0
- package/dist/commons/events/CompositeFieldValue.d.ts +5 -1
- package/dist/commons/events/CountryConfigQueryInput.d.ts +192 -18
- package/dist/commons/events/Draft.d.ts +36 -1
- package/dist/commons/events/EventConfig.d.ts +473 -6
- package/dist/commons/events/EventDocument.d.ts +90 -0
- package/dist/commons/events/EventIndex.d.ts +44 -6
- package/dist/commons/events/EventInput.d.ts +1 -0
- package/dist/commons/events/EventMetadata.d.ts +24 -1
- package/dist/commons/events/EventStatus.d.ts +1 -0
- package/dist/commons/events/FieldConfig.d.ts +11 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +17 -17
- package/dist/commons/events/Flag.d.ts +1 -7
- package/dist/commons/events/PlainDate.d.ts +6 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +224 -33
- package/dist/commons/events/defineConfig.d.ts +7 -2
- package/dist/commons/events/event.d.ts +20 -1
- package/dist/commons/events/eventConfigValidation.d.ts +26 -1
- package/dist/commons/events/field.d.ts +37 -0
- package/dist/commons/events/index.d.ts +3 -0
- package/dist/commons/events/locations.d.ts +1 -1
- package/dist/commons/events/scopes.d.ts +4 -1
- package/dist/commons/events/state/flags.d.ts +1 -1
- package/dist/commons/events/state/index.d.ts +11 -2
- package/dist/commons/events/state/utils.d.ts +11 -1
- package/dist/commons/events/test.utils.d.ts +89 -7
- package/dist/commons/events/toNotificationForm.d.ts +17 -0
- package/dist/commons/events/utils.d.ts +90 -10
- package/dist/commons/users/Role.d.ts +23 -0
- package/dist/commons/users/User.d.ts +263 -0
- package/dist/commons/users/authentication.d.ts +67 -0
- package/dist/commons/users/index.d.ts +5 -0
- package/dist/commons/users/roleValidations.d.ts +15 -0
- package/dist/commons/users/scopes.d.ts +1402 -0
- package/dist/commons/users/userReferences.d.ts +176 -0
- package/dist/conditionals/index.js +29 -9
- package/dist/environment/custom-types.d.ts +1 -0
- package/dist/environment/custom-types.d.ts.map +1 -1
- package/dist/environment/derived-variables.d.ts +24 -4
- package/dist/environment/derived-variables.d.ts.map +1 -1
- package/dist/environment/derived-variables.js +27 -4
- package/dist/environment/questions.d.ts +42 -9
- package/dist/environment/questions.d.ts.map +1 -1
- package/dist/environment/questions.js +71 -48
- package/dist/environment/registry.d.ts +15 -0
- package/dist/environment/registry.d.ts.map +1 -0
- package/dist/environment/registry.js +112 -0
- package/dist/environment/setup-environment.d.ts.map +1 -1
- package/dist/environment/setup-environment.js +165 -35
- package/dist/environment/templates.d.ts.map +1 -1
- package/dist/events/index.js +2050 -1156
- package/dist/migrations/add-notify-config.d.ts +40 -0
- package/dist/migrations/add-notify-config.d.ts.map +1 -0
- package/dist/migrations/add-notify-config.js +249 -0
- package/dist/migrations/index.d.ts +9 -0
- package/dist/migrations/index.d.ts.map +1 -0
- package/dist/migrations/index.js +1306 -0
- package/dist/migrations/move-declaration-to-declare-action.d.ts +38 -0
- package/dist/migrations/move-declaration-to-declare-action.d.ts.map +1 -0
- package/dist/migrations/move-declaration-to-declare-action.js +260 -0
- package/dist/migrations/{v2.1 → persistent}/add-translations.d.ts +7 -1
- package/dist/migrations/persistent/add-translations.d.ts.map +1 -0
- package/dist/migrations/{v2.1 → persistent}/add-translations.js +14 -12
- package/dist/migrations/persistent/check-upgrade-path.d.ts +36 -0
- package/dist/migrations/persistent/check-upgrade-path.d.ts.map +1 -0
- package/dist/migrations/persistent/check-upgrade-path.js +105 -0
- package/dist/migrations/persistent/update-toolkit-dependency.d.ts +7 -0
- package/dist/migrations/persistent/update-toolkit-dependency.d.ts.map +1 -0
- package/dist/migrations/persistent/update-toolkit-dependency.js +77 -0
- package/dist/migrations/read-declaration-through-helper.d.ts +39 -0
- package/dist/migrations/read-declaration-through-helper.d.ts.map +1 -0
- package/dist/migrations/read-declaration-through-helper.js +199 -0
- package/dist/migrations/replace-incomplete-flag.d.ts +26 -0
- package/dist/migrations/replace-incomplete-flag.d.ts.map +1 -0
- package/dist/migrations/replace-incomplete-flag.js +126 -0
- package/dist/migrations/resolve-versioned-event-config.d.ts +56 -0
- package/dist/migrations/resolve-versioned-event-config.d.ts.map +1 -0
- package/dist/migrations/resolve-versioned-event-config.js +353 -0
- package/dist/migrations/utils.d.ts +61 -0
- package/dist/migrations/utils.d.ts.map +1 -0
- package/dist/migrations/utils.js +218 -0
- package/dist/notification/index.js +1081 -209
- package/dist/roles/index.d.ts +2 -0
- package/dist/roles/index.d.ts.map +1 -0
- package/dist/roles/index.js +730 -0
- package/dist/scopes/index.d.ts +83 -100
- package/dist/scopes/index.js +29 -13
- package/dist/templates/charts-values/dependencies/values.yaml +6 -3
- package/dist/templates/charts-values/opencrvs-services/values.yaml +5 -10
- package/dist/templates/charts-values/traefik/values.yaml +4 -3
- package/dist/verify/endpoints.d.ts +11 -0
- package/dist/verify/endpoints.d.ts.map +1 -1
- package/dist/verify/endpoints.js +21 -27
- package/opencrvs-toolkit-2.2.0-rc.19ec10b.tgz +0 -0
- package/package.json +5 -3
- package/tsconfig.build.tsbuildinfo +1 -1
- package/tsconfig.json +3 -5
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts +0 -3
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts.map +0 -1
- package/dist/migrations/v2.1/add-explicit-correction-flags.js +0 -234
- package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts +0 -3
- package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts.map +0 -1
- package/dist/migrations/v2.1/add-recovery-link-notifications.js +0 -511
- package/dist/migrations/v2.1/add-translations.d.ts.map +0 -1
- package/dist/migrations/v2.1/enable-telemetry.d.ts +0 -3
- package/dist/migrations/v2.1/enable-telemetry.d.ts.map +0 -1
- package/dist/migrations/v2.1/enable-telemetry.js +0 -455
- package/dist/migrations/v2.1/index.d.ts +0 -6
- package/dist/migrations/v2.1/index.d.ts.map +0 -1
- package/dist/migrations/v2.1/index.js +0 -2170
- package/dist/migrations/v2.1/migrate-infrastructure-to-assets.d.ts +0 -14
- package/dist/migrations/v2.1/migrate-infrastructure-to-assets.d.ts.map +0 -1
- package/dist/migrations/v2.1/migrate-infrastructure-to-assets.js +0 -348
- package/dist/migrations/v2.1/remove-metabase-package-installs.d.ts +0 -2
- package/dist/migrations/v2.1/remove-metabase-package-installs.d.ts.map +0 -1
- package/dist/migrations/v2.1/remove-metabase-package-installs.js +0 -161
- package/dist/migrations/v2.1/remove-sentry.d.ts +0 -3
- package/dist/migrations/v2.1/remove-sentry.d.ts.map +0 -1
- package/dist/migrations/v2.1/remove-sentry.js +0 -354
- package/dist/migrations/v2.1/rename-trigger-paths.d.ts +0 -3
- package/dist/migrations/v2.1/rename-trigger-paths.d.ts.map +0 -1
- package/dist/migrations/v2.1/rename-trigger-paths.js +0 -216
- package/dist/migrations/v2.1/template-files.d.ts +0 -8
- package/dist/migrations/v2.1/template-files.d.ts.map +0 -1
- package/dist/migrations/v2.1/template-files.js +0 -49
- package/dist/migrations/v2.1/upgrade-tilt.d.ts +0 -8
- package/dist/migrations/v2.1/upgrade-tilt.d.ts.map +0 -1
- package/dist/migrations/v2.1/upgrade-tilt.js +0 -139
- package/dist/templates/countryconfig-template/.tiltignore +0 -1
- package/dist/templates/countryconfig-template/Dockerfile.assets +0 -7
- package/dist/templates/countryconfig-template/Tiltfile +0 -112
- package/dist/templates/countryconfig-template/assets/README.md +0 -1
- package/dist/templates/countryconfig-template/assets/clear-all-data-dev.sh +0 -61
- package/dist/templates/countryconfig-template/assets/deployment/deploy.sh +0 -455
- package/dist/templates/countryconfig-template/assets/deployment/reindex.sh +0 -168
- package/dist/templates/countryconfig-template/assets/deployment/validate-required-variables-in-compose-files.ts +0 -67
- package/dist/templates/countryconfig-template/assets/elasticsearch/reindex.sh +0 -168
- package/dist/templates/countryconfig-template/assets/metabase/README.md +0 -34
- package/dist/templates/countryconfig-template/assets/metabase/environment-configuration.sql +0 -36
- package/dist/templates/countryconfig-template/assets/metabase/initialize-database.sh +0 -46
- package/dist/templates/countryconfig-template/assets/metabase/metabase.init.db.sql +0 -27737
- package/dist/templates/countryconfig-template/assets/metabase/open-shell.sh +0 -21
- package/dist/templates/countryconfig-template/assets/metabase/package.json +0 -13
- package/dist/templates/countryconfig-template/assets/metabase/run-dev.sh +0 -108
- package/dist/templates/countryconfig-template/assets/metabase/run.sh +0 -120
- package/dist/templates/countryconfig-template/assets/metabase/update-database.sh +0 -40
- package/dist/templates/countryconfig-template/assets/postgres/setup-analytics.sh +0 -135
- package/dist/templates/countryconfig-template/assets/postgres/setup-reference-data.sh +0 -108
- package/dist/templates/countryconfig-template/tilt/clear-all-data.ps1 +0 -50
- package/dist/templates/countryconfig-template/tilt/clear-all-data.sh +0 -35
- package/dist/templates/countryconfig-template/tilt/common.tilt +0 -145
- package/dist/templates/countryconfig-template/tilt/examples/dependencies/values.yaml +0 -15
- package/dist/templates/countryconfig-template/tilt/examples/opencrvs-services/values.yaml +0 -56
- package/dist/templates/countryconfig-template/tilt/examples/traefik/values-minikube.yaml +0 -21
- package/dist/templates/countryconfig-template/tilt/examples/traefik/values.yaml +0 -38
- package/dist/templates/countryconfig-template/tilt/helm/dependencies/values.yaml +0 -17
- package/dist/templates/countryconfig-template/tilt/helm/opencrvs-services/values.yaml +0 -16
- package/dist/templates/countryconfig-template/tilt/lib.tilt +0 -95
- package/dist/templates/countryconfig-template/tilt/opencrvs.tilt +0 -136
- package/opencrvs-toolkit-2.1.2.tgz +0 -0
|
@@ -2,18 +2,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2
2
|
ctx: Partial<{
|
|
3
3
|
token: `Bearer ${string}`;
|
|
4
4
|
user: {
|
|
5
|
+
id: string & import("zod").$brand<"UUID">;
|
|
6
|
+
type: "system";
|
|
7
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9
|
+
signature?: undefined;
|
|
10
|
+
} | {
|
|
5
11
|
id: string & import("zod").$brand<"UUID">;
|
|
6
12
|
role: string;
|
|
7
13
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8
14
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
9
15
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
10
16
|
type: "user";
|
|
11
|
-
} | {
|
|
12
|
-
id: string & import("zod").$brand<"UUID">;
|
|
13
|
-
type: "system";
|
|
14
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
15
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
16
|
-
signature?: undefined;
|
|
17
17
|
};
|
|
18
18
|
}>;
|
|
19
19
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -24,18 +24,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
24
24
|
ctx: Partial<{
|
|
25
25
|
token: `Bearer ${string}`;
|
|
26
26
|
user: {
|
|
27
|
+
id: string & import("zod").$brand<"UUID">;
|
|
28
|
+
type: "system";
|
|
29
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
30
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
31
|
+
signature?: undefined;
|
|
32
|
+
} | {
|
|
27
33
|
id: string & import("zod").$brand<"UUID">;
|
|
28
34
|
role: string;
|
|
29
35
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
30
36
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
31
37
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
32
38
|
type: "user";
|
|
33
|
-
} | {
|
|
34
|
-
id: string & import("zod").$brand<"UUID">;
|
|
35
|
-
type: "system";
|
|
36
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
37
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
38
|
-
signature?: undefined;
|
|
39
39
|
};
|
|
40
40
|
}>;
|
|
41
41
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -46,18 +46,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
46
46
|
ctx: Partial<{
|
|
47
47
|
token: `Bearer ${string}`;
|
|
48
48
|
user: {
|
|
49
|
+
id: string & import("zod").$brand<"UUID">;
|
|
50
|
+
type: "system";
|
|
51
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
52
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
53
|
+
signature?: undefined;
|
|
54
|
+
} | {
|
|
49
55
|
id: string & import("zod").$brand<"UUID">;
|
|
50
56
|
role: string;
|
|
51
57
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
52
58
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
53
59
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
54
60
|
type: "user";
|
|
55
|
-
} | {
|
|
56
|
-
id: string & import("zod").$brand<"UUID">;
|
|
57
|
-
type: "system";
|
|
58
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
59
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
60
|
-
signature?: undefined;
|
|
61
61
|
};
|
|
62
62
|
}>;
|
|
63
63
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -94,18 +94,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
94
94
|
ctx: Partial<{
|
|
95
95
|
token: `Bearer ${string}`;
|
|
96
96
|
user: {
|
|
97
|
+
id: string & import("zod").$brand<"UUID">;
|
|
98
|
+
type: "system";
|
|
99
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
100
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
101
|
+
signature?: undefined;
|
|
102
|
+
} | {
|
|
97
103
|
id: string & import("zod").$brand<"UUID">;
|
|
98
104
|
role: string;
|
|
99
105
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
100
106
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
101
107
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
102
108
|
type: "user";
|
|
103
|
-
} | {
|
|
104
|
-
id: string & import("zod").$brand<"UUID">;
|
|
105
|
-
type: "system";
|
|
106
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
107
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
108
|
-
signature?: undefined;
|
|
109
109
|
};
|
|
110
110
|
}>;
|
|
111
111
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -114,7 +114,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
114
114
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
115
115
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
116
116
|
input: void;
|
|
117
|
-
output: import("../commons").
|
|
117
|
+
output: import("../commons").VersionedEventConfig[];
|
|
118
118
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
119
119
|
}>;
|
|
120
120
|
}>>;
|
|
@@ -123,6 +123,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
123
123
|
transactionId: string;
|
|
124
124
|
type: string;
|
|
125
125
|
createdAtLocation?: string | null | undefined;
|
|
126
|
+
configVersionId?: string | undefined;
|
|
126
127
|
};
|
|
127
128
|
output: {
|
|
128
129
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -242,6 +243,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
242
243
|
status: "Accepted" | "Rejected" | "Requested";
|
|
243
244
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
244
245
|
type: "UNARCHIVE";
|
|
246
|
+
} | {
|
|
247
|
+
id: string & import("zod").$brand<"UUID">;
|
|
248
|
+
transactionId: string;
|
|
249
|
+
createdByUserType: "system" | "user";
|
|
250
|
+
createdAt: string;
|
|
251
|
+
createdBy: string;
|
|
252
|
+
createdByRole?: string | undefined;
|
|
253
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
254
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
255
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
256
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
257
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
258
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
259
|
+
type: "REVOKE_REGISTRATION";
|
|
260
|
+
} | {
|
|
261
|
+
id: string & import("zod").$brand<"UUID">;
|
|
262
|
+
transactionId: string;
|
|
263
|
+
createdByUserType: "system" | "user";
|
|
264
|
+
createdAt: string;
|
|
265
|
+
createdBy: string;
|
|
266
|
+
createdByRole?: string | undefined;
|
|
267
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
268
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
269
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
270
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
271
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
272
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
273
|
+
type: "REINSTATE_REGISTRATION";
|
|
245
274
|
} | {
|
|
246
275
|
id: string & import("zod").$brand<"UUID">;
|
|
247
276
|
transactionId: string;
|
|
@@ -437,10 +466,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
437
466
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
438
467
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
439
468
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
440
|
-
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
469
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
441
470
|
status: "Rejected";
|
|
442
471
|
})[];
|
|
443
472
|
trackingId: string;
|
|
473
|
+
configVersionId: string;
|
|
444
474
|
};
|
|
445
475
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
446
476
|
}>;
|
|
@@ -567,6 +597,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
567
597
|
status: "Accepted" | "Rejected" | "Requested";
|
|
568
598
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
569
599
|
type: "UNARCHIVE";
|
|
600
|
+
} | {
|
|
601
|
+
id: string & import("zod").$brand<"UUID">;
|
|
602
|
+
transactionId: string;
|
|
603
|
+
createdByUserType: "system" | "user";
|
|
604
|
+
createdAt: string;
|
|
605
|
+
createdBy: string;
|
|
606
|
+
createdByRole?: string | undefined;
|
|
607
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
608
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
609
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
610
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
611
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
612
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
613
|
+
type: "REVOKE_REGISTRATION";
|
|
614
|
+
} | {
|
|
615
|
+
id: string & import("zod").$brand<"UUID">;
|
|
616
|
+
transactionId: string;
|
|
617
|
+
createdByUserType: "system" | "user";
|
|
618
|
+
createdAt: string;
|
|
619
|
+
createdBy: string;
|
|
620
|
+
createdByRole?: string | undefined;
|
|
621
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
622
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
623
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
624
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
625
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
626
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
627
|
+
type: "REINSTATE_REGISTRATION";
|
|
570
628
|
} | {
|
|
571
629
|
id: string & import("zod").$brand<"UUID">;
|
|
572
630
|
transactionId: string;
|
|
@@ -762,10 +820,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
762
820
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
763
821
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
764
822
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
765
|
-
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
823
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
766
824
|
status: "Rejected";
|
|
767
825
|
})[];
|
|
768
826
|
trackingId: string;
|
|
827
|
+
configVersionId: string;
|
|
769
828
|
};
|
|
770
829
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
771
830
|
}>;
|
|
@@ -892,6 +951,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
892
951
|
status: "Accepted" | "Rejected" | "Requested";
|
|
893
952
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
894
953
|
type: "UNARCHIVE";
|
|
954
|
+
} | {
|
|
955
|
+
id: string & import("zod").$brand<"UUID">;
|
|
956
|
+
transactionId: string;
|
|
957
|
+
createdByUserType: "system" | "user";
|
|
958
|
+
createdAt: string;
|
|
959
|
+
createdBy: string;
|
|
960
|
+
createdByRole?: string | undefined;
|
|
961
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
962
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
963
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
964
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
965
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
966
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
967
|
+
type: "REVOKE_REGISTRATION";
|
|
968
|
+
} | {
|
|
969
|
+
id: string & import("zod").$brand<"UUID">;
|
|
970
|
+
transactionId: string;
|
|
971
|
+
createdByUserType: "system" | "user";
|
|
972
|
+
createdAt: string;
|
|
973
|
+
createdBy: string;
|
|
974
|
+
createdByRole?: string | undefined;
|
|
975
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
976
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
977
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
978
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
979
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
980
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
981
|
+
type: "REINSTATE_REGISTRATION";
|
|
895
982
|
} | {
|
|
896
983
|
id: string & import("zod").$brand<"UUID">;
|
|
897
984
|
transactionId: string;
|
|
@@ -1087,10 +1174,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1087
1174
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1088
1175
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1089
1176
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1090
|
-
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
1177
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
1091
1178
|
status: "Rejected";
|
|
1092
1179
|
})[];
|
|
1093
1180
|
trackingId: string;
|
|
1181
|
+
configVersionId: string;
|
|
1094
1182
|
}[];
|
|
1095
1183
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
1096
1184
|
}>;
|
|
@@ -1107,18 +1195,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1107
1195
|
ctx: Partial<{
|
|
1108
1196
|
token: `Bearer ${string}`;
|
|
1109
1197
|
user: {
|
|
1198
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1199
|
+
type: "system";
|
|
1200
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1201
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1202
|
+
signature?: undefined;
|
|
1203
|
+
} | {
|
|
1110
1204
|
id: string & import("zod").$brand<"UUID">;
|
|
1111
1205
|
role: string;
|
|
1112
1206
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1113
1207
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1114
1208
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1115
1209
|
type: "user";
|
|
1116
|
-
} | {
|
|
1117
|
-
id: string & import("zod").$brand<"UUID">;
|
|
1118
|
-
type: "system";
|
|
1119
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1120
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1121
|
-
signature?: undefined;
|
|
1122
1210
|
};
|
|
1123
1211
|
}>;
|
|
1124
1212
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -1143,7 +1231,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1143
1231
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1144
1232
|
status: "Accepted" | "Rejected" | "Requested";
|
|
1145
1233
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1146
|
-
type: "
|
|
1234
|
+
type: "DECLARE" | "NOTIFY";
|
|
1147
1235
|
};
|
|
1148
1236
|
}[];
|
|
1149
1237
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -1159,7 +1247,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1159
1247
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1160
1248
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1161
1249
|
createdAtLocation?: string | null | undefined;
|
|
1162
|
-
type: "DECLARE";
|
|
1250
|
+
type: "DECLARE" | "NOTIFY";
|
|
1163
1251
|
status: "Accepted" | "Rejected" | "Requested";
|
|
1164
1252
|
};
|
|
1165
1253
|
output: {
|
|
@@ -1178,7 +1266,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1178
1266
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1179
1267
|
status: "Accepted" | "Rejected" | "Requested";
|
|
1180
1268
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1181
|
-
type: "
|
|
1269
|
+
type: "DECLARE" | "NOTIFY";
|
|
1182
1270
|
};
|
|
1183
1271
|
};
|
|
1184
1272
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -1188,18 +1276,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1188
1276
|
ctx: Partial<{
|
|
1189
1277
|
token: `Bearer ${string}`;
|
|
1190
1278
|
user: {
|
|
1279
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1280
|
+
type: "system";
|
|
1281
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1282
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1283
|
+
signature?: undefined;
|
|
1284
|
+
} | {
|
|
1191
1285
|
id: string & import("zod").$brand<"UUID">;
|
|
1192
1286
|
role: string;
|
|
1193
1287
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1194
1288
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1195
1289
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1196
1290
|
type: "user";
|
|
1197
|
-
} | {
|
|
1198
|
-
id: string & import("zod").$brand<"UUID">;
|
|
1199
|
-
type: "system";
|
|
1200
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1201
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1202
|
-
signature?: undefined;
|
|
1203
1291
|
};
|
|
1204
1292
|
}>;
|
|
1205
1293
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -1220,18 +1308,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1220
1308
|
ctx: Partial<{
|
|
1221
1309
|
token: `Bearer ${string}`;
|
|
1222
1310
|
user: {
|
|
1311
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1312
|
+
type: "system";
|
|
1313
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1314
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1315
|
+
signature?: undefined;
|
|
1316
|
+
} | {
|
|
1223
1317
|
id: string & import("zod").$brand<"UUID">;
|
|
1224
1318
|
role: string;
|
|
1225
1319
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1226
1320
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1227
1321
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1228
1322
|
type: "user";
|
|
1229
|
-
} | {
|
|
1230
|
-
id: string & import("zod").$brand<"UUID">;
|
|
1231
|
-
type: "system";
|
|
1232
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1233
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1234
|
-
signature?: undefined;
|
|
1235
1323
|
};
|
|
1236
1324
|
}>;
|
|
1237
1325
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -1242,18 +1330,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1242
1330
|
ctx: Partial<{
|
|
1243
1331
|
token: `Bearer ${string}`;
|
|
1244
1332
|
user: {
|
|
1333
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1334
|
+
type: "system";
|
|
1335
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1336
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1337
|
+
signature?: undefined;
|
|
1338
|
+
} | {
|
|
1245
1339
|
id: string & import("zod").$brand<"UUID">;
|
|
1246
1340
|
role: string;
|
|
1247
1341
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1248
1342
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1249
1343
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1250
1344
|
type: "user";
|
|
1251
|
-
} | {
|
|
1252
|
-
id: string & import("zod").$brand<"UUID">;
|
|
1253
|
-
type: "system";
|
|
1254
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1255
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1256
|
-
signature?: undefined;
|
|
1257
1345
|
};
|
|
1258
1346
|
}>;
|
|
1259
1347
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -1294,14 +1382,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1294
1382
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1295
1383
|
eventId: string;
|
|
1296
1384
|
transactionId: string;
|
|
1297
|
-
declaration?: Record<string, unknown> | undefined;
|
|
1298
|
-
annotation?: Record<string, unknown> | undefined;
|
|
1299
1385
|
originalActionId?: string | undefined;
|
|
1300
1386
|
keepAssignment?: boolean | undefined;
|
|
1301
1387
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1302
1388
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1303
1389
|
waitFor?: boolean | undefined;
|
|
1304
1390
|
type?: "NOTIFY" | undefined;
|
|
1391
|
+
declaration?: Record<string, unknown> | undefined;
|
|
1392
|
+
annotation?: Record<string, unknown> | undefined;
|
|
1305
1393
|
createdAtLocation?: string | null | undefined;
|
|
1306
1394
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1307
1395
|
eventId: string;
|
|
@@ -1402,6 +1490,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1402
1490
|
waitFor?: boolean | undefined;
|
|
1403
1491
|
createdAtLocation?: string | null | undefined;
|
|
1404
1492
|
type?: "UNARCHIVE" | undefined;
|
|
1493
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1494
|
+
eventId: string;
|
|
1495
|
+
transactionId: string;
|
|
1496
|
+
declaration?: Record<string, unknown> | undefined;
|
|
1497
|
+
annotation?: Record<string, unknown> | undefined;
|
|
1498
|
+
originalActionId?: string | undefined;
|
|
1499
|
+
keepAssignment?: boolean | undefined;
|
|
1500
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1501
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
1502
|
+
waitFor?: boolean | undefined;
|
|
1503
|
+
createdAtLocation?: string | null | undefined;
|
|
1504
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
1505
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1506
|
+
eventId: string;
|
|
1507
|
+
transactionId: string;
|
|
1508
|
+
declaration?: Record<string, unknown> | undefined;
|
|
1509
|
+
annotation?: Record<string, unknown> | undefined;
|
|
1510
|
+
originalActionId?: string | undefined;
|
|
1511
|
+
keepAssignment?: boolean | undefined;
|
|
1512
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1513
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
1514
|
+
waitFor?: boolean | undefined;
|
|
1515
|
+
createdAtLocation?: string | null | undefined;
|
|
1516
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
1405
1517
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1406
1518
|
eventId: string;
|
|
1407
1519
|
transactionId: string;
|
|
@@ -1546,18 +1658,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1546
1658
|
ctx: Partial<{
|
|
1547
1659
|
token: `Bearer ${string}`;
|
|
1548
1660
|
user: {
|
|
1661
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1662
|
+
type: "system";
|
|
1663
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1664
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1665
|
+
signature?: undefined;
|
|
1666
|
+
} | {
|
|
1549
1667
|
id: string & import("zod").$brand<"UUID">;
|
|
1550
1668
|
role: string;
|
|
1551
1669
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1552
1670
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1553
1671
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1554
1672
|
type: "user";
|
|
1555
|
-
} | {
|
|
1556
|
-
id: string & import("zod").$brand<"UUID">;
|
|
1557
|
-
type: "system";
|
|
1558
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1559
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1560
|
-
signature?: undefined;
|
|
1561
1673
|
};
|
|
1562
1674
|
}>;
|
|
1563
1675
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -1567,13 +1679,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1567
1679
|
request: import("@trpc/server").TRPCMutationProcedure<{
|
|
1568
1680
|
input: {
|
|
1569
1681
|
transactionId: string;
|
|
1570
|
-
declaration?: Record<string, unknown> | undefined;
|
|
1571
|
-
annotation?: Record<string, unknown> | undefined;
|
|
1572
1682
|
originalActionId?: string | undefined;
|
|
1573
1683
|
keepAssignment?: boolean | undefined;
|
|
1574
1684
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1575
1685
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1576
1686
|
waitFor?: boolean | undefined;
|
|
1687
|
+
declaration?: Record<string, unknown> | undefined;
|
|
1688
|
+
annotation?: Record<string, unknown> | undefined;
|
|
1577
1689
|
eventType: string;
|
|
1578
1690
|
createdAtLocation: string;
|
|
1579
1691
|
};
|
|
@@ -1695,6 +1807,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1695
1807
|
status: "Accepted" | "Rejected" | "Requested";
|
|
1696
1808
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1697
1809
|
type: "UNARCHIVE";
|
|
1810
|
+
} | {
|
|
1811
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1812
|
+
transactionId: string;
|
|
1813
|
+
createdByUserType: "system" | "user";
|
|
1814
|
+
createdAt: string;
|
|
1815
|
+
createdBy: string;
|
|
1816
|
+
createdByRole?: string | undefined;
|
|
1817
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1818
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1819
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1820
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1821
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
1822
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1823
|
+
type: "REVOKE_REGISTRATION";
|
|
1824
|
+
} | {
|
|
1825
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1826
|
+
transactionId: string;
|
|
1827
|
+
createdByUserType: "system" | "user";
|
|
1828
|
+
createdAt: string;
|
|
1829
|
+
createdBy: string;
|
|
1830
|
+
createdByRole?: string | undefined;
|
|
1831
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1832
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1833
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1834
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1835
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
1836
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1837
|
+
type: "REINSTATE_REGISTRATION";
|
|
1698
1838
|
} | {
|
|
1699
1839
|
id: string & import("zod").$brand<"UUID">;
|
|
1700
1840
|
transactionId: string;
|
|
@@ -1890,10 +2030,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1890
2030
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1891
2031
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1892
2032
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1893
|
-
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
2033
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
1894
2034
|
status: "Rejected";
|
|
1895
2035
|
})[];
|
|
1896
2036
|
trackingId: string;
|
|
2037
|
+
configVersionId: string;
|
|
1897
2038
|
};
|
|
1898
2039
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
1899
2040
|
}>;
|
|
@@ -1902,18 +2043,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1902
2043
|
ctx: Partial<{
|
|
1903
2044
|
token: `Bearer ${string}`;
|
|
1904
2045
|
user: {
|
|
2046
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2047
|
+
type: "system";
|
|
2048
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2049
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2050
|
+
signature?: undefined;
|
|
2051
|
+
} | {
|
|
1905
2052
|
id: string & import("zod").$brand<"UUID">;
|
|
1906
2053
|
role: string;
|
|
1907
2054
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1908
2055
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1909
2056
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1910
2057
|
type: "user";
|
|
1911
|
-
} | {
|
|
1912
|
-
id: string & import("zod").$brand<"UUID">;
|
|
1913
|
-
type: "system";
|
|
1914
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1915
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1916
|
-
signature?: undefined;
|
|
1917
2058
|
};
|
|
1918
2059
|
}>;
|
|
1919
2060
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -1949,14 +2090,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1949
2090
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1950
2091
|
eventId: string;
|
|
1951
2092
|
transactionId: string;
|
|
1952
|
-
declaration?: Record<string, unknown> | undefined;
|
|
1953
|
-
annotation?: Record<string, unknown> | undefined;
|
|
1954
2093
|
originalActionId?: string | undefined;
|
|
1955
2094
|
keepAssignment?: boolean | undefined;
|
|
1956
2095
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1957
2096
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1958
2097
|
waitFor?: boolean | undefined;
|
|
1959
2098
|
type?: "NOTIFY" | undefined;
|
|
2099
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2100
|
+
annotation?: Record<string, unknown> | undefined;
|
|
1960
2101
|
createdAtLocation?: string | null | undefined;
|
|
1961
2102
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1962
2103
|
eventId: string;
|
|
@@ -2057,6 +2198,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2057
2198
|
waitFor?: boolean | undefined;
|
|
2058
2199
|
createdAtLocation?: string | null | undefined;
|
|
2059
2200
|
type?: "UNARCHIVE" | undefined;
|
|
2201
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2202
|
+
eventId: string;
|
|
2203
|
+
transactionId: string;
|
|
2204
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2205
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2206
|
+
originalActionId?: string | undefined;
|
|
2207
|
+
keepAssignment?: boolean | undefined;
|
|
2208
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2209
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2210
|
+
waitFor?: boolean | undefined;
|
|
2211
|
+
createdAtLocation?: string | null | undefined;
|
|
2212
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
2213
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2214
|
+
eventId: string;
|
|
2215
|
+
transactionId: string;
|
|
2216
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2217
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2218
|
+
originalActionId?: string | undefined;
|
|
2219
|
+
keepAssignment?: boolean | undefined;
|
|
2220
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2221
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2222
|
+
waitFor?: boolean | undefined;
|
|
2223
|
+
createdAtLocation?: string | null | undefined;
|
|
2224
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
2060
2225
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2061
2226
|
eventId: string;
|
|
2062
2227
|
transactionId: string;
|
|
@@ -2328,6 +2493,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2328
2493
|
status: "Accepted" | "Rejected" | "Requested";
|
|
2329
2494
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2330
2495
|
type: "UNARCHIVE";
|
|
2496
|
+
} | {
|
|
2497
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2498
|
+
transactionId: string;
|
|
2499
|
+
createdByUserType: "system" | "user";
|
|
2500
|
+
createdAt: string;
|
|
2501
|
+
createdBy: string;
|
|
2502
|
+
createdByRole?: string | undefined;
|
|
2503
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2504
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2505
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
2506
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
2507
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
2508
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2509
|
+
type: "REVOKE_REGISTRATION";
|
|
2510
|
+
} | {
|
|
2511
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2512
|
+
transactionId: string;
|
|
2513
|
+
createdByUserType: "system" | "user";
|
|
2514
|
+
createdAt: string;
|
|
2515
|
+
createdBy: string;
|
|
2516
|
+
createdByRole?: string | undefined;
|
|
2517
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2518
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2519
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
2520
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
2521
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
2522
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2523
|
+
type: "REINSTATE_REGISTRATION";
|
|
2331
2524
|
} | {
|
|
2332
2525
|
id: string & import("zod").$brand<"UUID">;
|
|
2333
2526
|
transactionId: string;
|
|
@@ -2523,10 +2716,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2523
2716
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2524
2717
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2525
2718
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2526
|
-
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
2719
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
2527
2720
|
status: "Rejected";
|
|
2528
2721
|
})[];
|
|
2529
2722
|
trackingId: string;
|
|
2723
|
+
configVersionId: string;
|
|
2530
2724
|
};
|
|
2531
2725
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
2532
2726
|
}>;
|
|
@@ -2535,18 +2729,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2535
2729
|
ctx: Partial<{
|
|
2536
2730
|
token: `Bearer ${string}`;
|
|
2537
2731
|
user: {
|
|
2732
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2733
|
+
type: "system";
|
|
2734
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2735
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2736
|
+
signature?: undefined;
|
|
2737
|
+
} | {
|
|
2538
2738
|
id: string & import("zod").$brand<"UUID">;
|
|
2539
2739
|
role: string;
|
|
2540
2740
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2541
2741
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2542
2742
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2543
2743
|
type: "user";
|
|
2544
|
-
} | {
|
|
2545
|
-
id: string & import("zod").$brand<"UUID">;
|
|
2546
|
-
type: "system";
|
|
2547
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2548
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2549
|
-
signature?: undefined;
|
|
2550
2744
|
};
|
|
2551
2745
|
}>;
|
|
2552
2746
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -2587,14 +2781,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2587
2781
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2588
2782
|
eventId: string;
|
|
2589
2783
|
transactionId: string;
|
|
2590
|
-
declaration?: Record<string, unknown> | undefined;
|
|
2591
|
-
annotation?: Record<string, unknown> | undefined;
|
|
2592
2784
|
originalActionId?: string | undefined;
|
|
2593
2785
|
keepAssignment?: boolean | undefined;
|
|
2594
2786
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2595
2787
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2596
2788
|
waitFor?: boolean | undefined;
|
|
2597
2789
|
type?: "NOTIFY" | undefined;
|
|
2790
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2791
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2598
2792
|
createdAtLocation?: string | null | undefined;
|
|
2599
2793
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2600
2794
|
eventId: string;
|
|
@@ -2695,6 +2889,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2695
2889
|
waitFor?: boolean | undefined;
|
|
2696
2890
|
createdAtLocation?: string | null | undefined;
|
|
2697
2891
|
type?: "UNARCHIVE" | undefined;
|
|
2892
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2893
|
+
eventId: string;
|
|
2894
|
+
transactionId: string;
|
|
2895
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2896
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2897
|
+
originalActionId?: string | undefined;
|
|
2898
|
+
keepAssignment?: boolean | undefined;
|
|
2899
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2900
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2901
|
+
waitFor?: boolean | undefined;
|
|
2902
|
+
createdAtLocation?: string | null | undefined;
|
|
2903
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
2904
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2905
|
+
eventId: string;
|
|
2906
|
+
transactionId: string;
|
|
2907
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2908
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2909
|
+
originalActionId?: string | undefined;
|
|
2910
|
+
keepAssignment?: boolean | undefined;
|
|
2911
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2912
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2913
|
+
waitFor?: boolean | undefined;
|
|
2914
|
+
createdAtLocation?: string | null | undefined;
|
|
2915
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
2698
2916
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2699
2917
|
eventId: string;
|
|
2700
2918
|
transactionId: string;
|
|
@@ -2839,18 +3057,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2839
3057
|
ctx: Partial<{
|
|
2840
3058
|
token: `Bearer ${string}`;
|
|
2841
3059
|
user: {
|
|
3060
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3061
|
+
type: "system";
|
|
3062
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3063
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3064
|
+
signature?: undefined;
|
|
3065
|
+
} | {
|
|
2842
3066
|
id: string & import("zod").$brand<"UUID">;
|
|
2843
3067
|
role: string;
|
|
2844
3068
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2845
3069
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2846
3070
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2847
3071
|
type: "user";
|
|
2848
|
-
} | {
|
|
2849
|
-
id: string & import("zod").$brand<"UUID">;
|
|
2850
|
-
type: "system";
|
|
2851
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2852
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2853
|
-
signature?: undefined;
|
|
2854
3072
|
};
|
|
2855
3073
|
}>;
|
|
2856
3074
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -2891,14 +3109,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2891
3109
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2892
3110
|
eventId: string;
|
|
2893
3111
|
transactionId: string;
|
|
2894
|
-
declaration?: Record<string, unknown> | undefined;
|
|
2895
|
-
annotation?: Record<string, unknown> | undefined;
|
|
2896
3112
|
originalActionId?: string | undefined;
|
|
2897
3113
|
keepAssignment?: boolean | undefined;
|
|
2898
3114
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2899
3115
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2900
3116
|
waitFor?: boolean | undefined;
|
|
2901
3117
|
type?: "NOTIFY" | undefined;
|
|
3118
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3119
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2902
3120
|
createdAtLocation?: string | null | undefined;
|
|
2903
3121
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2904
3122
|
eventId: string;
|
|
@@ -2999,6 +3217,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2999
3217
|
waitFor?: boolean | undefined;
|
|
3000
3218
|
createdAtLocation?: string | null | undefined;
|
|
3001
3219
|
type?: "UNARCHIVE" | undefined;
|
|
3220
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3221
|
+
eventId: string;
|
|
3222
|
+
transactionId: string;
|
|
3223
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3224
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3225
|
+
originalActionId?: string | undefined;
|
|
3226
|
+
keepAssignment?: boolean | undefined;
|
|
3227
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3228
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3229
|
+
waitFor?: boolean | undefined;
|
|
3230
|
+
createdAtLocation?: string | null | undefined;
|
|
3231
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
3232
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3233
|
+
eventId: string;
|
|
3234
|
+
transactionId: string;
|
|
3235
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3236
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3237
|
+
originalActionId?: string | undefined;
|
|
3238
|
+
keepAssignment?: boolean | undefined;
|
|
3239
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3240
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3241
|
+
waitFor?: boolean | undefined;
|
|
3242
|
+
createdAtLocation?: string | null | undefined;
|
|
3243
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
3002
3244
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3003
3245
|
eventId: string;
|
|
3004
3246
|
transactionId: string;
|
|
@@ -3143,18 +3385,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3143
3385
|
ctx: Partial<{
|
|
3144
3386
|
token: `Bearer ${string}`;
|
|
3145
3387
|
user: {
|
|
3388
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3389
|
+
type: "system";
|
|
3390
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3391
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3392
|
+
signature?: undefined;
|
|
3393
|
+
} | {
|
|
3146
3394
|
id: string & import("zod").$brand<"UUID">;
|
|
3147
3395
|
role: string;
|
|
3148
3396
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3149
3397
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3150
3398
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3151
3399
|
type: "user";
|
|
3152
|
-
} | {
|
|
3153
|
-
id: string & import("zod").$brand<"UUID">;
|
|
3154
|
-
type: "system";
|
|
3155
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3156
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3157
|
-
signature?: undefined;
|
|
3158
3400
|
};
|
|
3159
3401
|
}>;
|
|
3160
3402
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -3195,14 +3437,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3195
3437
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3196
3438
|
eventId: string;
|
|
3197
3439
|
transactionId: string;
|
|
3198
|
-
declaration?: Record<string, unknown> | undefined;
|
|
3199
|
-
annotation?: Record<string, unknown> | undefined;
|
|
3200
3440
|
originalActionId?: string | undefined;
|
|
3201
3441
|
keepAssignment?: boolean | undefined;
|
|
3202
3442
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3203
3443
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3204
3444
|
waitFor?: boolean | undefined;
|
|
3205
3445
|
type?: "NOTIFY" | undefined;
|
|
3446
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3447
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3206
3448
|
createdAtLocation?: string | null | undefined;
|
|
3207
3449
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3208
3450
|
eventId: string;
|
|
@@ -3303,6 +3545,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3303
3545
|
waitFor?: boolean | undefined;
|
|
3304
3546
|
createdAtLocation?: string | null | undefined;
|
|
3305
3547
|
type?: "UNARCHIVE" | undefined;
|
|
3548
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3549
|
+
eventId: string;
|
|
3550
|
+
transactionId: string;
|
|
3551
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3552
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3553
|
+
originalActionId?: string | undefined;
|
|
3554
|
+
keepAssignment?: boolean | undefined;
|
|
3555
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3556
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3557
|
+
waitFor?: boolean | undefined;
|
|
3558
|
+
createdAtLocation?: string | null | undefined;
|
|
3559
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
3560
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3561
|
+
eventId: string;
|
|
3562
|
+
transactionId: string;
|
|
3563
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3564
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3565
|
+
originalActionId?: string | undefined;
|
|
3566
|
+
keepAssignment?: boolean | undefined;
|
|
3567
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3568
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3569
|
+
waitFor?: boolean | undefined;
|
|
3570
|
+
createdAtLocation?: string | null | undefined;
|
|
3571
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
3306
3572
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3307
3573
|
eventId: string;
|
|
3308
3574
|
transactionId: string;
|
|
@@ -3447,18 +3713,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3447
3713
|
ctx: Partial<{
|
|
3448
3714
|
token: `Bearer ${string}`;
|
|
3449
3715
|
user: {
|
|
3716
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3717
|
+
type: "system";
|
|
3718
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3719
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3720
|
+
signature?: undefined;
|
|
3721
|
+
} | {
|
|
3450
3722
|
id: string & import("zod").$brand<"UUID">;
|
|
3451
3723
|
role: string;
|
|
3452
3724
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3453
3725
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3454
3726
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3455
3727
|
type: "user";
|
|
3456
|
-
} | {
|
|
3457
|
-
id: string & import("zod").$brand<"UUID">;
|
|
3458
|
-
type: "system";
|
|
3459
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3460
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3461
|
-
signature?: undefined;
|
|
3462
3728
|
};
|
|
3463
3729
|
}>;
|
|
3464
3730
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -3499,14 +3765,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3499
3765
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3500
3766
|
eventId: string;
|
|
3501
3767
|
transactionId: string;
|
|
3502
|
-
declaration?: Record<string, unknown> | undefined;
|
|
3503
|
-
annotation?: Record<string, unknown> | undefined;
|
|
3504
3768
|
originalActionId?: string | undefined;
|
|
3505
3769
|
keepAssignment?: boolean | undefined;
|
|
3506
3770
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3507
3771
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3508
3772
|
waitFor?: boolean | undefined;
|
|
3509
3773
|
type?: "NOTIFY" | undefined;
|
|
3774
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3775
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3510
3776
|
createdAtLocation?: string | null | undefined;
|
|
3511
3777
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3512
3778
|
eventId: string;
|
|
@@ -3607,6 +3873,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3607
3873
|
waitFor?: boolean | undefined;
|
|
3608
3874
|
createdAtLocation?: string | null | undefined;
|
|
3609
3875
|
type?: "UNARCHIVE" | undefined;
|
|
3876
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3877
|
+
eventId: string;
|
|
3878
|
+
transactionId: string;
|
|
3879
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3880
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3881
|
+
originalActionId?: string | undefined;
|
|
3882
|
+
keepAssignment?: boolean | undefined;
|
|
3883
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3884
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3885
|
+
waitFor?: boolean | undefined;
|
|
3886
|
+
createdAtLocation?: string | null | undefined;
|
|
3887
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
3888
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3889
|
+
eventId: string;
|
|
3890
|
+
transactionId: string;
|
|
3891
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3892
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3893
|
+
originalActionId?: string | undefined;
|
|
3894
|
+
keepAssignment?: boolean | undefined;
|
|
3895
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3896
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3897
|
+
waitFor?: boolean | undefined;
|
|
3898
|
+
createdAtLocation?: string | null | undefined;
|
|
3899
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
3610
3900
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3611
3901
|
eventId: string;
|
|
3612
3902
|
transactionId: string;
|
|
@@ -3751,18 +4041,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3751
4041
|
ctx: Partial<{
|
|
3752
4042
|
token: `Bearer ${string}`;
|
|
3753
4043
|
user: {
|
|
4044
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4045
|
+
type: "system";
|
|
4046
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4047
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4048
|
+
signature?: undefined;
|
|
4049
|
+
} | {
|
|
3754
4050
|
id: string & import("zod").$brand<"UUID">;
|
|
3755
4051
|
role: string;
|
|
3756
4052
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3757
4053
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3758
4054
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3759
4055
|
type: "user";
|
|
3760
|
-
} | {
|
|
3761
|
-
id: string & import("zod").$brand<"UUID">;
|
|
3762
|
-
type: "system";
|
|
3763
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3764
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3765
|
-
signature?: undefined;
|
|
3766
4056
|
};
|
|
3767
4057
|
}>;
|
|
3768
4058
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -3803,14 +4093,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3803
4093
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3804
4094
|
eventId: string;
|
|
3805
4095
|
transactionId: string;
|
|
3806
|
-
declaration?: Record<string, unknown> | undefined;
|
|
3807
|
-
annotation?: Record<string, unknown> | undefined;
|
|
3808
4096
|
originalActionId?: string | undefined;
|
|
3809
4097
|
keepAssignment?: boolean | undefined;
|
|
3810
4098
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3811
4099
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3812
4100
|
waitFor?: boolean | undefined;
|
|
3813
4101
|
type?: "NOTIFY" | undefined;
|
|
4102
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4103
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3814
4104
|
createdAtLocation?: string | null | undefined;
|
|
3815
4105
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3816
4106
|
eventId: string;
|
|
@@ -3911,6 +4201,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3911
4201
|
waitFor?: boolean | undefined;
|
|
3912
4202
|
createdAtLocation?: string | null | undefined;
|
|
3913
4203
|
type?: "UNARCHIVE" | undefined;
|
|
4204
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4205
|
+
eventId: string;
|
|
4206
|
+
transactionId: string;
|
|
4207
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4208
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4209
|
+
originalActionId?: string | undefined;
|
|
4210
|
+
keepAssignment?: boolean | undefined;
|
|
4211
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4212
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4213
|
+
waitFor?: boolean | undefined;
|
|
4214
|
+
createdAtLocation?: string | null | undefined;
|
|
4215
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
4216
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4217
|
+
eventId: string;
|
|
4218
|
+
transactionId: string;
|
|
4219
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4220
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4221
|
+
originalActionId?: string | undefined;
|
|
4222
|
+
keepAssignment?: boolean | undefined;
|
|
4223
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4224
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4225
|
+
waitFor?: boolean | undefined;
|
|
4226
|
+
createdAtLocation?: string | null | undefined;
|
|
4227
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
3914
4228
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3915
4229
|
eventId: string;
|
|
3916
4230
|
transactionId: string;
|
|
@@ -4055,18 +4369,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4055
4369
|
ctx: Partial<{
|
|
4056
4370
|
token: `Bearer ${string}`;
|
|
4057
4371
|
user: {
|
|
4372
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4373
|
+
type: "system";
|
|
4374
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4375
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4376
|
+
signature?: undefined;
|
|
4377
|
+
} | {
|
|
4058
4378
|
id: string & import("zod").$brand<"UUID">;
|
|
4059
4379
|
role: string;
|
|
4060
4380
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4061
4381
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4062
4382
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4063
4383
|
type: "user";
|
|
4064
|
-
} | {
|
|
4065
|
-
id: string & import("zod").$brand<"UUID">;
|
|
4066
|
-
type: "system";
|
|
4067
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4068
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4069
|
-
signature?: undefined;
|
|
4070
4384
|
};
|
|
4071
4385
|
}>;
|
|
4072
4386
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -4107,15 +4421,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4107
4421
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4108
4422
|
eventId: string;
|
|
4109
4423
|
transactionId: string;
|
|
4110
|
-
declaration?: Record<string, unknown> | undefined;
|
|
4111
|
-
annotation?: Record<string, unknown> | undefined;
|
|
4112
4424
|
originalActionId?: string | undefined;
|
|
4113
4425
|
keepAssignment?: boolean | undefined;
|
|
4114
4426
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4115
4427
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4116
4428
|
waitFor?: boolean | undefined;
|
|
4117
4429
|
type?: "NOTIFY" | undefined;
|
|
4118
|
-
|
|
4430
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4431
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4432
|
+
createdAtLocation?: string | null | undefined;
|
|
4119
4433
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4120
4434
|
eventId: string;
|
|
4121
4435
|
transactionId: string;
|
|
@@ -4215,6 +4529,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4215
4529
|
waitFor?: boolean | undefined;
|
|
4216
4530
|
createdAtLocation?: string | null | undefined;
|
|
4217
4531
|
type?: "UNARCHIVE" | undefined;
|
|
4532
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4533
|
+
eventId: string;
|
|
4534
|
+
transactionId: string;
|
|
4535
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4536
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4537
|
+
originalActionId?: string | undefined;
|
|
4538
|
+
keepAssignment?: boolean | undefined;
|
|
4539
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4540
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4541
|
+
waitFor?: boolean | undefined;
|
|
4542
|
+
createdAtLocation?: string | null | undefined;
|
|
4543
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
4544
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4545
|
+
eventId: string;
|
|
4546
|
+
transactionId: string;
|
|
4547
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4548
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4549
|
+
originalActionId?: string | undefined;
|
|
4550
|
+
keepAssignment?: boolean | undefined;
|
|
4551
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4552
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4553
|
+
waitFor?: boolean | undefined;
|
|
4554
|
+
createdAtLocation?: string | null | undefined;
|
|
4555
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
4218
4556
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4219
4557
|
eventId: string;
|
|
4220
4558
|
transactionId: string;
|
|
@@ -4359,18 +4697,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4359
4697
|
ctx: Partial<{
|
|
4360
4698
|
token: `Bearer ${string}`;
|
|
4361
4699
|
user: {
|
|
4700
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4701
|
+
type: "system";
|
|
4702
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4703
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4704
|
+
signature?: undefined;
|
|
4705
|
+
} | {
|
|
4362
4706
|
id: string & import("zod").$brand<"UUID">;
|
|
4363
4707
|
role: string;
|
|
4364
4708
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4365
4709
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4366
4710
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4367
4711
|
type: "user";
|
|
4368
|
-
} | {
|
|
4369
|
-
id: string & import("zod").$brand<"UUID">;
|
|
4370
|
-
type: "system";
|
|
4371
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4372
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4373
|
-
signature?: undefined;
|
|
4374
4712
|
};
|
|
4375
4713
|
}>;
|
|
4376
4714
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -4406,14 +4744,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4406
4744
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4407
4745
|
eventId: string;
|
|
4408
4746
|
transactionId: string;
|
|
4409
|
-
declaration?: Record<string, unknown> | undefined;
|
|
4410
|
-
annotation?: Record<string, unknown> | undefined;
|
|
4411
4747
|
originalActionId?: string | undefined;
|
|
4412
4748
|
keepAssignment?: boolean | undefined;
|
|
4413
4749
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4414
4750
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4415
4751
|
waitFor?: boolean | undefined;
|
|
4416
4752
|
type?: "NOTIFY" | undefined;
|
|
4753
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4754
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4417
4755
|
createdAtLocation?: string | null | undefined;
|
|
4418
4756
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4419
4757
|
eventId: string;
|
|
@@ -4514,6 +4852,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4514
4852
|
waitFor?: boolean | undefined;
|
|
4515
4853
|
createdAtLocation?: string | null | undefined;
|
|
4516
4854
|
type?: "UNARCHIVE" | undefined;
|
|
4855
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4856
|
+
eventId: string;
|
|
4857
|
+
transactionId: string;
|
|
4858
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4859
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4860
|
+
originalActionId?: string | undefined;
|
|
4861
|
+
keepAssignment?: boolean | undefined;
|
|
4862
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4863
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4864
|
+
waitFor?: boolean | undefined;
|
|
4865
|
+
createdAtLocation?: string | null | undefined;
|
|
4866
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
4867
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4868
|
+
eventId: string;
|
|
4869
|
+
transactionId: string;
|
|
4870
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4871
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4872
|
+
originalActionId?: string | undefined;
|
|
4873
|
+
keepAssignment?: boolean | undefined;
|
|
4874
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4875
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4876
|
+
waitFor?: boolean | undefined;
|
|
4877
|
+
createdAtLocation?: string | null | undefined;
|
|
4878
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
4517
4879
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4518
4880
|
eventId: string;
|
|
4519
4881
|
transactionId: string;
|
|
@@ -4786,6 +5148,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4786
5148
|
status: "Accepted" | "Rejected" | "Requested";
|
|
4787
5149
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4788
5150
|
type: "UNARCHIVE";
|
|
5151
|
+
} | {
|
|
5152
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5153
|
+
transactionId: string;
|
|
5154
|
+
createdByUserType: "system" | "user";
|
|
5155
|
+
createdAt: string;
|
|
5156
|
+
createdBy: string;
|
|
5157
|
+
createdByRole?: string | undefined;
|
|
5158
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5159
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5160
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5161
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5162
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
5163
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5164
|
+
type: "REVOKE_REGISTRATION";
|
|
5165
|
+
} | {
|
|
5166
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5167
|
+
transactionId: string;
|
|
5168
|
+
createdByUserType: "system" | "user";
|
|
5169
|
+
createdAt: string;
|
|
5170
|
+
createdBy: string;
|
|
5171
|
+
createdByRole?: string | undefined;
|
|
5172
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5173
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5174
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5175
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5176
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
5177
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5178
|
+
type: "REINSTATE_REGISTRATION";
|
|
4789
5179
|
} | {
|
|
4790
5180
|
id: string & import("zod").$brand<"UUID">;
|
|
4791
5181
|
transactionId: string;
|
|
@@ -4981,10 +5371,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4981
5371
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4982
5372
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4983
5373
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4984
|
-
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
5374
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
4985
5375
|
status: "Rejected";
|
|
4986
5376
|
})[];
|
|
4987
5377
|
trackingId: string;
|
|
5378
|
+
configVersionId: string;
|
|
4988
5379
|
};
|
|
4989
5380
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4990
5381
|
}>;
|
|
@@ -4993,18 +5384,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4993
5384
|
ctx: Partial<{
|
|
4994
5385
|
token: `Bearer ${string}`;
|
|
4995
5386
|
user: {
|
|
5387
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5388
|
+
type: "system";
|
|
5389
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5390
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5391
|
+
signature?: undefined;
|
|
5392
|
+
} | {
|
|
4996
5393
|
id: string & import("zod").$brand<"UUID">;
|
|
4997
5394
|
role: string;
|
|
4998
5395
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4999
5396
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5000
5397
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5001
5398
|
type: "user";
|
|
5002
|
-
} | {
|
|
5003
|
-
id: string & import("zod").$brand<"UUID">;
|
|
5004
|
-
type: "system";
|
|
5005
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5006
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5007
|
-
signature?: undefined;
|
|
5008
5399
|
};
|
|
5009
5400
|
}>;
|
|
5010
5401
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -5032,6 +5423,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5032
5423
|
createdAt: string;
|
|
5033
5424
|
updatedAt: string;
|
|
5034
5425
|
trackingId: string;
|
|
5426
|
+
configVersionId: string;
|
|
5035
5427
|
actions: ({
|
|
5036
5428
|
id: string & import("zod").$brand<"UUID">;
|
|
5037
5429
|
transactionId: string;
|
|
@@ -5145,6 +5537,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5145
5537
|
status: "Accepted" | "Rejected" | "Requested";
|
|
5146
5538
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5147
5539
|
type: "UNARCHIVE";
|
|
5540
|
+
} | {
|
|
5541
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5542
|
+
transactionId: string;
|
|
5543
|
+
createdByUserType: "system" | "user";
|
|
5544
|
+
createdAt: string;
|
|
5545
|
+
createdBy: string;
|
|
5546
|
+
createdByRole?: string | undefined;
|
|
5547
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5548
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5549
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5550
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5551
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
5552
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5553
|
+
type: "REVOKE_REGISTRATION";
|
|
5554
|
+
} | {
|
|
5555
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5556
|
+
transactionId: string;
|
|
5557
|
+
createdByUserType: "system" | "user";
|
|
5558
|
+
createdAt: string;
|
|
5559
|
+
createdBy: string;
|
|
5560
|
+
createdByRole?: string | undefined;
|
|
5561
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5562
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5563
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5564
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5565
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
5566
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5567
|
+
type: "REINSTATE_REGISTRATION";
|
|
5148
5568
|
} | {
|
|
5149
5569
|
id: string & import("zod").$brand<"UUID">;
|
|
5150
5570
|
transactionId: string;
|
|
@@ -5340,7 +5760,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5340
5760
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5341
5761
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5342
5762
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5343
|
-
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
5763
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
5344
5764
|
status: "Rejected";
|
|
5345
5765
|
})[];
|
|
5346
5766
|
} & import("zod").$brand<"EventDocumentOnlyLastAction">;
|
|
@@ -5367,6 +5787,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5367
5787
|
createdAt: string;
|
|
5368
5788
|
updatedAt: string;
|
|
5369
5789
|
trackingId: string;
|
|
5790
|
+
configVersionId: string;
|
|
5370
5791
|
actions: ({
|
|
5371
5792
|
id: string & import("zod").$brand<"UUID">;
|
|
5372
5793
|
transactionId: string;
|
|
@@ -5480,6 +5901,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5480
5901
|
status: "Accepted" | "Rejected" | "Requested";
|
|
5481
5902
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5482
5903
|
type: "UNARCHIVE";
|
|
5904
|
+
} | {
|
|
5905
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5906
|
+
transactionId: string;
|
|
5907
|
+
createdByUserType: "system" | "user";
|
|
5908
|
+
createdAt: string;
|
|
5909
|
+
createdBy: string;
|
|
5910
|
+
createdByRole?: string | undefined;
|
|
5911
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5912
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5913
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5914
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5915
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
5916
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5917
|
+
type: "REVOKE_REGISTRATION";
|
|
5918
|
+
} | {
|
|
5919
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5920
|
+
transactionId: string;
|
|
5921
|
+
createdByUserType: "system" | "user";
|
|
5922
|
+
createdAt: string;
|
|
5923
|
+
createdBy: string;
|
|
5924
|
+
createdByRole?: string | undefined;
|
|
5925
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5926
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5927
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5928
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5929
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
5930
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5931
|
+
type: "REINSTATE_REGISTRATION";
|
|
5483
5932
|
} | {
|
|
5484
5933
|
id: string & import("zod").$brand<"UUID">;
|
|
5485
5934
|
transactionId: string;
|
|
@@ -5675,7 +6124,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5675
6124
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5676
6125
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5677
6126
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5678
|
-
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
6127
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
5679
6128
|
status: "Rejected";
|
|
5680
6129
|
})[];
|
|
5681
6130
|
} & import("zod").$brand<"EventDocumentOnlyLastAction">;
|
|
@@ -5686,18 +6135,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5686
6135
|
ctx: Partial<{
|
|
5687
6136
|
token: `Bearer ${string}`;
|
|
5688
6137
|
user: {
|
|
6138
|
+
id: string & import("zod").$brand<"UUID">;
|
|
6139
|
+
type: "system";
|
|
6140
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6141
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6142
|
+
signature?: undefined;
|
|
6143
|
+
} | {
|
|
5689
6144
|
id: string & import("zod").$brand<"UUID">;
|
|
5690
6145
|
role: string;
|
|
5691
6146
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5692
6147
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5693
6148
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5694
6149
|
type: "user";
|
|
5695
|
-
} | {
|
|
5696
|
-
id: string & import("zod").$brand<"UUID">;
|
|
5697
|
-
type: "system";
|
|
5698
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5699
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5700
|
-
signature?: undefined;
|
|
5701
6150
|
};
|
|
5702
6151
|
}>;
|
|
5703
6152
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -5708,18 +6157,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5708
6157
|
ctx: Partial<{
|
|
5709
6158
|
token: `Bearer ${string}`;
|
|
5710
6159
|
user: {
|
|
6160
|
+
id: string & import("zod").$brand<"UUID">;
|
|
6161
|
+
type: "system";
|
|
6162
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6163
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6164
|
+
signature?: undefined;
|
|
6165
|
+
} | {
|
|
5711
6166
|
id: string & import("zod").$brand<"UUID">;
|
|
5712
6167
|
role: string;
|
|
5713
6168
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5714
6169
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5715
6170
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5716
6171
|
type: "user";
|
|
5717
|
-
} | {
|
|
5718
|
-
id: string & import("zod").$brand<"UUID">;
|
|
5719
|
-
type: "system";
|
|
5720
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5721
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5722
|
-
signature?: undefined;
|
|
5723
6172
|
};
|
|
5724
6173
|
}>;
|
|
5725
6174
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -5760,14 +6209,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5760
6209
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5761
6210
|
eventId: string;
|
|
5762
6211
|
transactionId: string;
|
|
5763
|
-
declaration?: Record<string, unknown> | undefined;
|
|
5764
|
-
annotation?: Record<string, unknown> | undefined;
|
|
5765
6212
|
originalActionId?: string | undefined;
|
|
5766
6213
|
keepAssignment?: boolean | undefined;
|
|
5767
6214
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5768
6215
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5769
6216
|
waitFor?: boolean | undefined;
|
|
5770
6217
|
type?: "NOTIFY" | undefined;
|
|
6218
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6219
|
+
annotation?: Record<string, unknown> | undefined;
|
|
5771
6220
|
createdAtLocation?: string | null | undefined;
|
|
5772
6221
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5773
6222
|
eventId: string;
|
|
@@ -5868,6 +6317,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5868
6317
|
waitFor?: boolean | undefined;
|
|
5869
6318
|
createdAtLocation?: string | null | undefined;
|
|
5870
6319
|
type?: "UNARCHIVE" | undefined;
|
|
6320
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6321
|
+
eventId: string;
|
|
6322
|
+
transactionId: string;
|
|
6323
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6324
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6325
|
+
originalActionId?: string | undefined;
|
|
6326
|
+
keepAssignment?: boolean | undefined;
|
|
6327
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6328
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6329
|
+
waitFor?: boolean | undefined;
|
|
6330
|
+
createdAtLocation?: string | null | undefined;
|
|
6331
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
6332
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6333
|
+
eventId: string;
|
|
6334
|
+
transactionId: string;
|
|
6335
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6336
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6337
|
+
originalActionId?: string | undefined;
|
|
6338
|
+
keepAssignment?: boolean | undefined;
|
|
6339
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6340
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6341
|
+
waitFor?: boolean | undefined;
|
|
6342
|
+
createdAtLocation?: string | null | undefined;
|
|
6343
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
5871
6344
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5872
6345
|
eventId: string;
|
|
5873
6346
|
transactionId: string;
|
|
@@ -6012,18 +6485,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6012
6485
|
ctx: Partial<{
|
|
6013
6486
|
token: `Bearer ${string}`;
|
|
6014
6487
|
user: {
|
|
6488
|
+
id: string & import("zod").$brand<"UUID">;
|
|
6489
|
+
type: "system";
|
|
6490
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6491
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6492
|
+
signature?: undefined;
|
|
6493
|
+
} | {
|
|
6015
6494
|
id: string & import("zod").$brand<"UUID">;
|
|
6016
6495
|
role: string;
|
|
6017
6496
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6018
6497
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6019
6498
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6020
6499
|
type: "user";
|
|
6021
|
-
} | {
|
|
6022
|
-
id: string & import("zod").$brand<"UUID">;
|
|
6023
|
-
type: "system";
|
|
6024
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6025
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6026
|
-
signature?: undefined;
|
|
6027
6500
|
};
|
|
6028
6501
|
}>;
|
|
6029
6502
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -6064,14 +6537,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6064
6537
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6065
6538
|
eventId: string;
|
|
6066
6539
|
transactionId: string;
|
|
6067
|
-
declaration?: Record<string, unknown> | undefined;
|
|
6068
|
-
annotation?: Record<string, unknown> | undefined;
|
|
6069
6540
|
originalActionId?: string | undefined;
|
|
6070
6541
|
keepAssignment?: boolean | undefined;
|
|
6071
6542
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6072
6543
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
6073
6544
|
waitFor?: boolean | undefined;
|
|
6074
6545
|
type?: "NOTIFY" | undefined;
|
|
6546
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6547
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6075
6548
|
createdAtLocation?: string | null | undefined;
|
|
6076
6549
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6077
6550
|
eventId: string;
|
|
@@ -6172,6 +6645,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6172
6645
|
waitFor?: boolean | undefined;
|
|
6173
6646
|
createdAtLocation?: string | null | undefined;
|
|
6174
6647
|
type?: "UNARCHIVE" | undefined;
|
|
6648
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6649
|
+
eventId: string;
|
|
6650
|
+
transactionId: string;
|
|
6651
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6652
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6653
|
+
originalActionId?: string | undefined;
|
|
6654
|
+
keepAssignment?: boolean | undefined;
|
|
6655
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6656
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6657
|
+
waitFor?: boolean | undefined;
|
|
6658
|
+
createdAtLocation?: string | null | undefined;
|
|
6659
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
6660
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6661
|
+
eventId: string;
|
|
6662
|
+
transactionId: string;
|
|
6663
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6664
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6665
|
+
originalActionId?: string | undefined;
|
|
6666
|
+
keepAssignment?: boolean | undefined;
|
|
6667
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6668
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6669
|
+
waitFor?: boolean | undefined;
|
|
6670
|
+
createdAtLocation?: string | null | undefined;
|
|
6671
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
6175
6672
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6176
6673
|
eventId: string;
|
|
6177
6674
|
transactionId: string;
|
|
@@ -6316,18 +6813,697 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6316
6813
|
ctx: Partial<{
|
|
6317
6814
|
token: `Bearer ${string}`;
|
|
6318
6815
|
user: {
|
|
6816
|
+
id: string & import("zod").$brand<"UUID">;
|
|
6817
|
+
type: "system";
|
|
6818
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6819
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6820
|
+
signature?: undefined;
|
|
6821
|
+
} | {
|
|
6822
|
+
id: string & import("zod").$brand<"UUID">;
|
|
6823
|
+
role: string;
|
|
6824
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6825
|
+
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6826
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6827
|
+
type: "user";
|
|
6828
|
+
};
|
|
6829
|
+
}>;
|
|
6830
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
6831
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
6832
|
+
transformer: true;
|
|
6833
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
6834
|
+
request: import("@trpc/server").TRPCMutationProcedure<{
|
|
6835
|
+
input: import("../commons").ActionInput;
|
|
6836
|
+
output: import("../commons").EventDocument;
|
|
6837
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
6838
|
+
}>;
|
|
6839
|
+
accept: import("@trpc/server").TRPCMutationProcedure<{
|
|
6840
|
+
input: (Omit<{
|
|
6841
|
+
eventId: string;
|
|
6842
|
+
transactionId: string;
|
|
6843
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6844
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6845
|
+
originalActionId?: string | undefined;
|
|
6846
|
+
keepAssignment?: boolean | undefined;
|
|
6847
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6848
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6849
|
+
waitFor?: boolean | undefined;
|
|
6850
|
+
type?: "CREATE" | undefined;
|
|
6851
|
+
createdAtLocation?: string | null | undefined;
|
|
6852
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6853
|
+
eventId: string;
|
|
6854
|
+
transactionId: string;
|
|
6855
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6856
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6857
|
+
originalActionId?: string | undefined;
|
|
6858
|
+
keepAssignment?: boolean | undefined;
|
|
6859
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6860
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6861
|
+
waitFor?: boolean | undefined;
|
|
6862
|
+
createdAtLocation?: string | null | undefined;
|
|
6863
|
+
type?: "REGISTER" | undefined;
|
|
6864
|
+
registrationNumber?: string | undefined;
|
|
6865
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6866
|
+
eventId: string;
|
|
6867
|
+
transactionId: string;
|
|
6868
|
+
originalActionId?: string | undefined;
|
|
6869
|
+
keepAssignment?: boolean | undefined;
|
|
6870
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6871
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6872
|
+
waitFor?: boolean | undefined;
|
|
6873
|
+
type?: "NOTIFY" | undefined;
|
|
6874
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6875
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6876
|
+
createdAtLocation?: string | null | undefined;
|
|
6877
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6878
|
+
eventId: string;
|
|
6879
|
+
transactionId: string;
|
|
6880
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6881
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6882
|
+
originalActionId?: string | undefined;
|
|
6883
|
+
keepAssignment?: boolean | undefined;
|
|
6884
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6885
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6886
|
+
waitFor?: boolean | undefined;
|
|
6887
|
+
createdAtLocation?: string | null | undefined;
|
|
6888
|
+
type?: "DECLARE" | undefined;
|
|
6889
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6890
|
+
eventId: string;
|
|
6891
|
+
transactionId: string;
|
|
6892
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6893
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6894
|
+
originalActionId?: string | undefined;
|
|
6895
|
+
keepAssignment?: boolean | undefined;
|
|
6896
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6897
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6898
|
+
waitFor?: boolean | undefined;
|
|
6899
|
+
createdAtLocation?: string | null | undefined;
|
|
6900
|
+
type?: "REJECT" | undefined;
|
|
6901
|
+
content: {
|
|
6902
|
+
reason: string;
|
|
6903
|
+
};
|
|
6904
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6905
|
+
eventId: string;
|
|
6906
|
+
transactionId: string;
|
|
6907
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6908
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6909
|
+
originalActionId?: string | undefined;
|
|
6910
|
+
keepAssignment?: boolean | undefined;
|
|
6911
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6912
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6913
|
+
waitFor?: boolean | undefined;
|
|
6914
|
+
createdAtLocation?: string | null | undefined;
|
|
6915
|
+
type?: "DUPLICATE_DETECTED" | undefined;
|
|
6916
|
+
content: {
|
|
6917
|
+
duplicates: {
|
|
6918
|
+
id: string;
|
|
6919
|
+
trackingId: string;
|
|
6920
|
+
}[];
|
|
6921
|
+
};
|
|
6922
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6923
|
+
eventId: string;
|
|
6924
|
+
transactionId: string;
|
|
6925
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6926
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6927
|
+
originalActionId?: string | undefined;
|
|
6928
|
+
keepAssignment?: boolean | undefined;
|
|
6929
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6930
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6931
|
+
waitFor?: boolean | undefined;
|
|
6932
|
+
createdAtLocation?: string | null | undefined;
|
|
6933
|
+
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
6934
|
+
content?: {
|
|
6935
|
+
duplicateOf: string;
|
|
6936
|
+
} | undefined;
|
|
6937
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6938
|
+
eventId: string;
|
|
6939
|
+
transactionId: string;
|
|
6940
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6941
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6942
|
+
originalActionId?: string | undefined;
|
|
6943
|
+
keepAssignment?: boolean | undefined;
|
|
6944
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6945
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6946
|
+
waitFor?: boolean | undefined;
|
|
6947
|
+
createdAtLocation?: string | null | undefined;
|
|
6948
|
+
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
6949
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6950
|
+
eventId: string;
|
|
6951
|
+
transactionId: string;
|
|
6952
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6953
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6954
|
+
originalActionId?: string | undefined;
|
|
6955
|
+
keepAssignment?: boolean | undefined;
|
|
6956
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6957
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6958
|
+
waitFor?: boolean | undefined;
|
|
6959
|
+
createdAtLocation?: string | null | undefined;
|
|
6960
|
+
type?: "ARCHIVE" | undefined;
|
|
6961
|
+
content?: {
|
|
6962
|
+
reason: string;
|
|
6963
|
+
} | undefined;
|
|
6964
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6965
|
+
eventId: string;
|
|
6966
|
+
transactionId: string;
|
|
6967
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6968
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6969
|
+
originalActionId?: string | undefined;
|
|
6970
|
+
keepAssignment?: boolean | undefined;
|
|
6971
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6972
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6973
|
+
waitFor?: boolean | undefined;
|
|
6974
|
+
createdAtLocation?: string | null | undefined;
|
|
6975
|
+
type?: "UNARCHIVE" | undefined;
|
|
6976
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6977
|
+
eventId: string;
|
|
6978
|
+
transactionId: string;
|
|
6979
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6980
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6981
|
+
originalActionId?: string | undefined;
|
|
6982
|
+
keepAssignment?: boolean | undefined;
|
|
6983
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6984
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6985
|
+
waitFor?: boolean | undefined;
|
|
6986
|
+
createdAtLocation?: string | null | undefined;
|
|
6987
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
6988
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6989
|
+
eventId: string;
|
|
6990
|
+
transactionId: string;
|
|
6991
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6992
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6993
|
+
originalActionId?: string | undefined;
|
|
6994
|
+
keepAssignment?: boolean | undefined;
|
|
6995
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6996
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6997
|
+
waitFor?: boolean | undefined;
|
|
6998
|
+
createdAtLocation?: string | null | undefined;
|
|
6999
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
7000
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7001
|
+
eventId: string;
|
|
7002
|
+
transactionId: string;
|
|
7003
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7004
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7005
|
+
originalActionId?: string | undefined;
|
|
7006
|
+
keepAssignment?: boolean | undefined;
|
|
7007
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7008
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7009
|
+
waitFor?: boolean | undefined;
|
|
7010
|
+
createdAtLocation?: string | null | undefined;
|
|
7011
|
+
type: "ASSIGN";
|
|
7012
|
+
assignedTo: string;
|
|
7013
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7014
|
+
eventId: string;
|
|
7015
|
+
transactionId: string;
|
|
7016
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7017
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7018
|
+
originalActionId?: string | undefined;
|
|
7019
|
+
keepAssignment?: boolean | undefined;
|
|
7020
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7021
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7022
|
+
waitFor?: boolean | undefined;
|
|
7023
|
+
createdAtLocation?: string | null | undefined;
|
|
7024
|
+
type?: "UNASSIGN" | undefined;
|
|
7025
|
+
assignedTo?: null | undefined;
|
|
7026
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7027
|
+
eventId: string;
|
|
7028
|
+
transactionId: string;
|
|
7029
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7030
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7031
|
+
originalActionId?: string | undefined;
|
|
7032
|
+
keepAssignment?: boolean | undefined;
|
|
7033
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7034
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7035
|
+
waitFor?: boolean | undefined;
|
|
7036
|
+
createdAtLocation?: string | null | undefined;
|
|
7037
|
+
type?: "PRINT_CERTIFICATE" | undefined;
|
|
7038
|
+
content?: {
|
|
7039
|
+
templateId?: string | undefined;
|
|
7040
|
+
} | undefined;
|
|
7041
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7042
|
+
eventId: string;
|
|
7043
|
+
transactionId: string;
|
|
7044
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7045
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7046
|
+
originalActionId?: string | undefined;
|
|
7047
|
+
keepAssignment?: boolean | undefined;
|
|
7048
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7049
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7050
|
+
waitFor?: boolean | undefined;
|
|
7051
|
+
createdAtLocation?: string | null | undefined;
|
|
7052
|
+
type?: "REQUEST_CORRECTION" | undefined;
|
|
7053
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7054
|
+
eventId: string;
|
|
7055
|
+
transactionId: string;
|
|
7056
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7057
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7058
|
+
originalActionId?: string | undefined;
|
|
7059
|
+
keepAssignment?: boolean | undefined;
|
|
7060
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7061
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7062
|
+
waitFor?: boolean | undefined;
|
|
7063
|
+
createdAtLocation?: string | null | undefined;
|
|
7064
|
+
requestId: string;
|
|
7065
|
+
type?: "REJECT_CORRECTION" | undefined;
|
|
7066
|
+
content: {
|
|
7067
|
+
reason: string;
|
|
7068
|
+
};
|
|
7069
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7070
|
+
eventId: string;
|
|
7071
|
+
transactionId: string;
|
|
7072
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7073
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7074
|
+
originalActionId?: string | undefined;
|
|
7075
|
+
keepAssignment?: boolean | undefined;
|
|
7076
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7077
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7078
|
+
waitFor?: boolean | undefined;
|
|
7079
|
+
createdAtLocation?: string | null | undefined;
|
|
7080
|
+
requestId: string;
|
|
7081
|
+
type?: "APPROVE_CORRECTION" | undefined;
|
|
7082
|
+
content?: {
|
|
7083
|
+
immediateCorrection?: boolean | undefined;
|
|
7084
|
+
} | undefined;
|
|
7085
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7086
|
+
eventId: string;
|
|
7087
|
+
transactionId: string;
|
|
7088
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7089
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7090
|
+
originalActionId?: string | undefined;
|
|
7091
|
+
keepAssignment?: boolean | undefined;
|
|
7092
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7093
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7094
|
+
waitFor?: boolean | undefined;
|
|
7095
|
+
createdAtLocation?: string | null | undefined;
|
|
7096
|
+
type?: "READ" | undefined;
|
|
7097
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7098
|
+
eventId: string;
|
|
7099
|
+
transactionId: string;
|
|
7100
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7101
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7102
|
+
originalActionId?: string | undefined;
|
|
7103
|
+
keepAssignment?: boolean | undefined;
|
|
7104
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7105
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7106
|
+
waitFor?: boolean | undefined;
|
|
7107
|
+
createdAtLocation?: string | null | undefined;
|
|
7108
|
+
type?: "CUSTOM" | undefined;
|
|
7109
|
+
customActionType: string;
|
|
7110
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7111
|
+
eventId: string;
|
|
7112
|
+
transactionId: string;
|
|
7113
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7114
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7115
|
+
originalActionId?: string | undefined;
|
|
7116
|
+
keepAssignment?: boolean | undefined;
|
|
7117
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7118
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7119
|
+
waitFor?: boolean | undefined;
|
|
7120
|
+
createdAtLocation?: string | null | undefined;
|
|
7121
|
+
type?: "EDIT" | undefined;
|
|
7122
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
7123
|
+
actionId: string;
|
|
7124
|
+
};
|
|
7125
|
+
output: import("../commons").EventDocument;
|
|
7126
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7127
|
+
}>;
|
|
7128
|
+
reject: import("@trpc/server").TRPCMutationProcedure<{
|
|
7129
|
+
input: import("zod").input<import("zod").ZodObject<{
|
|
7130
|
+
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
7131
|
+
transactionId: import("zod").ZodString;
|
|
7132
|
+
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7133
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
7134
|
+
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
7135
|
+
}, import("zod/v4/core").$strip>>;
|
|
7136
|
+
output: import("../commons").EventDocument;
|
|
7137
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7138
|
+
}>;
|
|
7139
|
+
}>>;
|
|
7140
|
+
}>>;
|
|
7141
|
+
revocation: import("@trpc/server").TRPCBuiltRouter<{
|
|
7142
|
+
ctx: Partial<{
|
|
7143
|
+
token: `Bearer ${string}`;
|
|
7144
|
+
user: {
|
|
7145
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7146
|
+
type: "system";
|
|
7147
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7148
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7149
|
+
signature?: undefined;
|
|
7150
|
+
} | {
|
|
7151
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7152
|
+
role: string;
|
|
7153
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7154
|
+
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7155
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7156
|
+
type: "user";
|
|
7157
|
+
};
|
|
7158
|
+
}>;
|
|
7159
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7160
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
7161
|
+
transformer: true;
|
|
7162
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
7163
|
+
revoke: import("@trpc/server").TRPCBuiltRouter<{
|
|
7164
|
+
ctx: Partial<{
|
|
7165
|
+
token: `Bearer ${string}`;
|
|
7166
|
+
user: {
|
|
7167
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7168
|
+
type: "system";
|
|
7169
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7170
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7171
|
+
signature?: undefined;
|
|
7172
|
+
} | {
|
|
7173
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7174
|
+
role: string;
|
|
7175
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7176
|
+
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7177
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7178
|
+
type: "user";
|
|
7179
|
+
};
|
|
7180
|
+
}>;
|
|
7181
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7182
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
7183
|
+
transformer: true;
|
|
7184
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
7185
|
+
request: import("@trpc/server").TRPCMutationProcedure<{
|
|
7186
|
+
input: import("../commons").ActionInput;
|
|
7187
|
+
output: import("../commons").EventDocument;
|
|
7188
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7189
|
+
}>;
|
|
7190
|
+
accept: import("@trpc/server").TRPCMutationProcedure<{
|
|
7191
|
+
input: (Omit<{
|
|
7192
|
+
eventId: string;
|
|
7193
|
+
transactionId: string;
|
|
7194
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7195
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7196
|
+
originalActionId?: string | undefined;
|
|
7197
|
+
keepAssignment?: boolean | undefined;
|
|
7198
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7199
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7200
|
+
waitFor?: boolean | undefined;
|
|
7201
|
+
type?: "CREATE" | undefined;
|
|
7202
|
+
createdAtLocation?: string | null | undefined;
|
|
7203
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7204
|
+
eventId: string;
|
|
7205
|
+
transactionId: string;
|
|
7206
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7207
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7208
|
+
originalActionId?: string | undefined;
|
|
7209
|
+
keepAssignment?: boolean | undefined;
|
|
7210
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7211
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7212
|
+
waitFor?: boolean | undefined;
|
|
7213
|
+
createdAtLocation?: string | null | undefined;
|
|
7214
|
+
type?: "REGISTER" | undefined;
|
|
7215
|
+
registrationNumber?: string | undefined;
|
|
7216
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7217
|
+
eventId: string;
|
|
7218
|
+
transactionId: string;
|
|
7219
|
+
originalActionId?: string | undefined;
|
|
7220
|
+
keepAssignment?: boolean | undefined;
|
|
7221
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7222
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7223
|
+
waitFor?: boolean | undefined;
|
|
7224
|
+
type?: "NOTIFY" | undefined;
|
|
7225
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7226
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7227
|
+
createdAtLocation?: string | null | undefined;
|
|
7228
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7229
|
+
eventId: string;
|
|
7230
|
+
transactionId: string;
|
|
7231
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7232
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7233
|
+
originalActionId?: string | undefined;
|
|
7234
|
+
keepAssignment?: boolean | undefined;
|
|
7235
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7236
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7237
|
+
waitFor?: boolean | undefined;
|
|
7238
|
+
createdAtLocation?: string | null | undefined;
|
|
7239
|
+
type?: "DECLARE" | undefined;
|
|
7240
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7241
|
+
eventId: string;
|
|
7242
|
+
transactionId: string;
|
|
7243
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7244
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7245
|
+
originalActionId?: string | undefined;
|
|
7246
|
+
keepAssignment?: boolean | undefined;
|
|
7247
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7248
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7249
|
+
waitFor?: boolean | undefined;
|
|
7250
|
+
createdAtLocation?: string | null | undefined;
|
|
7251
|
+
type?: "REJECT" | undefined;
|
|
7252
|
+
content: {
|
|
7253
|
+
reason: string;
|
|
7254
|
+
};
|
|
7255
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7256
|
+
eventId: string;
|
|
7257
|
+
transactionId: string;
|
|
7258
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7259
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7260
|
+
originalActionId?: string | undefined;
|
|
7261
|
+
keepAssignment?: boolean | undefined;
|
|
7262
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7263
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7264
|
+
waitFor?: boolean | undefined;
|
|
7265
|
+
createdAtLocation?: string | null | undefined;
|
|
7266
|
+
type?: "DUPLICATE_DETECTED" | undefined;
|
|
7267
|
+
content: {
|
|
7268
|
+
duplicates: {
|
|
7269
|
+
id: string;
|
|
7270
|
+
trackingId: string;
|
|
7271
|
+
}[];
|
|
7272
|
+
};
|
|
7273
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7274
|
+
eventId: string;
|
|
7275
|
+
transactionId: string;
|
|
7276
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7277
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7278
|
+
originalActionId?: string | undefined;
|
|
7279
|
+
keepAssignment?: boolean | undefined;
|
|
7280
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7281
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7282
|
+
waitFor?: boolean | undefined;
|
|
7283
|
+
createdAtLocation?: string | null | undefined;
|
|
7284
|
+
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
7285
|
+
content?: {
|
|
7286
|
+
duplicateOf: string;
|
|
7287
|
+
} | undefined;
|
|
7288
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7289
|
+
eventId: string;
|
|
7290
|
+
transactionId: string;
|
|
7291
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7292
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7293
|
+
originalActionId?: string | undefined;
|
|
7294
|
+
keepAssignment?: boolean | undefined;
|
|
7295
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7296
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7297
|
+
waitFor?: boolean | undefined;
|
|
7298
|
+
createdAtLocation?: string | null | undefined;
|
|
7299
|
+
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
7300
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7301
|
+
eventId: string;
|
|
7302
|
+
transactionId: string;
|
|
7303
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7304
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7305
|
+
originalActionId?: string | undefined;
|
|
7306
|
+
keepAssignment?: boolean | undefined;
|
|
7307
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7308
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7309
|
+
waitFor?: boolean | undefined;
|
|
7310
|
+
createdAtLocation?: string | null | undefined;
|
|
7311
|
+
type?: "ARCHIVE" | undefined;
|
|
7312
|
+
content?: {
|
|
7313
|
+
reason: string;
|
|
7314
|
+
} | undefined;
|
|
7315
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7316
|
+
eventId: string;
|
|
7317
|
+
transactionId: string;
|
|
7318
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7319
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7320
|
+
originalActionId?: string | undefined;
|
|
7321
|
+
keepAssignment?: boolean | undefined;
|
|
7322
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7323
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7324
|
+
waitFor?: boolean | undefined;
|
|
7325
|
+
createdAtLocation?: string | null | undefined;
|
|
7326
|
+
type?: "UNARCHIVE" | undefined;
|
|
7327
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7328
|
+
eventId: string;
|
|
7329
|
+
transactionId: string;
|
|
7330
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7331
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7332
|
+
originalActionId?: string | undefined;
|
|
7333
|
+
keepAssignment?: boolean | undefined;
|
|
7334
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7335
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7336
|
+
waitFor?: boolean | undefined;
|
|
7337
|
+
createdAtLocation?: string | null | undefined;
|
|
7338
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
7339
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7340
|
+
eventId: string;
|
|
7341
|
+
transactionId: string;
|
|
7342
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7343
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7344
|
+
originalActionId?: string | undefined;
|
|
7345
|
+
keepAssignment?: boolean | undefined;
|
|
7346
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7347
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7348
|
+
waitFor?: boolean | undefined;
|
|
7349
|
+
createdAtLocation?: string | null | undefined;
|
|
7350
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
7351
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7352
|
+
eventId: string;
|
|
7353
|
+
transactionId: string;
|
|
7354
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7355
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7356
|
+
originalActionId?: string | undefined;
|
|
7357
|
+
keepAssignment?: boolean | undefined;
|
|
7358
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7359
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7360
|
+
waitFor?: boolean | undefined;
|
|
7361
|
+
createdAtLocation?: string | null | undefined;
|
|
7362
|
+
type: "ASSIGN";
|
|
7363
|
+
assignedTo: string;
|
|
7364
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7365
|
+
eventId: string;
|
|
7366
|
+
transactionId: string;
|
|
7367
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7368
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7369
|
+
originalActionId?: string | undefined;
|
|
7370
|
+
keepAssignment?: boolean | undefined;
|
|
7371
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7372
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7373
|
+
waitFor?: boolean | undefined;
|
|
7374
|
+
createdAtLocation?: string | null | undefined;
|
|
7375
|
+
type?: "UNASSIGN" | undefined;
|
|
7376
|
+
assignedTo?: null | undefined;
|
|
7377
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7378
|
+
eventId: string;
|
|
7379
|
+
transactionId: string;
|
|
7380
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7381
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7382
|
+
originalActionId?: string | undefined;
|
|
7383
|
+
keepAssignment?: boolean | undefined;
|
|
7384
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7385
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7386
|
+
waitFor?: boolean | undefined;
|
|
7387
|
+
createdAtLocation?: string | null | undefined;
|
|
7388
|
+
type?: "PRINT_CERTIFICATE" | undefined;
|
|
7389
|
+
content?: {
|
|
7390
|
+
templateId?: string | undefined;
|
|
7391
|
+
} | undefined;
|
|
7392
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7393
|
+
eventId: string;
|
|
7394
|
+
transactionId: string;
|
|
7395
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7396
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7397
|
+
originalActionId?: string | undefined;
|
|
7398
|
+
keepAssignment?: boolean | undefined;
|
|
7399
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7400
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7401
|
+
waitFor?: boolean | undefined;
|
|
7402
|
+
createdAtLocation?: string | null | undefined;
|
|
7403
|
+
type?: "REQUEST_CORRECTION" | undefined;
|
|
7404
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7405
|
+
eventId: string;
|
|
7406
|
+
transactionId: string;
|
|
7407
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7408
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7409
|
+
originalActionId?: string | undefined;
|
|
7410
|
+
keepAssignment?: boolean | undefined;
|
|
7411
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7412
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7413
|
+
waitFor?: boolean | undefined;
|
|
7414
|
+
createdAtLocation?: string | null | undefined;
|
|
7415
|
+
requestId: string;
|
|
7416
|
+
type?: "REJECT_CORRECTION" | undefined;
|
|
7417
|
+
content: {
|
|
7418
|
+
reason: string;
|
|
7419
|
+
};
|
|
7420
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7421
|
+
eventId: string;
|
|
7422
|
+
transactionId: string;
|
|
7423
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7424
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7425
|
+
originalActionId?: string | undefined;
|
|
7426
|
+
keepAssignment?: boolean | undefined;
|
|
7427
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7428
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7429
|
+
waitFor?: boolean | undefined;
|
|
7430
|
+
createdAtLocation?: string | null | undefined;
|
|
7431
|
+
requestId: string;
|
|
7432
|
+
type?: "APPROVE_CORRECTION" | undefined;
|
|
7433
|
+
content?: {
|
|
7434
|
+
immediateCorrection?: boolean | undefined;
|
|
7435
|
+
} | undefined;
|
|
7436
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7437
|
+
eventId: string;
|
|
7438
|
+
transactionId: string;
|
|
7439
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7440
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7441
|
+
originalActionId?: string | undefined;
|
|
7442
|
+
keepAssignment?: boolean | undefined;
|
|
7443
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7444
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7445
|
+
waitFor?: boolean | undefined;
|
|
7446
|
+
createdAtLocation?: string | null | undefined;
|
|
7447
|
+
type?: "READ" | undefined;
|
|
7448
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7449
|
+
eventId: string;
|
|
7450
|
+
transactionId: string;
|
|
7451
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7452
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7453
|
+
originalActionId?: string | undefined;
|
|
7454
|
+
keepAssignment?: boolean | undefined;
|
|
7455
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7456
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7457
|
+
waitFor?: boolean | undefined;
|
|
7458
|
+
createdAtLocation?: string | null | undefined;
|
|
7459
|
+
type?: "CUSTOM" | undefined;
|
|
7460
|
+
customActionType: string;
|
|
7461
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7462
|
+
eventId: string;
|
|
7463
|
+
transactionId: string;
|
|
7464
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7465
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7466
|
+
originalActionId?: string | undefined;
|
|
7467
|
+
keepAssignment?: boolean | undefined;
|
|
7468
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7469
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7470
|
+
waitFor?: boolean | undefined;
|
|
7471
|
+
createdAtLocation?: string | null | undefined;
|
|
7472
|
+
type?: "EDIT" | undefined;
|
|
7473
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
7474
|
+
actionId: string;
|
|
7475
|
+
};
|
|
7476
|
+
output: import("../commons").EventDocument;
|
|
7477
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7478
|
+
}>;
|
|
7479
|
+
reject: import("@trpc/server").TRPCMutationProcedure<{
|
|
7480
|
+
input: import("zod").input<import("zod").ZodObject<{
|
|
7481
|
+
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
7482
|
+
transactionId: import("zod").ZodString;
|
|
7483
|
+
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7484
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
7485
|
+
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
7486
|
+
}, import("zod/v4/core").$strip>>;
|
|
7487
|
+
output: import("../commons").EventDocument;
|
|
7488
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7489
|
+
}>;
|
|
7490
|
+
}>>;
|
|
7491
|
+
reinstate: import("@trpc/server").TRPCBuiltRouter<{
|
|
7492
|
+
ctx: Partial<{
|
|
7493
|
+
token: `Bearer ${string}`;
|
|
7494
|
+
user: {
|
|
7495
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7496
|
+
type: "system";
|
|
7497
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7498
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7499
|
+
signature?: undefined;
|
|
7500
|
+
} | {
|
|
6319
7501
|
id: string & import("zod").$brand<"UUID">;
|
|
6320
7502
|
role: string;
|
|
6321
7503
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6322
7504
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6323
7505
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6324
7506
|
type: "user";
|
|
6325
|
-
} | {
|
|
6326
|
-
id: string & import("zod").$brand<"UUID">;
|
|
6327
|
-
type: "system";
|
|
6328
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6329
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6330
|
-
signature?: undefined;
|
|
6331
7507
|
};
|
|
6332
7508
|
}>;
|
|
6333
7509
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -6368,14 +7544,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6368
7544
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6369
7545
|
eventId: string;
|
|
6370
7546
|
transactionId: string;
|
|
6371
|
-
declaration?: Record<string, unknown> | undefined;
|
|
6372
|
-
annotation?: Record<string, unknown> | undefined;
|
|
6373
7547
|
originalActionId?: string | undefined;
|
|
6374
7548
|
keepAssignment?: boolean | undefined;
|
|
6375
7549
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6376
7550
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
6377
7551
|
waitFor?: boolean | undefined;
|
|
6378
7552
|
type?: "NOTIFY" | undefined;
|
|
7553
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7554
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6379
7555
|
createdAtLocation?: string | null | undefined;
|
|
6380
7556
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6381
7557
|
eventId: string;
|
|
@@ -6476,6 +7652,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6476
7652
|
waitFor?: boolean | undefined;
|
|
6477
7653
|
createdAtLocation?: string | null | undefined;
|
|
6478
7654
|
type?: "UNARCHIVE" | undefined;
|
|
7655
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7656
|
+
eventId: string;
|
|
7657
|
+
transactionId: string;
|
|
7658
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7659
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7660
|
+
originalActionId?: string | undefined;
|
|
7661
|
+
keepAssignment?: boolean | undefined;
|
|
7662
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7663
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7664
|
+
waitFor?: boolean | undefined;
|
|
7665
|
+
createdAtLocation?: string | null | undefined;
|
|
7666
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
7667
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7668
|
+
eventId: string;
|
|
7669
|
+
transactionId: string;
|
|
7670
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7671
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7672
|
+
originalActionId?: string | undefined;
|
|
7673
|
+
keepAssignment?: boolean | undefined;
|
|
7674
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7675
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7676
|
+
waitFor?: boolean | undefined;
|
|
7677
|
+
createdAtLocation?: string | null | undefined;
|
|
7678
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
6479
7679
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6480
7680
|
eventId: string;
|
|
6481
7681
|
transactionId: string;
|
|
@@ -6621,18 +7821,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6621
7821
|
ctx: Partial<{
|
|
6622
7822
|
token: `Bearer ${string}`;
|
|
6623
7823
|
user: {
|
|
7824
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7825
|
+
type: "system";
|
|
7826
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7827
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7828
|
+
signature?: undefined;
|
|
7829
|
+
} | {
|
|
6624
7830
|
id: string & import("zod").$brand<"UUID">;
|
|
6625
7831
|
role: string;
|
|
6626
7832
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6627
7833
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6628
7834
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6629
7835
|
type: "user";
|
|
6630
|
-
} | {
|
|
6631
|
-
id: string & import("zod").$brand<"UUID">;
|
|
6632
|
-
type: "system";
|
|
6633
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6634
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6635
|
-
signature?: undefined;
|
|
6636
7836
|
};
|
|
6637
7837
|
}>;
|
|
6638
7838
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -6774,6 +7974,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6774
7974
|
status: "Accepted" | "Rejected" | "Requested";
|
|
6775
7975
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6776
7976
|
type: "UNARCHIVE";
|
|
7977
|
+
} | {
|
|
7978
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7979
|
+
transactionId: string;
|
|
7980
|
+
createdByUserType: "system" | "user";
|
|
7981
|
+
createdAt: string;
|
|
7982
|
+
createdBy: string;
|
|
7983
|
+
createdByRole?: string | undefined;
|
|
7984
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7985
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7986
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
7987
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
7988
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
7989
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7990
|
+
type: "REVOKE_REGISTRATION";
|
|
7991
|
+
} | {
|
|
7992
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7993
|
+
transactionId: string;
|
|
7994
|
+
createdByUserType: "system" | "user";
|
|
7995
|
+
createdAt: string;
|
|
7996
|
+
createdBy: string;
|
|
7997
|
+
createdByRole?: string | undefined;
|
|
7998
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7999
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8000
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
8001
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
8002
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
8003
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8004
|
+
type: "REINSTATE_REGISTRATION";
|
|
6777
8005
|
} | {
|
|
6778
8006
|
id: string & import("zod").$brand<"UUID">;
|
|
6779
8007
|
transactionId: string;
|
|
@@ -6969,10 +8197,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6969
8197
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6970
8198
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6971
8199
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6972
|
-
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
8200
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
6973
8201
|
status: "Rejected";
|
|
6974
8202
|
})[];
|
|
6975
8203
|
trackingId: string;
|
|
8204
|
+
configVersionId: string;
|
|
6976
8205
|
};
|
|
6977
8206
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
6978
8207
|
}>;
|
|
@@ -7108,6 +8337,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7108
8337
|
status: "Accepted" | "Rejected" | "Requested";
|
|
7109
8338
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7110
8339
|
type: "UNARCHIVE";
|
|
8340
|
+
} | {
|
|
8341
|
+
id: string & import("zod").$brand<"UUID">;
|
|
8342
|
+
transactionId: string;
|
|
8343
|
+
createdByUserType: "system" | "user";
|
|
8344
|
+
createdAt: string;
|
|
8345
|
+
createdBy: string;
|
|
8346
|
+
createdByRole?: string | undefined;
|
|
8347
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8348
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8349
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
8350
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
8351
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
8352
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8353
|
+
type: "REVOKE_REGISTRATION";
|
|
8354
|
+
} | {
|
|
8355
|
+
id: string & import("zod").$brand<"UUID">;
|
|
8356
|
+
transactionId: string;
|
|
8357
|
+
createdByUserType: "system" | "user";
|
|
8358
|
+
createdAt: string;
|
|
8359
|
+
createdBy: string;
|
|
8360
|
+
createdByRole?: string | undefined;
|
|
8361
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8362
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8363
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
8364
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
8365
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
8366
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8367
|
+
type: "REINSTATE_REGISTRATION";
|
|
7111
8368
|
} | {
|
|
7112
8369
|
id: string & import("zod").$brand<"UUID">;
|
|
7113
8370
|
transactionId: string;
|
|
@@ -7303,10 +8560,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7303
8560
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7304
8561
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7305
8562
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7306
|
-
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
8563
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
7307
8564
|
status: "Rejected";
|
|
7308
8565
|
})[];
|
|
7309
8566
|
trackingId: string;
|
|
8567
|
+
configVersionId: string;
|
|
7310
8568
|
};
|
|
7311
8569
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7312
8570
|
}>;
|
|
@@ -7323,7 +8581,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7323
8581
|
results: {
|
|
7324
8582
|
id: string & import("zod").$brand<"UUID">;
|
|
7325
8583
|
type: string;
|
|
7326
|
-
|
|
8584
|
+
configVersionId: string;
|
|
8585
|
+
status: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED";
|
|
7327
8586
|
legalStatuses: {
|
|
7328
8587
|
NOTIFIED?: {
|
|
7329
8588
|
createdAt: string;
|
|
@@ -7350,6 +8609,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7350
8609
|
createdByRole?: string | undefined;
|
|
7351
8610
|
registrationNumber: string;
|
|
7352
8611
|
} | null | undefined;
|
|
8612
|
+
REVOKED?: {
|
|
8613
|
+
createdAt: string;
|
|
8614
|
+
createdBy: string;
|
|
8615
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8616
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
|
8617
|
+
acceptedAt: string;
|
|
8618
|
+
createdByRole?: string | undefined;
|
|
8619
|
+
} | null | undefined;
|
|
7353
8620
|
};
|
|
7354
8621
|
createdAt: string;
|
|
7355
8622
|
dateOfEvent?: string | null | undefined;
|
|
@@ -7493,6 +8760,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7493
8760
|
status: "Accepted" | "Rejected" | "Requested";
|
|
7494
8761
|
originalActionId?: string | null | undefined;
|
|
7495
8762
|
type: "UNARCHIVE";
|
|
8763
|
+
} | {
|
|
8764
|
+
id: string;
|
|
8765
|
+
transactionId: string;
|
|
8766
|
+
createdByUserType: "system" | "user";
|
|
8767
|
+
createdAt: string;
|
|
8768
|
+
createdBy: string;
|
|
8769
|
+
createdByRole?: string | undefined;
|
|
8770
|
+
createdBySignature?: string | null | undefined;
|
|
8771
|
+
createdAtLocation?: string | null | undefined;
|
|
8772
|
+
declaration: Record<string, unknown>;
|
|
8773
|
+
annotation?: Record<string, unknown> | null | undefined;
|
|
8774
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
8775
|
+
originalActionId?: string | null | undefined;
|
|
8776
|
+
type: "REVOKE_REGISTRATION";
|
|
8777
|
+
} | {
|
|
8778
|
+
id: string;
|
|
8779
|
+
transactionId: string;
|
|
8780
|
+
createdByUserType: "system" | "user";
|
|
8781
|
+
createdAt: string;
|
|
8782
|
+
createdBy: string;
|
|
8783
|
+
createdByRole?: string | undefined;
|
|
8784
|
+
createdBySignature?: string | null | undefined;
|
|
8785
|
+
createdAtLocation?: string | null | undefined;
|
|
8786
|
+
declaration: Record<string, unknown>;
|
|
8787
|
+
annotation?: Record<string, unknown> | null | undefined;
|
|
8788
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
8789
|
+
originalActionId?: string | null | undefined;
|
|
8790
|
+
type: "REINSTATE_REGISTRATION";
|
|
7496
8791
|
} | {
|
|
7497
8792
|
id: string;
|
|
7498
8793
|
transactionId: string;
|
|
@@ -7688,10 +8983,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7688
8983
|
createdBySignature?: string | null | undefined;
|
|
7689
8984
|
createdAtLocation?: string | null | undefined;
|
|
7690
8985
|
originalActionId?: string | null | undefined;
|
|
7691
|
-
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
8986
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
7692
8987
|
status: "Rejected";
|
|
7693
8988
|
})[];
|
|
7694
8989
|
trackingId: string;
|
|
8990
|
+
configVersionId: string;
|
|
7695
8991
|
}[];
|
|
7696
8992
|
output: any;
|
|
7697
8993
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -7701,18 +8997,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7701
8997
|
ctx: Partial<{
|
|
7702
8998
|
token: `Bearer ${string}`;
|
|
7703
8999
|
user: {
|
|
9000
|
+
id: string & import("zod").$brand<"UUID">;
|
|
9001
|
+
type: "system";
|
|
9002
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9003
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9004
|
+
signature?: undefined;
|
|
9005
|
+
} | {
|
|
7704
9006
|
id: string & import("zod").$brand<"UUID">;
|
|
7705
9007
|
role: string;
|
|
7706
9008
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7707
9009
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7708
9010
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7709
9011
|
type: "user";
|
|
7710
|
-
} | {
|
|
7711
|
-
id: string & import("zod").$brand<"UUID">;
|
|
7712
|
-
type: "system";
|
|
7713
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7714
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7715
|
-
signature?: undefined;
|
|
7716
9012
|
};
|
|
7717
9013
|
}>;
|
|
7718
9014
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -7899,18 +9195,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7899
9195
|
ctx: Partial<{
|
|
7900
9196
|
token: `Bearer ${string}`;
|
|
7901
9197
|
user: {
|
|
9198
|
+
id: string & import("zod").$brand<"UUID">;
|
|
9199
|
+
type: "system";
|
|
9200
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9201
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9202
|
+
signature?: undefined;
|
|
9203
|
+
} | {
|
|
7902
9204
|
id: string & import("zod").$brand<"UUID">;
|
|
7903
9205
|
role: string;
|
|
7904
9206
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7905
9207
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7906
9208
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7907
9209
|
type: "user";
|
|
7908
|
-
} | {
|
|
7909
|
-
id: string & import("zod").$brand<"UUID">;
|
|
7910
|
-
type: "system";
|
|
7911
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7912
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7913
|
-
signature?: undefined;
|
|
7914
9210
|
};
|
|
7915
9211
|
}>;
|
|
7916
9212
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -8023,18 +9319,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8023
9319
|
ctx: Partial<{
|
|
8024
9320
|
token: `Bearer ${string}`;
|
|
8025
9321
|
user: {
|
|
9322
|
+
id: string & import("zod").$brand<"UUID">;
|
|
9323
|
+
type: "system";
|
|
9324
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9325
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9326
|
+
signature?: undefined;
|
|
9327
|
+
} | {
|
|
8026
9328
|
id: string & import("zod").$brand<"UUID">;
|
|
8027
9329
|
role: string;
|
|
8028
9330
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8029
9331
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8030
9332
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8031
9333
|
type: "user";
|
|
8032
|
-
} | {
|
|
8033
|
-
id: string & import("zod").$brand<"UUID">;
|
|
8034
|
-
type: "system";
|
|
8035
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8036
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8037
|
-
signature?: undefined;
|
|
8038
9334
|
};
|
|
8039
9335
|
}>;
|
|
8040
9336
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -8099,7 +9395,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8099
9395
|
clientId: string;
|
|
8100
9396
|
clientType: "system" | "user";
|
|
8101
9397
|
createdAt: string;
|
|
8102
|
-
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";
|
|
9398
|
+
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.reinstate_registration.request" | "event.actions.reject.request" | "event.actions.revoke_registration.request" | "event.actions.unarchive.request" | "event.actions.unassign.request" | "event.actions.validate.request";
|
|
8103
9399
|
requestData: {
|
|
8104
9400
|
eventId: string;
|
|
8105
9401
|
actionType: string;
|
|
@@ -8406,18 +9702,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8406
9702
|
ctx: Partial<{
|
|
8407
9703
|
token: `Bearer ${string}`;
|
|
8408
9704
|
user: {
|
|
9705
|
+
id: string & import("zod").$brand<"UUID">;
|
|
9706
|
+
type: "system";
|
|
9707
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9708
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9709
|
+
signature?: undefined;
|
|
9710
|
+
} | {
|
|
8409
9711
|
id: string & import("zod").$brand<"UUID">;
|
|
8410
9712
|
role: string;
|
|
8411
9713
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8412
9714
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8413
9715
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8414
9716
|
type: "user";
|
|
8415
|
-
} | {
|
|
8416
|
-
id: string & import("zod").$brand<"UUID">;
|
|
8417
|
-
type: "system";
|
|
8418
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8419
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8420
|
-
signature?: undefined;
|
|
8421
9717
|
};
|
|
8422
9718
|
}>;
|
|
8423
9719
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -8558,18 +9854,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8558
9854
|
ctx: Partial<{
|
|
8559
9855
|
token: `Bearer ${string}`;
|
|
8560
9856
|
user: {
|
|
9857
|
+
id: string & import("zod").$brand<"UUID">;
|
|
9858
|
+
type: "system";
|
|
9859
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9860
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9861
|
+
signature?: undefined;
|
|
9862
|
+
} | {
|
|
8561
9863
|
id: string & import("zod").$brand<"UUID">;
|
|
8562
9864
|
role: string;
|
|
8563
9865
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8564
9866
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8565
9867
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8566
9868
|
type: "user";
|
|
8567
|
-
} | {
|
|
8568
|
-
id: string & import("zod").$brand<"UUID">;
|
|
8569
|
-
type: "system";
|
|
8570
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8571
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8572
|
-
signature?: undefined;
|
|
8573
9869
|
};
|
|
8574
9870
|
}>;
|
|
8575
9871
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -8580,18 +9876,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8580
9876
|
ctx: Partial<{
|
|
8581
9877
|
token: `Bearer ${string}`;
|
|
8582
9878
|
user: {
|
|
9879
|
+
id: string & import("zod").$brand<"UUID">;
|
|
9880
|
+
type: "system";
|
|
9881
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9882
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9883
|
+
signature?: undefined;
|
|
9884
|
+
} | {
|
|
8583
9885
|
id: string & import("zod").$brand<"UUID">;
|
|
8584
9886
|
role: string;
|
|
8585
9887
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8586
9888
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8587
9889
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8588
9890
|
type: "user";
|
|
8589
|
-
} | {
|
|
8590
|
-
id: string & import("zod").$brand<"UUID">;
|
|
8591
|
-
type: "system";
|
|
8592
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8593
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8594
|
-
signature?: undefined;
|
|
8595
9891
|
};
|
|
8596
9892
|
}>;
|
|
8597
9893
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -8613,10 +9909,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8613
9909
|
eventType?: string | undefined;
|
|
8614
9910
|
status?: {
|
|
8615
9911
|
type: "anyOf";
|
|
8616
|
-
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
|
|
9912
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[];
|
|
9913
|
+
} | {
|
|
9914
|
+
type: "noneOf";
|
|
9915
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[];
|
|
8617
9916
|
} | {
|
|
8618
9917
|
type: "exact";
|
|
8619
|
-
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
9918
|
+
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED";
|
|
8620
9919
|
} | undefined;
|
|
8621
9920
|
createdAt?: {
|
|
8622
9921
|
type: "exact";
|
|
@@ -8677,6 +9976,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8677
9976
|
type: "exact";
|
|
8678
9977
|
term: string;
|
|
8679
9978
|
} | undefined;
|
|
9979
|
+
'legalStatuses.REVOKED.createdAtLocation'?: {
|
|
9980
|
+
type: "within";
|
|
9981
|
+
location: string | {
|
|
9982
|
+
$userField: "administrativeAreaId" | "avatar" | "device" | "firstname" | "fullHonorificName" | "id" | "middlename" | "name" | "primaryOfficeId" | "role" | "signature" | "surname";
|
|
9983
|
+
$location?: string | undefined;
|
|
9984
|
+
};
|
|
9985
|
+
} | undefined;
|
|
8680
9986
|
createdAtLocation?: {
|
|
8681
9987
|
type: "within";
|
|
8682
9988
|
location: string | {
|
|
@@ -8752,10 +10058,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8752
10058
|
eventType?: string | undefined;
|
|
8753
10059
|
status?: {
|
|
8754
10060
|
type: "anyOf";
|
|
8755
|
-
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
|
|
10061
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[];
|
|
10062
|
+
} | {
|
|
10063
|
+
type: "noneOf";
|
|
10064
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[];
|
|
8756
10065
|
} | {
|
|
8757
10066
|
type: "exact";
|
|
8758
|
-
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
10067
|
+
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED";
|
|
8759
10068
|
} | undefined;
|
|
8760
10069
|
createdAt?: {
|
|
8761
10070
|
type: "exact";
|
|
@@ -8816,6 +10125,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8816
10125
|
type: "exact";
|
|
8817
10126
|
term: string;
|
|
8818
10127
|
} | undefined;
|
|
10128
|
+
'legalStatuses.REVOKED.createdAtLocation'?: {
|
|
10129
|
+
type: "within";
|
|
10130
|
+
location: string | {
|
|
10131
|
+
$userField: "administrativeAreaId" | "avatar" | "device" | "firstname" | "fullHonorificName" | "id" | "middlename" | "name" | "primaryOfficeId" | "role" | "signature" | "surname";
|
|
10132
|
+
$location?: string | undefined;
|
|
10133
|
+
};
|
|
10134
|
+
} | undefined;
|
|
8819
10135
|
createdAtLocation?: {
|
|
8820
10136
|
type: "within";
|
|
8821
10137
|
location: string | {
|
|
@@ -8887,7 +10203,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8887
10203
|
}[];
|
|
8888
10204
|
};
|
|
8889
10205
|
action?: {
|
|
8890
|
-
type: "ARCHIVE" | "DECLARE" | "DELETE" | "EDIT" | "MARK_AS_DUPLICATE" | "PRINT_CERTIFICATE" | "READ" | "REGISTER" | "REJECT" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
10206
|
+
type: "ARCHIVE" | "DECLARE" | "DELETE" | "EDIT" | "MARK_AS_DUPLICATE" | "PRINT_CERTIFICATE" | "READ" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
8891
10207
|
} | undefined;
|
|
8892
10208
|
columns: {
|
|
8893
10209
|
label: {
|
|
@@ -8922,18 +10238,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8922
10238
|
ctx: Partial<{
|
|
8923
10239
|
token: `Bearer ${string}`;
|
|
8924
10240
|
user: {
|
|
10241
|
+
id: string & import("zod").$brand<"UUID">;
|
|
10242
|
+
type: "system";
|
|
10243
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10244
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10245
|
+
signature?: undefined;
|
|
10246
|
+
} | {
|
|
8925
10247
|
id: string & import("zod").$brand<"UUID">;
|
|
8926
10248
|
role: string;
|
|
8927
10249
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8928
10250
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8929
10251
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8930
10252
|
type: "user";
|
|
8931
|
-
} | {
|
|
8932
|
-
id: string & import("zod").$brand<"UUID">;
|
|
8933
|
-
type: "system";
|
|
8934
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8935
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8936
|
-
signature?: undefined;
|
|
8937
10253
|
};
|
|
8938
10254
|
}>;
|
|
8939
10255
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -9039,18 +10355,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
9039
10355
|
ctx: Partial<{
|
|
9040
10356
|
token: `Bearer ${string}`;
|
|
9041
10357
|
user: {
|
|
10358
|
+
id: string & import("zod").$brand<"UUID">;
|
|
10359
|
+
type: "system";
|
|
10360
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10361
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10362
|
+
signature?: undefined;
|
|
10363
|
+
} | {
|
|
9042
10364
|
id: string & import("zod").$brand<"UUID">;
|
|
9043
10365
|
role: string;
|
|
9044
10366
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
9045
10367
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
9046
10368
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
9047
10369
|
type: "user";
|
|
9048
|
-
} | {
|
|
9049
|
-
id: string & import("zod").$brand<"UUID">;
|
|
9050
|
-
type: "system";
|
|
9051
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9052
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9053
|
-
signature?: undefined;
|
|
9054
10370
|
};
|
|
9055
10371
|
}>;
|
|
9056
10372
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -9213,7 +10529,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
9213
10529
|
clientId: string;
|
|
9214
10530
|
clientType: "system" | "user";
|
|
9215
10531
|
createdAt: string;
|
|
9216
|
-
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";
|
|
10532
|
+
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.reinstate_registration.request" | "event.actions.reject.request" | "event.actions.revoke_registration.request" | "event.actions.unarchive.request" | "event.actions.unassign.request" | "event.actions.validate.request";
|
|
9217
10533
|
requestData: {
|
|
9218
10534
|
eventId: string;
|
|
9219
10535
|
actionType: string;
|
|
@@ -9519,18 +10835,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
9519
10835
|
ctx: Partial<{
|
|
9520
10836
|
token: `Bearer ${string}`;
|
|
9521
10837
|
user: {
|
|
10838
|
+
id: string & import("zod").$brand<"UUID">;
|
|
10839
|
+
type: "system";
|
|
10840
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10841
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10842
|
+
signature?: undefined;
|
|
10843
|
+
} | {
|
|
9522
10844
|
id: string & import("zod").$brand<"UUID">;
|
|
9523
10845
|
role: string;
|
|
9524
10846
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
9525
10847
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
9526
10848
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
9527
10849
|
type: "user";
|
|
9528
|
-
} | {
|
|
9529
|
-
id: string & import("zod").$brand<"UUID">;
|
|
9530
|
-
type: "system";
|
|
9531
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9532
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9533
|
-
signature?: undefined;
|
|
9534
10850
|
};
|
|
9535
10851
|
}>;
|
|
9536
10852
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -9555,18 +10871,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
9555
10871
|
ctx: Partial<{
|
|
9556
10872
|
token: `Bearer ${string}`;
|
|
9557
10873
|
user: {
|
|
10874
|
+
id: string & import("zod").$brand<"UUID">;
|
|
10875
|
+
type: "system";
|
|
10876
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10877
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10878
|
+
signature?: undefined;
|
|
10879
|
+
} | {
|
|
9558
10880
|
id: string & import("zod").$brand<"UUID">;
|
|
9559
10881
|
role: string;
|
|
9560
10882
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
9561
10883
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
9562
10884
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
9563
10885
|
type: "user";
|
|
9564
|
-
} | {
|
|
9565
|
-
id: string & import("zod").$brand<"UUID">;
|
|
9566
|
-
type: "system";
|
|
9567
|
-
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9568
|
-
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9569
|
-
signature?: undefined;
|
|
9570
10886
|
};
|
|
9571
10887
|
}>;
|
|
9572
10888
|
meta: import("trpc-to-openapi").OpenApiMeta;
|