@opencrvs/toolkit 1.8.1-rc.7920d2c → 1.8.1-rc.7974972

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.
@@ -5741,44 +5741,41 @@ var tennisClubMembershipEvent = defineConfig({
5741
5741
  },
5742
5742
  {
5743
5743
  id: "identity-check",
5744
- type: PageTypes.enum.FORM,
5744
+ type: PageTypes.enum.VERIFICATION,
5745
5745
  title: {
5746
- id: "event.tennis-club-membership.action.requestCorrection.form.section.verify",
5747
- defaultMessage: "Verify their identity",
5746
+ id: "v2.event.birth.action.correction.form.section.requester.identity.verify.title",
5747
+ defaultMessage: "Verify ID",
5748
5748
  description: "This is the title of the section"
5749
5749
  },
5750
- fields: [
5751
- {
5752
- id: "correction.identity-check.instructions",
5753
- type: "PAGE_HEADER",
5750
+ fields: [],
5751
+ actions: {
5752
+ verify: {
5754
5753
  label: {
5755
- id: "correction.corrector.identity.instruction",
5756
- defaultMessage: "Please verify the identity of the person making this request",
5757
- 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"
5758
5757
  }
5759
5758
  },
5760
- {
5761
- id: "correction.identity-check.verified",
5762
- type: "RADIO_GROUP",
5759
+ cancel: {
5763
5760
  label: {
5764
- id: "correction.corrector.identity.verified.label",
5765
- defaultMessage: "Identity verified",
5766
- 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"
5767
5764
  },
5768
- defaultValue: "",
5769
- required: true,
5770
- options: [
5771
- {
5772
- value: "VERIFIED",
5773
- label: {
5774
- id: "correction.corrector.identity.verified",
5775
- defaultMessage: "I have verified their identity",
5776
- description: "Label for verified option in corrector identity check page"
5777
- }
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"
5778
5775
  }
5779
- ]
5776
+ }
5780
5777
  }
5781
- ]
5778
+ }
5782
5779
  },
5783
5780
  {
5784
5781
  id: "correction-request.supporting-documents",
@@ -6752,6 +6749,7 @@ function eventPayloadGenerator(rng) {
6752
6749
  annotation: {
6753
6750
  "correction.requester.relationship": "ANOTHER_AGENT",
6754
6751
  "correction.request.reason": "Child's name was incorrect",
6752
+ "identity-check": true,
6755
6753
  ...annotation
6756
6754
  },
6757
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.7920d2c",
3
+ "version": "1.8.1-rc.7974972",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "exports": {