Skip to content

Commit

Permalink
Merge pull request #68 from Backbase/feature/HRMS-1590-complete-oneru…
Browse files Browse the repository at this point in the history
…ntime

HRMS-1590 - complete oneruntime
  • Loading branch information
amorimluzia authored Sep 12, 2024
2 parents 6db502b + d45077d commit 85d6512
Show file tree
Hide file tree
Showing 101 changed files with 1,991 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"generalNotifications": [
{
"id": "new-message-received",
"name": "New Message Received",
"name": "New Message Received From Customer Support",
"userPreferenceEnabled": false,
"additionalFilterLogic": "!(#triggeredEvent['origin'] != null && #triggeredEvent['origin'] == 'engagement')",
"deliveryOptions": [
Expand Down Expand Up @@ -49,7 +49,7 @@
},
{
"id": "new-message-received-mailout",
"name": "New Message Received Mailout",
"name": "New Message Received From Marketer",
"userPreferenceEnabled": false,
"additionalFilterLogic": "#triggeredEvent['origin'] != null && #triggeredEvent['origin'] == 'engagement'",
"deliveryOptions": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"name": "Device Registered",
"userPreferenceEnabled": false,
"additionalFilterLogic": "#lineOfBusiness != null ? #lineOfBusiness == 'RETAIL' : true",
"manageable": false,
"deliveryOptions": [
{
"channel": "email",
Expand All @@ -30,6 +31,7 @@
"name": "Device Registered",
"userPreferenceEnabled": false,
"additionalFilterLogic": "#lineOfBusiness != null ? #lineOfBusiness == 'BUSINESS' : false",
"manageable": false,
"deliveryOptions": [
{
"channel": "email",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
"generalNotifications": [
{
"id": "device-removed",
"name": "Device Removed",
"name": "Device Removed Retail",
"userPreferenceEnabled": false,
"additionalFilterLogic": "#lineOfBusiness != null ? #lineOfBusiness == 'RETAIL' : true",
"manageable": false,
"deliveryOptions": [
{
"channel": "email",
Expand All @@ -27,15 +28,16 @@
},
{
"id": "device-removed-business",
"name": "Device Removed",
"name": "Device Removed Business",
"userPreferenceEnabled": false,
"additionalFilterLogic": "#lineOfBusiness != null ? #lineOfBusiness == 'BUSINESS' : false",
"manageable": false,
"deliveryOptions": [
{
"channel": "email",
"channelSettings": "/device-removed-business/email/email_channel-settings.json",
"isEnabledByDefault": true,
"isManageableByUser": false,
"additionalFilterLogic": "#lineOfBusiness != null ? #lineOfBusiness == 'BUSINESS' : false",
"engagementTemplates": [
{
"path": "/device-removed-business/email/en_US/engagement-template.json",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"title": "{{{event.inAppNotification.title}}}",
"body": "💸 {{{event.inAppNotification.body}}}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"level": "ALERT",
"targetGroup": "USER",
"origin": "Direct Deposit Switch"
}
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"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"title": "{{{event.inAppNotification.title}}}",
"body": "💸 {{{event.inAppNotification.body}}}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"level": "SUCCESS",
"targetGroup": "USER",
"origin": "Direct Deposit Switch"
}
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"
}
]
}
]
}
]
}
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>
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,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>
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,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"
}
]
}
]
}
]
}
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,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"
}
Loading

0 comments on commit 85d6512

Please sign in to comment.