@opencrvs/toolkit 1.9.13-rc.1689dc0 → 1.9.13-rc.1d7f578
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/commons/api/router.d.ts +2488 -166
- package/dist/commons/conditionals/conditionals.d.ts +292 -1
- package/dist/commons/conditionals/validate.d.ts +9 -0
- package/dist/commons/events/ActionInput.d.ts +204 -0
- package/dist/commons/events/Draft.d.ts +6 -0
- package/dist/commons/events/FieldConfig.d.ts +3378 -298
- package/dist/commons/events/field.d.ts +22 -0
- package/dist/commons/events/utils.d.ts +1 -170
- package/dist/conditionals/index.js +2025 -1
- package/dist/events/index.js +106 -19
- package/dist/notification/index.js +81 -10
- package/package.json +7 -7
|
@@ -88,6 +88,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
88
88
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
|
|
89
89
|
originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
|
|
90
90
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
+
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
92
|
+
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
91
93
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
|
92
94
|
}, {
|
|
93
95
|
type: z.ZodEnum<["CREATE", "NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "DUPLICATE_DETECTED", "REJECT", "MARK_AS_DUPLICATE", "MARK_AS_NOT_DUPLICATE", "ARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "REJECT_CORRECTION", "APPROVE_CORRECTION", "READ", "ASSIGN", "UNASSIGN"]>;
|
|
@@ -102,6 +104,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
102
104
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
|
|
103
105
|
originalActionId?: (string & z.BRAND<"UUID">) | undefined;
|
|
104
106
|
keepAssignment?: boolean | undefined;
|
|
107
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
108
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
105
109
|
}, {
|
|
106
110
|
type: "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
|
107
111
|
status: "Rejected" | "Requested" | "Accepted";
|
|
@@ -112,6 +116,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
112
116
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
|
|
113
117
|
originalActionId?: string | undefined;
|
|
114
118
|
keepAssignment?: boolean | undefined;
|
|
119
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
120
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
115
121
|
}>;
|
|
116
122
|
export type Draft = z.infer<typeof Draft>;
|
|
117
123
|
export type DraftInput = z.infer<typeof DraftInput>;
|