diff --git a/collections/business/general-notifications/event-general-notifications/device-registered/device-registered/email/email_channel-settings.json b/collections/business/general-notifications/event-general-notifications/device-registered/device-registered/email/email_channel-settings.json deleted file mode 100644 index 12b303c..0000000 --- a/collections/business/general-notifications/event-general-notifications/device-registered/device-registered/email/email_channel-settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "from": "engage-qa@backbase.com" -} \ No newline at end of file diff --git a/collections/business/general-notifications/event-general-notifications/device-registered/device-registered/email/en_US/engagement-template.json b/collections/business/general-notifications/event-general-notifications/device-registered/device-registered/email/en_US/engagement-template.json deleted file mode 100644 index 6684500..0000000 --- a/collections/business/general-notifications/event-general-notifications/device-registered/device-registered/email/en_US/engagement-template.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "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" -} \ No newline at end of file diff --git a/collections/business/general-notifications/event-general-notifications/device-registered/event-general-notifications.json b/collections/business/general-notifications/event-general-notifications/device-registered/event-general-notifications.json deleted file mode 100644 index 911f265..0000000 --- a/collections/business/general-notifications/event-general-notifications/device-registered/event-general-notifications.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "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" - } - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/collections/business/general-notifications/event-general-notifications/device-removed/device-removed/email/email_channel-settings.json b/collections/business/general-notifications/event-general-notifications/device-removed/device-removed/email/email_channel-settings.json deleted file mode 100644 index 12b303c..0000000 --- a/collections/business/general-notifications/event-general-notifications/device-removed/device-removed/email/email_channel-settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "from": "engage-qa@backbase.com" -} \ No newline at end of file diff --git a/collections/business/general-notifications/event-general-notifications/device-removed/device-removed/email/en_US/engagement-template.json b/collections/business/general-notifications/event-general-notifications/device-removed/device-removed/email/en_US/engagement-template.json deleted file mode 100644 index 40e18ac..0000000 --- a/collections/business/general-notifications/event-general-notifications/device-removed/device-removed/email/en_US/engagement-template.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "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" -} \ No newline at end of file diff --git a/collections/business/general-notifications/event-general-notifications/device-removed/event-general-notifications.json b/collections/business/general-notifications/event-general-notifications/device-removed/event-general-notifications.json deleted file mode 100644 index 8a4af77..0000000 --- a/collections/business/general-notifications/event-general-notifications/device-removed/event-general-notifications.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "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" - } - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/collections/oneruntime/general-notifications/placeholders/device-registered/placeholders.json b/collections/oneruntime/general-notifications/placeholders/device-registered/placeholders.json deleted file mode 100644 index 52d083e..0000000 --- a/collections/oneruntime/general-notifications/placeholders/device-registered/placeholders.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "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}}" - } - ] - } -] diff --git a/collections/oneruntime/general-notifications/placeholders/device-removed/placeholders.json b/collections/oneruntime/general-notifications/placeholders/device-removed/placeholders.json deleted file mode 100644 index cea68c5..0000000 --- a/collections/oneruntime/general-notifications/placeholders/device-removed/placeholders.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "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}}" - } - ] - } -]