@opencrvs/toolkit 2.0.0-rc.b0a238f → 2.0.0-rc.b0b93f7
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/index.js +50 -20
- package/create-countryconfig/package.json +12 -2
- package/dist/application-config/index.js +205 -60
- package/dist/cli.js +3 -1
- package/dist/commons/api/router.d.ts +15 -4
- package/dist/commons/conditionals/conditionals.d.ts +6 -0
- package/dist/commons/events/ActionInput.d.ts +36 -36
- package/dist/commons/events/Draft.d.ts +2 -3
- package/dist/commons/events/WorkqueueConfig.d.ts +150 -150
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/state/flags.d.ts +15 -0
- package/dist/conditionals/index.js +7 -1
- package/dist/events/index.js +700 -118
- package/dist/migrations/v2.0/index.js +3 -1
- package/dist/notification/index.js +637 -93
- package/dist/scopes/index.js +3 -1
- package/opencrvs-toolkit-2.0.0-rc.b0b93f7.tgz +0 -0
- package/package.json +6 -2
- package/opencrvs-toolkit-2.0.0-rc.b0a238f.tgz +0 -0
|
@@ -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;
|
|
@@ -8079,7 +8090,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8079
8090
|
$event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
8080
8091
|
};
|
|
8081
8092
|
}[];
|
|
8082
|
-
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" | "
|
|
8093
|
+
icon: "File" | "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" | "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";
|
|
8083
8094
|
action?: {
|
|
8084
8095
|
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
8085
8096
|
} | undefined;
|
|
@@ -67,6 +67,12 @@ export declare function not(condition: AjvJSONSchema): JSONSchema;
|
|
|
67
67
|
* @returns {JSONSchema} An schema object that always evaluates to false.
|
|
68
68
|
*/
|
|
69
69
|
export declare function never(): JSONSchema;
|
|
70
|
+
/**
|
|
71
|
+
* Returns an JSON Schema object, which is treated as always valid.
|
|
72
|
+
*
|
|
73
|
+
* @returns {JSONSchema} An schema object that always evaluates to true.
|
|
74
|
+
*/
|
|
75
|
+
export declare function always(): JSONSchema;
|
|
70
76
|
/**
|
|
71
77
|
* Generate conditional rules for current date
|
|
72
78
|
*/
|
|
@@ -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";
|