@opencrvs/toolkit 1.8.1-rc.6e305c5 → 1.8.1-rc.6f409ef

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.
@@ -4258,9 +4258,6 @@ function isPendingCertification(actions) {
4258
4258
  if (type === ActionType.PRINT_CERTIFICATE) {
4259
4259
  return false;
4260
4260
  }
4261
- if (type === ActionType.REQUEST_CORRECTION) {
4262
- return false;
4263
- }
4264
4261
  if (type === ActionType.APPROVE_CORRECTION) {
4265
4262
  return true;
4266
4263
  }
@@ -5744,44 +5741,41 @@ var tennisClubMembershipEvent = defineConfig({
5744
5741
  },
5745
5742
  {
5746
5743
  id: "identity-check",
5747
- type: PageTypes.enum.FORM,
5744
+ type: PageTypes.enum.VERIFICATION,
5748
5745
  title: {
5749
- id: "event.tennis-club-membership.action.requestCorrection.form.section.verify",
5750
- defaultMessage: "Verify their identity",
5746
+ id: "v2.event.birth.action.correction.form.section.requester.identity.verify.title",
5747
+ defaultMessage: "Verify ID",
5751
5748
  description: "This is the title of the section"
5752
5749
  },
5753
- fields: [
5754
- {
5755
- id: "correction.identity-check.instructions",
5756
- type: "PAGE_HEADER",
5750
+ fields: [],
5751
+ actions: {
5752
+ verify: {
5757
5753
  label: {
5758
- id: "correction.corrector.identity.instruction",
5759
- defaultMessage: "Please verify the identity of the person making this request",
5760
- description: "The title for the corrector form"
5754
+ defaultMessage: "Verified",
5755
+ description: "This is the label for the verification button",
5756
+ id: "v2.event.birth.action.correction.form.verify"
5761
5757
  }
5762
5758
  },
5763
- {
5764
- id: "correction.identity-check.verified",
5765
- type: "RADIO_GROUP",
5759
+ cancel: {
5766
5760
  label: {
5767
- id: "correction.corrector.identity.verified.label",
5768
- defaultMessage: "Identity verified",
5769
- description: "The title for the corrector form"
5761
+ defaultMessage: "Identity does not match",
5762
+ description: "This is the label for the verification cancellation button",
5763
+ id: "v2.event.birth.action.correction.form.cancel"
5770
5764
  },
5771
- defaultValue: "",
5772
- required: true,
5773
- options: [
5774
- {
5775
- value: "VERIFIED",
5776
- label: {
5777
- id: "correction.corrector.identity.verified",
5778
- defaultMessage: "I have verified their identity",
5779
- description: "Label for verified option in corrector identity check page"
5780
- }
5765
+ confirmation: {
5766
+ title: {
5767
+ defaultMessage: "Correct without proof of ID?",
5768
+ description: "This is the title for the verification cancellation modal",
5769
+ id: "v2.event.birth.action.correction.form.cancel.confirmation.title"
5770
+ },
5771
+ body: {
5772
+ defaultMessage: "Please be aware that if you proceed, you will be responsible for making a change to this record without the necessary proof of identification",
5773
+ description: "This is the body for the verification cancellation modal",
5774
+ id: "v2.event.birth.action.correction.form.cancel.confirmation.body"
5781
5775
  }
5782
- ]
5776
+ }
5783
5777
  }
5784
- ]
5778
+ }
5785
5779
  },
5786
5780
  {
5787
5781
  id: "correction-request.supporting-documents",
@@ -6755,6 +6749,7 @@ function eventPayloadGenerator(rng) {
6755
6749
  annotation: {
6756
6750
  "correction.requester.relationship": "ANOTHER_AGENT",
6757
6751
  "correction.request.reason": "Child's name was incorrect",
6752
+ "identity-check": true,
6758
6753
  ...annotation
6759
6754
  },
6760
6755
  createdAt: (/* @__PURE__ */ new Date()).toISOString(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "1.8.1-rc.6e305c5",
3
+ "version": "1.8.1-rc.6f409ef",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "exports": {