@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.
- package/dist/events/index.js +26 -31
- package/package.json +1 -1
package/dist/events/index.js
CHANGED
@@ -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.
|
5744
|
+
type: PageTypes.enum.VERIFICATION,
|
5748
5745
|
title: {
|
5749
|
-
id: "event.
|
5750
|
-
defaultMessage: "Verify
|
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
|
-
|
5756
|
-
type: "PAGE_HEADER",
|
5750
|
+
fields: [],
|
5751
|
+
actions: {
|
5752
|
+
verify: {
|
5757
5753
|
label: {
|
5758
|
-
|
5759
|
-
|
5760
|
-
|
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
|
-
|
5768
|
-
|
5769
|
-
|
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
|
-
|
5772
|
-
|
5773
|
-
|
5774
|
-
|
5775
|
-
|
5776
|
-
|
5777
|
-
|
5778
|
-
|
5779
|
-
|
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(),
|