@opencrvs/toolkit 1.9.12-rc.f5ca5e6 → 1.9.12-rc.f82cfcf
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build.sh +8 -0
- package/dist/application-config/index.js +47 -36
- package/dist/cli.d.ts +2 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +2422 -0
- package/dist/commons/api/router.d.ts +320 -108
- package/dist/commons/application-config/index.d.ts +7 -12
- package/dist/commons/conditionals/conditionals.d.ts +8 -8
- package/dist/commons/events/ActionDocument.d.ts +196 -196
- package/dist/commons/events/ActionInput.d.ts +113 -113
- package/dist/commons/events/AdvancedSearchConfig.d.ts +16 -10
- package/dist/commons/events/AuditLog.d.ts +345 -163
- package/dist/commons/events/CompositeFieldValue.d.ts +4 -4
- package/dist/commons/events/CountryConfigQueryInput.d.ts +331 -60
- package/dist/commons/events/Draft.d.ts +13 -13
- package/dist/commons/events/DynamicFieldValue.d.ts +37 -19
- package/dist/commons/events/EventConfig.d.ts +1 -1
- package/dist/commons/events/EventDocument.d.ts +80 -80
- package/dist/commons/events/EventIndex.d.ts +20 -12
- package/dist/commons/events/EventInput.d.ts +1 -1
- package/dist/commons/events/EventMetadata.d.ts +18 -18
- package/dist/commons/events/FieldConfig.d.ts +267 -47
- package/dist/commons/events/FieldType.d.ts +2 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +96 -70
- package/dist/commons/events/FieldValue.d.ts +54 -26
- package/dist/commons/events/PlainDate.d.ts +1 -1
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +16 -16
- package/dist/commons/events/WorkqueueConfig.d.ts +340 -96
- package/dist/commons/events/defineConfig.d.ts +0 -4
- package/dist/commons/events/locations.d.ts +4 -4
- package/dist/commons/events/scopes.d.ts +3 -2
- package/dist/commons/events/state/utils.d.ts +2 -2
- package/dist/commons/events/test.utils.d.ts +2 -2
- package/dist/commons/events/utils.d.ts +4 -176
- package/dist/commons/notification/UserNotifications.d.ts +6 -1
- package/dist/conditionals/index.js +74 -359
- package/dist/events/index.js +1197 -1260
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts +3 -0
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +405 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts +2 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts.map +1 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +753 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts +3 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts.map +1 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.js +159 -0
- package/dist/migrations/v2.0/index.d.ts +7 -0
- package/dist/migrations/v2.0/index.d.ts.map +1 -0
- package/dist/migrations/v2.0/index.js +2361 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts +3 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +1 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +344 -0
- package/dist/migrations/v2.0/migrate-scopes.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-scopes.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-scopes.js +281 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.js +268 -0
- package/dist/migrations/v2.0/remove-delete-actions.d.ts +3 -0
- package/dist/migrations/v2.0/remove-delete-actions.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-delete-actions.js +157 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts +3 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.js +97 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts +3 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.js +110 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts +3 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.js +164 -0
- package/dist/migrations/v2.0/rename-api-paths.d.ts +3 -0
- package/dist/migrations/v2.0/rename-api-paths.d.ts.map +1 -0
- package/dist/migrations/v2.0/rename-api-paths.js +188 -0
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts +3 -0
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts.map +1 -0
- package/dist/migrations/v2.0/rename-location-parent-id.js +181 -0
- package/dist/notification/index.js +1001 -1128
- package/dist/scopes/index.d.ts +389 -152
- package/dist/scopes/index.js +128 -322
- package/opencrvs-toolkit-1.9.12-rc.f82cfcf.tgz +0 -0
- package/package.json +11 -7
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-1.9.12-rc.f5ca5e6.tgz +0 -0
|
@@ -410,15 +410,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
410
410
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
411
411
|
} | {
|
|
412
412
|
id: string & import("zod").$brand<"UUID">;
|
|
413
|
+
createdAt: string;
|
|
413
414
|
transactionId: string;
|
|
414
415
|
createdByUserType: "system" | "user";
|
|
415
|
-
createdAt: string;
|
|
416
416
|
createdBy: string;
|
|
417
417
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
418
418
|
status: "Rejected";
|
|
419
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
419
420
|
createdByRole?: string | undefined;
|
|
420
421
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
421
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
422
422
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
423
423
|
})[];
|
|
424
424
|
trackingId: string;
|
|
@@ -718,15 +718,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
718
718
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
719
719
|
} | {
|
|
720
720
|
id: string & import("zod").$brand<"UUID">;
|
|
721
|
+
createdAt: string;
|
|
721
722
|
transactionId: string;
|
|
722
723
|
createdByUserType: "system" | "user";
|
|
723
|
-
createdAt: string;
|
|
724
724
|
createdBy: string;
|
|
725
725
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
726
726
|
status: "Rejected";
|
|
727
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
727
728
|
createdByRole?: string | undefined;
|
|
728
729
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
729
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
730
730
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
731
731
|
})[];
|
|
732
732
|
trackingId: string;
|
|
@@ -1026,15 +1026,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1026
1026
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1027
1027
|
} | {
|
|
1028
1028
|
id: string & import("zod").$brand<"UUID">;
|
|
1029
|
+
createdAt: string;
|
|
1029
1030
|
transactionId: string;
|
|
1030
1031
|
createdByUserType: "system" | "user";
|
|
1031
|
-
createdAt: string;
|
|
1032
1032
|
createdBy: string;
|
|
1033
1033
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
1034
1034
|
status: "Rejected";
|
|
1035
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1035
1036
|
createdByRole?: string | undefined;
|
|
1036
1037
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1037
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1038
1038
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1039
1039
|
})[];
|
|
1040
1040
|
trackingId: string;
|
|
@@ -1081,12 +1081,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1081
1081
|
createdAt: string;
|
|
1082
1082
|
action: {
|
|
1083
1083
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN";
|
|
1084
|
+
createdAt: string;
|
|
1084
1085
|
transactionId: string;
|
|
1086
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1085
1087
|
createdByUserType: "system" | "user";
|
|
1086
|
-
createdAt: string;
|
|
1087
1088
|
createdBy: string;
|
|
1088
1089
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1089
|
-
status: "Requested" | "Accepted" | "Rejected";
|
|
1090
1090
|
createdByRole?: string | undefined;
|
|
1091
1091
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1092
1092
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -1114,12 +1114,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1114
1114
|
createdAt: string;
|
|
1115
1115
|
action: {
|
|
1116
1116
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN";
|
|
1117
|
+
createdAt: string;
|
|
1117
1118
|
transactionId: string;
|
|
1119
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1118
1120
|
createdByUserType: "system" | "user";
|
|
1119
|
-
createdAt: string;
|
|
1120
1121
|
createdBy: string;
|
|
1121
1122
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1122
|
-
status: "Requested" | "Accepted" | "Rejected";
|
|
1123
1123
|
createdByRole?: string | undefined;
|
|
1124
1124
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1125
1125
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -1516,15 +1516,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1516
1516
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1517
1517
|
} | {
|
|
1518
1518
|
id: string & import("zod").$brand<"UUID">;
|
|
1519
|
+
createdAt: string;
|
|
1519
1520
|
transactionId: string;
|
|
1520
1521
|
createdByUserType: "system" | "user";
|
|
1521
|
-
createdAt: string;
|
|
1522
1522
|
createdBy: string;
|
|
1523
1523
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
1524
1524
|
status: "Rejected";
|
|
1525
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1525
1526
|
createdByRole?: string | undefined;
|
|
1526
1527
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1527
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1528
1528
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1529
1529
|
})[];
|
|
1530
1530
|
trackingId: string;
|
|
@@ -2090,15 +2090,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2090
2090
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2091
2091
|
} | {
|
|
2092
2092
|
id: string & import("zod").$brand<"UUID">;
|
|
2093
|
+
createdAt: string;
|
|
2093
2094
|
transactionId: string;
|
|
2094
2095
|
createdByUserType: "system" | "user";
|
|
2095
|
-
createdAt: string;
|
|
2096
2096
|
createdBy: string;
|
|
2097
2097
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
2098
2098
|
status: "Rejected";
|
|
2099
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2099
2100
|
createdByRole?: string | undefined;
|
|
2100
2101
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2101
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2102
2102
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2103
2103
|
})[];
|
|
2104
2104
|
trackingId: string;
|
|
@@ -2444,15 +2444,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2444
2444
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2445
2445
|
} | {
|
|
2446
2446
|
id: string & import("zod").$brand<"UUID">;
|
|
2447
|
+
createdAt: string;
|
|
2447
2448
|
transactionId: string;
|
|
2448
2449
|
createdByUserType: "system" | "user";
|
|
2449
|
-
createdAt: string;
|
|
2450
2450
|
createdBy: string;
|
|
2451
2451
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
2452
2452
|
status: "Rejected";
|
|
2453
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2453
2454
|
createdByRole?: string | undefined;
|
|
2454
2455
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2455
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2456
2456
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2457
2457
|
})[];
|
|
2458
2458
|
trackingId: string;
|
|
@@ -2759,15 +2759,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2759
2759
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2760
2760
|
} | {
|
|
2761
2761
|
id: string & import("zod").$brand<"UUID">;
|
|
2762
|
+
createdAt: string;
|
|
2762
2763
|
transactionId: string;
|
|
2763
2764
|
createdByUserType: "system" | "user";
|
|
2764
|
-
createdAt: string;
|
|
2765
2765
|
createdBy: string;
|
|
2766
2766
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
2767
2767
|
status: "Rejected";
|
|
2768
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2768
2769
|
createdByRole?: string | undefined;
|
|
2769
2770
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2770
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2771
2771
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2772
2772
|
})[];
|
|
2773
2773
|
trackingId: string;
|
|
@@ -3254,15 +3254,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3254
3254
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3255
3255
|
} | {
|
|
3256
3256
|
id: string & import("zod").$brand<"UUID">;
|
|
3257
|
+
createdAt: string;
|
|
3257
3258
|
transactionId: string;
|
|
3258
3259
|
createdByUserType: "system" | "user";
|
|
3259
|
-
createdAt: string;
|
|
3260
3260
|
createdBy: string;
|
|
3261
3261
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
3262
3262
|
status: "Rejected";
|
|
3263
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3263
3264
|
createdByRole?: string | undefined;
|
|
3264
3265
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3265
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3266
3266
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3267
3267
|
})[];
|
|
3268
3268
|
trackingId: string;
|
|
@@ -3568,15 +3568,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3568
3568
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3569
3569
|
} | {
|
|
3570
3570
|
id: string & import("zod").$brand<"UUID">;
|
|
3571
|
+
createdAt: string;
|
|
3571
3572
|
transactionId: string;
|
|
3572
3573
|
createdByUserType: "system" | "user";
|
|
3573
|
-
createdAt: string;
|
|
3574
3574
|
createdBy: string;
|
|
3575
3575
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
3576
3576
|
status: "Rejected";
|
|
3577
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3577
3578
|
createdByRole?: string | undefined;
|
|
3578
3579
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3579
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3580
3580
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3581
3581
|
})[];
|
|
3582
3582
|
trackingId: string;
|
|
@@ -3931,15 +3931,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3931
3931
|
originalActionId?: string | null | undefined;
|
|
3932
3932
|
} | {
|
|
3933
3933
|
id: string;
|
|
3934
|
+
createdAt: string;
|
|
3934
3935
|
transactionId: string;
|
|
3935
3936
|
createdByUserType: "system" | "user";
|
|
3936
|
-
createdAt: string;
|
|
3937
3937
|
createdBy: string;
|
|
3938
3938
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
3939
3939
|
status: "Rejected";
|
|
3940
|
+
createdAtLocation?: string | null | undefined;
|
|
3940
3941
|
createdByRole?: string | undefined;
|
|
3941
3942
|
createdBySignature?: string | null | undefined;
|
|
3942
|
-
createdAtLocation?: string | null | undefined;
|
|
3943
3943
|
originalActionId?: string | null | undefined;
|
|
3944
3944
|
})[];
|
|
3945
3945
|
trackingId: string;
|
|
@@ -4183,25 +4183,25 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4183
4183
|
output: {
|
|
4184
4184
|
results: {
|
|
4185
4185
|
id: (string & import("zod").$brand<"UUID">) | null;
|
|
4186
|
+
createdBy: string;
|
|
4187
|
+
createdAt: string | null;
|
|
4188
|
+
status: import("../storage/postgres/events/schema/app/ActionStatus").default;
|
|
4186
4189
|
transactionId: string | null;
|
|
4187
4190
|
eventId: string & import("zod").$brand<"UUID">;
|
|
4188
4191
|
actionType: string;
|
|
4189
4192
|
declaration: Record<string, any>;
|
|
4190
4193
|
annotation: Record<string, any> | null;
|
|
4191
|
-
createdBy: string;
|
|
4192
4194
|
createdByRole: string | null;
|
|
4193
4195
|
createdByUserType: import("../storage/postgres/events/schema/app/UserType").default;
|
|
4194
4196
|
createdBySignature: string | null;
|
|
4195
4197
|
createdAtLocation: (string & import("zod").$brand<"UUID">) | null;
|
|
4196
|
-
|
|
4197
|
-
status: import("../storage/postgres/events/schema/app/ActionStatus").default;
|
|
4198
|
+
updatedAt: string | null;
|
|
4198
4199
|
assignedTo: string | null;
|
|
4199
4200
|
originalActionId: (string & import("zod").$brand<"UUID">) | null;
|
|
4200
4201
|
registrationNumber: string | null;
|
|
4201
4202
|
requestId: string | null;
|
|
4202
4203
|
content: Record<string, any> | null;
|
|
4203
4204
|
customActionType: string | null;
|
|
4204
|
-
updatedAt: string | null;
|
|
4205
4205
|
eventType: string | null;
|
|
4206
4206
|
trackingId: string | null;
|
|
4207
4207
|
}[];
|
|
@@ -4235,7 +4235,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4235
4235
|
input: void;
|
|
4236
4236
|
output: {
|
|
4237
4237
|
id: string;
|
|
4238
|
-
scopes: string[];
|
|
4238
|
+
scopes: (string & import("zod").$brand<"EncodedScope">)[];
|
|
4239
4239
|
}[];
|
|
4240
4240
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4241
4241
|
}>;
|
|
@@ -4324,29 +4324,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4324
4324
|
role: string;
|
|
4325
4325
|
primaryOfficeId: string;
|
|
4326
4326
|
};
|
|
4327
|
-
responseSummary: Record<string, never>;
|
|
4328
4327
|
} | {
|
|
4329
|
-
operation: "user.deactivate";
|
|
4328
|
+
operation: "user.deactivate" | "user.reactivate";
|
|
4330
4329
|
requestData: {
|
|
4331
4330
|
subjectId: string;
|
|
4332
4331
|
reason: string;
|
|
4333
4332
|
comment?: string | undefined;
|
|
4334
4333
|
};
|
|
4335
|
-
responseSummary: Record<string, never>;
|
|
4336
4334
|
} | {
|
|
4337
|
-
operation: "user.
|
|
4335
|
+
operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.username_reminder" | "user.username_reminder_by_admin";
|
|
4338
4336
|
requestData: {
|
|
4339
4337
|
subjectId: string;
|
|
4340
|
-
reason: string;
|
|
4341
|
-
comment?: string | undefined;
|
|
4342
4338
|
};
|
|
4343
|
-
responseSummary: Record<string, never>;
|
|
4344
|
-
} | {
|
|
4345
|
-
operation: "user.edit_user";
|
|
4346
|
-
requestData: {
|
|
4347
|
-
subjectId: string;
|
|
4348
|
-
};
|
|
4349
|
-
responseSummary: Record<string, never>;
|
|
4350
4339
|
} | {
|
|
4351
4340
|
operation: "user.email_address_changed";
|
|
4352
4341
|
requestData: {
|
|
@@ -4355,36 +4344,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4355
4344
|
responseSummary: {
|
|
4356
4345
|
email: string;
|
|
4357
4346
|
};
|
|
4358
|
-
} | {
|
|
4359
|
-
operation: "user.logged_in";
|
|
4360
|
-
requestData: {
|
|
4361
|
-
subjectId: string;
|
|
4362
|
-
};
|
|
4363
|
-
responseSummary: Record<string, never>;
|
|
4364
|
-
} | {
|
|
4365
|
-
operation: "user.logged_out";
|
|
4366
|
-
requestData: {
|
|
4367
|
-
subjectId: string;
|
|
4368
|
-
};
|
|
4369
|
-
responseSummary: Record<string, never>;
|
|
4370
|
-
} | {
|
|
4371
|
-
operation: "user.password_changed";
|
|
4372
|
-
requestData: {
|
|
4373
|
-
subjectId: string;
|
|
4374
|
-
};
|
|
4375
|
-
responseSummary: Record<string, never>;
|
|
4376
|
-
} | {
|
|
4377
|
-
operation: "user.password_reset";
|
|
4378
|
-
requestData: {
|
|
4379
|
-
subjectId: string;
|
|
4380
|
-
};
|
|
4381
|
-
responseSummary: Record<string, never>;
|
|
4382
|
-
} | {
|
|
4383
|
-
operation: "user.password_reset_by_admin";
|
|
4384
|
-
requestData: {
|
|
4385
|
-
subjectId: string;
|
|
4386
|
-
};
|
|
4387
|
-
responseSummary: Record<string, never>;
|
|
4388
4347
|
} | {
|
|
4389
4348
|
operation: "user.phone_number_changed";
|
|
4390
4349
|
requestData: {
|
|
@@ -4393,18 +4352,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4393
4352
|
responseSummary: {
|
|
4394
4353
|
phoneNumber: string;
|
|
4395
4354
|
};
|
|
4396
|
-
} | {
|
|
4397
|
-
operation: "user.username_reminder";
|
|
4398
|
-
requestData: {
|
|
4399
|
-
subjectId: string;
|
|
4400
|
-
};
|
|
4401
|
-
responseSummary: Record<string, never>;
|
|
4402
|
-
} | {
|
|
4403
|
-
operation: "user.username_reminder_by_admin";
|
|
4404
|
-
requestData: {
|
|
4405
|
-
subjectId: string;
|
|
4406
|
-
};
|
|
4407
|
-
responseSummary: Record<string, never>;
|
|
4408
4355
|
};
|
|
4409
4356
|
output: void;
|
|
4410
4357
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -4416,17 +4363,224 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4416
4363
|
count?: number | undefined;
|
|
4417
4364
|
timeStart?: string | undefined;
|
|
4418
4365
|
timeEnd?: string | undefined;
|
|
4366
|
+
excludeOperations?: string[] | undefined;
|
|
4419
4367
|
};
|
|
4420
4368
|
output: {
|
|
4421
|
-
results: {
|
|
4369
|
+
results: ({
|
|
4422
4370
|
id: string;
|
|
4423
4371
|
clientId: string;
|
|
4424
|
-
clientType:
|
|
4425
|
-
operation: string;
|
|
4426
|
-
requestData: Record<string, unknown> | null;
|
|
4427
|
-
responseSummary: Record<string, unknown> | null;
|
|
4372
|
+
clientType: "system" | "user";
|
|
4428
4373
|
createdAt: string;
|
|
4429
|
-
|
|
4374
|
+
operation: "event.create";
|
|
4375
|
+
requestData: {
|
|
4376
|
+
transactionId: string;
|
|
4377
|
+
type: string;
|
|
4378
|
+
createdAtLocation: string | null;
|
|
4379
|
+
};
|
|
4380
|
+
responseSummary: {
|
|
4381
|
+
eventId: string;
|
|
4382
|
+
trackingId: string;
|
|
4383
|
+
};
|
|
4384
|
+
} | {
|
|
4385
|
+
id: string;
|
|
4386
|
+
clientId: string;
|
|
4387
|
+
clientType: "system" | "user";
|
|
4388
|
+
createdAt: string;
|
|
4389
|
+
operation: "event.get";
|
|
4390
|
+
requestData: {
|
|
4391
|
+
eventId: string;
|
|
4392
|
+
};
|
|
4393
|
+
responseSummary: {
|
|
4394
|
+
eventType: string;
|
|
4395
|
+
trackingId: string;
|
|
4396
|
+
};
|
|
4397
|
+
} | {
|
|
4398
|
+
id: string;
|
|
4399
|
+
clientId: string;
|
|
4400
|
+
createdAt: string;
|
|
4401
|
+
operation: "event.search";
|
|
4402
|
+
clientType: "system";
|
|
4403
|
+
requestData: {
|
|
4404
|
+
query: Record<string, unknown> | null;
|
|
4405
|
+
limit: number | null;
|
|
4406
|
+
offset: number | null;
|
|
4407
|
+
};
|
|
4408
|
+
responseSummary: {
|
|
4409
|
+
total: number;
|
|
4410
|
+
eventIds: string[];
|
|
4411
|
+
};
|
|
4412
|
+
} | {
|
|
4413
|
+
id: string;
|
|
4414
|
+
clientId: string;
|
|
4415
|
+
clientType: "system" | "user";
|
|
4416
|
+
createdAt: string;
|
|
4417
|
+
operation: "event.actions.notify.request" | "event.actions.declare.request" | "event.actions.register.request" | "event.actions.reject.request" | "event.actions.validate.request" | "event.actions.edit.request" | "event.actions.assign.request" | "event.actions.unassign.request" | "event.actions.read.request" | "event.actions.archive.request" | "event.actions.reinstate.request" | "event.actions.print_certificate.request" | "event.actions.correction.request.request" | "event.actions.correction.approve.request" | "event.actions.correction.reject.request" | "event.actions.mark_as_duplicate.request" | "event.actions.mark_as_not_duplicate.request";
|
|
4418
|
+
requestData: {
|
|
4419
|
+
eventId: string;
|
|
4420
|
+
actionType: string;
|
|
4421
|
+
eventType: string;
|
|
4422
|
+
trackingId: string;
|
|
4423
|
+
transactionId: string;
|
|
4424
|
+
};
|
|
4425
|
+
} | {
|
|
4426
|
+
id: string;
|
|
4427
|
+
clientId: string;
|
|
4428
|
+
clientType: "system" | "user";
|
|
4429
|
+
createdAt: string;
|
|
4430
|
+
operation: "event.actions.custom.request";
|
|
4431
|
+
requestData: {
|
|
4432
|
+
eventId: string;
|
|
4433
|
+
actionType: "CUSTOM";
|
|
4434
|
+
customAction: string;
|
|
4435
|
+
eventType: string;
|
|
4436
|
+
trackingId: string;
|
|
4437
|
+
transactionId: string;
|
|
4438
|
+
};
|
|
4439
|
+
} | {
|
|
4440
|
+
id: string;
|
|
4441
|
+
clientId: string;
|
|
4442
|
+
clientType: "system" | "user";
|
|
4443
|
+
createdAt: string;
|
|
4444
|
+
operation: "integrations.create";
|
|
4445
|
+
requestData: {
|
|
4446
|
+
name: string;
|
|
4447
|
+
scopes: string[];
|
|
4448
|
+
};
|
|
4449
|
+
responseSummary: {
|
|
4450
|
+
clientId: string;
|
|
4451
|
+
};
|
|
4452
|
+
} | {
|
|
4453
|
+
id: string;
|
|
4454
|
+
clientId: string;
|
|
4455
|
+
clientType: "system" | "user";
|
|
4456
|
+
createdAt: string;
|
|
4457
|
+
operation: "integrations.refreshToken";
|
|
4458
|
+
requestData: {
|
|
4459
|
+
clientId: string;
|
|
4460
|
+
};
|
|
4461
|
+
responseSummary: {
|
|
4462
|
+
clientId: string;
|
|
4463
|
+
};
|
|
4464
|
+
} | {
|
|
4465
|
+
id: string;
|
|
4466
|
+
clientId: string;
|
|
4467
|
+
clientType: "system" | "user";
|
|
4468
|
+
createdAt: string;
|
|
4469
|
+
operation: "integrations.deactivate";
|
|
4470
|
+
requestData: {
|
|
4471
|
+
id: string;
|
|
4472
|
+
};
|
|
4473
|
+
responseSummary: {
|
|
4474
|
+
id: string;
|
|
4475
|
+
status: string;
|
|
4476
|
+
};
|
|
4477
|
+
} | {
|
|
4478
|
+
id: string;
|
|
4479
|
+
clientId: string;
|
|
4480
|
+
clientType: "system" | "user";
|
|
4481
|
+
createdAt: string;
|
|
4482
|
+
operation: "integrations.activate";
|
|
4483
|
+
requestData: {
|
|
4484
|
+
id: string;
|
|
4485
|
+
};
|
|
4486
|
+
responseSummary: {
|
|
4487
|
+
id: string;
|
|
4488
|
+
status: string;
|
|
4489
|
+
};
|
|
4490
|
+
} | {
|
|
4491
|
+
id: string;
|
|
4492
|
+
clientId: string;
|
|
4493
|
+
clientType: "system" | "user";
|
|
4494
|
+
createdAt: string;
|
|
4495
|
+
operation: "integrations.delete";
|
|
4496
|
+
requestData: {
|
|
4497
|
+
id: string;
|
|
4498
|
+
};
|
|
4499
|
+
responseSummary: {
|
|
4500
|
+
id: string;
|
|
4501
|
+
name: string;
|
|
4502
|
+
};
|
|
4503
|
+
} | {
|
|
4504
|
+
id: string;
|
|
4505
|
+
clientId: string;
|
|
4506
|
+
clientType: "system" | "user";
|
|
4507
|
+
createdAt: string;
|
|
4508
|
+
operation: "integrations.refreshSecret";
|
|
4509
|
+
requestData: {
|
|
4510
|
+
id: string;
|
|
4511
|
+
};
|
|
4512
|
+
responseSummary: {
|
|
4513
|
+
clientId: string;
|
|
4514
|
+
};
|
|
4515
|
+
} | {
|
|
4516
|
+
id: string;
|
|
4517
|
+
clientId: string;
|
|
4518
|
+
clientType: "system" | "user";
|
|
4519
|
+
createdAt: string;
|
|
4520
|
+
operation: "attachments.upload";
|
|
4521
|
+
requestData: {
|
|
4522
|
+
transactionId: string;
|
|
4523
|
+
path: string | null;
|
|
4524
|
+
};
|
|
4525
|
+
responseSummary: {
|
|
4526
|
+
fileUrl: string;
|
|
4527
|
+
};
|
|
4528
|
+
} | {
|
|
4529
|
+
id: string;
|
|
4530
|
+
clientId: string;
|
|
4531
|
+
clientType: "system" | "user";
|
|
4532
|
+
createdAt: string;
|
|
4533
|
+
operation: "user.create_user";
|
|
4534
|
+
requestData: {
|
|
4535
|
+
subjectId: string;
|
|
4536
|
+
role: string;
|
|
4537
|
+
primaryOfficeId: string;
|
|
4538
|
+
};
|
|
4539
|
+
} | {
|
|
4540
|
+
id: string;
|
|
4541
|
+
clientId: string;
|
|
4542
|
+
clientType: "system" | "user";
|
|
4543
|
+
createdAt: string;
|
|
4544
|
+
operation: "user.deactivate" | "user.reactivate";
|
|
4545
|
+
requestData: {
|
|
4546
|
+
subjectId: string;
|
|
4547
|
+
reason: string;
|
|
4548
|
+
comment?: string | undefined;
|
|
4549
|
+
};
|
|
4550
|
+
} | {
|
|
4551
|
+
id: string;
|
|
4552
|
+
clientId: string;
|
|
4553
|
+
clientType: "system" | "user";
|
|
4554
|
+
createdAt: string;
|
|
4555
|
+
operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.username_reminder" | "user.username_reminder_by_admin";
|
|
4556
|
+
requestData: {
|
|
4557
|
+
subjectId: string;
|
|
4558
|
+
};
|
|
4559
|
+
} | {
|
|
4560
|
+
id: string;
|
|
4561
|
+
clientId: string;
|
|
4562
|
+
clientType: "system" | "user";
|
|
4563
|
+
createdAt: string;
|
|
4564
|
+
operation: "user.email_address_changed";
|
|
4565
|
+
requestData: {
|
|
4566
|
+
subjectId: string;
|
|
4567
|
+
};
|
|
4568
|
+
responseSummary: {
|
|
4569
|
+
email: string;
|
|
4570
|
+
};
|
|
4571
|
+
} | {
|
|
4572
|
+
id: string;
|
|
4573
|
+
clientId: string;
|
|
4574
|
+
clientType: "system" | "user";
|
|
4575
|
+
createdAt: string;
|
|
4576
|
+
operation: "user.phone_number_changed";
|
|
4577
|
+
requestData: {
|
|
4578
|
+
subjectId: string;
|
|
4579
|
+
};
|
|
4580
|
+
responseSummary: {
|
|
4581
|
+
phoneNumber: string;
|
|
4582
|
+
};
|
|
4583
|
+
})[];
|
|
4430
4584
|
total: number;
|
|
4431
4585
|
};
|
|
4432
4586
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -4595,7 +4749,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4595
4749
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4596
4750
|
type: "within";
|
|
4597
4751
|
location: string | {
|
|
4598
|
-
$userField: "id" | "name" | "
|
|
4752
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4599
4753
|
$location?: string | undefined;
|
|
4600
4754
|
};
|
|
4601
4755
|
} | undefined;
|
|
@@ -4617,7 +4771,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4617
4771
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4618
4772
|
type: "within";
|
|
4619
4773
|
location: string | {
|
|
4620
|
-
$userField: "id" | "name" | "
|
|
4774
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4621
4775
|
$location?: string | undefined;
|
|
4622
4776
|
};
|
|
4623
4777
|
} | undefined;
|
|
@@ -4632,35 +4786,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4632
4786
|
createdAtLocation?: {
|
|
4633
4787
|
type: "within";
|
|
4634
4788
|
location: string | {
|
|
4635
|
-
$userField: "id" | "name" | "
|
|
4789
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4790
|
+
$location?: string | undefined;
|
|
4791
|
+
};
|
|
4792
|
+
} | {
|
|
4793
|
+
type: "exact";
|
|
4794
|
+
term: string | {
|
|
4795
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4636
4796
|
$location?: string | undefined;
|
|
4637
4797
|
};
|
|
4638
4798
|
} | undefined;
|
|
4639
4799
|
updatedAtLocation?: {
|
|
4640
4800
|
type: "within";
|
|
4641
4801
|
location: string | {
|
|
4642
|
-
$userField: "id" | "name" | "
|
|
4802
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4803
|
+
$location?: string | undefined;
|
|
4804
|
+
};
|
|
4805
|
+
} | {
|
|
4806
|
+
type: "exact";
|
|
4807
|
+
term: string | {
|
|
4808
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4643
4809
|
$location?: string | undefined;
|
|
4644
4810
|
};
|
|
4645
4811
|
} | undefined;
|
|
4646
4812
|
updatedByUserRole?: {
|
|
4647
4813
|
type: "exact";
|
|
4648
4814
|
term: string | {
|
|
4649
|
-
$userField: "id" | "name" | "
|
|
4815
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4650
4816
|
$location?: string | undefined;
|
|
4651
4817
|
};
|
|
4652
4818
|
} | undefined;
|
|
4653
4819
|
assignedTo?: {
|
|
4654
4820
|
type: "exact";
|
|
4655
4821
|
term: string | {
|
|
4656
|
-
$userField: "id" | "name" | "
|
|
4822
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4657
4823
|
$location?: string | undefined;
|
|
4658
4824
|
};
|
|
4659
4825
|
} | undefined;
|
|
4660
4826
|
createdBy?: {
|
|
4661
4827
|
type: "exact";
|
|
4662
4828
|
term: string | {
|
|
4663
|
-
$userField: "id" | "name" | "
|
|
4829
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4664
4830
|
$location?: string | undefined;
|
|
4665
4831
|
};
|
|
4666
4832
|
} | undefined;
|
|
@@ -4671,7 +4837,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4671
4837
|
updatedBy?: {
|
|
4672
4838
|
type: "exact";
|
|
4673
4839
|
term: string | {
|
|
4674
|
-
$userField: "id" | "name" | "
|
|
4840
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4675
4841
|
$location?: string | undefined;
|
|
4676
4842
|
};
|
|
4677
4843
|
} | undefined;
|
|
@@ -4721,7 +4887,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4721
4887
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4722
4888
|
type: "within";
|
|
4723
4889
|
location: string | {
|
|
4724
|
-
$userField: "id" | "name" | "
|
|
4890
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4725
4891
|
$location?: string | undefined;
|
|
4726
4892
|
};
|
|
4727
4893
|
} | undefined;
|
|
@@ -4743,7 +4909,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4743
4909
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4744
4910
|
type: "within";
|
|
4745
4911
|
location: string | {
|
|
4746
|
-
$userField: "id" | "name" | "
|
|
4912
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4747
4913
|
$location?: string | undefined;
|
|
4748
4914
|
};
|
|
4749
4915
|
} | undefined;
|
|
@@ -4758,35 +4924,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4758
4924
|
createdAtLocation?: {
|
|
4759
4925
|
type: "within";
|
|
4760
4926
|
location: string | {
|
|
4761
|
-
$userField: "id" | "name" | "
|
|
4927
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4928
|
+
$location?: string | undefined;
|
|
4929
|
+
};
|
|
4930
|
+
} | {
|
|
4931
|
+
type: "exact";
|
|
4932
|
+
term: string | {
|
|
4933
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4762
4934
|
$location?: string | undefined;
|
|
4763
4935
|
};
|
|
4764
4936
|
} | undefined;
|
|
4765
4937
|
updatedAtLocation?: {
|
|
4766
4938
|
type: "within";
|
|
4767
4939
|
location: string | {
|
|
4768
|
-
$userField: "id" | "name" | "
|
|
4940
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4941
|
+
$location?: string | undefined;
|
|
4942
|
+
};
|
|
4943
|
+
} | {
|
|
4944
|
+
type: "exact";
|
|
4945
|
+
term: string | {
|
|
4946
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4769
4947
|
$location?: string | undefined;
|
|
4770
4948
|
};
|
|
4771
4949
|
} | undefined;
|
|
4772
4950
|
updatedByUserRole?: {
|
|
4773
4951
|
type: "exact";
|
|
4774
4952
|
term: string | {
|
|
4775
|
-
$userField: "id" | "name" | "
|
|
4953
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4776
4954
|
$location?: string | undefined;
|
|
4777
4955
|
};
|
|
4778
4956
|
} | undefined;
|
|
4779
4957
|
assignedTo?: {
|
|
4780
4958
|
type: "exact";
|
|
4781
4959
|
term: string | {
|
|
4782
|
-
$userField: "id" | "name" | "
|
|
4960
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4783
4961
|
$location?: string | undefined;
|
|
4784
4962
|
};
|
|
4785
4963
|
} | undefined;
|
|
4786
4964
|
createdBy?: {
|
|
4787
4965
|
type: "exact";
|
|
4788
4966
|
term: string | {
|
|
4789
|
-
$userField: "id" | "name" | "
|
|
4967
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4790
4968
|
$location?: string | undefined;
|
|
4791
4969
|
};
|
|
4792
4970
|
} | undefined;
|
|
@@ -4797,7 +4975,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4797
4975
|
updatedBy?: {
|
|
4798
4976
|
type: "exact";
|
|
4799
4977
|
term: string | {
|
|
4800
|
-
$userField: "id" | "name" | "
|
|
4978
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "avatar" | "signature" | "primaryOfficeId" | "device" | "middlename";
|
|
4801
4979
|
$location?: string | undefined;
|
|
4802
4980
|
};
|
|
4803
4981
|
} | undefined;
|
|
@@ -4819,7 +4997,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4819
4997
|
description: string;
|
|
4820
4998
|
};
|
|
4821
4999
|
value: {
|
|
4822
|
-
$event: "id" | "createdBy" | "
|
|
5000
|
+
$event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
4823
5001
|
};
|
|
4824
5002
|
}[];
|
|
4825
5003
|
icon: "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
@@ -4934,7 +5112,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4934
5112
|
output: {
|
|
4935
5113
|
id: string & import("zod").$brand<"UUID">;
|
|
4936
5114
|
status: string;
|
|
4937
|
-
scope: string[];
|
|
5115
|
+
scope: (string & import("zod").$brand<"EncodedScope">)[];
|
|
4938
5116
|
};
|
|
4939
5117
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4940
5118
|
}>;
|
|
@@ -5045,6 +5223,40 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5045
5223
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5046
5224
|
}>;
|
|
5047
5225
|
}>>;
|
|
5226
|
+
announcement: import("@trpc/server").TRPCBuiltRouter<{
|
|
5227
|
+
ctx: Partial<{
|
|
5228
|
+
token: `Bearer ${string}`;
|
|
5229
|
+
user: {
|
|
5230
|
+
id: string;
|
|
5231
|
+
type: "system";
|
|
5232
|
+
primaryOfficeId?: undefined;
|
|
5233
|
+
signature?: undefined;
|
|
5234
|
+
administrativeAreaId?: undefined;
|
|
5235
|
+
} | {
|
|
5236
|
+
id: string;
|
|
5237
|
+
type: "user";
|
|
5238
|
+
role: string;
|
|
5239
|
+
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5240
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5241
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5242
|
+
};
|
|
5243
|
+
}>;
|
|
5244
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5245
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
5246
|
+
transformer: true;
|
|
5247
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
5248
|
+
broadcast: import("@trpc/server").TRPCMutationProcedure<{
|
|
5249
|
+
input: {
|
|
5250
|
+
subject: string;
|
|
5251
|
+
body: string;
|
|
5252
|
+
locale: string;
|
|
5253
|
+
};
|
|
5254
|
+
output: {
|
|
5255
|
+
success: boolean;
|
|
5256
|
+
};
|
|
5257
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5258
|
+
}>;
|
|
5259
|
+
}>>;
|
|
5048
5260
|
}>>;
|
|
5049
5261
|
/** @knipignore */
|
|
5050
5262
|
export type AppRouter = typeof appRouter;
|