-
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.
Merge pull request #68 from Backbase/feature/HRMS-1590-complete-oneru…
…ntime HRMS-1590 - complete oneruntime
- Loading branch information
Showing
101 changed files
with
1,991 additions
and
13 deletions.
There are no files selected for viewing
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
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
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
4 changes: 4 additions & 0 deletions
4
...it-failed/direct-deposit-failed-retail/in-app-notification/en_US/engagement-template.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,4 @@ | ||
{ | ||
"title": "{{{event.inAppNotification.title}}}", | ||
"body": "💸 {{{event.inAppNotification.body}}}" | ||
} |
5 changes: 5 additions & 0 deletions
5
...osit-failed/direct-deposit-failed-retail/in-app-notification/in-app_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,5 @@ | ||
{ | ||
"level": "ALERT", | ||
"targetGroup": "USER", | ||
"origin": "Direct Deposit Switch" | ||
} |
31 changes: 31 additions & 0 deletions
31
...ations/event-general-notifications/direct-deposit-failed/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,31 @@ | ||
{ | ||
"eventClassName": "com.backbase.directdepositswitch.event.spec.v1.DirectDepositFailedEvent", | ||
"id": "direct-deposit-failed", | ||
"eventBusinessName": "Direct Deposit Failed", | ||
"recipientType": "internal", | ||
"extractor": "#this['internalUserId']", | ||
"generalNotifications": [ | ||
{ | ||
"id": "direct-deposit-failed", | ||
"name": "Direct Deposit Failed", | ||
"userPreferenceEnabled": false, | ||
"manageable": false, | ||
"additionalFilterLogic": "#lineOfBusiness != null ? #lineOfBusiness == 'RETAIL' : true", | ||
"deliveryOptions": [ | ||
{ | ||
"channel": "in-app-notification", | ||
"channelSettings": "/direct-deposit-failed-retail/in-app-notification/in-app_channel-settings.json", | ||
"isEnabledByDefault": true, | ||
"isManageableByUser": false, | ||
"engagementTemplates": [ | ||
{ | ||
"path": "/direct-deposit-failed-retail/in-app-notification/en_US/engagement-template.json", | ||
"templateName": "direct-deposit-failed-in-app-notification", | ||
"locale": "en_US" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
4 changes: 4 additions & 0 deletions
4
...-success/direct-deposit-success-retail/in-app-notification/en_US/engagement-template.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,4 @@ | ||
{ | ||
"title": "{{{event.inAppNotification.title}}}", | ||
"body": "💸 {{{event.inAppNotification.body}}}" | ||
} |
5 changes: 5 additions & 0 deletions
5
...it-success/direct-deposit-success-retail/in-app-notification/in-app_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,5 @@ | ||
{ | ||
"level": "SUCCESS", | ||
"targetGroup": "USER", | ||
"origin": "Direct Deposit Switch" | ||
} |
31 changes: 31 additions & 0 deletions
31
...tions/event-general-notifications/direct-deposit-success/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,31 @@ | ||
{ | ||
"eventClassName": "com.backbase.directdepositswitch.event.spec.v1.DirectDepositSuccessEvent", | ||
"id": "direct-deposit-success", | ||
"eventBusinessName": "Direct Deposit Success", | ||
"recipientType": "internal", | ||
"extractor": "#this['internalUserId']", | ||
"generalNotifications": [ | ||
{ | ||
"id": "direct-deposit-success", | ||
"name": "Direct Deposit Success", | ||
"userPreferenceEnabled": false, | ||
"manageable": false, | ||
"additionalFilterLogic": "#lineOfBusiness != null ? #lineOfBusiness == 'RETAIL' : true", | ||
"deliveryOptions": [ | ||
{ | ||
"channel": "in-app-notification", | ||
"channelSettings": "/direct-deposit-success-retail/in-app-notification/in-app_channel-settings.json", | ||
"isEnabledByDefault": true, | ||
"isManageableByUser": false, | ||
"engagementTemplates": [ | ||
{ | ||
"path": "/direct-deposit-success-retail/in-app-notification/en_US/engagement-template.json", | ||
"templateName": "direct-deposit-success-in-app-notification", | ||
"locale": "en_US" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
30 changes: 30 additions & 0 deletions
30
...address-added/email-address-added-business/email/assets/email-address-added-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>A new email address was added to your 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 phone numbers on online banking are correct.</li> | ||
</ul> | ||
</ul> | ||
<br /> | ||
<p>Regards,</p> | ||
<p>Backbase Business Bank</p> | ||
</div> | ||
</body> | ||
</html> |
3 changes: 3 additions & 0 deletions
3
...ations/email-address-added/email-address-added-business/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" | ||
} |
30 changes: 30 additions & 0 deletions
30
...l-address-added/email-address-added-retail/email/assets/email-address-added-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>A new email address was added to your 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 phone numbers on online banking are correct.</li> | ||
</ul> | ||
</ul> | ||
<br /> | ||
<p>Regards,</p> | ||
<p>Backbase Retail Bank</p> | ||
</div> | ||
</body> | ||
</html> |
3 changes: 3 additions & 0 deletions
3
...ications/email-address-added/email-address-added-retail/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" | ||
} |
58 changes: 58 additions & 0 deletions
58
...ications/event-general-notifications/email-address-added/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,58 @@ | ||
{ | ||
"eventClassName": "com.backbase.dbs.user.manager.event.spec.v2.AddEmailSecNotEvent", | ||
"id": "email-address-added", | ||
"eventBusinessName": "Email Address Added", | ||
"recipientType": "internal", | ||
"extractor": "#this['userInternalId']", | ||
"emailExtractor": "#triggeredEvent['newPrimaryFlagValue'] ? new String[] {#triggeredEvent['previousContactEmail'], #triggeredEvent['newEmailValue']}: #triggeredEvent['previousContactEmail']", | ||
"generalNotifications": [ | ||
{ | ||
"id": "email-address-added", | ||
"name": "Email Address Added Retail", | ||
"userPreferenceEnabled": false, | ||
"manageable": false, | ||
"additionalFilterLogic": "#triggeredEvent['previousContactEmail'] != null && #lineOfBusiness != null ? #lineOfBusiness == 'RETAIL' : true", | ||
"deliveryOptions": [ | ||
{ | ||
"channel": "email", | ||
"channelSettings": "/email-address-added-retail/email/email_channel-settings.json", | ||
"isEnabledByDefault": true, | ||
"isManageableByUser": false, | ||
"engagementTemplates": [ | ||
{ | ||
"content": { | ||
"subject": "Email address added to online banking", | ||
"body": "file:/email-address-added-retail/email/assets/email-address-added-template.html" | ||
}, | ||
"locale": "en_US" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "email-address-added-business", | ||
"name": "Email Address Added Business", | ||
"userPreferenceEnabled": false, | ||
"manageable": false, | ||
"additionalFilterLogic": "#triggeredEvent['previousContactEmail'] != null && #lineOfBusiness != null ? #lineOfBusiness == 'BUSINESS' : true", | ||
"deliveryOptions": [ | ||
{ | ||
"channel": "email", | ||
"channelSettings": "/email-address-added-business/email/email_channel-settings.json", | ||
"isEnabledByDefault": true, | ||
"isManageableByUser": false, | ||
"engagementTemplates": [ | ||
{ | ||
"content": { | ||
"subject": "Email address added to online banking", | ||
"body": "file:/email-address-added-business/email/assets/email-address-added-template.html" | ||
}, | ||
"locale": "en_US" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
30 changes: 30 additions & 0 deletions
30
...s-deleted/email-address-deleted-business/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
...ns/email-address-deleted/email-address-deleted-business/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" | ||
} |
30 changes: 30 additions & 0 deletions
30
...ess-deleted/email-address-deleted-retail/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
...ions/email-address-deleted/email-address-deleted-retail/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" | ||
} |
Oops, something went wrong.