Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HRMS-1590 - complete oneruntime #68

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": "[email protected]"
}
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": "[email protected]"
}
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": "[email protected]"
}
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": "[email protected]"
}
Loading
Loading