-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IDULS-2539 delete email address notification template (#52)
- Loading branch information
1 parent
8fcda41
commit 39b3c81
Showing
6 changed files
with
132 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
...il-address-deleted/email-address-deleted/email/assets/email-address-deleted-template.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
3 changes: 3 additions & 0 deletions
3
...tifications/email-address-deleted/email-address-deleted/email/email_channel-settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"from": "identity-qa@backbase.com" | ||
} |
33 changes: 33 additions & 0 deletions
33
...ations/event-general-notifications/email-address-deleted/event-general-notifications.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
30 changes: 30 additions & 0 deletions
30
...il-address-deleted/email-address-deleted/email/assets/email-address-deleted-template.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
3 changes: 3 additions & 0 deletions
3
...tifications/email-address-deleted/email-address-deleted/email/email_channel-settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"from": "identity-qa@backbase.com" | ||
} |
33 changes: 33 additions & 0 deletions
33
...ations/event-general-notifications/email-address-deleted/event-general-notifications.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |