@opencrvs/toolkit 2.1.0-rc.cebd0a2 → 2.1.0-rc.d04f6c3

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.
Files changed (31) hide show
  1. package/dist/application-config/index.js +2 -1
  2. package/dist/cli.js +0 -48
  3. package/dist/commons/api/router.d.ts +147 -183
  4. package/dist/commons/conditionals/conditionals.d.ts +1586 -34
  5. package/dist/commons/events/ActionDocument.d.ts +6 -6
  6. package/dist/commons/events/ActionInput.d.ts +0 -6
  7. package/dist/commons/events/EventDocument.d.ts +2 -2
  8. package/dist/commons/events/field.d.ts +722 -34
  9. package/dist/commons/events/test.utils.d.ts +0 -3
  10. package/dist/commons/events/utils.d.ts +3 -3
  11. package/dist/environment/derived-variables.d.ts +0 -12
  12. package/dist/environment/derived-variables.d.ts.map +1 -1
  13. package/dist/environment/derived-variables.js +0 -14
  14. package/dist/environment/logger.d.ts +3 -12
  15. package/dist/environment/logger.d.ts.map +1 -1
  16. package/dist/environment/manage-users.js +17 -7
  17. package/dist/environment/setup-environment.js +0 -14
  18. package/dist/environment/swarm-to-k8s.js +17 -7
  19. package/dist/environment/update-workflows.js +17 -7
  20. package/dist/environment/users.js +17 -7
  21. package/dist/environment/utils.js +17 -7
  22. package/dist/events/index.js +3 -6
  23. package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
  24. package/dist/migrations/v2.0/remove-hearth-migrations.js +17 -7
  25. package/dist/notification/index.js +3 -5
  26. package/dist/templates/charts-values/dependencies/values.yaml +0 -3
  27. package/dist/templates/charts-values/opencrvs-services/values.yaml +0 -4
  28. package/opencrvs-toolkit-2.1.0-rc.d04f6c3.tgz +0 -0
  29. package/package.json +2 -2
  30. package/tsconfig.tsbuildinfo +1 -1
  31. package/opencrvs-toolkit-2.1.0-rc.cebd0a2.tgz +0 -0
@@ -165,9 +165,9 @@ declare const EditAction: z.ZodObject<{
165
165
  }>;
166
166
  originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
167
167
  type: z.ZodLiteral<"EDIT">;
168
- content: z.ZodObject<{
168
+ content: z.ZodOptional<z.ZodObject<{
169
169
  comment: z.ZodOptional<z.ZodString>;
170
- }, z.core.$strip>;
170
+ }, z.core.$strip>>;
171
171
  }, z.core.$strip>;
172
172
  export type EditAction = z.infer<typeof EditAction>;
173
173
  export declare const PrintContent: z.ZodObject<{
@@ -653,9 +653,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<[z.ZodObject<{
653
653
  }>;
654
654
  originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
655
655
  type: z.ZodLiteral<"EDIT">;
656
- content: z.ZodObject<{
656
+ content: z.ZodOptional<z.ZodObject<{
657
657
  comment: z.ZodOptional<z.ZodString>;
658
- }, z.core.$strip>;
658
+ }, z.core.$strip>>;
659
659
  }, z.core.$strip>, z.ZodObject<{
660
660
  id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
661
661
  transactionId: z.ZodString;
@@ -1116,9 +1116,9 @@ export declare const Action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.Zod
1116
1116
  }>;
1117
1117
  originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
1118
1118
  type: z.ZodLiteral<"EDIT">;
1119
- content: z.ZodObject<{
1119
+ content: z.ZodOptional<z.ZodObject<{
1120
1120
  comment: z.ZodOptional<z.ZodString>;
1121
- }, z.core.$strip>;
1121
+ }, z.core.$strip>>;
1122
1122
  }, z.core.$strip>, z.ZodObject<{
1123
1123
  id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
1124
1124
  transactionId: z.ZodString;
@@ -65,9 +65,6 @@ export declare const EditActionInput: z.ZodObject<{
65
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
- content: z.ZodObject<{
69
- comment: z.ZodOptional<z.ZodString>;
70
- }, z.core.$strip>;
71
68
  }, z.core.$strip>;
72
69
  export type EditActionInput = z.infer<typeof EditActionInput>;
73
70
  export declare const PrintCertificateActionInput: z.ZodObject<{
@@ -564,9 +561,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
564
561
  waitFor: z.ZodDefault<z.ZodBoolean>;
565
562
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
566
563
  type: z.ZodDefault<z.ZodLiteral<"EDIT">>;
567
- content: z.ZodObject<{
568
- comment: z.ZodOptional<z.ZodString>;
569
- }, z.core.$strip>;
570
564
  }, z.core.$strip>], "type">;
571
565
  export type ActionInput = z.input<typeof ActionInput>;
572
566
  export type ActionInputWithType = z.infer<typeof ActionInput>;
@@ -410,9 +410,9 @@ export declare const EventDocument: z.ZodObject<{
410
410
  }>;
411
411
  originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
412
412
  type: z.ZodLiteral<"EDIT">;
413
- content: z.ZodObject<{
413
+ content: z.ZodOptional<z.ZodObject<{
414
414
  comment: z.ZodOptional<z.ZodString>;
415
- }, z.core.$strip>;
415
+ }, z.core.$strip>>;
416
416
  }, z.core.$strip>, z.ZodObject<{
417
417
  id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
418
418
  transactionId: z.ZodString;