@opencrvs/toolkit 1.8.1-rc.3e74262 → 1.8.1-rc.7e34683

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.
@@ -6758,6 +6758,10 @@ export declare function findActiveDrafts(event: EventDocument, drafts: Draft[]):
6758
6758
  start: string;
6759
6759
  end: string;
6760
6760
  } | null | undefined> | null | undefined;
6761
+ actionDetails?: {
6762
+ templateId?: string | undefined;
6763
+ isImmediateCorrection?: boolean | undefined;
6764
+ } | null | undefined;
6761
6765
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
6762
6766
  };
6763
6767
  }[];
@@ -39,6 +39,7 @@ __export(events_exports, {
39
39
  ActionConfig: () => ActionConfig,
40
40
  ActionConfigBase: () => ActionConfigBase,
41
41
  ActionCreationMetadata: () => ActionCreationMetadata,
42
+ ActionDetails: () => ActionDetails,
42
43
  ActionDocument: () => ActionDocument,
43
44
  ActionFormConfig: () => ActionFormConfig,
44
45
  ActionInput: () => ActionInput,
@@ -1882,6 +1883,10 @@ var ActionStatus = {
1882
1883
  Accepted: "Accepted",
1883
1884
  Rejected: "Rejected"
1884
1885
  };
1886
+ var ActionDetails = import_zod19.z.object({
1887
+ templateId: import_zod19.z.string().optional(),
1888
+ isImmediateCorrection: import_zod19.z.boolean().optional()
1889
+ });
1885
1890
  var ActionBase = import_zod19.z.object({
1886
1891
  id: UUID,
1887
1892
  transactionId: import_zod19.z.string(),
@@ -1893,6 +1898,7 @@ var ActionBase = import_zod19.z.object({
1893
1898
  createdAtLocation: CreatedAtLocation,
1894
1899
  declaration: ActionUpdate,
1895
1900
  annotation: ActionUpdate.optional().nullable(),
1901
+ actionDetails: ActionDetails.optional().nullable(),
1896
1902
  status: import_zod19.z.enum([
1897
1903
  ActionStatus.Requested,
1898
1904
  ActionStatus.Accepted,
@@ -3834,6 +3840,7 @@ var BaseActionInput = import_zod29.z.object({
3834
3840
  transactionId: import_zod29.z.string(),
3835
3841
  declaration: ActionUpdate.default({}),
3836
3842
  annotation: ActionUpdate.optional(),
3843
+ actionDetails: ActionDetails.optional(),
3837
3844
  originalActionId: UUID.optional(),
3838
3845
  // should not be part of base action.
3839
3846
  keepAssignment: import_zod29.z.boolean().optional()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "1.8.1-rc.3e74262",
3
+ "version": "1.8.1-rc.7e34683",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "exports": {