@opencrvs/toolkit 2.1.2 → 2.2.0-rc.1a111f2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build.sh +2 -12
- package/create-countryconfig/package.json +1 -1
- package/dist/application-config/index.js +41 -9
- package/dist/authentication/index.d.ts +1 -0
- package/dist/authentication/index.js +30 -6
- package/dist/cli.js +1489 -2020
- package/dist/commons/api/router.d.ts +1551 -248
- package/dist/commons/application-config/index.d.ts +2 -2
- package/dist/commons/conditionals/conditionals.d.ts +3 -3
- package/dist/commons/conditionals/index.d.ts +1 -0
- package/dist/commons/conditionals/validate.d.ts +5 -0
- 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/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 +412 -6
- package/dist/commons/events/EventDocument.d.ts +88 -0
- package/dist/commons/events/EventIndex.d.ts +43 -6
- package/dist/commons/events/EventMetadata.d.ts +23 -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 +6 -6
- package/dist/commons/events/Flag.d.ts +1 -7
- package/dist/commons/events/PlainDate.d.ts +1 -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 +4 -1
- package/dist/commons/events/eventConfigValidation.d.ts +26 -1
- package/dist/commons/events/field.d.ts +5 -0
- package/dist/commons/events/index.d.ts +3 -0
- package/dist/commons/events/scopes.d.ts +3 -0
- package/dist/commons/events/state/flags.d.ts +1 -1
- package/dist/commons/events/state/index.d.ts +10 -2
- package/dist/commons/events/state/utils.d.ts +11 -1
- package/dist/commons/events/test.utils.d.ts +87 -6
- package/dist/commons/events/toNotificationForm.d.ts +17 -0
- package/dist/commons/events/utils.d.ts +75 -8
- package/dist/conditionals/index.js +16 -4
- 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 +159 -35
- package/dist/environment/templates.d.ts.map +1 -1
- package/dist/events/index.js +944 -214
- 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 +887 -129
- package/dist/scopes/index.d.ts +83 -90
- package/dist/scopes/index.js +26 -6
- package/dist/templates/charts-values/dependencies/values.yaml +3 -2
- package/dist/templates/charts-values/opencrvs-services/values.yaml +5 -7
- 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.1a111f2.tgz +0 -0
- package/package.json +3 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- 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
|
}>>;
|
|
@@ -242,6 +242,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
242
242
|
status: "Accepted" | "Rejected" | "Requested";
|
|
243
243
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
244
244
|
type: "UNARCHIVE";
|
|
245
|
+
} | {
|
|
246
|
+
id: string & import("zod").$brand<"UUID">;
|
|
247
|
+
transactionId: string;
|
|
248
|
+
createdByUserType: "system" | "user";
|
|
249
|
+
createdAt: string;
|
|
250
|
+
createdBy: string;
|
|
251
|
+
createdByRole?: string | undefined;
|
|
252
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
253
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
254
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
255
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
256
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
257
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
258
|
+
type: "REVOKE_REGISTRATION";
|
|
259
|
+
} | {
|
|
260
|
+
id: string & import("zod").$brand<"UUID">;
|
|
261
|
+
transactionId: string;
|
|
262
|
+
createdByUserType: "system" | "user";
|
|
263
|
+
createdAt: string;
|
|
264
|
+
createdBy: string;
|
|
265
|
+
createdByRole?: string | undefined;
|
|
266
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
267
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
268
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
269
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
270
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
271
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
272
|
+
type: "REINSTATE_REGISTRATION";
|
|
245
273
|
} | {
|
|
246
274
|
id: string & import("zod").$brand<"UUID">;
|
|
247
275
|
transactionId: string;
|
|
@@ -437,7 +465,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
437
465
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
438
466
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
439
467
|
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";
|
|
468
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
441
469
|
status: "Rejected";
|
|
442
470
|
})[];
|
|
443
471
|
trackingId: string;
|
|
@@ -567,6 +595,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
567
595
|
status: "Accepted" | "Rejected" | "Requested";
|
|
568
596
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
569
597
|
type: "UNARCHIVE";
|
|
598
|
+
} | {
|
|
599
|
+
id: string & import("zod").$brand<"UUID">;
|
|
600
|
+
transactionId: string;
|
|
601
|
+
createdByUserType: "system" | "user";
|
|
602
|
+
createdAt: string;
|
|
603
|
+
createdBy: string;
|
|
604
|
+
createdByRole?: string | undefined;
|
|
605
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
606
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
607
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
608
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
609
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
610
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
611
|
+
type: "REVOKE_REGISTRATION";
|
|
612
|
+
} | {
|
|
613
|
+
id: string & import("zod").$brand<"UUID">;
|
|
614
|
+
transactionId: string;
|
|
615
|
+
createdByUserType: "system" | "user";
|
|
616
|
+
createdAt: string;
|
|
617
|
+
createdBy: string;
|
|
618
|
+
createdByRole?: string | undefined;
|
|
619
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
620
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
621
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
622
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
623
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
624
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
625
|
+
type: "REINSTATE_REGISTRATION";
|
|
570
626
|
} | {
|
|
571
627
|
id: string & import("zod").$brand<"UUID">;
|
|
572
628
|
transactionId: string;
|
|
@@ -762,7 +818,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
762
818
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
763
819
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
764
820
|
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";
|
|
821
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
766
822
|
status: "Rejected";
|
|
767
823
|
})[];
|
|
768
824
|
trackingId: string;
|
|
@@ -892,6 +948,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
892
948
|
status: "Accepted" | "Rejected" | "Requested";
|
|
893
949
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
894
950
|
type: "UNARCHIVE";
|
|
951
|
+
} | {
|
|
952
|
+
id: string & import("zod").$brand<"UUID">;
|
|
953
|
+
transactionId: string;
|
|
954
|
+
createdByUserType: "system" | "user";
|
|
955
|
+
createdAt: string;
|
|
956
|
+
createdBy: string;
|
|
957
|
+
createdByRole?: string | undefined;
|
|
958
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
959
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
960
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
961
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
962
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
963
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
964
|
+
type: "REVOKE_REGISTRATION";
|
|
965
|
+
} | {
|
|
966
|
+
id: string & import("zod").$brand<"UUID">;
|
|
967
|
+
transactionId: string;
|
|
968
|
+
createdByUserType: "system" | "user";
|
|
969
|
+
createdAt: string;
|
|
970
|
+
createdBy: string;
|
|
971
|
+
createdByRole?: string | undefined;
|
|
972
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
973
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
974
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
975
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
976
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
977
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
978
|
+
type: "REINSTATE_REGISTRATION";
|
|
895
979
|
} | {
|
|
896
980
|
id: string & import("zod").$brand<"UUID">;
|
|
897
981
|
transactionId: string;
|
|
@@ -1087,7 +1171,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1087
1171
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1088
1172
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1089
1173
|
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";
|
|
1174
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
1091
1175
|
status: "Rejected";
|
|
1092
1176
|
})[];
|
|
1093
1177
|
trackingId: string;
|
|
@@ -1107,18 +1191,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1107
1191
|
ctx: Partial<{
|
|
1108
1192
|
token: `Bearer ${string}`;
|
|
1109
1193
|
user: {
|
|
1194
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1195
|
+
type: "system";
|
|
1196
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1197
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1198
|
+
signature?: undefined;
|
|
1199
|
+
} | {
|
|
1110
1200
|
id: string & import("zod").$brand<"UUID">;
|
|
1111
1201
|
role: string;
|
|
1112
1202
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1113
1203
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1114
1204
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1115
1205
|
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
1206
|
};
|
|
1123
1207
|
}>;
|
|
1124
1208
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -1143,7 +1227,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1143
1227
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1144
1228
|
status: "Accepted" | "Rejected" | "Requested";
|
|
1145
1229
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1146
|
-
type: "
|
|
1230
|
+
type: "DECLARE" | "NOTIFY";
|
|
1147
1231
|
};
|
|
1148
1232
|
}[];
|
|
1149
1233
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -1159,7 +1243,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1159
1243
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1160
1244
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1161
1245
|
createdAtLocation?: string | null | undefined;
|
|
1162
|
-
type: "DECLARE";
|
|
1246
|
+
type: "DECLARE" | "NOTIFY";
|
|
1163
1247
|
status: "Accepted" | "Rejected" | "Requested";
|
|
1164
1248
|
};
|
|
1165
1249
|
output: {
|
|
@@ -1178,7 +1262,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1178
1262
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1179
1263
|
status: "Accepted" | "Rejected" | "Requested";
|
|
1180
1264
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1181
|
-
type: "
|
|
1265
|
+
type: "DECLARE" | "NOTIFY";
|
|
1182
1266
|
};
|
|
1183
1267
|
};
|
|
1184
1268
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -1188,18 +1272,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1188
1272
|
ctx: Partial<{
|
|
1189
1273
|
token: `Bearer ${string}`;
|
|
1190
1274
|
user: {
|
|
1275
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1276
|
+
type: "system";
|
|
1277
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1278
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1279
|
+
signature?: undefined;
|
|
1280
|
+
} | {
|
|
1191
1281
|
id: string & import("zod").$brand<"UUID">;
|
|
1192
1282
|
role: string;
|
|
1193
1283
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1194
1284
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1195
1285
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1196
1286
|
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
1287
|
};
|
|
1204
1288
|
}>;
|
|
1205
1289
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -1220,18 +1304,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1220
1304
|
ctx: Partial<{
|
|
1221
1305
|
token: `Bearer ${string}`;
|
|
1222
1306
|
user: {
|
|
1307
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1308
|
+
type: "system";
|
|
1309
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1310
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1311
|
+
signature?: undefined;
|
|
1312
|
+
} | {
|
|
1223
1313
|
id: string & import("zod").$brand<"UUID">;
|
|
1224
1314
|
role: string;
|
|
1225
1315
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1226
1316
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1227
1317
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1228
1318
|
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
1319
|
};
|
|
1236
1320
|
}>;
|
|
1237
1321
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -1242,18 +1326,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1242
1326
|
ctx: Partial<{
|
|
1243
1327
|
token: `Bearer ${string}`;
|
|
1244
1328
|
user: {
|
|
1329
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1330
|
+
type: "system";
|
|
1331
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1332
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1333
|
+
signature?: undefined;
|
|
1334
|
+
} | {
|
|
1245
1335
|
id: string & import("zod").$brand<"UUID">;
|
|
1246
1336
|
role: string;
|
|
1247
1337
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1248
1338
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1249
1339
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1250
1340
|
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
1341
|
};
|
|
1258
1342
|
}>;
|
|
1259
1343
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -1294,14 +1378,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1294
1378
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1295
1379
|
eventId: string;
|
|
1296
1380
|
transactionId: string;
|
|
1297
|
-
declaration?: Record<string, unknown> | undefined;
|
|
1298
|
-
annotation?: Record<string, unknown> | undefined;
|
|
1299
1381
|
originalActionId?: string | undefined;
|
|
1300
1382
|
keepAssignment?: boolean | undefined;
|
|
1301
1383
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1302
1384
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1303
1385
|
waitFor?: boolean | undefined;
|
|
1304
1386
|
type?: "NOTIFY" | undefined;
|
|
1387
|
+
declaration?: Record<string, unknown> | undefined;
|
|
1388
|
+
annotation?: Record<string, unknown> | undefined;
|
|
1305
1389
|
createdAtLocation?: string | null | undefined;
|
|
1306
1390
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1307
1391
|
eventId: string;
|
|
@@ -1402,6 +1486,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1402
1486
|
waitFor?: boolean | undefined;
|
|
1403
1487
|
createdAtLocation?: string | null | undefined;
|
|
1404
1488
|
type?: "UNARCHIVE" | undefined;
|
|
1489
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1490
|
+
eventId: string;
|
|
1491
|
+
transactionId: string;
|
|
1492
|
+
declaration?: Record<string, unknown> | undefined;
|
|
1493
|
+
annotation?: Record<string, unknown> | undefined;
|
|
1494
|
+
originalActionId?: string | undefined;
|
|
1495
|
+
keepAssignment?: boolean | undefined;
|
|
1496
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1497
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
1498
|
+
waitFor?: boolean | undefined;
|
|
1499
|
+
createdAtLocation?: string | null | undefined;
|
|
1500
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
1501
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1502
|
+
eventId: string;
|
|
1503
|
+
transactionId: string;
|
|
1504
|
+
declaration?: Record<string, unknown> | undefined;
|
|
1505
|
+
annotation?: Record<string, unknown> | undefined;
|
|
1506
|
+
originalActionId?: string | undefined;
|
|
1507
|
+
keepAssignment?: boolean | undefined;
|
|
1508
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1509
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
1510
|
+
waitFor?: boolean | undefined;
|
|
1511
|
+
createdAtLocation?: string | null | undefined;
|
|
1512
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
1405
1513
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1406
1514
|
eventId: string;
|
|
1407
1515
|
transactionId: string;
|
|
@@ -1546,18 +1654,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1546
1654
|
ctx: Partial<{
|
|
1547
1655
|
token: `Bearer ${string}`;
|
|
1548
1656
|
user: {
|
|
1657
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1658
|
+
type: "system";
|
|
1659
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1660
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1661
|
+
signature?: undefined;
|
|
1662
|
+
} | {
|
|
1549
1663
|
id: string & import("zod").$brand<"UUID">;
|
|
1550
1664
|
role: string;
|
|
1551
1665
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1552
1666
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1553
1667
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1554
1668
|
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
1669
|
};
|
|
1562
1670
|
}>;
|
|
1563
1671
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -1567,13 +1675,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1567
1675
|
request: import("@trpc/server").TRPCMutationProcedure<{
|
|
1568
1676
|
input: {
|
|
1569
1677
|
transactionId: string;
|
|
1570
|
-
declaration?: Record<string, unknown> | undefined;
|
|
1571
|
-
annotation?: Record<string, unknown> | undefined;
|
|
1572
1678
|
originalActionId?: string | undefined;
|
|
1573
1679
|
keepAssignment?: boolean | undefined;
|
|
1574
1680
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1575
1681
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1576
1682
|
waitFor?: boolean | undefined;
|
|
1683
|
+
declaration?: Record<string, unknown> | undefined;
|
|
1684
|
+
annotation?: Record<string, unknown> | undefined;
|
|
1577
1685
|
eventType: string;
|
|
1578
1686
|
createdAtLocation: string;
|
|
1579
1687
|
};
|
|
@@ -1695,6 +1803,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1695
1803
|
status: "Accepted" | "Rejected" | "Requested";
|
|
1696
1804
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1697
1805
|
type: "UNARCHIVE";
|
|
1806
|
+
} | {
|
|
1807
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1808
|
+
transactionId: string;
|
|
1809
|
+
createdByUserType: "system" | "user";
|
|
1810
|
+
createdAt: string;
|
|
1811
|
+
createdBy: string;
|
|
1812
|
+
createdByRole?: string | undefined;
|
|
1813
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1814
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1815
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1816
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1817
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
1818
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1819
|
+
type: "REVOKE_REGISTRATION";
|
|
1820
|
+
} | {
|
|
1821
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1822
|
+
transactionId: string;
|
|
1823
|
+
createdByUserType: "system" | "user";
|
|
1824
|
+
createdAt: string;
|
|
1825
|
+
createdBy: string;
|
|
1826
|
+
createdByRole?: string | undefined;
|
|
1827
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1828
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1829
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1830
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1831
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
1832
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1833
|
+
type: "REINSTATE_REGISTRATION";
|
|
1698
1834
|
} | {
|
|
1699
1835
|
id: string & import("zod").$brand<"UUID">;
|
|
1700
1836
|
transactionId: string;
|
|
@@ -1890,7 +2026,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1890
2026
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1891
2027
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1892
2028
|
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";
|
|
2029
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
1894
2030
|
status: "Rejected";
|
|
1895
2031
|
})[];
|
|
1896
2032
|
trackingId: string;
|
|
@@ -1902,18 +2038,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1902
2038
|
ctx: Partial<{
|
|
1903
2039
|
token: `Bearer ${string}`;
|
|
1904
2040
|
user: {
|
|
2041
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2042
|
+
type: "system";
|
|
2043
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2044
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2045
|
+
signature?: undefined;
|
|
2046
|
+
} | {
|
|
1905
2047
|
id: string & import("zod").$brand<"UUID">;
|
|
1906
2048
|
role: string;
|
|
1907
2049
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1908
2050
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1909
2051
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1910
2052
|
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
2053
|
};
|
|
1918
2054
|
}>;
|
|
1919
2055
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -1949,14 +2085,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1949
2085
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1950
2086
|
eventId: string;
|
|
1951
2087
|
transactionId: string;
|
|
1952
|
-
declaration?: Record<string, unknown> | undefined;
|
|
1953
|
-
annotation?: Record<string, unknown> | undefined;
|
|
1954
2088
|
originalActionId?: string | undefined;
|
|
1955
2089
|
keepAssignment?: boolean | undefined;
|
|
1956
2090
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1957
2091
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1958
2092
|
waitFor?: boolean | undefined;
|
|
1959
2093
|
type?: "NOTIFY" | undefined;
|
|
2094
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2095
|
+
annotation?: Record<string, unknown> | undefined;
|
|
1960
2096
|
createdAtLocation?: string | null | undefined;
|
|
1961
2097
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1962
2098
|
eventId: string;
|
|
@@ -2057,6 +2193,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2057
2193
|
waitFor?: boolean | undefined;
|
|
2058
2194
|
createdAtLocation?: string | null | undefined;
|
|
2059
2195
|
type?: "UNARCHIVE" | undefined;
|
|
2196
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2197
|
+
eventId: string;
|
|
2198
|
+
transactionId: string;
|
|
2199
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2200
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2201
|
+
originalActionId?: string | undefined;
|
|
2202
|
+
keepAssignment?: boolean | undefined;
|
|
2203
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2204
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2205
|
+
waitFor?: boolean | undefined;
|
|
2206
|
+
createdAtLocation?: string | null | undefined;
|
|
2207
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
2208
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2209
|
+
eventId: string;
|
|
2210
|
+
transactionId: string;
|
|
2211
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2212
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2213
|
+
originalActionId?: string | undefined;
|
|
2214
|
+
keepAssignment?: boolean | undefined;
|
|
2215
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2216
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2217
|
+
waitFor?: boolean | undefined;
|
|
2218
|
+
createdAtLocation?: string | null | undefined;
|
|
2219
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
2060
2220
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2061
2221
|
eventId: string;
|
|
2062
2222
|
transactionId: string;
|
|
@@ -2328,6 +2488,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2328
2488
|
status: "Accepted" | "Rejected" | "Requested";
|
|
2329
2489
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2330
2490
|
type: "UNARCHIVE";
|
|
2491
|
+
} | {
|
|
2492
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2493
|
+
transactionId: string;
|
|
2494
|
+
createdByUserType: "system" | "user";
|
|
2495
|
+
createdAt: string;
|
|
2496
|
+
createdBy: string;
|
|
2497
|
+
createdByRole?: string | undefined;
|
|
2498
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2499
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2500
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
2501
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
2502
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
2503
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2504
|
+
type: "REVOKE_REGISTRATION";
|
|
2505
|
+
} | {
|
|
2506
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2507
|
+
transactionId: string;
|
|
2508
|
+
createdByUserType: "system" | "user";
|
|
2509
|
+
createdAt: string;
|
|
2510
|
+
createdBy: string;
|
|
2511
|
+
createdByRole?: string | undefined;
|
|
2512
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2513
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2514
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
2515
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
2516
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
2517
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2518
|
+
type: "REINSTATE_REGISTRATION";
|
|
2331
2519
|
} | {
|
|
2332
2520
|
id: string & import("zod").$brand<"UUID">;
|
|
2333
2521
|
transactionId: string;
|
|
@@ -2523,7 +2711,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2523
2711
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2524
2712
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2525
2713
|
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";
|
|
2714
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
2527
2715
|
status: "Rejected";
|
|
2528
2716
|
})[];
|
|
2529
2717
|
trackingId: string;
|
|
@@ -2535,18 +2723,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2535
2723
|
ctx: Partial<{
|
|
2536
2724
|
token: `Bearer ${string}`;
|
|
2537
2725
|
user: {
|
|
2726
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2727
|
+
type: "system";
|
|
2728
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2729
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2730
|
+
signature?: undefined;
|
|
2731
|
+
} | {
|
|
2538
2732
|
id: string & import("zod").$brand<"UUID">;
|
|
2539
2733
|
role: string;
|
|
2540
2734
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2541
2735
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2542
2736
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2543
2737
|
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
2738
|
};
|
|
2551
2739
|
}>;
|
|
2552
2740
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -2587,14 +2775,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2587
2775
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2588
2776
|
eventId: string;
|
|
2589
2777
|
transactionId: string;
|
|
2590
|
-
declaration?: Record<string, unknown> | undefined;
|
|
2591
|
-
annotation?: Record<string, unknown> | undefined;
|
|
2592
2778
|
originalActionId?: string | undefined;
|
|
2593
2779
|
keepAssignment?: boolean | undefined;
|
|
2594
2780
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2595
2781
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2596
2782
|
waitFor?: boolean | undefined;
|
|
2597
2783
|
type?: "NOTIFY" | undefined;
|
|
2784
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2785
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2598
2786
|
createdAtLocation?: string | null | undefined;
|
|
2599
2787
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2600
2788
|
eventId: string;
|
|
@@ -2695,6 +2883,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2695
2883
|
waitFor?: boolean | undefined;
|
|
2696
2884
|
createdAtLocation?: string | null | undefined;
|
|
2697
2885
|
type?: "UNARCHIVE" | undefined;
|
|
2886
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2887
|
+
eventId: string;
|
|
2888
|
+
transactionId: string;
|
|
2889
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2890
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2891
|
+
originalActionId?: string | undefined;
|
|
2892
|
+
keepAssignment?: boolean | undefined;
|
|
2893
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2894
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2895
|
+
waitFor?: boolean | undefined;
|
|
2896
|
+
createdAtLocation?: string | null | undefined;
|
|
2897
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
2898
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2899
|
+
eventId: string;
|
|
2900
|
+
transactionId: string;
|
|
2901
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2902
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2903
|
+
originalActionId?: string | undefined;
|
|
2904
|
+
keepAssignment?: boolean | undefined;
|
|
2905
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2906
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2907
|
+
waitFor?: boolean | undefined;
|
|
2908
|
+
createdAtLocation?: string | null | undefined;
|
|
2909
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
2698
2910
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2699
2911
|
eventId: string;
|
|
2700
2912
|
transactionId: string;
|
|
@@ -2839,18 +3051,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2839
3051
|
ctx: Partial<{
|
|
2840
3052
|
token: `Bearer ${string}`;
|
|
2841
3053
|
user: {
|
|
3054
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3055
|
+
type: "system";
|
|
3056
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3057
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3058
|
+
signature?: undefined;
|
|
3059
|
+
} | {
|
|
2842
3060
|
id: string & import("zod").$brand<"UUID">;
|
|
2843
3061
|
role: string;
|
|
2844
3062
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2845
3063
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2846
3064
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2847
3065
|
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
3066
|
};
|
|
2855
3067
|
}>;
|
|
2856
3068
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -2891,14 +3103,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2891
3103
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2892
3104
|
eventId: string;
|
|
2893
3105
|
transactionId: string;
|
|
2894
|
-
declaration?: Record<string, unknown> | undefined;
|
|
2895
|
-
annotation?: Record<string, unknown> | undefined;
|
|
2896
3106
|
originalActionId?: string | undefined;
|
|
2897
3107
|
keepAssignment?: boolean | undefined;
|
|
2898
3108
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2899
3109
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2900
3110
|
waitFor?: boolean | undefined;
|
|
2901
3111
|
type?: "NOTIFY" | undefined;
|
|
3112
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3113
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2902
3114
|
createdAtLocation?: string | null | undefined;
|
|
2903
3115
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2904
3116
|
eventId: string;
|
|
@@ -2999,6 +3211,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2999
3211
|
waitFor?: boolean | undefined;
|
|
3000
3212
|
createdAtLocation?: string | null | undefined;
|
|
3001
3213
|
type?: "UNARCHIVE" | undefined;
|
|
3214
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3215
|
+
eventId: string;
|
|
3216
|
+
transactionId: string;
|
|
3217
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3218
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3219
|
+
originalActionId?: string | undefined;
|
|
3220
|
+
keepAssignment?: boolean | undefined;
|
|
3221
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3222
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3223
|
+
waitFor?: boolean | undefined;
|
|
3224
|
+
createdAtLocation?: string | null | undefined;
|
|
3225
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
3226
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3227
|
+
eventId: string;
|
|
3228
|
+
transactionId: string;
|
|
3229
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3230
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3231
|
+
originalActionId?: string | undefined;
|
|
3232
|
+
keepAssignment?: boolean | undefined;
|
|
3233
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3234
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3235
|
+
waitFor?: boolean | undefined;
|
|
3236
|
+
createdAtLocation?: string | null | undefined;
|
|
3237
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
3002
3238
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3003
3239
|
eventId: string;
|
|
3004
3240
|
transactionId: string;
|
|
@@ -3143,18 +3379,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3143
3379
|
ctx: Partial<{
|
|
3144
3380
|
token: `Bearer ${string}`;
|
|
3145
3381
|
user: {
|
|
3382
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3383
|
+
type: "system";
|
|
3384
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3385
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3386
|
+
signature?: undefined;
|
|
3387
|
+
} | {
|
|
3146
3388
|
id: string & import("zod").$brand<"UUID">;
|
|
3147
3389
|
role: string;
|
|
3148
3390
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3149
3391
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3150
3392
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3151
3393
|
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
3394
|
};
|
|
3159
3395
|
}>;
|
|
3160
3396
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -3195,14 +3431,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3195
3431
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3196
3432
|
eventId: string;
|
|
3197
3433
|
transactionId: string;
|
|
3198
|
-
declaration?: Record<string, unknown> | undefined;
|
|
3199
|
-
annotation?: Record<string, unknown> | undefined;
|
|
3200
3434
|
originalActionId?: string | undefined;
|
|
3201
3435
|
keepAssignment?: boolean | undefined;
|
|
3202
3436
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3203
3437
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3204
3438
|
waitFor?: boolean | undefined;
|
|
3205
3439
|
type?: "NOTIFY" | undefined;
|
|
3440
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3441
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3206
3442
|
createdAtLocation?: string | null | undefined;
|
|
3207
3443
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3208
3444
|
eventId: string;
|
|
@@ -3303,6 +3539,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3303
3539
|
waitFor?: boolean | undefined;
|
|
3304
3540
|
createdAtLocation?: string | null | undefined;
|
|
3305
3541
|
type?: "UNARCHIVE" | undefined;
|
|
3542
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3543
|
+
eventId: string;
|
|
3544
|
+
transactionId: string;
|
|
3545
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3546
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3547
|
+
originalActionId?: string | undefined;
|
|
3548
|
+
keepAssignment?: boolean | undefined;
|
|
3549
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3550
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3551
|
+
waitFor?: boolean | undefined;
|
|
3552
|
+
createdAtLocation?: string | null | undefined;
|
|
3553
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
3554
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3555
|
+
eventId: string;
|
|
3556
|
+
transactionId: string;
|
|
3557
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3558
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3559
|
+
originalActionId?: string | undefined;
|
|
3560
|
+
keepAssignment?: boolean | undefined;
|
|
3561
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3562
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3563
|
+
waitFor?: boolean | undefined;
|
|
3564
|
+
createdAtLocation?: string | null | undefined;
|
|
3565
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
3306
3566
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3307
3567
|
eventId: string;
|
|
3308
3568
|
transactionId: string;
|
|
@@ -3447,18 +3707,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3447
3707
|
ctx: Partial<{
|
|
3448
3708
|
token: `Bearer ${string}`;
|
|
3449
3709
|
user: {
|
|
3710
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3711
|
+
type: "system";
|
|
3712
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3713
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3714
|
+
signature?: undefined;
|
|
3715
|
+
} | {
|
|
3450
3716
|
id: string & import("zod").$brand<"UUID">;
|
|
3451
3717
|
role: string;
|
|
3452
3718
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3453
3719
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3454
3720
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3455
3721
|
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
3722
|
};
|
|
3463
3723
|
}>;
|
|
3464
3724
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -3499,14 +3759,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3499
3759
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3500
3760
|
eventId: string;
|
|
3501
3761
|
transactionId: string;
|
|
3502
|
-
declaration?: Record<string, unknown> | undefined;
|
|
3503
|
-
annotation?: Record<string, unknown> | undefined;
|
|
3504
3762
|
originalActionId?: string | undefined;
|
|
3505
3763
|
keepAssignment?: boolean | undefined;
|
|
3506
3764
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3507
3765
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3508
3766
|
waitFor?: boolean | undefined;
|
|
3509
3767
|
type?: "NOTIFY" | undefined;
|
|
3768
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3769
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3510
3770
|
createdAtLocation?: string | null | undefined;
|
|
3511
3771
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3512
3772
|
eventId: string;
|
|
@@ -3607,6 +3867,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3607
3867
|
waitFor?: boolean | undefined;
|
|
3608
3868
|
createdAtLocation?: string | null | undefined;
|
|
3609
3869
|
type?: "UNARCHIVE" | undefined;
|
|
3870
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3871
|
+
eventId: string;
|
|
3872
|
+
transactionId: string;
|
|
3873
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3874
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3875
|
+
originalActionId?: string | undefined;
|
|
3876
|
+
keepAssignment?: boolean | undefined;
|
|
3877
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3878
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3879
|
+
waitFor?: boolean | undefined;
|
|
3880
|
+
createdAtLocation?: string | null | undefined;
|
|
3881
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
3882
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3883
|
+
eventId: string;
|
|
3884
|
+
transactionId: string;
|
|
3885
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3886
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3887
|
+
originalActionId?: string | undefined;
|
|
3888
|
+
keepAssignment?: boolean | undefined;
|
|
3889
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3890
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3891
|
+
waitFor?: boolean | undefined;
|
|
3892
|
+
createdAtLocation?: string | null | undefined;
|
|
3893
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
3610
3894
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3611
3895
|
eventId: string;
|
|
3612
3896
|
transactionId: string;
|
|
@@ -3751,18 +4035,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3751
4035
|
ctx: Partial<{
|
|
3752
4036
|
token: `Bearer ${string}`;
|
|
3753
4037
|
user: {
|
|
4038
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4039
|
+
type: "system";
|
|
4040
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4041
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4042
|
+
signature?: undefined;
|
|
4043
|
+
} | {
|
|
3754
4044
|
id: string & import("zod").$brand<"UUID">;
|
|
3755
4045
|
role: string;
|
|
3756
4046
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3757
4047
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3758
4048
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3759
4049
|
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
4050
|
};
|
|
3767
4051
|
}>;
|
|
3768
4052
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -3803,14 +4087,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3803
4087
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3804
4088
|
eventId: string;
|
|
3805
4089
|
transactionId: string;
|
|
3806
|
-
declaration?: Record<string, unknown> | undefined;
|
|
3807
|
-
annotation?: Record<string, unknown> | undefined;
|
|
3808
4090
|
originalActionId?: string | undefined;
|
|
3809
4091
|
keepAssignment?: boolean | undefined;
|
|
3810
4092
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3811
4093
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3812
4094
|
waitFor?: boolean | undefined;
|
|
3813
4095
|
type?: "NOTIFY" | undefined;
|
|
4096
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4097
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3814
4098
|
createdAtLocation?: string | null | undefined;
|
|
3815
4099
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3816
4100
|
eventId: string;
|
|
@@ -3911,6 +4195,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3911
4195
|
waitFor?: boolean | undefined;
|
|
3912
4196
|
createdAtLocation?: string | null | undefined;
|
|
3913
4197
|
type?: "UNARCHIVE" | undefined;
|
|
4198
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4199
|
+
eventId: string;
|
|
4200
|
+
transactionId: string;
|
|
4201
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4202
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4203
|
+
originalActionId?: string | undefined;
|
|
4204
|
+
keepAssignment?: boolean | undefined;
|
|
4205
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4206
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4207
|
+
waitFor?: boolean | undefined;
|
|
4208
|
+
createdAtLocation?: string | null | undefined;
|
|
4209
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
4210
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4211
|
+
eventId: string;
|
|
4212
|
+
transactionId: string;
|
|
4213
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4214
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4215
|
+
originalActionId?: string | undefined;
|
|
4216
|
+
keepAssignment?: boolean | undefined;
|
|
4217
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4218
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4219
|
+
waitFor?: boolean | undefined;
|
|
4220
|
+
createdAtLocation?: string | null | undefined;
|
|
4221
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
3914
4222
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3915
4223
|
eventId: string;
|
|
3916
4224
|
transactionId: string;
|
|
@@ -4055,18 +4363,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4055
4363
|
ctx: Partial<{
|
|
4056
4364
|
token: `Bearer ${string}`;
|
|
4057
4365
|
user: {
|
|
4366
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4367
|
+
type: "system";
|
|
4368
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4369
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4370
|
+
signature?: undefined;
|
|
4371
|
+
} | {
|
|
4058
4372
|
id: string & import("zod").$brand<"UUID">;
|
|
4059
4373
|
role: string;
|
|
4060
4374
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4061
4375
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4062
4376
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4063
4377
|
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
4378
|
};
|
|
4071
4379
|
}>;
|
|
4072
4380
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -4107,15 +4415,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4107
4415
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4108
4416
|
eventId: string;
|
|
4109
4417
|
transactionId: string;
|
|
4110
|
-
declaration?: Record<string, unknown> | undefined;
|
|
4111
|
-
annotation?: Record<string, unknown> | undefined;
|
|
4112
4418
|
originalActionId?: string | undefined;
|
|
4113
4419
|
keepAssignment?: boolean | undefined;
|
|
4114
4420
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4115
4421
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4116
4422
|
waitFor?: boolean | undefined;
|
|
4117
4423
|
type?: "NOTIFY" | undefined;
|
|
4118
|
-
|
|
4424
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4425
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4426
|
+
createdAtLocation?: string | null | undefined;
|
|
4119
4427
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4120
4428
|
eventId: string;
|
|
4121
4429
|
transactionId: string;
|
|
@@ -4215,6 +4523,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4215
4523
|
waitFor?: boolean | undefined;
|
|
4216
4524
|
createdAtLocation?: string | null | undefined;
|
|
4217
4525
|
type?: "UNARCHIVE" | undefined;
|
|
4526
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4527
|
+
eventId: string;
|
|
4528
|
+
transactionId: string;
|
|
4529
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4530
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4531
|
+
originalActionId?: string | undefined;
|
|
4532
|
+
keepAssignment?: boolean | undefined;
|
|
4533
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4534
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4535
|
+
waitFor?: boolean | undefined;
|
|
4536
|
+
createdAtLocation?: string | null | undefined;
|
|
4537
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
4538
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4539
|
+
eventId: string;
|
|
4540
|
+
transactionId: string;
|
|
4541
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4542
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4543
|
+
originalActionId?: string | undefined;
|
|
4544
|
+
keepAssignment?: boolean | undefined;
|
|
4545
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4546
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4547
|
+
waitFor?: boolean | undefined;
|
|
4548
|
+
createdAtLocation?: string | null | undefined;
|
|
4549
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
4218
4550
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4219
4551
|
eventId: string;
|
|
4220
4552
|
transactionId: string;
|
|
@@ -4359,18 +4691,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4359
4691
|
ctx: Partial<{
|
|
4360
4692
|
token: `Bearer ${string}`;
|
|
4361
4693
|
user: {
|
|
4694
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4695
|
+
type: "system";
|
|
4696
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4697
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4698
|
+
signature?: undefined;
|
|
4699
|
+
} | {
|
|
4362
4700
|
id: string & import("zod").$brand<"UUID">;
|
|
4363
4701
|
role: string;
|
|
4364
4702
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4365
4703
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4366
4704
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4367
4705
|
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
4706
|
};
|
|
4375
4707
|
}>;
|
|
4376
4708
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -4406,14 +4738,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4406
4738
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4407
4739
|
eventId: string;
|
|
4408
4740
|
transactionId: string;
|
|
4409
|
-
declaration?: Record<string, unknown> | undefined;
|
|
4410
|
-
annotation?: Record<string, unknown> | undefined;
|
|
4411
4741
|
originalActionId?: string | undefined;
|
|
4412
4742
|
keepAssignment?: boolean | undefined;
|
|
4413
4743
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4414
4744
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4415
4745
|
waitFor?: boolean | undefined;
|
|
4416
4746
|
type?: "NOTIFY" | undefined;
|
|
4747
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4748
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4417
4749
|
createdAtLocation?: string | null | undefined;
|
|
4418
4750
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4419
4751
|
eventId: string;
|
|
@@ -4514,6 +4846,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4514
4846
|
waitFor?: boolean | undefined;
|
|
4515
4847
|
createdAtLocation?: string | null | undefined;
|
|
4516
4848
|
type?: "UNARCHIVE" | undefined;
|
|
4849
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4850
|
+
eventId: string;
|
|
4851
|
+
transactionId: string;
|
|
4852
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4853
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4854
|
+
originalActionId?: string | undefined;
|
|
4855
|
+
keepAssignment?: boolean | undefined;
|
|
4856
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4857
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4858
|
+
waitFor?: boolean | undefined;
|
|
4859
|
+
createdAtLocation?: string | null | undefined;
|
|
4860
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
4861
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4862
|
+
eventId: string;
|
|
4863
|
+
transactionId: string;
|
|
4864
|
+
declaration?: Record<string, unknown> | undefined;
|
|
4865
|
+
annotation?: Record<string, unknown> | undefined;
|
|
4866
|
+
originalActionId?: string | undefined;
|
|
4867
|
+
keepAssignment?: boolean | undefined;
|
|
4868
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4869
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
4870
|
+
waitFor?: boolean | undefined;
|
|
4871
|
+
createdAtLocation?: string | null | undefined;
|
|
4872
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
4517
4873
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4518
4874
|
eventId: string;
|
|
4519
4875
|
transactionId: string;
|
|
@@ -4786,6 +5142,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4786
5142
|
status: "Accepted" | "Rejected" | "Requested";
|
|
4787
5143
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4788
5144
|
type: "UNARCHIVE";
|
|
5145
|
+
} | {
|
|
5146
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5147
|
+
transactionId: string;
|
|
5148
|
+
createdByUserType: "system" | "user";
|
|
5149
|
+
createdAt: string;
|
|
5150
|
+
createdBy: string;
|
|
5151
|
+
createdByRole?: string | undefined;
|
|
5152
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5153
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5154
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5155
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5156
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
5157
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5158
|
+
type: "REVOKE_REGISTRATION";
|
|
5159
|
+
} | {
|
|
5160
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5161
|
+
transactionId: string;
|
|
5162
|
+
createdByUserType: "system" | "user";
|
|
5163
|
+
createdAt: string;
|
|
5164
|
+
createdBy: string;
|
|
5165
|
+
createdByRole?: string | undefined;
|
|
5166
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5167
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5168
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5169
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5170
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
5171
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5172
|
+
type: "REINSTATE_REGISTRATION";
|
|
4789
5173
|
} | {
|
|
4790
5174
|
id: string & import("zod").$brand<"UUID">;
|
|
4791
5175
|
transactionId: string;
|
|
@@ -4981,7 +5365,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4981
5365
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4982
5366
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4983
5367
|
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";
|
|
5368
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
4985
5369
|
status: "Rejected";
|
|
4986
5370
|
})[];
|
|
4987
5371
|
trackingId: string;
|
|
@@ -4993,18 +5377,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4993
5377
|
ctx: Partial<{
|
|
4994
5378
|
token: `Bearer ${string}`;
|
|
4995
5379
|
user: {
|
|
5380
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5381
|
+
type: "system";
|
|
5382
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5383
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5384
|
+
signature?: undefined;
|
|
5385
|
+
} | {
|
|
4996
5386
|
id: string & import("zod").$brand<"UUID">;
|
|
4997
5387
|
role: string;
|
|
4998
5388
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4999
5389
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5000
5390
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5001
5391
|
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
5392
|
};
|
|
5009
5393
|
}>;
|
|
5010
5394
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -5145,6 +5529,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5145
5529
|
status: "Accepted" | "Rejected" | "Requested";
|
|
5146
5530
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5147
5531
|
type: "UNARCHIVE";
|
|
5532
|
+
} | {
|
|
5533
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5534
|
+
transactionId: string;
|
|
5535
|
+
createdByUserType: "system" | "user";
|
|
5536
|
+
createdAt: string;
|
|
5537
|
+
createdBy: string;
|
|
5538
|
+
createdByRole?: string | undefined;
|
|
5539
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5540
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5541
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5542
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5543
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
5544
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5545
|
+
type: "REVOKE_REGISTRATION";
|
|
5546
|
+
} | {
|
|
5547
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5548
|
+
transactionId: string;
|
|
5549
|
+
createdByUserType: "system" | "user";
|
|
5550
|
+
createdAt: string;
|
|
5551
|
+
createdBy: string;
|
|
5552
|
+
createdByRole?: string | undefined;
|
|
5553
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5554
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5555
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5556
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5557
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
5558
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5559
|
+
type: "REINSTATE_REGISTRATION";
|
|
5148
5560
|
} | {
|
|
5149
5561
|
id: string & import("zod").$brand<"UUID">;
|
|
5150
5562
|
transactionId: string;
|
|
@@ -5340,7 +5752,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5340
5752
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5341
5753
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5342
5754
|
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";
|
|
5755
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
5344
5756
|
status: "Rejected";
|
|
5345
5757
|
})[];
|
|
5346
5758
|
} & import("zod").$brand<"EventDocumentOnlyLastAction">;
|
|
@@ -5480,6 +5892,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5480
5892
|
status: "Accepted" | "Rejected" | "Requested";
|
|
5481
5893
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5482
5894
|
type: "UNARCHIVE";
|
|
5895
|
+
} | {
|
|
5896
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5897
|
+
transactionId: string;
|
|
5898
|
+
createdByUserType: "system" | "user";
|
|
5899
|
+
createdAt: string;
|
|
5900
|
+
createdBy: string;
|
|
5901
|
+
createdByRole?: string | undefined;
|
|
5902
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5903
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5904
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5905
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5906
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
5907
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5908
|
+
type: "REVOKE_REGISTRATION";
|
|
5909
|
+
} | {
|
|
5910
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5911
|
+
transactionId: string;
|
|
5912
|
+
createdByUserType: "system" | "user";
|
|
5913
|
+
createdAt: string;
|
|
5914
|
+
createdBy: string;
|
|
5915
|
+
createdByRole?: string | undefined;
|
|
5916
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5917
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5918
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5919
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5920
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
5921
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5922
|
+
type: "REINSTATE_REGISTRATION";
|
|
5483
5923
|
} | {
|
|
5484
5924
|
id: string & import("zod").$brand<"UUID">;
|
|
5485
5925
|
transactionId: string;
|
|
@@ -5675,7 +6115,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5675
6115
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5676
6116
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5677
6117
|
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";
|
|
6118
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
5679
6119
|
status: "Rejected";
|
|
5680
6120
|
})[];
|
|
5681
6121
|
} & import("zod").$brand<"EventDocumentOnlyLastAction">;
|
|
@@ -5686,18 +6126,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5686
6126
|
ctx: Partial<{
|
|
5687
6127
|
token: `Bearer ${string}`;
|
|
5688
6128
|
user: {
|
|
6129
|
+
id: string & import("zod").$brand<"UUID">;
|
|
6130
|
+
type: "system";
|
|
6131
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6132
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6133
|
+
signature?: undefined;
|
|
6134
|
+
} | {
|
|
5689
6135
|
id: string & import("zod").$brand<"UUID">;
|
|
5690
6136
|
role: string;
|
|
5691
6137
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5692
6138
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5693
6139
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5694
6140
|
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
6141
|
};
|
|
5702
6142
|
}>;
|
|
5703
6143
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -5708,18 +6148,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5708
6148
|
ctx: Partial<{
|
|
5709
6149
|
token: `Bearer ${string}`;
|
|
5710
6150
|
user: {
|
|
6151
|
+
id: string & import("zod").$brand<"UUID">;
|
|
6152
|
+
type: "system";
|
|
6153
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6154
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6155
|
+
signature?: undefined;
|
|
6156
|
+
} | {
|
|
5711
6157
|
id: string & import("zod").$brand<"UUID">;
|
|
5712
6158
|
role: string;
|
|
5713
6159
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5714
6160
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5715
6161
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5716
6162
|
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
6163
|
};
|
|
5724
6164
|
}>;
|
|
5725
6165
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -5760,14 +6200,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5760
6200
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5761
6201
|
eventId: string;
|
|
5762
6202
|
transactionId: string;
|
|
5763
|
-
declaration?: Record<string, unknown> | undefined;
|
|
5764
|
-
annotation?: Record<string, unknown> | undefined;
|
|
5765
6203
|
originalActionId?: string | undefined;
|
|
5766
6204
|
keepAssignment?: boolean | undefined;
|
|
5767
6205
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5768
6206
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5769
6207
|
waitFor?: boolean | undefined;
|
|
5770
6208
|
type?: "NOTIFY" | undefined;
|
|
6209
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6210
|
+
annotation?: Record<string, unknown> | undefined;
|
|
5771
6211
|
createdAtLocation?: string | null | undefined;
|
|
5772
6212
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5773
6213
|
eventId: string;
|
|
@@ -5868,6 +6308,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5868
6308
|
waitFor?: boolean | undefined;
|
|
5869
6309
|
createdAtLocation?: string | null | undefined;
|
|
5870
6310
|
type?: "UNARCHIVE" | undefined;
|
|
6311
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6312
|
+
eventId: string;
|
|
6313
|
+
transactionId: string;
|
|
6314
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6315
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6316
|
+
originalActionId?: string | undefined;
|
|
6317
|
+
keepAssignment?: boolean | undefined;
|
|
6318
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6319
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6320
|
+
waitFor?: boolean | undefined;
|
|
6321
|
+
createdAtLocation?: string | null | undefined;
|
|
6322
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
6323
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6324
|
+
eventId: string;
|
|
6325
|
+
transactionId: string;
|
|
6326
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6327
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6328
|
+
originalActionId?: string | undefined;
|
|
6329
|
+
keepAssignment?: boolean | undefined;
|
|
6330
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6331
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6332
|
+
waitFor?: boolean | undefined;
|
|
6333
|
+
createdAtLocation?: string | null | undefined;
|
|
6334
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
5871
6335
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5872
6336
|
eventId: string;
|
|
5873
6337
|
transactionId: string;
|
|
@@ -6012,18 +6476,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6012
6476
|
ctx: Partial<{
|
|
6013
6477
|
token: `Bearer ${string}`;
|
|
6014
6478
|
user: {
|
|
6479
|
+
id: string & import("zod").$brand<"UUID">;
|
|
6480
|
+
type: "system";
|
|
6481
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6482
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6483
|
+
signature?: undefined;
|
|
6484
|
+
} | {
|
|
6015
6485
|
id: string & import("zod").$brand<"UUID">;
|
|
6016
6486
|
role: string;
|
|
6017
6487
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6018
6488
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6019
6489
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6020
6490
|
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
6491
|
};
|
|
6028
6492
|
}>;
|
|
6029
6493
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -6064,14 +6528,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6064
6528
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6065
6529
|
eventId: string;
|
|
6066
6530
|
transactionId: string;
|
|
6067
|
-
declaration?: Record<string, unknown> | undefined;
|
|
6068
|
-
annotation?: Record<string, unknown> | undefined;
|
|
6069
6531
|
originalActionId?: string | undefined;
|
|
6070
6532
|
keepAssignment?: boolean | undefined;
|
|
6071
6533
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6072
6534
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
6073
6535
|
waitFor?: boolean | undefined;
|
|
6074
6536
|
type?: "NOTIFY" | undefined;
|
|
6537
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6538
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6075
6539
|
createdAtLocation?: string | null | undefined;
|
|
6076
6540
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6077
6541
|
eventId: string;
|
|
@@ -6172,6 +6636,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6172
6636
|
waitFor?: boolean | undefined;
|
|
6173
6637
|
createdAtLocation?: string | null | undefined;
|
|
6174
6638
|
type?: "UNARCHIVE" | undefined;
|
|
6639
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6640
|
+
eventId: string;
|
|
6641
|
+
transactionId: string;
|
|
6642
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6643
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6644
|
+
originalActionId?: string | undefined;
|
|
6645
|
+
keepAssignment?: boolean | undefined;
|
|
6646
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6647
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6648
|
+
waitFor?: boolean | undefined;
|
|
6649
|
+
createdAtLocation?: string | null | undefined;
|
|
6650
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
6651
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6652
|
+
eventId: string;
|
|
6653
|
+
transactionId: string;
|
|
6654
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6655
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6656
|
+
originalActionId?: string | undefined;
|
|
6657
|
+
keepAssignment?: boolean | undefined;
|
|
6658
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6659
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6660
|
+
waitFor?: boolean | undefined;
|
|
6661
|
+
createdAtLocation?: string | null | undefined;
|
|
6662
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
6175
6663
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6176
6664
|
eventId: string;
|
|
6177
6665
|
transactionId: string;
|
|
@@ -6316,18 +6804,697 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6316
6804
|
ctx: Partial<{
|
|
6317
6805
|
token: `Bearer ${string}`;
|
|
6318
6806
|
user: {
|
|
6807
|
+
id: string & import("zod").$brand<"UUID">;
|
|
6808
|
+
type: "system";
|
|
6809
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6810
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6811
|
+
signature?: undefined;
|
|
6812
|
+
} | {
|
|
6813
|
+
id: string & import("zod").$brand<"UUID">;
|
|
6814
|
+
role: string;
|
|
6815
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6816
|
+
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6817
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6818
|
+
type: "user";
|
|
6819
|
+
};
|
|
6820
|
+
}>;
|
|
6821
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
6822
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
6823
|
+
transformer: true;
|
|
6824
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
6825
|
+
request: import("@trpc/server").TRPCMutationProcedure<{
|
|
6826
|
+
input: import("../commons").ActionInput;
|
|
6827
|
+
output: import("../commons").EventDocument;
|
|
6828
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
6829
|
+
}>;
|
|
6830
|
+
accept: import("@trpc/server").TRPCMutationProcedure<{
|
|
6831
|
+
input: (Omit<{
|
|
6832
|
+
eventId: string;
|
|
6833
|
+
transactionId: string;
|
|
6834
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6835
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6836
|
+
originalActionId?: string | undefined;
|
|
6837
|
+
keepAssignment?: boolean | undefined;
|
|
6838
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6839
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6840
|
+
waitFor?: boolean | undefined;
|
|
6841
|
+
type?: "CREATE" | undefined;
|
|
6842
|
+
createdAtLocation?: string | null | undefined;
|
|
6843
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6844
|
+
eventId: string;
|
|
6845
|
+
transactionId: string;
|
|
6846
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6847
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6848
|
+
originalActionId?: string | undefined;
|
|
6849
|
+
keepAssignment?: boolean | undefined;
|
|
6850
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6851
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6852
|
+
waitFor?: boolean | undefined;
|
|
6853
|
+
createdAtLocation?: string | null | undefined;
|
|
6854
|
+
type?: "REGISTER" | undefined;
|
|
6855
|
+
registrationNumber?: string | undefined;
|
|
6856
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6857
|
+
eventId: string;
|
|
6858
|
+
transactionId: string;
|
|
6859
|
+
originalActionId?: string | undefined;
|
|
6860
|
+
keepAssignment?: boolean | undefined;
|
|
6861
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6862
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6863
|
+
waitFor?: boolean | undefined;
|
|
6864
|
+
type?: "NOTIFY" | undefined;
|
|
6865
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6866
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6867
|
+
createdAtLocation?: string | null | undefined;
|
|
6868
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6869
|
+
eventId: string;
|
|
6870
|
+
transactionId: string;
|
|
6871
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6872
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6873
|
+
originalActionId?: string | undefined;
|
|
6874
|
+
keepAssignment?: boolean | undefined;
|
|
6875
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6876
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6877
|
+
waitFor?: boolean | undefined;
|
|
6878
|
+
createdAtLocation?: string | null | undefined;
|
|
6879
|
+
type?: "DECLARE" | undefined;
|
|
6880
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6881
|
+
eventId: string;
|
|
6882
|
+
transactionId: string;
|
|
6883
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6884
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6885
|
+
originalActionId?: string | undefined;
|
|
6886
|
+
keepAssignment?: boolean | undefined;
|
|
6887
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6888
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6889
|
+
waitFor?: boolean | undefined;
|
|
6890
|
+
createdAtLocation?: string | null | undefined;
|
|
6891
|
+
type?: "REJECT" | undefined;
|
|
6892
|
+
content: {
|
|
6893
|
+
reason: string;
|
|
6894
|
+
};
|
|
6895
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6896
|
+
eventId: string;
|
|
6897
|
+
transactionId: string;
|
|
6898
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6899
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6900
|
+
originalActionId?: string | undefined;
|
|
6901
|
+
keepAssignment?: boolean | undefined;
|
|
6902
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6903
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6904
|
+
waitFor?: boolean | undefined;
|
|
6905
|
+
createdAtLocation?: string | null | undefined;
|
|
6906
|
+
type?: "DUPLICATE_DETECTED" | undefined;
|
|
6907
|
+
content: {
|
|
6908
|
+
duplicates: {
|
|
6909
|
+
id: string;
|
|
6910
|
+
trackingId: string;
|
|
6911
|
+
}[];
|
|
6912
|
+
};
|
|
6913
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6914
|
+
eventId: string;
|
|
6915
|
+
transactionId: string;
|
|
6916
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6917
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6918
|
+
originalActionId?: string | undefined;
|
|
6919
|
+
keepAssignment?: boolean | undefined;
|
|
6920
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6921
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6922
|
+
waitFor?: boolean | undefined;
|
|
6923
|
+
createdAtLocation?: string | null | undefined;
|
|
6924
|
+
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
6925
|
+
content?: {
|
|
6926
|
+
duplicateOf: string;
|
|
6927
|
+
} | undefined;
|
|
6928
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6929
|
+
eventId: string;
|
|
6930
|
+
transactionId: string;
|
|
6931
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6932
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6933
|
+
originalActionId?: string | undefined;
|
|
6934
|
+
keepAssignment?: boolean | undefined;
|
|
6935
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6936
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6937
|
+
waitFor?: boolean | undefined;
|
|
6938
|
+
createdAtLocation?: string | null | undefined;
|
|
6939
|
+
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
6940
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6941
|
+
eventId: string;
|
|
6942
|
+
transactionId: string;
|
|
6943
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6944
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6945
|
+
originalActionId?: string | undefined;
|
|
6946
|
+
keepAssignment?: boolean | undefined;
|
|
6947
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6948
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6949
|
+
waitFor?: boolean | undefined;
|
|
6950
|
+
createdAtLocation?: string | null | undefined;
|
|
6951
|
+
type?: "ARCHIVE" | undefined;
|
|
6952
|
+
content?: {
|
|
6953
|
+
reason: string;
|
|
6954
|
+
} | undefined;
|
|
6955
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6956
|
+
eventId: string;
|
|
6957
|
+
transactionId: string;
|
|
6958
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6959
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6960
|
+
originalActionId?: string | undefined;
|
|
6961
|
+
keepAssignment?: boolean | undefined;
|
|
6962
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6963
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6964
|
+
waitFor?: boolean | undefined;
|
|
6965
|
+
createdAtLocation?: string | null | undefined;
|
|
6966
|
+
type?: "UNARCHIVE" | undefined;
|
|
6967
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6968
|
+
eventId: string;
|
|
6969
|
+
transactionId: string;
|
|
6970
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6971
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6972
|
+
originalActionId?: string | undefined;
|
|
6973
|
+
keepAssignment?: boolean | undefined;
|
|
6974
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6975
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6976
|
+
waitFor?: boolean | undefined;
|
|
6977
|
+
createdAtLocation?: string | null | undefined;
|
|
6978
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
6979
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6980
|
+
eventId: string;
|
|
6981
|
+
transactionId: string;
|
|
6982
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6983
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6984
|
+
originalActionId?: string | undefined;
|
|
6985
|
+
keepAssignment?: boolean | undefined;
|
|
6986
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6987
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
6988
|
+
waitFor?: boolean | undefined;
|
|
6989
|
+
createdAtLocation?: string | null | undefined;
|
|
6990
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
6991
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6992
|
+
eventId: string;
|
|
6993
|
+
transactionId: string;
|
|
6994
|
+
declaration?: Record<string, unknown> | undefined;
|
|
6995
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6996
|
+
originalActionId?: string | undefined;
|
|
6997
|
+
keepAssignment?: boolean | undefined;
|
|
6998
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6999
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7000
|
+
waitFor?: boolean | undefined;
|
|
7001
|
+
createdAtLocation?: string | null | undefined;
|
|
7002
|
+
type: "ASSIGN";
|
|
7003
|
+
assignedTo: string;
|
|
7004
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7005
|
+
eventId: string;
|
|
7006
|
+
transactionId: string;
|
|
7007
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7008
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7009
|
+
originalActionId?: string | undefined;
|
|
7010
|
+
keepAssignment?: boolean | undefined;
|
|
7011
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7012
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7013
|
+
waitFor?: boolean | undefined;
|
|
7014
|
+
createdAtLocation?: string | null | undefined;
|
|
7015
|
+
type?: "UNASSIGN" | undefined;
|
|
7016
|
+
assignedTo?: null | undefined;
|
|
7017
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7018
|
+
eventId: string;
|
|
7019
|
+
transactionId: string;
|
|
7020
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7021
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7022
|
+
originalActionId?: string | undefined;
|
|
7023
|
+
keepAssignment?: boolean | undefined;
|
|
7024
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7025
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7026
|
+
waitFor?: boolean | undefined;
|
|
7027
|
+
createdAtLocation?: string | null | undefined;
|
|
7028
|
+
type?: "PRINT_CERTIFICATE" | undefined;
|
|
7029
|
+
content?: {
|
|
7030
|
+
templateId?: string | undefined;
|
|
7031
|
+
} | undefined;
|
|
7032
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7033
|
+
eventId: string;
|
|
7034
|
+
transactionId: string;
|
|
7035
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7036
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7037
|
+
originalActionId?: string | undefined;
|
|
7038
|
+
keepAssignment?: boolean | undefined;
|
|
7039
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7040
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7041
|
+
waitFor?: boolean | undefined;
|
|
7042
|
+
createdAtLocation?: string | null | undefined;
|
|
7043
|
+
type?: "REQUEST_CORRECTION" | undefined;
|
|
7044
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7045
|
+
eventId: string;
|
|
7046
|
+
transactionId: string;
|
|
7047
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7048
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7049
|
+
originalActionId?: string | undefined;
|
|
7050
|
+
keepAssignment?: boolean | undefined;
|
|
7051
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7052
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7053
|
+
waitFor?: boolean | undefined;
|
|
7054
|
+
createdAtLocation?: string | null | undefined;
|
|
7055
|
+
requestId: string;
|
|
7056
|
+
type?: "REJECT_CORRECTION" | undefined;
|
|
7057
|
+
content: {
|
|
7058
|
+
reason: string;
|
|
7059
|
+
};
|
|
7060
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7061
|
+
eventId: string;
|
|
7062
|
+
transactionId: string;
|
|
7063
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7064
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7065
|
+
originalActionId?: string | undefined;
|
|
7066
|
+
keepAssignment?: boolean | undefined;
|
|
7067
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7068
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7069
|
+
waitFor?: boolean | undefined;
|
|
7070
|
+
createdAtLocation?: string | null | undefined;
|
|
7071
|
+
requestId: string;
|
|
7072
|
+
type?: "APPROVE_CORRECTION" | undefined;
|
|
7073
|
+
content?: {
|
|
7074
|
+
immediateCorrection?: boolean | undefined;
|
|
7075
|
+
} | undefined;
|
|
7076
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7077
|
+
eventId: string;
|
|
7078
|
+
transactionId: string;
|
|
7079
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7080
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7081
|
+
originalActionId?: string | undefined;
|
|
7082
|
+
keepAssignment?: boolean | undefined;
|
|
7083
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7084
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7085
|
+
waitFor?: boolean | undefined;
|
|
7086
|
+
createdAtLocation?: string | null | undefined;
|
|
7087
|
+
type?: "READ" | undefined;
|
|
7088
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7089
|
+
eventId: string;
|
|
7090
|
+
transactionId: string;
|
|
7091
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7092
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7093
|
+
originalActionId?: string | undefined;
|
|
7094
|
+
keepAssignment?: boolean | undefined;
|
|
7095
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7096
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7097
|
+
waitFor?: boolean | undefined;
|
|
7098
|
+
createdAtLocation?: string | null | undefined;
|
|
7099
|
+
type?: "CUSTOM" | undefined;
|
|
7100
|
+
customActionType: string;
|
|
7101
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7102
|
+
eventId: string;
|
|
7103
|
+
transactionId: string;
|
|
7104
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7105
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7106
|
+
originalActionId?: string | undefined;
|
|
7107
|
+
keepAssignment?: boolean | undefined;
|
|
7108
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7109
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7110
|
+
waitFor?: boolean | undefined;
|
|
7111
|
+
createdAtLocation?: string | null | undefined;
|
|
7112
|
+
type?: "EDIT" | undefined;
|
|
7113
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
7114
|
+
actionId: string;
|
|
7115
|
+
};
|
|
7116
|
+
output: import("../commons").EventDocument;
|
|
7117
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7118
|
+
}>;
|
|
7119
|
+
reject: import("@trpc/server").TRPCMutationProcedure<{
|
|
7120
|
+
input: import("zod").input<import("zod").ZodObject<{
|
|
7121
|
+
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
7122
|
+
transactionId: import("zod").ZodString;
|
|
7123
|
+
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7124
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
7125
|
+
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
7126
|
+
}, import("zod/v4/core").$strip>>;
|
|
7127
|
+
output: import("../commons").EventDocument;
|
|
7128
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7129
|
+
}>;
|
|
7130
|
+
}>>;
|
|
7131
|
+
}>>;
|
|
7132
|
+
revocation: import("@trpc/server").TRPCBuiltRouter<{
|
|
7133
|
+
ctx: Partial<{
|
|
7134
|
+
token: `Bearer ${string}`;
|
|
7135
|
+
user: {
|
|
7136
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7137
|
+
type: "system";
|
|
7138
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7139
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7140
|
+
signature?: undefined;
|
|
7141
|
+
} | {
|
|
7142
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7143
|
+
role: string;
|
|
7144
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7145
|
+
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7146
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7147
|
+
type: "user";
|
|
7148
|
+
};
|
|
7149
|
+
}>;
|
|
7150
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7151
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
7152
|
+
transformer: true;
|
|
7153
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
7154
|
+
revoke: import("@trpc/server").TRPCBuiltRouter<{
|
|
7155
|
+
ctx: Partial<{
|
|
7156
|
+
token: `Bearer ${string}`;
|
|
7157
|
+
user: {
|
|
7158
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7159
|
+
type: "system";
|
|
7160
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7161
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7162
|
+
signature?: undefined;
|
|
7163
|
+
} | {
|
|
7164
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7165
|
+
role: string;
|
|
7166
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7167
|
+
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7168
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7169
|
+
type: "user";
|
|
7170
|
+
};
|
|
7171
|
+
}>;
|
|
7172
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7173
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
7174
|
+
transformer: true;
|
|
7175
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
7176
|
+
request: import("@trpc/server").TRPCMutationProcedure<{
|
|
7177
|
+
input: import("../commons").ActionInput;
|
|
7178
|
+
output: import("../commons").EventDocument;
|
|
7179
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7180
|
+
}>;
|
|
7181
|
+
accept: import("@trpc/server").TRPCMutationProcedure<{
|
|
7182
|
+
input: (Omit<{
|
|
7183
|
+
eventId: string;
|
|
7184
|
+
transactionId: string;
|
|
7185
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7186
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7187
|
+
originalActionId?: string | undefined;
|
|
7188
|
+
keepAssignment?: boolean | undefined;
|
|
7189
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7190
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7191
|
+
waitFor?: boolean | undefined;
|
|
7192
|
+
type?: "CREATE" | undefined;
|
|
7193
|
+
createdAtLocation?: string | null | undefined;
|
|
7194
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7195
|
+
eventId: string;
|
|
7196
|
+
transactionId: string;
|
|
7197
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7198
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7199
|
+
originalActionId?: string | undefined;
|
|
7200
|
+
keepAssignment?: boolean | undefined;
|
|
7201
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7202
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7203
|
+
waitFor?: boolean | undefined;
|
|
7204
|
+
createdAtLocation?: string | null | undefined;
|
|
7205
|
+
type?: "REGISTER" | undefined;
|
|
7206
|
+
registrationNumber?: string | undefined;
|
|
7207
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7208
|
+
eventId: string;
|
|
7209
|
+
transactionId: string;
|
|
7210
|
+
originalActionId?: string | undefined;
|
|
7211
|
+
keepAssignment?: boolean | undefined;
|
|
7212
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7213
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7214
|
+
waitFor?: boolean | undefined;
|
|
7215
|
+
type?: "NOTIFY" | undefined;
|
|
7216
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7217
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7218
|
+
createdAtLocation?: string | null | undefined;
|
|
7219
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7220
|
+
eventId: string;
|
|
7221
|
+
transactionId: string;
|
|
7222
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7223
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7224
|
+
originalActionId?: string | undefined;
|
|
7225
|
+
keepAssignment?: boolean | undefined;
|
|
7226
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7227
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7228
|
+
waitFor?: boolean | undefined;
|
|
7229
|
+
createdAtLocation?: string | null | undefined;
|
|
7230
|
+
type?: "DECLARE" | undefined;
|
|
7231
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7232
|
+
eventId: string;
|
|
7233
|
+
transactionId: string;
|
|
7234
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7235
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7236
|
+
originalActionId?: string | undefined;
|
|
7237
|
+
keepAssignment?: boolean | undefined;
|
|
7238
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7239
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7240
|
+
waitFor?: boolean | undefined;
|
|
7241
|
+
createdAtLocation?: string | null | undefined;
|
|
7242
|
+
type?: "REJECT" | undefined;
|
|
7243
|
+
content: {
|
|
7244
|
+
reason: string;
|
|
7245
|
+
};
|
|
7246
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7247
|
+
eventId: string;
|
|
7248
|
+
transactionId: string;
|
|
7249
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7250
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7251
|
+
originalActionId?: string | undefined;
|
|
7252
|
+
keepAssignment?: boolean | undefined;
|
|
7253
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7254
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7255
|
+
waitFor?: boolean | undefined;
|
|
7256
|
+
createdAtLocation?: string | null | undefined;
|
|
7257
|
+
type?: "DUPLICATE_DETECTED" | undefined;
|
|
7258
|
+
content: {
|
|
7259
|
+
duplicates: {
|
|
7260
|
+
id: string;
|
|
7261
|
+
trackingId: string;
|
|
7262
|
+
}[];
|
|
7263
|
+
};
|
|
7264
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7265
|
+
eventId: string;
|
|
7266
|
+
transactionId: string;
|
|
7267
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7268
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7269
|
+
originalActionId?: string | undefined;
|
|
7270
|
+
keepAssignment?: boolean | undefined;
|
|
7271
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7272
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7273
|
+
waitFor?: boolean | undefined;
|
|
7274
|
+
createdAtLocation?: string | null | undefined;
|
|
7275
|
+
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
7276
|
+
content?: {
|
|
7277
|
+
duplicateOf: string;
|
|
7278
|
+
} | undefined;
|
|
7279
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7280
|
+
eventId: string;
|
|
7281
|
+
transactionId: string;
|
|
7282
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7283
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7284
|
+
originalActionId?: string | undefined;
|
|
7285
|
+
keepAssignment?: boolean | undefined;
|
|
7286
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7287
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7288
|
+
waitFor?: boolean | undefined;
|
|
7289
|
+
createdAtLocation?: string | null | undefined;
|
|
7290
|
+
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
7291
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7292
|
+
eventId: string;
|
|
7293
|
+
transactionId: string;
|
|
7294
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7295
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7296
|
+
originalActionId?: string | undefined;
|
|
7297
|
+
keepAssignment?: boolean | undefined;
|
|
7298
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7299
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7300
|
+
waitFor?: boolean | undefined;
|
|
7301
|
+
createdAtLocation?: string | null | undefined;
|
|
7302
|
+
type?: "ARCHIVE" | undefined;
|
|
7303
|
+
content?: {
|
|
7304
|
+
reason: string;
|
|
7305
|
+
} | undefined;
|
|
7306
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7307
|
+
eventId: string;
|
|
7308
|
+
transactionId: string;
|
|
7309
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7310
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7311
|
+
originalActionId?: string | undefined;
|
|
7312
|
+
keepAssignment?: boolean | undefined;
|
|
7313
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7314
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7315
|
+
waitFor?: boolean | undefined;
|
|
7316
|
+
createdAtLocation?: string | null | undefined;
|
|
7317
|
+
type?: "UNARCHIVE" | undefined;
|
|
7318
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7319
|
+
eventId: string;
|
|
7320
|
+
transactionId: string;
|
|
7321
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7322
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7323
|
+
originalActionId?: string | undefined;
|
|
7324
|
+
keepAssignment?: boolean | undefined;
|
|
7325
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7326
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7327
|
+
waitFor?: boolean | undefined;
|
|
7328
|
+
createdAtLocation?: string | null | undefined;
|
|
7329
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
7330
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7331
|
+
eventId: string;
|
|
7332
|
+
transactionId: string;
|
|
7333
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7334
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7335
|
+
originalActionId?: string | undefined;
|
|
7336
|
+
keepAssignment?: boolean | undefined;
|
|
7337
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7338
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7339
|
+
waitFor?: boolean | undefined;
|
|
7340
|
+
createdAtLocation?: string | null | undefined;
|
|
7341
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
7342
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7343
|
+
eventId: string;
|
|
7344
|
+
transactionId: string;
|
|
7345
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7346
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7347
|
+
originalActionId?: string | undefined;
|
|
7348
|
+
keepAssignment?: boolean | undefined;
|
|
7349
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7350
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7351
|
+
waitFor?: boolean | undefined;
|
|
7352
|
+
createdAtLocation?: string | null | undefined;
|
|
7353
|
+
type: "ASSIGN";
|
|
7354
|
+
assignedTo: string;
|
|
7355
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7356
|
+
eventId: string;
|
|
7357
|
+
transactionId: string;
|
|
7358
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7359
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7360
|
+
originalActionId?: string | undefined;
|
|
7361
|
+
keepAssignment?: boolean | undefined;
|
|
7362
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7363
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7364
|
+
waitFor?: boolean | undefined;
|
|
7365
|
+
createdAtLocation?: string | null | undefined;
|
|
7366
|
+
type?: "UNASSIGN" | undefined;
|
|
7367
|
+
assignedTo?: null | undefined;
|
|
7368
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7369
|
+
eventId: string;
|
|
7370
|
+
transactionId: string;
|
|
7371
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7372
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7373
|
+
originalActionId?: string | undefined;
|
|
7374
|
+
keepAssignment?: boolean | undefined;
|
|
7375
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7376
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7377
|
+
waitFor?: boolean | undefined;
|
|
7378
|
+
createdAtLocation?: string | null | undefined;
|
|
7379
|
+
type?: "PRINT_CERTIFICATE" | undefined;
|
|
7380
|
+
content?: {
|
|
7381
|
+
templateId?: string | undefined;
|
|
7382
|
+
} | undefined;
|
|
7383
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7384
|
+
eventId: string;
|
|
7385
|
+
transactionId: string;
|
|
7386
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7387
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7388
|
+
originalActionId?: string | undefined;
|
|
7389
|
+
keepAssignment?: boolean | undefined;
|
|
7390
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7391
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7392
|
+
waitFor?: boolean | undefined;
|
|
7393
|
+
createdAtLocation?: string | null | undefined;
|
|
7394
|
+
type?: "REQUEST_CORRECTION" | undefined;
|
|
7395
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7396
|
+
eventId: string;
|
|
7397
|
+
transactionId: string;
|
|
7398
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7399
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7400
|
+
originalActionId?: string | undefined;
|
|
7401
|
+
keepAssignment?: boolean | undefined;
|
|
7402
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7403
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7404
|
+
waitFor?: boolean | undefined;
|
|
7405
|
+
createdAtLocation?: string | null | undefined;
|
|
7406
|
+
requestId: string;
|
|
7407
|
+
type?: "REJECT_CORRECTION" | undefined;
|
|
7408
|
+
content: {
|
|
7409
|
+
reason: string;
|
|
7410
|
+
};
|
|
7411
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7412
|
+
eventId: string;
|
|
7413
|
+
transactionId: string;
|
|
7414
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7415
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7416
|
+
originalActionId?: string | undefined;
|
|
7417
|
+
keepAssignment?: boolean | undefined;
|
|
7418
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7419
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7420
|
+
waitFor?: boolean | undefined;
|
|
7421
|
+
createdAtLocation?: string | null | undefined;
|
|
7422
|
+
requestId: string;
|
|
7423
|
+
type?: "APPROVE_CORRECTION" | undefined;
|
|
7424
|
+
content?: {
|
|
7425
|
+
immediateCorrection?: boolean | undefined;
|
|
7426
|
+
} | undefined;
|
|
7427
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7428
|
+
eventId: string;
|
|
7429
|
+
transactionId: string;
|
|
7430
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7431
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7432
|
+
originalActionId?: string | undefined;
|
|
7433
|
+
keepAssignment?: boolean | undefined;
|
|
7434
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7435
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7436
|
+
waitFor?: boolean | undefined;
|
|
7437
|
+
createdAtLocation?: string | null | undefined;
|
|
7438
|
+
type?: "READ" | undefined;
|
|
7439
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7440
|
+
eventId: string;
|
|
7441
|
+
transactionId: string;
|
|
7442
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7443
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7444
|
+
originalActionId?: string | undefined;
|
|
7445
|
+
keepAssignment?: boolean | undefined;
|
|
7446
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7447
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7448
|
+
waitFor?: boolean | undefined;
|
|
7449
|
+
createdAtLocation?: string | null | undefined;
|
|
7450
|
+
type?: "CUSTOM" | undefined;
|
|
7451
|
+
customActionType: string;
|
|
7452
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7453
|
+
eventId: string;
|
|
7454
|
+
transactionId: string;
|
|
7455
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7456
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7457
|
+
originalActionId?: string | undefined;
|
|
7458
|
+
keepAssignment?: boolean | undefined;
|
|
7459
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7460
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7461
|
+
waitFor?: boolean | undefined;
|
|
7462
|
+
createdAtLocation?: string | null | undefined;
|
|
7463
|
+
type?: "EDIT" | undefined;
|
|
7464
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
7465
|
+
actionId: string;
|
|
7466
|
+
};
|
|
7467
|
+
output: import("../commons").EventDocument;
|
|
7468
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7469
|
+
}>;
|
|
7470
|
+
reject: import("@trpc/server").TRPCMutationProcedure<{
|
|
7471
|
+
input: import("zod").input<import("zod").ZodObject<{
|
|
7472
|
+
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
7473
|
+
transactionId: import("zod").ZodString;
|
|
7474
|
+
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7475
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
7476
|
+
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
7477
|
+
}, import("zod/v4/core").$strip>>;
|
|
7478
|
+
output: import("../commons").EventDocument;
|
|
7479
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7480
|
+
}>;
|
|
7481
|
+
}>>;
|
|
7482
|
+
reinstate: import("@trpc/server").TRPCBuiltRouter<{
|
|
7483
|
+
ctx: Partial<{
|
|
7484
|
+
token: `Bearer ${string}`;
|
|
7485
|
+
user: {
|
|
7486
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7487
|
+
type: "system";
|
|
7488
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7489
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7490
|
+
signature?: undefined;
|
|
7491
|
+
} | {
|
|
6319
7492
|
id: string & import("zod").$brand<"UUID">;
|
|
6320
7493
|
role: string;
|
|
6321
7494
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6322
7495
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6323
7496
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6324
7497
|
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
7498
|
};
|
|
6332
7499
|
}>;
|
|
6333
7500
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -6368,14 +7535,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6368
7535
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6369
7536
|
eventId: string;
|
|
6370
7537
|
transactionId: string;
|
|
6371
|
-
declaration?: Record<string, unknown> | undefined;
|
|
6372
|
-
annotation?: Record<string, unknown> | undefined;
|
|
6373
7538
|
originalActionId?: string | undefined;
|
|
6374
7539
|
keepAssignment?: boolean | undefined;
|
|
6375
7540
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
6376
7541
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
6377
7542
|
waitFor?: boolean | undefined;
|
|
6378
7543
|
type?: "NOTIFY" | undefined;
|
|
7544
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7545
|
+
annotation?: Record<string, unknown> | undefined;
|
|
6379
7546
|
createdAtLocation?: string | null | undefined;
|
|
6380
7547
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6381
7548
|
eventId: string;
|
|
@@ -6476,6 +7643,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6476
7643
|
waitFor?: boolean | undefined;
|
|
6477
7644
|
createdAtLocation?: string | null | undefined;
|
|
6478
7645
|
type?: "UNARCHIVE" | undefined;
|
|
7646
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7647
|
+
eventId: string;
|
|
7648
|
+
transactionId: string;
|
|
7649
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7650
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7651
|
+
originalActionId?: string | undefined;
|
|
7652
|
+
keepAssignment?: boolean | undefined;
|
|
7653
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7654
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7655
|
+
waitFor?: boolean | undefined;
|
|
7656
|
+
createdAtLocation?: string | null | undefined;
|
|
7657
|
+
type?: "REVOKE_REGISTRATION" | undefined;
|
|
7658
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
7659
|
+
eventId: string;
|
|
7660
|
+
transactionId: string;
|
|
7661
|
+
declaration?: Record<string, unknown> | undefined;
|
|
7662
|
+
annotation?: Record<string, unknown> | undefined;
|
|
7663
|
+
originalActionId?: string | undefined;
|
|
7664
|
+
keepAssignment?: boolean | undefined;
|
|
7665
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
7666
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
7667
|
+
waitFor?: boolean | undefined;
|
|
7668
|
+
createdAtLocation?: string | null | undefined;
|
|
7669
|
+
type?: "REINSTATE_REGISTRATION" | undefined;
|
|
6479
7670
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6480
7671
|
eventId: string;
|
|
6481
7672
|
transactionId: string;
|
|
@@ -6621,18 +7812,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6621
7812
|
ctx: Partial<{
|
|
6622
7813
|
token: `Bearer ${string}`;
|
|
6623
7814
|
user: {
|
|
7815
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7816
|
+
type: "system";
|
|
7817
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7818
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7819
|
+
signature?: undefined;
|
|
7820
|
+
} | {
|
|
6624
7821
|
id: string & import("zod").$brand<"UUID">;
|
|
6625
7822
|
role: string;
|
|
6626
7823
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6627
7824
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6628
7825
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6629
7826
|
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
7827
|
};
|
|
6637
7828
|
}>;
|
|
6638
7829
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -6774,6 +7965,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6774
7965
|
status: "Accepted" | "Rejected" | "Requested";
|
|
6775
7966
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6776
7967
|
type: "UNARCHIVE";
|
|
7968
|
+
} | {
|
|
7969
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7970
|
+
transactionId: string;
|
|
7971
|
+
createdByUserType: "system" | "user";
|
|
7972
|
+
createdAt: string;
|
|
7973
|
+
createdBy: string;
|
|
7974
|
+
createdByRole?: string | undefined;
|
|
7975
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7976
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7977
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
7978
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
7979
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
7980
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7981
|
+
type: "REVOKE_REGISTRATION";
|
|
7982
|
+
} | {
|
|
7983
|
+
id: string & import("zod").$brand<"UUID">;
|
|
7984
|
+
transactionId: string;
|
|
7985
|
+
createdByUserType: "system" | "user";
|
|
7986
|
+
createdAt: string;
|
|
7987
|
+
createdBy: string;
|
|
7988
|
+
createdByRole?: string | undefined;
|
|
7989
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7990
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7991
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
7992
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
7993
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
7994
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7995
|
+
type: "REINSTATE_REGISTRATION";
|
|
6777
7996
|
} | {
|
|
6778
7997
|
id: string & import("zod").$brand<"UUID">;
|
|
6779
7998
|
transactionId: string;
|
|
@@ -6969,7 +8188,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6969
8188
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6970
8189
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6971
8190
|
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";
|
|
8191
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
6973
8192
|
status: "Rejected";
|
|
6974
8193
|
})[];
|
|
6975
8194
|
trackingId: string;
|
|
@@ -7108,6 +8327,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7108
8327
|
status: "Accepted" | "Rejected" | "Requested";
|
|
7109
8328
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7110
8329
|
type: "UNARCHIVE";
|
|
8330
|
+
} | {
|
|
8331
|
+
id: string & import("zod").$brand<"UUID">;
|
|
8332
|
+
transactionId: string;
|
|
8333
|
+
createdByUserType: "system" | "user";
|
|
8334
|
+
createdAt: string;
|
|
8335
|
+
createdBy: string;
|
|
8336
|
+
createdByRole?: string | undefined;
|
|
8337
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8338
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8339
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
8340
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
8341
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
8342
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8343
|
+
type: "REVOKE_REGISTRATION";
|
|
8344
|
+
} | {
|
|
8345
|
+
id: string & import("zod").$brand<"UUID">;
|
|
8346
|
+
transactionId: string;
|
|
8347
|
+
createdByUserType: "system" | "user";
|
|
8348
|
+
createdAt: string;
|
|
8349
|
+
createdBy: string;
|
|
8350
|
+
createdByRole?: string | undefined;
|
|
8351
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8352
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8353
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
8354
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
8355
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
8356
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8357
|
+
type: "REINSTATE_REGISTRATION";
|
|
7111
8358
|
} | {
|
|
7112
8359
|
id: string & import("zod").$brand<"UUID">;
|
|
7113
8360
|
transactionId: string;
|
|
@@ -7303,7 +8550,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7303
8550
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7304
8551
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7305
8552
|
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";
|
|
8553
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
7307
8554
|
status: "Rejected";
|
|
7308
8555
|
})[];
|
|
7309
8556
|
trackingId: string;
|
|
@@ -7323,7 +8570,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7323
8570
|
results: {
|
|
7324
8571
|
id: string & import("zod").$brand<"UUID">;
|
|
7325
8572
|
type: string;
|
|
7326
|
-
status: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
8573
|
+
status: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED";
|
|
7327
8574
|
legalStatuses: {
|
|
7328
8575
|
NOTIFIED?: {
|
|
7329
8576
|
createdAt: string;
|
|
@@ -7350,6 +8597,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7350
8597
|
createdByRole?: string | undefined;
|
|
7351
8598
|
registrationNumber: string;
|
|
7352
8599
|
} | null | undefined;
|
|
8600
|
+
REVOKED?: {
|
|
8601
|
+
createdAt: string;
|
|
8602
|
+
createdBy: string;
|
|
8603
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8604
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
|
8605
|
+
acceptedAt: string;
|
|
8606
|
+
createdByRole?: string | undefined;
|
|
8607
|
+
} | null | undefined;
|
|
7353
8608
|
};
|
|
7354
8609
|
createdAt: string;
|
|
7355
8610
|
dateOfEvent?: string | null | undefined;
|
|
@@ -7493,6 +8748,34 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7493
8748
|
status: "Accepted" | "Rejected" | "Requested";
|
|
7494
8749
|
originalActionId?: string | null | undefined;
|
|
7495
8750
|
type: "UNARCHIVE";
|
|
8751
|
+
} | {
|
|
8752
|
+
id: string;
|
|
8753
|
+
transactionId: string;
|
|
8754
|
+
createdByUserType: "system" | "user";
|
|
8755
|
+
createdAt: string;
|
|
8756
|
+
createdBy: string;
|
|
8757
|
+
createdByRole?: string | undefined;
|
|
8758
|
+
createdBySignature?: string | null | undefined;
|
|
8759
|
+
createdAtLocation?: string | null | undefined;
|
|
8760
|
+
declaration: Record<string, unknown>;
|
|
8761
|
+
annotation?: Record<string, unknown> | null | undefined;
|
|
8762
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
8763
|
+
originalActionId?: string | null | undefined;
|
|
8764
|
+
type: "REVOKE_REGISTRATION";
|
|
8765
|
+
} | {
|
|
8766
|
+
id: string;
|
|
8767
|
+
transactionId: string;
|
|
8768
|
+
createdByUserType: "system" | "user";
|
|
8769
|
+
createdAt: string;
|
|
8770
|
+
createdBy: string;
|
|
8771
|
+
createdByRole?: string | undefined;
|
|
8772
|
+
createdBySignature?: string | null | undefined;
|
|
8773
|
+
createdAtLocation?: string | null | undefined;
|
|
8774
|
+
declaration: Record<string, unknown>;
|
|
8775
|
+
annotation?: Record<string, unknown> | null | undefined;
|
|
8776
|
+
status: "Accepted" | "Rejected" | "Requested";
|
|
8777
|
+
originalActionId?: string | null | undefined;
|
|
8778
|
+
type: "REINSTATE_REGISTRATION";
|
|
7496
8779
|
} | {
|
|
7497
8780
|
id: string;
|
|
7498
8781
|
transactionId: string;
|
|
@@ -7688,7 +8971,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7688
8971
|
createdBySignature?: string | null | undefined;
|
|
7689
8972
|
createdAtLocation?: string | null | undefined;
|
|
7690
8973
|
originalActionId?: string | null | undefined;
|
|
7691
|
-
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
8974
|
+
type: "APPROVE_CORRECTION" | "ARCHIVE" | "CUSTOM" | "DECLARE" | "EDIT" | "NOTIFY" | "PRINT_CERTIFICATE" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REJECT_CORRECTION" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
7692
8975
|
status: "Rejected";
|
|
7693
8976
|
})[];
|
|
7694
8977
|
trackingId: string;
|
|
@@ -7701,18 +8984,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7701
8984
|
ctx: Partial<{
|
|
7702
8985
|
token: `Bearer ${string}`;
|
|
7703
8986
|
user: {
|
|
8987
|
+
id: string & import("zod").$brand<"UUID">;
|
|
8988
|
+
type: "system";
|
|
8989
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8990
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8991
|
+
signature?: undefined;
|
|
8992
|
+
} | {
|
|
7704
8993
|
id: string & import("zod").$brand<"UUID">;
|
|
7705
8994
|
role: string;
|
|
7706
8995
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7707
8996
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7708
8997
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7709
8998
|
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
8999
|
};
|
|
7717
9000
|
}>;
|
|
7718
9001
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -7899,18 +9182,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7899
9182
|
ctx: Partial<{
|
|
7900
9183
|
token: `Bearer ${string}`;
|
|
7901
9184
|
user: {
|
|
9185
|
+
id: string & import("zod").$brand<"UUID">;
|
|
9186
|
+
type: "system";
|
|
9187
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9188
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9189
|
+
signature?: undefined;
|
|
9190
|
+
} | {
|
|
7902
9191
|
id: string & import("zod").$brand<"UUID">;
|
|
7903
9192
|
role: string;
|
|
7904
9193
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7905
9194
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7906
9195
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7907
9196
|
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
9197
|
};
|
|
7915
9198
|
}>;
|
|
7916
9199
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -8023,18 +9306,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8023
9306
|
ctx: Partial<{
|
|
8024
9307
|
token: `Bearer ${string}`;
|
|
8025
9308
|
user: {
|
|
9309
|
+
id: string & import("zod").$brand<"UUID">;
|
|
9310
|
+
type: "system";
|
|
9311
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9312
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9313
|
+
signature?: undefined;
|
|
9314
|
+
} | {
|
|
8026
9315
|
id: string & import("zod").$brand<"UUID">;
|
|
8027
9316
|
role: string;
|
|
8028
9317
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8029
9318
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8030
9319
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8031
9320
|
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
9321
|
};
|
|
8039
9322
|
}>;
|
|
8040
9323
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -8099,7 +9382,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8099
9382
|
clientId: string;
|
|
8100
9383
|
clientType: "system" | "user";
|
|
8101
9384
|
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";
|
|
9385
|
+
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
9386
|
requestData: {
|
|
8104
9387
|
eventId: string;
|
|
8105
9388
|
actionType: string;
|
|
@@ -8406,18 +9689,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8406
9689
|
ctx: Partial<{
|
|
8407
9690
|
token: `Bearer ${string}`;
|
|
8408
9691
|
user: {
|
|
9692
|
+
id: string & import("zod").$brand<"UUID">;
|
|
9693
|
+
type: "system";
|
|
9694
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9695
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9696
|
+
signature?: undefined;
|
|
9697
|
+
} | {
|
|
8409
9698
|
id: string & import("zod").$brand<"UUID">;
|
|
8410
9699
|
role: string;
|
|
8411
9700
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8412
9701
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8413
9702
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8414
9703
|
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
9704
|
};
|
|
8422
9705
|
}>;
|
|
8423
9706
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -8558,18 +9841,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8558
9841
|
ctx: Partial<{
|
|
8559
9842
|
token: `Bearer ${string}`;
|
|
8560
9843
|
user: {
|
|
9844
|
+
id: string & import("zod").$brand<"UUID">;
|
|
9845
|
+
type: "system";
|
|
9846
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9847
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9848
|
+
signature?: undefined;
|
|
9849
|
+
} | {
|
|
8561
9850
|
id: string & import("zod").$brand<"UUID">;
|
|
8562
9851
|
role: string;
|
|
8563
9852
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8564
9853
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8565
9854
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8566
9855
|
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
9856
|
};
|
|
8574
9857
|
}>;
|
|
8575
9858
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -8580,18 +9863,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8580
9863
|
ctx: Partial<{
|
|
8581
9864
|
token: `Bearer ${string}`;
|
|
8582
9865
|
user: {
|
|
9866
|
+
id: string & import("zod").$brand<"UUID">;
|
|
9867
|
+
type: "system";
|
|
9868
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9869
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9870
|
+
signature?: undefined;
|
|
9871
|
+
} | {
|
|
8583
9872
|
id: string & import("zod").$brand<"UUID">;
|
|
8584
9873
|
role: string;
|
|
8585
9874
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8586
9875
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8587
9876
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8588
9877
|
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
9878
|
};
|
|
8596
9879
|
}>;
|
|
8597
9880
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -8613,10 +9896,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8613
9896
|
eventType?: string | undefined;
|
|
8614
9897
|
status?: {
|
|
8615
9898
|
type: "anyOf";
|
|
8616
|
-
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
|
|
9899
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[];
|
|
9900
|
+
} | {
|
|
9901
|
+
type: "noneOf";
|
|
9902
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[];
|
|
8617
9903
|
} | {
|
|
8618
9904
|
type: "exact";
|
|
8619
|
-
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
9905
|
+
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED";
|
|
8620
9906
|
} | undefined;
|
|
8621
9907
|
createdAt?: {
|
|
8622
9908
|
type: "exact";
|
|
@@ -8677,6 +9963,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8677
9963
|
type: "exact";
|
|
8678
9964
|
term: string;
|
|
8679
9965
|
} | undefined;
|
|
9966
|
+
'legalStatuses.REVOKED.createdAtLocation'?: {
|
|
9967
|
+
type: "within";
|
|
9968
|
+
location: string | {
|
|
9969
|
+
$userField: "administrativeAreaId" | "avatar" | "device" | "firstname" | "fullHonorificName" | "id" | "middlename" | "name" | "primaryOfficeId" | "role" | "signature" | "surname";
|
|
9970
|
+
$location?: string | undefined;
|
|
9971
|
+
};
|
|
9972
|
+
} | undefined;
|
|
8680
9973
|
createdAtLocation?: {
|
|
8681
9974
|
type: "within";
|
|
8682
9975
|
location: string | {
|
|
@@ -8752,10 +10045,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8752
10045
|
eventType?: string | undefined;
|
|
8753
10046
|
status?: {
|
|
8754
10047
|
type: "anyOf";
|
|
8755
|
-
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
|
|
10048
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[];
|
|
10049
|
+
} | {
|
|
10050
|
+
type: "noneOf";
|
|
10051
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[];
|
|
8756
10052
|
} | {
|
|
8757
10053
|
type: "exact";
|
|
8758
|
-
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
10054
|
+
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED";
|
|
8759
10055
|
} | undefined;
|
|
8760
10056
|
createdAt?: {
|
|
8761
10057
|
type: "exact";
|
|
@@ -8816,6 +10112,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8816
10112
|
type: "exact";
|
|
8817
10113
|
term: string;
|
|
8818
10114
|
} | undefined;
|
|
10115
|
+
'legalStatuses.REVOKED.createdAtLocation'?: {
|
|
10116
|
+
type: "within";
|
|
10117
|
+
location: string | {
|
|
10118
|
+
$userField: "administrativeAreaId" | "avatar" | "device" | "firstname" | "fullHonorificName" | "id" | "middlename" | "name" | "primaryOfficeId" | "role" | "signature" | "surname";
|
|
10119
|
+
$location?: string | undefined;
|
|
10120
|
+
};
|
|
10121
|
+
} | undefined;
|
|
8819
10122
|
createdAtLocation?: {
|
|
8820
10123
|
type: "within";
|
|
8821
10124
|
location: string | {
|
|
@@ -8887,7 +10190,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8887
10190
|
}[];
|
|
8888
10191
|
};
|
|
8889
10192
|
action?: {
|
|
8890
|
-
type: "ARCHIVE" | "DECLARE" | "DELETE" | "EDIT" | "MARK_AS_DUPLICATE" | "PRINT_CERTIFICATE" | "READ" | "REGISTER" | "REJECT" | "REQUEST_CORRECTION" | "UNARCHIVE";
|
|
10193
|
+
type: "ARCHIVE" | "DECLARE" | "DELETE" | "EDIT" | "MARK_AS_DUPLICATE" | "PRINT_CERTIFICATE" | "READ" | "REGISTER" | "REINSTATE_REGISTRATION" | "REJECT" | "REQUEST_CORRECTION" | "REVOKE_REGISTRATION" | "UNARCHIVE";
|
|
8891
10194
|
} | undefined;
|
|
8892
10195
|
columns: {
|
|
8893
10196
|
label: {
|
|
@@ -8922,18 +10225,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8922
10225
|
ctx: Partial<{
|
|
8923
10226
|
token: `Bearer ${string}`;
|
|
8924
10227
|
user: {
|
|
10228
|
+
id: string & import("zod").$brand<"UUID">;
|
|
10229
|
+
type: "system";
|
|
10230
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10231
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10232
|
+
signature?: undefined;
|
|
10233
|
+
} | {
|
|
8925
10234
|
id: string & import("zod").$brand<"UUID">;
|
|
8926
10235
|
role: string;
|
|
8927
10236
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8928
10237
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8929
10238
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8930
10239
|
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
10240
|
};
|
|
8938
10241
|
}>;
|
|
8939
10242
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -9039,18 +10342,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
9039
10342
|
ctx: Partial<{
|
|
9040
10343
|
token: `Bearer ${string}`;
|
|
9041
10344
|
user: {
|
|
10345
|
+
id: string & import("zod").$brand<"UUID">;
|
|
10346
|
+
type: "system";
|
|
10347
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10348
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10349
|
+
signature?: undefined;
|
|
10350
|
+
} | {
|
|
9042
10351
|
id: string & import("zod").$brand<"UUID">;
|
|
9043
10352
|
role: string;
|
|
9044
10353
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
9045
10354
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
9046
10355
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
9047
10356
|
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
10357
|
};
|
|
9055
10358
|
}>;
|
|
9056
10359
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -9213,7 +10516,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
9213
10516
|
clientId: string;
|
|
9214
10517
|
clientType: "system" | "user";
|
|
9215
10518
|
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";
|
|
10519
|
+
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
10520
|
requestData: {
|
|
9218
10521
|
eventId: string;
|
|
9219
10522
|
actionType: string;
|
|
@@ -9519,18 +10822,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
9519
10822
|
ctx: Partial<{
|
|
9520
10823
|
token: `Bearer ${string}`;
|
|
9521
10824
|
user: {
|
|
10825
|
+
id: string & import("zod").$brand<"UUID">;
|
|
10826
|
+
type: "system";
|
|
10827
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10828
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10829
|
+
signature?: undefined;
|
|
10830
|
+
} | {
|
|
9522
10831
|
id: string & import("zod").$brand<"UUID">;
|
|
9523
10832
|
role: string;
|
|
9524
10833
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
9525
10834
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
9526
10835
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
9527
10836
|
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
10837
|
};
|
|
9535
10838
|
}>;
|
|
9536
10839
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -9555,18 +10858,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
9555
10858
|
ctx: Partial<{
|
|
9556
10859
|
token: `Bearer ${string}`;
|
|
9557
10860
|
user: {
|
|
10861
|
+
id: string & import("zod").$brand<"UUID">;
|
|
10862
|
+
type: "system";
|
|
10863
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10864
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10865
|
+
signature?: undefined;
|
|
10866
|
+
} | {
|
|
9558
10867
|
id: string & import("zod").$brand<"UUID">;
|
|
9559
10868
|
role: string;
|
|
9560
10869
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
9561
10870
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
9562
10871
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
9563
10872
|
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
10873
|
};
|
|
9571
10874
|
}>;
|
|
9572
10875
|
meta: import("trpc-to-openapi").OpenApiMeta;
|