Skip to content

Commit

Permalink
IDULS-2539 delete email address notification template (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-landeg-bb authored Feb 7, 2024
1 parent 8fcda41 commit 39b3c81
Show file tree
Hide file tree
Showing 6 changed files with 132 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<div>
<p>Dear {{{ user.preferredName }}},</p>
<br />
<p>Your email address was removed from online banking on {{ formatDate event.dateTime 'MMMM d yyyy \'at\' HH:mm:ss z' 'en' 'US/Eastern' }}.</p>
<p>If this was you:</p>
<br />
<ul>
<li>You don't have to do anything</li>
</ul>
<p>If this wasn't you:</p>
<ul>
<li>Contact us right away. You should also:</li>
<ul>
<li>Change your password, and check your online banking for activity.</li>
<li>Make sure your email addresses on online banking are correct.</li>
</ul>
</ul>
<br />
<p>Regards,</p>
<p>Backbase Bank</p>
</div>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"from": "identity-qa@backbase.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"eventClassName": "com.backbase.dbs.user.manager.event.spec.v2.DeleteEmailSecNotEvent",
"id": "email-address-deleted",
"eventBusinessName": "Email Address Deleted",
"recipientType": "internal",
"extractor": "#this['userInternalId']",
"emailExtractor": "#triggeredEvent['previousContactEmail']",
"generalNotifications": [
{
"id": "email-address-deleted",
"name": "Email address deleted",
"additionalFilterLogic": "#triggeredEvent['previousContactEmail'] != null",
"userPreferenceEnabled": false,
"deliveryOptions": [
{
"channel": "email",
"channelSettings": "/email-address-deleted/email/email_channel-settings.json",
"isEnabledByDefault": true,
"isManageableByUser": false,
"engagementTemplates": [
{
"content": {
"subject": "Email address removed from online banking",
"body": "file:/email-address-deleted/email/assets/email-address-deleted-template.html"
},
"locale": "en_US"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<div>
<p>Dear {{{ user.preferredName }}},</p>
<br />
<p>Your email address was removed from online banking on {{ formatDate event.dateTime 'MMMM d yyyy \'at\' HH:mm:ss z' 'en' 'US/Eastern' }}.</p>
<p>If this was you:</p>
<br />
<ul>
<li>You don't have to do anything</li>
</ul>
<p>If this wasn't you:</p>
<ul>
<li>Contact us right away. You should also:</li>
<ul>
<li>Change your password, and check your online banking for activity.</li>
<li>Make sure your email addresses on online banking are correct.</li>
</ul>
</ul>
<br />
<p>Regards,</p>
<p>Backbase Bank</p>
</div>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"from": "identity-qa@backbase.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"eventClassName": "com.backbase.dbs.user.manager.event.spec.v2.DeleteEmailSecNotEvent",
"id": "email-address-deleted",
"eventBusinessName": "Email Address Deleted",
"recipientType": "internal",
"extractor": "#this['userInternalId']",
"emailExtractor": "#triggeredEvent['previousContactEmail']",
"generalNotifications": [
{
"id": "email-address-deleted",
"name": "Email address deleted",
"additionalFilterLogic": "#triggeredEvent['previousContactEmail'] != null",
"userPreferenceEnabled": false,
"deliveryOptions": [
{
"channel": "email",
"channelSettings": "/email-address-deleted/email/email_channel-settings.json",
"isEnabledByDefault": true,
"isManageableByUser": false,
"engagementTemplates": [
{
"content": {
"subject": "Email address removed from online banking",
"body": "file:/email-address-deleted/email/assets/email-address-deleted-template.html"
},
"locale": "en_US"
}
]
}
]
}
]
}

0 comments on commit 39b3c81

Please sign in to comment.