@opencrvs/toolkit 2.0.0-rc.a928ed6 → 2.0.0-rc.aa3ef7c
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/create-countryconfig/package.json +12 -2
- package/dist/application-config/index.js +27 -14
- package/dist/cli.js +3 -1
- package/dist/commons/api/router.d.ts +14 -3
- package/dist/commons/events/ActionInput.d.ts +36 -36
- package/dist/commons/events/Draft.d.ts +2 -3
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/conditionals/index.js +3 -1
- package/dist/events/index.js +456 -33
- package/dist/migrations/v2.0/index.js +3 -1
- package/dist/notification/index.js +452 -33
- package/dist/scopes/index.js +3 -1
- package/opencrvs-toolkit-2.0.0-rc.aa3ef7c.tgz +0 -0
- package/package.json +5 -1
- package/opencrvs-toolkit-2.0.0-rc.a928ed6.tgz +0 -0
|
@@ -5,7 +5,17 @@
|
|
|
5
5
|
"bin": {
|
|
6
6
|
"create-countryconfig": "./index.js"
|
|
7
7
|
},
|
|
8
|
-
"
|
|
9
|
-
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/opencrvs/opencrvs-core.git"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"index.js"
|
|
14
|
+
],
|
|
15
|
+
"keywords": [
|
|
16
|
+
"opencrvs",
|
|
17
|
+
"countryconfig",
|
|
18
|
+
"create"
|
|
19
|
+
],
|
|
10
20
|
"license": "MPL-2.0"
|
|
11
21
|
}
|
|
@@ -76,8 +76,8 @@ var ActionConditional = z.discriminatedUnion("type", [
|
|
|
76
76
|
// Action can be shown to the user in the list but as disabled
|
|
77
77
|
EnableConditional
|
|
78
78
|
]).meta({
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
id: "ActionConditional",
|
|
80
|
+
description: "Conditional gating whether an action is shown (SHOW) or enabled (ENABLE). When omitted from an action, the action is shown and enabled for everyone."
|
|
81
81
|
});
|
|
82
82
|
var DisplayOnReviewConditional = z.object({
|
|
83
83
|
type: z.literal(ConditionalType.DISPLAY_ON_REVIEW),
|
|
@@ -93,8 +93,8 @@ var FieldConditional = z.discriminatedUnion("type", [
|
|
|
93
93
|
// Field output can be shown / hidden on the review page
|
|
94
94
|
DisplayOnReviewConditional
|
|
95
95
|
]).meta({
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
id: "FieldConditional",
|
|
97
|
+
description: "Conditional gating whether a form field is shown (SHOW), enabled (ENABLE), or displayed on the review page (DISPLAY_ON_REVIEW). When omitted, the field is shown and enabled for everyone, and is displayed on review whenever it has a value."
|
|
98
98
|
});
|
|
99
99
|
|
|
100
100
|
// ../commons/src/events/TranslationConfig.ts
|
|
@@ -834,7 +834,9 @@ var ScopeType = z11.enum([
|
|
|
834
834
|
var EncodedScope = z11.string().brand("EncodedScope");
|
|
835
835
|
var DEFAULT_SCOPE_OPTIONS = {
|
|
836
836
|
placeOfEvent: JurisdictionFilter.enum.all,
|
|
837
|
-
accessLevel: JurisdictionFilter.enum.all
|
|
837
|
+
accessLevel: JurisdictionFilter.enum.all,
|
|
838
|
+
registeredIn: JurisdictionFilter.enum.all,
|
|
839
|
+
declaredIn: JurisdictionFilter.enum.all
|
|
838
840
|
};
|
|
839
841
|
|
|
840
842
|
// ../commons/src/authentication.ts
|
|
@@ -1081,8 +1083,8 @@ var FlagConfig = z14.object({
|
|
|
1081
1083
|
),
|
|
1082
1084
|
label: TranslationConfig.describe("Human readable label of the flag.")
|
|
1083
1085
|
}).meta({
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
+
id: "FlagConfig",
|
|
1087
|
+
description: "Configuration for a custom flag that can be added to or removed from records by event actions."
|
|
1086
1088
|
});
|
|
1087
1089
|
var ActionFlagConfig = z14.object({
|
|
1088
1090
|
id: Flag,
|
|
@@ -1091,8 +1093,8 @@ var ActionFlagConfig = z14.object({
|
|
|
1091
1093
|
"When conditional is met, the operation is performed on the flag. If not provided, the operation is performed unconditionally."
|
|
1092
1094
|
)
|
|
1093
1095
|
}).meta({
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
+
id: "ActionFlagConfig",
|
|
1097
|
+
description: "Add or remove operation applied to a flag when the parent action is accepted. Optionally gated by a conditional."
|
|
1096
1098
|
});
|
|
1097
1099
|
|
|
1098
1100
|
// ../commons/src/events/EventMetadata.ts
|
|
@@ -1411,8 +1413,15 @@ var FieldReference = import_v43.default.object({
|
|
|
1411
1413
|
)
|
|
1412
1414
|
}).describe("Reference to a field by its ID");
|
|
1413
1415
|
var ValidationConfig = import_v43.default.object({
|
|
1414
|
-
validator: Conditional
|
|
1415
|
-
|
|
1416
|
+
validator: Conditional.describe(
|
|
1417
|
+
"Conditional expression that must hold for the field value to be considered valid."
|
|
1418
|
+
),
|
|
1419
|
+
message: TranslationConfig.describe(
|
|
1420
|
+
"Error message displayed when the validator does not hold."
|
|
1421
|
+
)
|
|
1422
|
+
}).meta({
|
|
1423
|
+
id: "ValidationConfig",
|
|
1424
|
+
description: "Validation rule applied to a form field. The validator is a conditional expression that must hold for the field value to be considered valid."
|
|
1416
1425
|
});
|
|
1417
1426
|
var requiredSchema = import_v43.default.union([
|
|
1418
1427
|
import_v43.default.boolean(),
|
|
@@ -2002,17 +2011,21 @@ var HttpField = BaseField.extend({
|
|
|
2002
2011
|
var AutocompleteField = BaseField.extend({
|
|
2003
2012
|
type: import_v43.default.literal(FieldType.AUTOCOMPLETE),
|
|
2004
2013
|
configuration: import_v43.default.object({
|
|
2005
|
-
url: import_v43.default.string().describe(
|
|
2014
|
+
url: import_v43.default.string().describe(
|
|
2015
|
+
"URL to fetch autocomplete suggestions from. This should be a country config server endpoint."
|
|
2016
|
+
).optional(),
|
|
2006
2017
|
method: import_v43.default.enum(["GET", "POST"]).default("GET").optional(),
|
|
2007
2018
|
defaultOptions: import_v43.default.array(
|
|
2008
2019
|
import_v43.default.object({
|
|
2009
2020
|
label: import_v43.default.string(),
|
|
2010
2021
|
value: import_v43.default.string()
|
|
2011
2022
|
})
|
|
2012
|
-
).optional()
|
|
2023
|
+
).optional().describe(
|
|
2024
|
+
"Manual entry is supported through configuration, allowing users to provide values not currently represented in the dataset."
|
|
2025
|
+
)
|
|
2013
2026
|
})
|
|
2014
2027
|
}).meta({
|
|
2015
|
-
description: "
|
|
2028
|
+
description: "Generic autocomplete component designed for use with large dictionary-based datasets. The component supports dynamic retrieval of options from configurable data sources and is intended for datasets that may contain tens or hundreds of thousands of records.",
|
|
2016
2029
|
id: "AutocompleteField"
|
|
2017
2030
|
});
|
|
2018
2031
|
var SearchField = HttpField.extend({
|
package/dist/cli.js
CHANGED
|
@@ -2393,7 +2393,9 @@ var decodeScope = (query) => {
|
|
|
2393
2393
|
};
|
|
2394
2394
|
var DEFAULT_SCOPE_OPTIONS = {
|
|
2395
2395
|
placeOfEvent: JurisdictionFilter.enum.all,
|
|
2396
|
-
accessLevel: JurisdictionFilter.enum.all
|
|
2396
|
+
accessLevel: JurisdictionFilter.enum.all,
|
|
2397
|
+
registeredIn: JurisdictionFilter.enum.all,
|
|
2398
|
+
declaredIn: JurisdictionFilter.enum.all
|
|
2397
2399
|
};
|
|
2398
2400
|
|
|
2399
2401
|
// ../commons/src/scopes.deprecated.do-not-use.ts
|
|
@@ -429,6 +429,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
429
429
|
input: {
|
|
430
430
|
eventId: string;
|
|
431
431
|
customActionType?: string | undefined;
|
|
432
|
+
waitFor?: boolean | undefined;
|
|
432
433
|
};
|
|
433
434
|
output: {
|
|
434
435
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -1097,18 +1098,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1097
1098
|
}>;
|
|
1098
1099
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
1099
1100
|
input: {
|
|
1100
|
-
eventId: string;
|
|
1101
1101
|
transactionId: string;
|
|
1102
|
+
eventId: string;
|
|
1102
1103
|
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";
|
|
1103
1104
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1105
|
+
createdAtLocation?: string | null | undefined;
|
|
1104
1106
|
declaration?: Record<string, unknown> | undefined;
|
|
1105
1107
|
annotation?: Record<string, unknown> | undefined;
|
|
1106
1108
|
originalActionId?: string | undefined;
|
|
1107
1109
|
keepAssignment?: boolean | undefined;
|
|
1108
1110
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1109
1111
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1110
|
-
waitFor?: boolean | undefined;
|
|
1111
|
-
createdAtLocation?: string | null | undefined;
|
|
1112
1112
|
};
|
|
1113
1113
|
output: {
|
|
1114
1114
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -1439,6 +1439,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1439
1439
|
transactionId: import("zod").ZodString;
|
|
1440
1440
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
1441
1441
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1442
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
1442
1443
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
1443
1444
|
}, import("zod/v4/core").$strip>>;
|
|
1444
1445
|
output: import("../commons").EventDocument;
|
|
@@ -2381,6 +2382,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2381
2382
|
transactionId: import("zod").ZodString;
|
|
2382
2383
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2383
2384
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2385
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2384
2386
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2385
2387
|
}, import("zod/v4/core").$strip>>;
|
|
2386
2388
|
output: import("../commons").EventDocument;
|
|
@@ -2672,6 +2674,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2672
2674
|
transactionId: import("zod").ZodString;
|
|
2673
2675
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2674
2676
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2677
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2675
2678
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2676
2679
|
}, import("zod/v4/core").$strip>>;
|
|
2677
2680
|
output: import("../commons").EventDocument;
|
|
@@ -2963,6 +2966,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2963
2966
|
transactionId: import("zod").ZodString;
|
|
2964
2967
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2965
2968
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2969
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2966
2970
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2967
2971
|
}, import("zod/v4/core").$strip>>;
|
|
2968
2972
|
output: import("../commons").EventDocument;
|
|
@@ -3254,6 +3258,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3254
3258
|
transactionId: import("zod").ZodString;
|
|
3255
3259
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3256
3260
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3261
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3257
3262
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3258
3263
|
}, import("zod/v4/core").$strip>>;
|
|
3259
3264
|
output: import("../commons").EventDocument;
|
|
@@ -3545,6 +3550,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3545
3550
|
transactionId: import("zod").ZodString;
|
|
3546
3551
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3547
3552
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3553
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3548
3554
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3549
3555
|
}, import("zod/v4/core").$strip>>;
|
|
3550
3556
|
output: import("../commons").EventDocument;
|
|
@@ -3836,6 +3842,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3836
3842
|
transactionId: import("zod").ZodString;
|
|
3837
3843
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3838
3844
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3845
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3839
3846
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3840
3847
|
}, import("zod/v4/core").$strip>>;
|
|
3841
3848
|
output: import("../commons").EventDocument;
|
|
@@ -4440,6 +4447,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4440
4447
|
transactionId: import("zod").ZodString;
|
|
4441
4448
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
4442
4449
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4450
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
4443
4451
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
4444
4452
|
}, import("zod/v4/core").$strip>>;
|
|
4445
4453
|
output: import("../commons").EventDocument;
|
|
@@ -5412,6 +5420,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5412
5420
|
transactionId: import("zod").ZodString;
|
|
5413
5421
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5414
5422
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5423
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
5415
5424
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5416
5425
|
}, import("zod/v4/core").$strip>>;
|
|
5417
5426
|
output: import("../commons").EventDocument;
|
|
@@ -5703,6 +5712,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5703
5712
|
transactionId: import("zod").ZodString;
|
|
5704
5713
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5705
5714
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5715
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
5706
5716
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5707
5717
|
}, import("zod/v4/core").$strip>>;
|
|
5708
5718
|
output: import("../commons").EventDocument;
|
|
@@ -5994,6 +6004,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5994
6004
|
transactionId: import("zod").ZodString;
|
|
5995
6005
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5996
6006
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6007
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
5997
6008
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5998
6009
|
}, import("zod/v4/core").$strip>>;
|
|
5999
6010
|
output: import("../commons").EventDocument;
|
|
@@ -8,7 +8,7 @@ export declare const BaseActionInput: z.ZodObject<{
|
|
|
8
8
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
9
9
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
10
10
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
-
waitFor: z.
|
|
11
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
12
12
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
export declare const RegisterActionInput: z.ZodObject<{
|
|
@@ -20,7 +20,7 @@ export declare const RegisterActionInput: z.ZodObject<{
|
|
|
20
20
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
21
21
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
22
22
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
-
waitFor: z.
|
|
23
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
24
24
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
25
25
|
type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
|
|
26
26
|
registrationNumber: z.ZodOptional<z.ZodString>;
|
|
@@ -35,7 +35,7 @@ export declare const NotifyActionInput: z.ZodObject<{
|
|
|
35
35
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
36
36
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
37
37
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
-
waitFor: z.
|
|
38
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
39
39
|
type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
|
|
40
40
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
41
41
|
}, z.core.$strip>;
|
|
@@ -49,7 +49,7 @@ export declare const DeclareActionInput: z.ZodObject<{
|
|
|
49
49
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
50
50
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
51
51
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
-
waitFor: z.
|
|
52
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
53
53
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
54
54
|
type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
|
|
55
55
|
}, z.core.$strip>;
|
|
@@ -62,7 +62,7 @@ export declare const EditActionInput: z.ZodObject<{
|
|
|
62
62
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
63
63
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
64
64
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
65
|
-
waitFor: z.
|
|
65
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
66
66
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
67
67
|
type: z.ZodDefault<z.ZodLiteral<"EDIT">>;
|
|
68
68
|
content: z.ZodObject<{
|
|
@@ -79,7 +79,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<{
|
|
|
79
79
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
80
80
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
81
81
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
82
|
-
waitFor: z.
|
|
82
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
83
83
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
84
84
|
type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
|
|
85
85
|
content: z.ZodOptional<z.ZodObject<{
|
|
@@ -96,7 +96,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<{
|
|
|
96
96
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
97
97
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
98
98
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
99
|
-
waitFor: z.
|
|
99
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
100
100
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
101
101
|
type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
|
|
102
102
|
content: z.ZodObject<{
|
|
@@ -113,7 +113,7 @@ export declare const DuplicateDetectedActionInput: z.ZodObject<{
|
|
|
113
113
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
114
114
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
115
115
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
-
waitFor: z.
|
|
116
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
117
117
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
118
118
|
type: z.ZodDefault<z.ZodLiteral<"DUPLICATE_DETECTED">>;
|
|
119
119
|
content: z.ZodObject<{
|
|
@@ -132,7 +132,7 @@ export declare const MarkAsDuplicateActionInput: z.ZodObject<{
|
|
|
132
132
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
133
133
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
134
134
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
135
|
-
waitFor: z.
|
|
135
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
136
136
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
137
137
|
type: z.ZodDefault<z.ZodLiteral<"MARK_AS_DUPLICATE">>;
|
|
138
138
|
content: z.ZodOptional<z.ZodObject<{
|
|
@@ -149,7 +149,7 @@ export declare const MarkNotDuplicateActionInput: z.ZodObject<{
|
|
|
149
149
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
150
150
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
151
151
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
152
|
-
waitFor: z.
|
|
152
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
153
153
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
154
154
|
type: z.ZodDefault<z.ZodLiteral<"MARK_AS_NOT_DUPLICATE">>;
|
|
155
155
|
}, z.core.$strip>;
|
|
@@ -163,7 +163,7 @@ export declare const ArchiveActionInput: z.ZodObject<{
|
|
|
163
163
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
164
164
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
165
165
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
166
|
-
waitFor: z.
|
|
166
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
167
167
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
168
168
|
type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
|
|
169
169
|
content: z.ZodObject<{
|
|
@@ -180,7 +180,7 @@ export declare const AssignActionInput: z.ZodObject<{
|
|
|
180
180
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
181
181
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
182
182
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
183
|
-
waitFor: z.
|
|
183
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
184
184
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
185
185
|
type: z.ZodLiteral<"ASSIGN">;
|
|
186
186
|
assignedTo: z.ZodString;
|
|
@@ -195,7 +195,7 @@ export declare const UnassignActionInput: z.ZodObject<{
|
|
|
195
195
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
196
196
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
197
197
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
198
|
-
waitFor: z.
|
|
198
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
199
199
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
200
200
|
type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
|
|
201
201
|
assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
|
|
@@ -210,7 +210,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<{
|
|
|
210
210
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
211
211
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
212
212
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
213
|
-
waitFor: z.
|
|
213
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
214
214
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
215
215
|
type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
|
|
216
216
|
}, z.core.$strip>;
|
|
@@ -224,7 +224,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<{
|
|
|
224
224
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
225
225
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
226
226
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
227
|
-
waitFor: z.
|
|
227
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
228
228
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
229
229
|
requestId: z.ZodString;
|
|
230
230
|
type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
|
|
@@ -242,7 +242,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<{
|
|
|
242
242
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
243
243
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
244
244
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
245
|
-
waitFor: z.
|
|
245
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
246
246
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
247
247
|
requestId: z.ZodString;
|
|
248
248
|
type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
|
|
@@ -257,7 +257,7 @@ export declare const ReadActionInput: z.ZodObject<{
|
|
|
257
257
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
258
258
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
259
259
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
260
|
-
waitFor: z.
|
|
260
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
261
261
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
262
262
|
type: z.ZodDefault<z.ZodLiteral<"READ">>;
|
|
263
263
|
}, z.core.$strip>;
|
|
@@ -275,7 +275,7 @@ export declare const CustomActionInput: z.ZodObject<{
|
|
|
275
275
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
276
276
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
277
277
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
278
|
-
waitFor: z.
|
|
278
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
279
279
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
280
280
|
type: z.ZodDefault<z.ZodLiteral<"CUSTOM">>;
|
|
281
281
|
customActionType: z.ZodString;
|
|
@@ -298,7 +298,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
298
298
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
299
299
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
300
300
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
301
|
-
waitFor: z.
|
|
301
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
302
302
|
type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
|
|
303
303
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
304
304
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -310,7 +310,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
310
310
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
311
311
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
312
312
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
313
|
-
waitFor: z.
|
|
313
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
314
314
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
315
315
|
type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
|
|
316
316
|
registrationNumber: z.ZodOptional<z.ZodString>;
|
|
@@ -323,7 +323,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
323
323
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
324
324
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
325
325
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
326
|
-
waitFor: z.
|
|
326
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
327
327
|
type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
|
|
328
328
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
329
329
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -335,7 +335,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
335
335
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
336
336
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
337
337
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
338
|
-
waitFor: z.
|
|
338
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
339
339
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
340
340
|
type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
|
|
341
341
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -347,7 +347,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
347
347
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
348
348
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
349
349
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
350
|
-
waitFor: z.
|
|
350
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
351
351
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
352
352
|
type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
|
|
353
353
|
content: z.ZodObject<{
|
|
@@ -362,7 +362,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
362
362
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
363
363
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
364
364
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
365
|
-
waitFor: z.
|
|
365
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
366
366
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
367
367
|
type: z.ZodDefault<z.ZodLiteral<"DUPLICATE_DETECTED">>;
|
|
368
368
|
content: z.ZodObject<{
|
|
@@ -380,7 +380,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
380
380
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
381
381
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
382
382
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
383
|
-
waitFor: z.
|
|
383
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
384
384
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
385
385
|
type: z.ZodDefault<z.ZodLiteral<"MARK_AS_DUPLICATE">>;
|
|
386
386
|
content: z.ZodOptional<z.ZodObject<{
|
|
@@ -395,7 +395,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
395
395
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
396
396
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
397
397
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
398
|
-
waitFor: z.
|
|
398
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
399
399
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
400
400
|
type: z.ZodDefault<z.ZodLiteral<"MARK_AS_NOT_DUPLICATE">>;
|
|
401
401
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -407,7 +407,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
407
407
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
408
408
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
409
409
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
410
|
-
waitFor: z.
|
|
410
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
411
411
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
412
412
|
type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
|
|
413
413
|
content: z.ZodObject<{
|
|
@@ -422,7 +422,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
422
422
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
423
423
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
424
424
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
425
|
-
waitFor: z.
|
|
425
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
426
426
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
427
427
|
type: z.ZodLiteral<"ASSIGN">;
|
|
428
428
|
assignedTo: z.ZodString;
|
|
@@ -435,7 +435,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
435
435
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
436
436
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
437
437
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
438
|
-
waitFor: z.
|
|
438
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
439
439
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
440
440
|
type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
|
|
441
441
|
assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
|
|
@@ -448,7 +448,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
448
448
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
449
449
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
450
450
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
451
|
-
waitFor: z.
|
|
451
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
452
452
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
453
453
|
type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
|
|
454
454
|
content: z.ZodOptional<z.ZodObject<{
|
|
@@ -463,7 +463,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
463
463
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
464
464
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
465
465
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
466
|
-
waitFor: z.
|
|
466
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
467
467
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
468
468
|
type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
|
|
469
469
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -475,7 +475,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
475
475
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
476
476
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
477
477
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
478
|
-
waitFor: z.
|
|
478
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
479
479
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
480
480
|
requestId: z.ZodString;
|
|
481
481
|
type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
|
|
@@ -491,7 +491,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
491
491
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
492
492
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
493
493
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
494
|
-
waitFor: z.
|
|
494
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
495
495
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
496
496
|
requestId: z.ZodString;
|
|
497
497
|
type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
|
|
@@ -504,7 +504,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
504
504
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
505
505
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
506
506
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
507
|
-
waitFor: z.
|
|
507
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
508
508
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
509
509
|
type: z.ZodDefault<z.ZodLiteral<"READ">>;
|
|
510
510
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -516,7 +516,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
516
516
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
517
517
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
518
518
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
519
|
-
waitFor: z.
|
|
519
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
520
520
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
521
521
|
type: z.ZodDefault<z.ZodLiteral<"CUSTOM">>;
|
|
522
522
|
customActionType: z.ZodString;
|
|
@@ -529,7 +529,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
529
529
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
530
530
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
531
531
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
532
|
-
waitFor: z.
|
|
532
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
533
533
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
534
534
|
type: z.ZodDefault<z.ZodLiteral<"EDIT">>;
|
|
535
535
|
content: z.ZodObject<{
|
|
@@ -45,16 +45,15 @@ export declare const Draft: z.ZodObject<{
|
|
|
45
45
|
}, z.core.$strip>;
|
|
46
46
|
}, z.core.$strip>;
|
|
47
47
|
export declare const DraftInput: z.ZodObject<{
|
|
48
|
-
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
49
48
|
transactionId: z.ZodString;
|
|
49
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
50
50
|
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
51
51
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
52
52
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
53
|
+
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
53
54
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
54
55
|
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
55
56
|
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
-
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
57
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
58
57
|
type: z.ZodEnum<{
|
|
59
58
|
CUSTOM: "CUSTOM";
|
|
60
59
|
CREATE: "CREATE";
|
|
@@ -37,6 +37,7 @@ export * from './scopes';
|
|
|
37
37
|
export * from './serializer';
|
|
38
38
|
export * from './state/availableActions';
|
|
39
39
|
export * from './FileUtils';
|
|
40
|
+
export * from './mocks.test.utils';
|
|
40
41
|
export * from '../conditionals/conditionals';
|
|
41
42
|
export * from '../conditionals/validate';
|
|
42
43
|
export * from './field';
|
|
@@ -365,7 +365,9 @@ var ScopeType2 = z6.enum([
|
|
|
365
365
|
var EncodedScope2 = z6.string().brand("EncodedScope");
|
|
366
366
|
var DEFAULT_SCOPE_OPTIONS = {
|
|
367
367
|
placeOfEvent: JurisdictionFilter.enum.all,
|
|
368
|
-
accessLevel: JurisdictionFilter.enum.all
|
|
368
|
+
accessLevel: JurisdictionFilter.enum.all,
|
|
369
|
+
registeredIn: JurisdictionFilter.enum.all,
|
|
370
|
+
declaredIn: JurisdictionFilter.enum.all
|
|
369
371
|
};
|
|
370
372
|
|
|
371
373
|
// ../commons/src/users/userReferences.ts
|