@opencrvs/toolkit 1.9.13-rc.3acd342 → 1.9.13-rc.40eac18

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.
@@ -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>;
@@ -5306,6 +5306,8 @@ var BaseActionInput = import_zod34.z.object({
5306
5306
  originalActionId: UUID.optional(),
5307
5307
  // should not be part of base action.
5308
5308
  keepAssignment: import_zod34.z.boolean().optional(),
5309
+ keepAssignmentIfAccepted: import_zod34.z.boolean().optional(),
5310
+ keepAssignmentIfRejected: import_zod34.z.boolean().optional(),
5309
5311
  // For normal users, the createdAtLocation is resolved on the backend from the user's primaryOfficeId.
5310
5312
  createdAtLocation: CreatedAtLocation.describe(
5311
5313
  "A valid office location ID. This is required for system users performing actions. The provided location must be a leaf-location, i.e. it must not have any children locations."
@@ -3801,6 +3801,8 @@ var BaseActionInput = import_zod34.z.object({
3801
3801
  originalActionId: UUID.optional(),
3802
3802
  // should not be part of base action.
3803
3803
  keepAssignment: import_zod34.z.boolean().optional(),
3804
+ keepAssignmentIfAccepted: import_zod34.z.boolean().optional(),
3805
+ keepAssignmentIfRejected: import_zod34.z.boolean().optional(),
3804
3806
  // For normal users, the createdAtLocation is resolved on the backend from the user's primaryOfficeId.
3805
3807
  createdAtLocation: CreatedAtLocation.describe(
3806
3808
  "A valid office location ID. This is required for system users performing actions. The provided location must be a leaf-location, i.e. it must not have any children locations."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "1.9.13-rc.3acd342",
3
+ "version": "1.9.13-rc.40eac18",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "exports": {