-
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.
Showing
8 changed files
with
122 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
...neral-notifications/device-registered/device-registered/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": "[email protected]" | ||
} |
4 changes: 4 additions & 0 deletions
4
...al-notifications/device-registered/device-registered/email/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 @@ | ||
{ | ||
"subject": "New device registered", | ||
"body": "Dear {{{user.preferredName}}} {{{user.familyName}}},\n\n A device, {{#if event.friendlyName}}\"{{{event.friendlyName}}}\" {{/if}}was registered to your online banking on {{ formatDate event.created 'dd-MMMM-yyyy \\'at\\' HH:mm:ss z' 'en' 'US/Eastern' }}.\n\nIf this was you:\n\n\tYou're good to go! We'll remember this device in the future.\n\n\nIf you don't want this device remembered:\n\n\n\tYou can go to Backbase and remove it. This will help keep your account more secure.\n\n\nIf this wasn't you:\n\tChange your password right away, and check your online banking for activity\n\tRemove this device from your online banking\n\n\nRegards, \nBackbase Bank" | ||
} |
29 changes: 29 additions & 0 deletions
29
...ifications/event-general-notifications/device-registered/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,29 @@ | ||
{ | ||
"eventClassName": "com.backbase.identity.device.event.spec.v1.DeviceAddedEvent", | ||
"id": "device-registered", | ||
"eventBusinessName": "Device Registered", | ||
"recipientType": "internal", | ||
"extractor": "#this['internalUserId']", | ||
"generalNotifications": [ | ||
{ | ||
"id": "device-registered", | ||
"name": "Device Registered", | ||
"userPreferenceEnabled": false, | ||
"manageable": false, | ||
"deliveryOptions": [ | ||
{ | ||
"channel": "email", | ||
"channelSettings": "/device-registered/email/email_channel-settings.json", | ||
"isEnabledByDefault": true, | ||
"isManageableByUser": false, | ||
"engagementTemplates": [ | ||
{ | ||
"path": "/device-registered/email/en_US/engagement-template.json", | ||
"locale": "en_US" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
3 changes: 3 additions & 0 deletions
3
...ent-general-notifications/device-removed/device-removed/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": "[email protected]" | ||
} |
4 changes: 4 additions & 0 deletions
4
...-general-notifications/device-removed/device-removed/email/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 @@ | ||
{ | ||
"subject": "Device removed", | ||
"body": "Dear {{{user.preferredName}}} {{{user.familyName}}},\n\n A device, {{#if event.friendlyName}}\"{{{event.friendlyName}}}\" {{/if}}was removed from your online banking on {{ formatDate event.created 'dd-MMMM-yyyy \\'at\\' HH:mm:ss z' 'en' 'US/Eastern' }}.\n\nIf this was you:\n\n\tAll done! The device is now removed.\n\n\nIf you did not want to remove this device:\n\n\n\tYou can go to Backbase and add it again.\n\n\nIf this wasn't you:\n\tChange your password right away, and check your account for activity\n\tAdd the device again to your online banking\n\n\nRegards, \nBackbase Bank" | ||
} |
29 changes: 29 additions & 0 deletions
29
...notifications/event-general-notifications/device-removed/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,29 @@ | ||
{ | ||
"eventClassName": "com.backbase.identity.device.event.spec.v1.DeviceRemovedEvent", | ||
"id": "device-removed", | ||
"eventBusinessName": "Device Removed", | ||
"recipientType": "internal", | ||
"extractor": "#this['internalUserId']", | ||
"generalNotifications": [ | ||
{ | ||
"id": "device-removed", | ||
"name": "Device Removed", | ||
"userPreferenceEnabled": false, | ||
"manageable": false, | ||
"deliveryOptions": [ | ||
{ | ||
"channel": "email", | ||
"channelSettings": "/device-removed/email/email_channel-settings.json", | ||
"isEnabledByDefault": true, | ||
"isManageableByUser": false, | ||
"engagementTemplates": [ | ||
{ | ||
"path": "/device-removed/email/en_US/engagement-template.json", | ||
"locale": "en_US" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
25 changes: 25 additions & 0 deletions
25
...ections/oneruntime/general-notifications/placeholders/device-registered/placeholders.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,25 @@ | ||
[ | ||
{ | ||
"name": "deviceRegistered", | ||
"placeholders": [ | ||
{ | ||
"name": "device-id", | ||
"title": "Device ID", | ||
"description": "The ID of the device", | ||
"value": "{{{event.deviceId}}}" | ||
}, | ||
{ | ||
"name": "internal-user-id", | ||
"title": "Internal User ID", | ||
"description": "The internal user ID of the user who owns this device", | ||
"value": "{{event.internalUserId}}" | ||
}, | ||
{ | ||
"name": "created", | ||
"title": "Created", | ||
"description": "The time when the device record was created", | ||
"value": "{{event.created}}" | ||
} | ||
] | ||
} | ||
] |
25 changes: 25 additions & 0 deletions
25
collections/oneruntime/general-notifications/placeholders/device-removed/placeholders.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,25 @@ | ||
[ | ||
{ | ||
"name": "deviceRemoved", | ||
"placeholders": [ | ||
{ | ||
"name": "device-id", | ||
"title": "Device ID", | ||
"description": "The ID of the device", | ||
"value": "{{{event.deviceId}}}" | ||
}, | ||
{ | ||
"name": "internal-user-id", | ||
"title": "Internal User ID", | ||
"description": "The internal user ID of the user who owns this device", | ||
"value": "{{event.internalUserId}}" | ||
}, | ||
{ | ||
"name": "created", | ||
"title": "Created", | ||
"description": "The time when the device record was created", | ||
"value": "{{event.created}}" | ||
} | ||
] | ||
} | ||
] |