@opencrvs/toolkit 1.9.12-rc.8c751a0 → 1.9.12-rc.8e5f09c

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.
@@ -4021,7 +4021,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4021
4021
  emailForNotification?: string | undefined;
4022
4022
  password?: string | undefined;
4023
4023
  device?: string | undefined;
4024
- status?: "active" | "pending" | "deactivated" | undefined;
4024
+ status?: "active" | "pending" | undefined;
4025
4025
  signature?: {
4026
4026
  path: string;
4027
4027
  originalFilename: string;
@@ -4067,7 +4067,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4067
4067
  role?: string | undefined;
4068
4068
  primaryOfficeId?: string | undefined;
4069
4069
  device?: string | undefined;
4070
- status?: "active" | "pending" | "deactivated" | undefined;
4070
+ status?: "active" | "pending" | undefined;
4071
4071
  signature?: {
4072
4072
  path: string;
4073
4073
  originalFilename: string;
@@ -4574,7 +4574,16 @@ function aggregateActionDeclarations(event2) {
4574
4574
  if (!requestAction) {
4575
4575
  return declaration;
4576
4576
  }
4577
- return getCompleteActionDeclaration(declaration, event2, requestAction);
4577
+ const declarationWithApprovedCorrection = getCompleteActionDeclaration(
4578
+ declaration,
4579
+ event2,
4580
+ requestAction
4581
+ );
4582
+ return getCompleteActionDeclaration(
4583
+ declarationWithApprovedCorrection,
4584
+ event2,
4585
+ action
4586
+ );
4578
4587
  }
4579
4588
  return getCompleteActionDeclaration(declaration, event2, action);
4580
4589
  }, {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "1.9.12-rc.8c751a0",
3
+ "version": "1.9.12-rc.8e5f09c",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "bin": {