@opencrvs/toolkit 2.0.1-rc.40e0231 → 2.0.1-rc.453d8a6
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/dist/application-config/index.js +6 -2
- package/dist/cli.js +8 -4
- package/dist/commons/api/router.d.ts +42 -15
- package/dist/commons/conditionals/conditionals.d.ts +3 -3
- package/dist/commons/events/ActionConfig.d.ts +4 -0
- package/dist/commons/events/ActionDocument.d.ts +2 -2
- package/dist/commons/events/AdvancedSearchConfig.d.ts +12 -0
- package/dist/commons/events/Draft.d.ts +1 -1
- package/dist/commons/events/EventDocument.d.ts +1 -1
- package/dist/commons/events/EventMetadata.d.ts +1 -1
- package/dist/commons/events/FieldConfig.d.ts +10 -0
- package/dist/commons/events/FormConfig.d.ts +6 -0
- package/dist/commons/events/PageConfig.d.ts +4 -0
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +4 -4
- package/dist/commons/events/WorkqueueConfig.d.ts +5 -5
- package/dist/commons/events/state/utils.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +5 -1
- package/dist/conditionals/index.js +6 -2
- package/dist/events/index.js +27 -2
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +1 -1
- package/dist/migrations/v2.0/index.js +8 -4
- package/dist/migrations/v2.0/merge-infrastructure-directory.js +3 -3
- package/dist/notification/index.js +10 -2
- package/dist/scopes/index.d.ts +108 -0
- package/dist/scopes/index.js +6 -2
- package/opencrvs-toolkit-2.0.1-rc.453d8a6.tgz +0 -0
- package/package.json +1 -1
- package/opencrvs-toolkit-2.0.1-rc.40e0231.tgz +0 -0
|
@@ -663,7 +663,9 @@ var userRole = z11.preprocess(
|
|
|
663
663
|
).describe("User role, e.g. admin, field agent");
|
|
664
664
|
var scopeOptionsPlaceEvent = z11.object({
|
|
665
665
|
event: scopeByEvent,
|
|
666
|
-
placeOfEvent: JurisdictionFilter.optional()
|
|
666
|
+
placeOfEvent: JurisdictionFilter.optional(),
|
|
667
|
+
createdBy: UserFilter.optional(),
|
|
668
|
+
createdIn: JurisdictionFilter.optional()
|
|
667
669
|
}).describe("Options applicable to all record scopes.");
|
|
668
670
|
var scopeOptionsDeclared = scopeOptionsPlaceEvent.extend({
|
|
669
671
|
declaredIn: JurisdictionFilter.optional(),
|
|
@@ -702,7 +704,9 @@ var AllScopeOptions = z11.object({
|
|
|
702
704
|
var ScopeOptionKey = AllScopeOptions.keyof();
|
|
703
705
|
var ResolvedScopeOptionsPlaceEvent = z11.object({
|
|
704
706
|
event: scopeByEvent,
|
|
705
|
-
placeOfEvent: UUID.nullish()
|
|
707
|
+
placeOfEvent: UUID.nullish(),
|
|
708
|
+
createdBy: z11.string().optional(),
|
|
709
|
+
createdIn: UUID.nullish()
|
|
706
710
|
}).describe(
|
|
707
711
|
"Resolved options applicable to all record scopes, with location ID instead of jurisdiction filter."
|
|
708
712
|
);
|
package/dist/cli.js
CHANGED
|
@@ -2190,7 +2190,9 @@ var userRole = z3.preprocess(
|
|
|
2190
2190
|
).describe("User role, e.g. admin, field agent");
|
|
2191
2191
|
var scopeOptionsPlaceEvent = z3.object({
|
|
2192
2192
|
event: scopeByEvent,
|
|
2193
|
-
placeOfEvent: JurisdictionFilter.optional()
|
|
2193
|
+
placeOfEvent: JurisdictionFilter.optional(),
|
|
2194
|
+
createdBy: UserFilter.optional(),
|
|
2195
|
+
createdIn: JurisdictionFilter.optional()
|
|
2194
2196
|
}).describe("Options applicable to all record scopes.");
|
|
2195
2197
|
var scopeOptionsDeclared = scopeOptionsPlaceEvent.extend({
|
|
2196
2198
|
declaredIn: JurisdictionFilter.optional(),
|
|
@@ -2229,7 +2231,9 @@ var AllScopeOptions = z3.object({
|
|
|
2229
2231
|
var ScopeOptionKey = AllScopeOptions.keyof();
|
|
2230
2232
|
var ResolvedScopeOptionsPlaceEvent = z3.object({
|
|
2231
2233
|
event: scopeByEvent,
|
|
2232
|
-
placeOfEvent: UUID.nullish()
|
|
2234
|
+
placeOfEvent: UUID.nullish(),
|
|
2235
|
+
createdBy: z3.string().optional(),
|
|
2236
|
+
createdIn: UUID.nullish()
|
|
2233
2237
|
}).describe(
|
|
2234
2238
|
"Resolved options applicable to all record scopes, with location ID instead of jurisdiction filter."
|
|
2235
2239
|
);
|
|
@@ -4300,7 +4304,7 @@ Saved ${handlerRelPath}.`);
|
|
|
4300
4304
|
// src/migrations/v2.0/checkout-upstream-files.ts
|
|
4301
4305
|
var import_child_process = require("child_process");
|
|
4302
4306
|
var UPSTREAM_URL = "https://github.com/opencrvs/opencrvs-countryconfig.git";
|
|
4303
|
-
var UPSTREAM_BRANCH = "release
|
|
4307
|
+
var UPSTREAM_BRANCH = "release/2.0.0";
|
|
4304
4308
|
var TEMP_REMOTE = "opencrvs-upgrade-v19-v20-codemod";
|
|
4305
4309
|
var FILES_TO_CHECKOUT = [
|
|
4306
4310
|
"src/analytics/analytics.ts",
|
|
@@ -4838,7 +4842,7 @@ var import_os = require("os");
|
|
|
4838
4842
|
var import_path24 = require("path");
|
|
4839
4843
|
var TEMP_REMOTE2 = "opencrvs-upgrade-v19-v20-codemod-merge-infra";
|
|
4840
4844
|
var INFRASTRUCTURE_DIR = "infrastructure";
|
|
4841
|
-
var BASE_BRANCH = "release
|
|
4845
|
+
var BASE_BRANCH = "release/1.9.15";
|
|
4842
4846
|
function gitShowBytes(ref, path24) {
|
|
4843
4847
|
try {
|
|
4844
4848
|
const buf = (0, import_child_process2.execFileSync)("git", ["show", `${ref}:${path24}`], {
|
|
@@ -413,10 +413,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
413
413
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
414
414
|
} | {
|
|
415
415
|
id: string & import("zod").$brand<"UUID">;
|
|
416
|
+
createdBy: string;
|
|
416
417
|
transactionId: string;
|
|
417
418
|
createdByUserType: "system" | "user";
|
|
418
419
|
createdAt: string;
|
|
419
|
-
createdBy: string;
|
|
420
420
|
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
421
421
|
status: "Rejected";
|
|
422
422
|
createdByRole?: string | undefined;
|
|
@@ -725,10 +725,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
725
725
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
726
726
|
} | {
|
|
727
727
|
id: string & import("zod").$brand<"UUID">;
|
|
728
|
+
createdBy: string;
|
|
728
729
|
transactionId: string;
|
|
729
730
|
createdByUserType: "system" | "user";
|
|
730
731
|
createdAt: string;
|
|
731
|
-
createdBy: string;
|
|
732
732
|
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
733
733
|
status: "Rejected";
|
|
734
734
|
createdByRole?: string | undefined;
|
|
@@ -1036,10 +1036,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1036
1036
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1037
1037
|
} | {
|
|
1038
1038
|
id: string & import("zod").$brand<"UUID">;
|
|
1039
|
+
createdBy: string;
|
|
1039
1040
|
transactionId: string;
|
|
1040
1041
|
createdByUserType: "system" | "user";
|
|
1041
1042
|
createdAt: string;
|
|
1042
|
-
createdBy: string;
|
|
1043
1043
|
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
1044
1044
|
status: "Rejected";
|
|
1045
1045
|
createdByRole?: string | undefined;
|
|
@@ -1091,10 +1091,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1091
1091
|
createdAt: string;
|
|
1092
1092
|
action: {
|
|
1093
1093
|
type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
|
|
1094
|
+
createdBy: string;
|
|
1094
1095
|
transactionId: string;
|
|
1095
1096
|
createdByUserType: "system" | "user";
|
|
1096
1097
|
createdAt: string;
|
|
1097
|
-
createdBy: string;
|
|
1098
1098
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1099
1099
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1100
1100
|
createdByRole?: string | undefined;
|
|
@@ -1126,10 +1126,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1126
1126
|
createdAt: string;
|
|
1127
1127
|
action: {
|
|
1128
1128
|
type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
|
|
1129
|
+
createdBy: string;
|
|
1129
1130
|
transactionId: string;
|
|
1130
1131
|
createdByUserType: "system" | "user";
|
|
1131
1132
|
createdAt: string;
|
|
1132
|
-
createdBy: string;
|
|
1133
1133
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1134
1134
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1135
1135
|
createdByRole?: string | undefined;
|
|
@@ -1784,10 +1784,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1784
1784
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1785
1785
|
} | {
|
|
1786
1786
|
id: string & import("zod").$brand<"UUID">;
|
|
1787
|
+
createdBy: string;
|
|
1787
1788
|
transactionId: string;
|
|
1788
1789
|
createdByUserType: "system" | "user";
|
|
1789
1790
|
createdAt: string;
|
|
1790
|
-
createdBy: string;
|
|
1791
1791
|
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
1792
1792
|
status: "Rejected";
|
|
1793
1793
|
createdByRole?: string | undefined;
|
|
@@ -2127,10 +2127,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2127
2127
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2128
2128
|
} | {
|
|
2129
2129
|
id: string & import("zod").$brand<"UUID">;
|
|
2130
|
+
createdBy: string;
|
|
2130
2131
|
transactionId: string;
|
|
2131
2132
|
createdByUserType: "system" | "user";
|
|
2132
2133
|
createdAt: string;
|
|
2133
|
-
createdBy: string;
|
|
2134
2134
|
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
2135
2135
|
status: "Rejected";
|
|
2136
2136
|
createdByRole?: string | undefined;
|
|
@@ -4213,10 +4213,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4213
4213
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4214
4214
|
} | {
|
|
4215
4215
|
id: string & import("zod").$brand<"UUID">;
|
|
4216
|
+
createdBy: string;
|
|
4216
4217
|
transactionId: string;
|
|
4217
4218
|
createdByUserType: "system" | "user";
|
|
4218
4219
|
createdAt: string;
|
|
4219
|
-
createdBy: string;
|
|
4220
4220
|
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
4221
4221
|
status: "Rejected";
|
|
4222
4222
|
createdByRole?: string | undefined;
|
|
@@ -4824,10 +4824,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4824
4824
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4825
4825
|
} | {
|
|
4826
4826
|
id: string & import("zod").$brand<"UUID">;
|
|
4827
|
+
createdBy: string;
|
|
4827
4828
|
transactionId: string;
|
|
4828
4829
|
createdByUserType: "system" | "user";
|
|
4829
4830
|
createdAt: string;
|
|
4830
|
-
createdBy: string;
|
|
4831
4831
|
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
4832
4832
|
status: "Rejected";
|
|
4833
4833
|
createdByRole?: string | undefined;
|
|
@@ -5145,10 +5145,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5145
5145
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5146
5146
|
} | {
|
|
5147
5147
|
id: string & import("zod").$brand<"UUID">;
|
|
5148
|
+
createdBy: string;
|
|
5148
5149
|
transactionId: string;
|
|
5149
5150
|
createdByUserType: "system" | "user";
|
|
5150
5151
|
createdAt: string;
|
|
5151
|
-
createdBy: string;
|
|
5152
5152
|
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
5153
5153
|
status: "Rejected";
|
|
5154
5154
|
createdByRole?: string | undefined;
|
|
@@ -6399,10 +6399,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6399
6399
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6400
6400
|
} | {
|
|
6401
6401
|
id: string & import("zod").$brand<"UUID">;
|
|
6402
|
+
createdBy: string;
|
|
6402
6403
|
transactionId: string;
|
|
6403
6404
|
createdByUserType: "system" | "user";
|
|
6404
6405
|
createdAt: string;
|
|
6405
|
-
createdBy: string;
|
|
6406
6406
|
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
6407
6407
|
status: "Rejected";
|
|
6408
6408
|
createdByRole?: string | undefined;
|
|
@@ -6719,10 +6719,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6719
6719
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6720
6720
|
} | {
|
|
6721
6721
|
id: string & import("zod").$brand<"UUID">;
|
|
6722
|
+
createdBy: string;
|
|
6722
6723
|
transactionId: string;
|
|
6723
6724
|
createdByUserType: "system" | "user";
|
|
6724
6725
|
createdAt: string;
|
|
6725
|
-
createdBy: string;
|
|
6726
6726
|
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
6727
6727
|
status: "Rejected";
|
|
6728
6728
|
createdByRole?: string | undefined;
|
|
@@ -7082,10 +7082,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7082
7082
|
originalActionId?: string | null | undefined;
|
|
7083
7083
|
} | {
|
|
7084
7084
|
id: string;
|
|
7085
|
+
createdBy: string;
|
|
7085
7086
|
transactionId: string;
|
|
7086
7087
|
createdByUserType: "system" | "user";
|
|
7087
7088
|
createdAt: string;
|
|
7088
|
-
createdBy: string;
|
|
7089
7089
|
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
7090
7090
|
status: "Rejected";
|
|
7091
7091
|
createdByRole?: string | undefined;
|
|
@@ -7803,6 +7803,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7803
7803
|
output: void;
|
|
7804
7804
|
meta: object;
|
|
7805
7805
|
}>;
|
|
7806
|
+
upsert: import("@trpc/server").TRPCMutationProcedure<{
|
|
7807
|
+
input: {
|
|
7808
|
+
id: string;
|
|
7809
|
+
name: string;
|
|
7810
|
+
administrativeAreaId: string | null;
|
|
7811
|
+
validUntil: string | null;
|
|
7812
|
+
locationType: string | null;
|
|
7813
|
+
externalId?: string | null | undefined;
|
|
7814
|
+
};
|
|
7815
|
+
output: void;
|
|
7816
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7817
|
+
}>;
|
|
7806
7818
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
7807
7819
|
input: {
|
|
7808
7820
|
id: string;
|
|
@@ -8234,6 +8246,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8234
8246
|
output: void;
|
|
8235
8247
|
meta: object;
|
|
8236
8248
|
}>;
|
|
8249
|
+
upsert: import("@trpc/server").TRPCMutationProcedure<{
|
|
8250
|
+
input: {
|
|
8251
|
+
id: string;
|
|
8252
|
+
name: string;
|
|
8253
|
+
parentId: string | null;
|
|
8254
|
+
validUntil: string | null;
|
|
8255
|
+
externalId?: string | null | undefined;
|
|
8256
|
+
};
|
|
8257
|
+
output: void;
|
|
8258
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
8259
|
+
}>;
|
|
8237
8260
|
}>>;
|
|
8238
8261
|
integrations: import("@trpc/server").TRPCBuiltRouter<{
|
|
8239
8262
|
ctx: Partial<{
|
|
@@ -8261,6 +8284,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8261
8284
|
input: {
|
|
8262
8285
|
name: string;
|
|
8263
8286
|
scopes: string[];
|
|
8287
|
+
credentials?: {
|
|
8288
|
+
clientId: string;
|
|
8289
|
+
clientSecret: string;
|
|
8290
|
+
} | undefined;
|
|
8264
8291
|
};
|
|
8265
8292
|
output: {
|
|
8266
8293
|
clientId: string;
|
|
@@ -8291,7 +8318,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8291
8318
|
scopes: string[];
|
|
8292
8319
|
status: string;
|
|
8293
8320
|
createdAt: string;
|
|
8294
|
-
createdBy: string & import("zod").$brand<"UUID"
|
|
8321
|
+
createdBy: (string & import("zod").$brand<"UUID">) | null;
|
|
8295
8322
|
}[];
|
|
8296
8323
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
8297
8324
|
}>;
|
|
@@ -8306,7 +8333,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8306
8333
|
status: string;
|
|
8307
8334
|
shaSecret: string | null;
|
|
8308
8335
|
createdAt: string;
|
|
8309
|
-
createdBy: string & import("zod").$brand<"UUID"
|
|
8336
|
+
createdBy: (string & import("zod").$brand<"UUID">) | null;
|
|
8310
8337
|
};
|
|
8311
8338
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
8312
8339
|
}>;
|
|
@@ -94,16 +94,16 @@ export declare const user: typeof userSerializer & {
|
|
|
94
94
|
scope: (scope: import("../scopes").ScopeType) => {
|
|
95
95
|
attribute: (option: import("../scopes").ScopeOptionKey) => {
|
|
96
96
|
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "user.search" | "workqueue" | "dashboard.view";
|
|
97
|
-
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
97
|
+
$option: "role" | "event" | "placeOfEvent" | "createdBy" | "createdIn" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
100
|
jurisdiction: (jurisdiction: import("../scopes").JurisdictionFilter | {
|
|
101
101
|
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "user.search" | "workqueue" | "dashboard.view";
|
|
102
|
-
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
102
|
+
$option: "role" | "event" | "placeOfEvent" | "createdBy" | "createdIn" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
103
103
|
}) => {
|
|
104
104
|
$jurisdiction: "administrativeArea" | "location" | "all" | {
|
|
105
105
|
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "user.search" | "workqueue" | "dashboard.view";
|
|
106
|
-
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
106
|
+
$option: "role" | "event" | "placeOfEvent" | "createdBy" | "createdIn" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
109
|
};
|
|
@@ -214,6 +214,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
214
214
|
id: z.ZodString;
|
|
215
215
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
216
216
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
217
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
217
218
|
fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
218
219
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
219
220
|
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
|
@@ -221,6 +222,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
221
222
|
id: z.ZodString;
|
|
222
223
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
223
224
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
225
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
224
226
|
fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
225
227
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
226
228
|
type: z.ZodLiteral<"VERIFICATION">;
|
|
@@ -270,6 +272,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
270
272
|
id: z.ZodString;
|
|
271
273
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
272
274
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
275
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
273
276
|
fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
274
277
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
275
278
|
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
|
@@ -277,6 +280,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
277
280
|
id: z.ZodString;
|
|
278
281
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
279
282
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
283
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
280
284
|
fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
281
285
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
282
286
|
type: z.ZodLiteral<"VERIFICATION">;
|
|
@@ -661,13 +661,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
661
661
|
export type ActionDocument = z.infer<typeof ActionDocument>;
|
|
662
662
|
export declare const AsyncRejectActionDocument: z.ZodObject<{
|
|
663
663
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
664
|
+
createdBy: z.ZodString;
|
|
664
665
|
transactionId: z.ZodString;
|
|
665
666
|
createdByUserType: z.ZodEnum<{
|
|
666
667
|
user: "user";
|
|
667
668
|
system: "system";
|
|
668
669
|
}>;
|
|
669
670
|
createdAt: z.ZodString;
|
|
670
|
-
createdBy: z.ZodString;
|
|
671
671
|
createdByRole: z.ZodOptional<z.ZodString>;
|
|
672
672
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
673
673
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
@@ -1100,13 +1100,13 @@ export declare const Action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.Zod
|
|
|
1100
1100
|
customActionType: z.ZodString;
|
|
1101
1101
|
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
1102
1102
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
1103
|
+
createdBy: z.ZodString;
|
|
1103
1104
|
transactionId: z.ZodString;
|
|
1104
1105
|
createdByUserType: z.ZodEnum<{
|
|
1105
1106
|
user: "user";
|
|
1106
1107
|
system: "system";
|
|
1107
1108
|
}>;
|
|
1108
1109
|
createdAt: z.ZodString;
|
|
1109
|
-
createdBy: z.ZodString;
|
|
1110
1110
|
createdByRole: z.ZodOptional<z.ZodString>;
|
|
1111
1111
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
1112
1112
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
@@ -139,6 +139,8 @@ export declare const FieldConfigSchema: z.ZodObject<{
|
|
|
139
139
|
role: "role";
|
|
140
140
|
event: "event";
|
|
141
141
|
placeOfEvent: "placeOfEvent";
|
|
142
|
+
createdBy: "createdBy";
|
|
143
|
+
createdIn: "createdIn";
|
|
142
144
|
declaredIn: "declaredIn";
|
|
143
145
|
declaredBy: "declaredBy";
|
|
144
146
|
registeredIn: "registeredIn";
|
|
@@ -316,6 +318,8 @@ export declare const EventFieldConfigSchema: z.ZodObject<{
|
|
|
316
318
|
role: "role";
|
|
317
319
|
event: "event";
|
|
318
320
|
placeOfEvent: "placeOfEvent";
|
|
321
|
+
createdBy: "createdBy";
|
|
322
|
+
createdIn: "createdIn";
|
|
319
323
|
declaredIn: "declaredIn";
|
|
320
324
|
declaredBy: "declaredBy";
|
|
321
325
|
registeredIn: "registeredIn";
|
|
@@ -469,6 +473,8 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
469
473
|
role: "role";
|
|
470
474
|
event: "event";
|
|
471
475
|
placeOfEvent: "placeOfEvent";
|
|
476
|
+
createdBy: "createdBy";
|
|
477
|
+
createdIn: "createdIn";
|
|
472
478
|
declaredIn: "declaredIn";
|
|
473
479
|
declaredBy: "declaredBy";
|
|
474
480
|
registeredIn: "registeredIn";
|
|
@@ -614,6 +620,8 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
614
620
|
role: "role";
|
|
615
621
|
event: "event";
|
|
616
622
|
placeOfEvent: "placeOfEvent";
|
|
623
|
+
createdBy: "createdBy";
|
|
624
|
+
createdIn: "createdIn";
|
|
617
625
|
declaredIn: "declaredIn";
|
|
618
626
|
declaredBy: "declaredBy";
|
|
619
627
|
registeredIn: "registeredIn";
|
|
@@ -770,6 +778,8 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
770
778
|
role: "role";
|
|
771
779
|
event: "event";
|
|
772
780
|
placeOfEvent: "placeOfEvent";
|
|
781
|
+
createdBy: "createdBy";
|
|
782
|
+
createdIn: "createdIn";
|
|
773
783
|
declaredIn: "declaredIn";
|
|
774
784
|
declaredBy: "declaredBy";
|
|
775
785
|
registeredIn: "registeredIn";
|
|
@@ -915,6 +925,8 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
915
925
|
role: "role";
|
|
916
926
|
event: "event";
|
|
917
927
|
placeOfEvent: "placeOfEvent";
|
|
928
|
+
createdBy: "createdBy";
|
|
929
|
+
createdIn: "createdIn";
|
|
918
930
|
declaredIn: "declaredIn";
|
|
919
931
|
declaredBy: "declaredBy";
|
|
920
932
|
registeredIn: "registeredIn";
|
|
@@ -25,13 +25,13 @@ export declare const Draft: z.ZodObject<{
|
|
|
25
25
|
ASSIGN: "ASSIGN";
|
|
26
26
|
UNASSIGN: "UNASSIGN";
|
|
27
27
|
}>;
|
|
28
|
+
createdBy: z.ZodString;
|
|
28
29
|
transactionId: z.ZodString;
|
|
29
30
|
createdByUserType: z.ZodEnum<{
|
|
30
31
|
user: "user";
|
|
31
32
|
system: "system";
|
|
32
33
|
}>;
|
|
33
34
|
createdAt: z.ZodString;
|
|
34
|
-
createdBy: z.ZodString;
|
|
35
35
|
createdByRole: z.ZodOptional<z.ZodString>;
|
|
36
36
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
37
37
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
@@ -416,13 +416,13 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
416
416
|
customActionType: z.ZodString;
|
|
417
417
|
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
418
418
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
419
|
+
createdBy: z.ZodString;
|
|
419
420
|
transactionId: z.ZodString;
|
|
420
421
|
createdByUserType: z.ZodEnum<{
|
|
421
422
|
user: "user";
|
|
422
423
|
system: "system";
|
|
423
424
|
}>;
|
|
424
425
|
createdAt: z.ZodString;
|
|
425
|
-
createdBy: z.ZodString;
|
|
426
426
|
createdByRole: z.ZodOptional<z.ZodString>;
|
|
427
427
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
428
428
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
@@ -137,9 +137,9 @@ export declare const EventMetadataKeys: z.ZodEnum<{
|
|
|
137
137
|
type: "type";
|
|
138
138
|
updatedAt: "updatedAt";
|
|
139
139
|
placeOfEvent: "placeOfEvent";
|
|
140
|
+
createdBy: "createdBy";
|
|
140
141
|
createdByUserType: "createdByUserType";
|
|
141
142
|
createdAt: "createdAt";
|
|
142
|
-
createdBy: "createdBy";
|
|
143
143
|
createdAtLocation: "createdAtLocation";
|
|
144
144
|
status: "status";
|
|
145
145
|
assignedTo: "assignedTo";
|
|
@@ -1919,6 +1919,8 @@ declare const AdministrativeAreaField: z.ZodObject<{
|
|
|
1919
1919
|
role: "role";
|
|
1920
1920
|
event: "event";
|
|
1921
1921
|
placeOfEvent: "placeOfEvent";
|
|
1922
|
+
createdBy: "createdBy";
|
|
1923
|
+
createdIn: "createdIn";
|
|
1922
1924
|
declaredIn: "declaredIn";
|
|
1923
1925
|
declaredBy: "declaredBy";
|
|
1924
1926
|
registeredIn: "registeredIn";
|
|
@@ -2045,6 +2047,8 @@ declare const LocationInput: z.ZodObject<{
|
|
|
2045
2047
|
role: "role";
|
|
2046
2048
|
event: "event";
|
|
2047
2049
|
placeOfEvent: "placeOfEvent";
|
|
2050
|
+
createdBy: "createdBy";
|
|
2051
|
+
createdIn: "createdIn";
|
|
2048
2052
|
declaredIn: "declaredIn";
|
|
2049
2053
|
declaredBy: "declaredBy";
|
|
2050
2054
|
registeredIn: "registeredIn";
|
|
@@ -2242,6 +2246,8 @@ declare const Facility: z.ZodObject<{
|
|
|
2242
2246
|
role: "role";
|
|
2243
2247
|
event: "event";
|
|
2244
2248
|
placeOfEvent: "placeOfEvent";
|
|
2249
|
+
createdBy: "createdBy";
|
|
2250
|
+
createdIn: "createdIn";
|
|
2245
2251
|
declaredIn: "declaredIn";
|
|
2246
2252
|
declaredBy: "declaredBy";
|
|
2247
2253
|
registeredIn: "registeredIn";
|
|
@@ -2354,6 +2360,8 @@ declare const Office: z.ZodObject<{
|
|
|
2354
2360
|
role: "role";
|
|
2355
2361
|
event: "event";
|
|
2356
2362
|
placeOfEvent: "placeOfEvent";
|
|
2363
|
+
createdBy: "createdBy";
|
|
2364
|
+
createdIn: "createdIn";
|
|
2357
2365
|
declaredIn: "declaredIn";
|
|
2358
2366
|
declaredBy: "declaredBy";
|
|
2359
2367
|
registeredIn: "registeredIn";
|
|
@@ -2552,6 +2560,8 @@ declare const Address: z.ZodObject<{
|
|
|
2552
2560
|
role: "role";
|
|
2553
2561
|
event: "event";
|
|
2554
2562
|
placeOfEvent: "placeOfEvent";
|
|
2563
|
+
createdBy: "createdBy";
|
|
2564
|
+
createdIn: "createdIn";
|
|
2555
2565
|
declaredIn: "declaredIn";
|
|
2556
2566
|
declaredBy: "declaredBy";
|
|
2557
2567
|
registeredIn: "registeredIn";
|
|
@@ -5,6 +5,7 @@ export declare const DeclarationFormConfig: z.ZodObject<{
|
|
|
5
5
|
id: z.ZodString;
|
|
6
6
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
7
7
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
8
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
8
9
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
9
10
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
10
11
|
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
|
@@ -18,6 +19,7 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
18
19
|
id: z.ZodString;
|
|
19
20
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
20
21
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
22
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
21
23
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
22
24
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
23
25
|
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
|
@@ -25,6 +27,7 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
25
27
|
id: z.ZodString;
|
|
26
28
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
27
29
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
30
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
28
31
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
29
32
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
30
33
|
type: z.ZodLiteral<"VERIFICATION">;
|
|
@@ -50,6 +53,7 @@ export declare const FormConfig: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
50
53
|
id: z.ZodString;
|
|
51
54
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
52
55
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
56
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
53
57
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
54
58
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
55
59
|
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
|
@@ -60,6 +64,7 @@ export declare const FormConfig: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
60
64
|
id: z.ZodString;
|
|
61
65
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
62
66
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
67
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
63
68
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
64
69
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
65
70
|
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
|
@@ -67,6 +72,7 @@ export declare const FormConfig: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
67
72
|
id: z.ZodString;
|
|
68
73
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
69
74
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
75
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
70
76
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
71
77
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
72
78
|
type: z.ZodLiteral<"VERIFICATION">;
|
|
@@ -9,6 +9,7 @@ export declare const FormPageConfig: z.ZodObject<{
|
|
|
9
9
|
id: z.ZodString;
|
|
10
10
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
11
11
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
12
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
12
13
|
fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
13
14
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
14
15
|
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
|
@@ -31,6 +32,7 @@ export declare const VerificationPageConfig: z.ZodObject<{
|
|
|
31
32
|
id: z.ZodString;
|
|
32
33
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
33
34
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
35
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
34
36
|
fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
35
37
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
36
38
|
type: z.ZodLiteral<"VERIFICATION">;
|
|
@@ -52,6 +54,7 @@ export declare const PageConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
52
54
|
id: z.ZodString;
|
|
53
55
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
54
56
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
57
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
55
58
|
fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
56
59
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
57
60
|
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
|
@@ -59,6 +62,7 @@ export declare const PageConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
59
62
|
id: z.ZodString;
|
|
60
63
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
61
64
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
65
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
62
66
|
fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
63
67
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
64
68
|
type: z.ZodLiteral<"VERIFICATION">;
|
|
@@ -6,9 +6,9 @@ export declare const WorkqueueColumnKeys: z.ZodEnum<{
|
|
|
6
6
|
type: "type";
|
|
7
7
|
updatedAt: "updatedAt";
|
|
8
8
|
placeOfEvent: "placeOfEvent";
|
|
9
|
+
createdBy: "createdBy";
|
|
9
10
|
createdByUserType: "createdByUserType";
|
|
10
11
|
createdAt: "createdAt";
|
|
11
|
-
createdBy: "createdBy";
|
|
12
12
|
createdAtLocation: "createdAtLocation";
|
|
13
13
|
status: "status";
|
|
14
14
|
assignedTo: "assignedTo";
|
|
@@ -29,9 +29,9 @@ export declare const WorkqueueColumnValue: z.ZodObject<{
|
|
|
29
29
|
type: "type";
|
|
30
30
|
updatedAt: "updatedAt";
|
|
31
31
|
placeOfEvent: "placeOfEvent";
|
|
32
|
+
createdBy: "createdBy";
|
|
32
33
|
createdByUserType: "createdByUserType";
|
|
33
34
|
createdAt: "createdAt";
|
|
34
|
-
createdBy: "createdBy";
|
|
35
35
|
createdAtLocation: "createdAtLocation";
|
|
36
36
|
status: "status";
|
|
37
37
|
assignedTo: "assignedTo";
|
|
@@ -58,9 +58,9 @@ export declare const WorkqueueColumn: z.ZodObject<{
|
|
|
58
58
|
type: "type";
|
|
59
59
|
updatedAt: "updatedAt";
|
|
60
60
|
placeOfEvent: "placeOfEvent";
|
|
61
|
+
createdBy: "createdBy";
|
|
61
62
|
createdByUserType: "createdByUserType";
|
|
62
63
|
createdAt: "createdAt";
|
|
63
|
-
createdBy: "createdBy";
|
|
64
64
|
createdAtLocation: "createdAtLocation";
|
|
65
65
|
status: "status";
|
|
66
66
|
assignedTo: "assignedTo";
|
|
@@ -84,7 +84,7 @@ export declare function defineWorkqueuesColumns(workqueueColumns: WorkqueueColum
|
|
|
84
84
|
description: string;
|
|
85
85
|
};
|
|
86
86
|
value: {
|
|
87
|
-
$event: "id" | "title" | "type" | "updatedAt" | "placeOfEvent" | "
|
|
87
|
+
$event: "id" | "title" | "type" | "updatedAt" | "placeOfEvent" | "createdBy" | "createdByUserType" | "createdAt" | "createdAtLocation" | "status" | "assignedTo" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
|
88
88
|
};
|
|
89
89
|
}[];
|
|
90
90
|
//# sourceMappingURL=WorkqueueColumnConfig.d.ts.map
|