diff --git a/collections/business/general-notifications/event-general-notifications/message-data-export-created/event-general-notifications.json b/collections/business/general-notifications/event-general-notifications/message-data-export-created/event-general-notifications.json new file mode 100644 index 0000000..d357b58 --- /dev/null +++ b/collections/business/general-notifications/event-general-notifications/message-data-export-created/event-general-notifications.json @@ -0,0 +1,56 @@ +{ + "eventClassName": "com.backbase.dbs.messages.pandp.event.spec.v1.MessageDataExportCreatedEvent", + "id": "message-data-export-completed", + "eventBusinessName": "Message Data Export Completed", + "recipientType": "internal", + "extractor": "#this['userId']", + "serviceAgreementExtractor": "#this['serviceAgreement']", + "generalNotifications": [ + { + "id": "message-data-export-ready", + "name": "Message Data Export Ready", + "userPreferenceEnabled": false, + "manageable": false, + "additionalFilterLogic": "#triggeredEvent['status'] == 'successful'", + "deliveryOptions": [ + { + "channel": "in-app-notification", + "channelSettings": "message-data-export-ready/in-app-notification/in-app_channel-settings.json", + "isEnabledByDefault": true, + "isManageableByUser": false, + "routeInfo": { + "whereTo": "message-data-download-view", + "data": "{\"exportId\":\"{{{event.exportId}}}\"}" + }, + "engagementTemplates": [ + { + "path": "/message-data-export-ready/in-app-notification/en_US/engagement-template.json", + "locale": "en_US" + } + ] + } + ] + }, + { + "id": "message-data-export-failed", + "name": "Message Data Export Failed", + "userPreferenceEnabled": false, + "manageable": false, + "additionalFilterLogic": "#triggeredEvent['status'] == 'failed'", + "deliveryOptions": [ + { + "channel": "in-app-notification", + "channelSettings": "message-data-export-failed/in-app-notification/in-app_channel-settings.json", + "isEnabledByDefault": true, + "isManageableByUser": false, + "engagementTemplates": [ + { + "path": "/message-data-export-failed/in-app-notification/en_US/engagement-template.json", + "locale": "en_US" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/collections/business/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/en_US/engagement-template.json b/collections/business/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/en_US/engagement-template.json new file mode 100644 index 0000000..987e522 --- /dev/null +++ b/collections/business/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/en_US/engagement-template.json @@ -0,0 +1,4 @@ +{ + "title": "Message data export failed", + "body": "The file you requested for export failed to complete" +} \ No newline at end of file diff --git a/collections/business/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/in-app_channel-settings.json b/collections/business/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/in-app_channel-settings.json new file mode 100644 index 0000000..3f132ed --- /dev/null +++ b/collections/business/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/in-app_channel-settings.json @@ -0,0 +1,5 @@ +{ + "level": "ALERT", + "targetGroup": "USER", + "origin": "MessageCenter" +} \ No newline at end of file diff --git a/collections/business/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/en_US/engagement-template.json b/collections/business/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/en_US/engagement-template.json new file mode 100644 index 0000000..597c065 --- /dev/null +++ b/collections/business/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/en_US/engagement-template.json @@ -0,0 +1,4 @@ +{ + "title": "Message data export complete", + "body": "The file you requested for export is complete and ready to download" +} \ No newline at end of file diff --git a/collections/business/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/in-app_channel-settings.json b/collections/business/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/in-app_channel-settings.json new file mode 100644 index 0000000..62a8753 --- /dev/null +++ b/collections/business/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/in-app_channel-settings.json @@ -0,0 +1,5 @@ +{ + "level": "SUCCESS", + "targetGroup": "USER", + "origin": "MessageCenter" +} \ No newline at end of file diff --git a/collections/oneruntime/general-notifications/event-general-notifications/message-data-export-created/event-general-notifications.json b/collections/oneruntime/general-notifications/event-general-notifications/message-data-export-created/event-general-notifications.json new file mode 100644 index 0000000..d357b58 --- /dev/null +++ b/collections/oneruntime/general-notifications/event-general-notifications/message-data-export-created/event-general-notifications.json @@ -0,0 +1,56 @@ +{ + "eventClassName": "com.backbase.dbs.messages.pandp.event.spec.v1.MessageDataExportCreatedEvent", + "id": "message-data-export-completed", + "eventBusinessName": "Message Data Export Completed", + "recipientType": "internal", + "extractor": "#this['userId']", + "serviceAgreementExtractor": "#this['serviceAgreement']", + "generalNotifications": [ + { + "id": "message-data-export-ready", + "name": "Message Data Export Ready", + "userPreferenceEnabled": false, + "manageable": false, + "additionalFilterLogic": "#triggeredEvent['status'] == 'successful'", + "deliveryOptions": [ + { + "channel": "in-app-notification", + "channelSettings": "message-data-export-ready/in-app-notification/in-app_channel-settings.json", + "isEnabledByDefault": true, + "isManageableByUser": false, + "routeInfo": { + "whereTo": "message-data-download-view", + "data": "{\"exportId\":\"{{{event.exportId}}}\"}" + }, + "engagementTemplates": [ + { + "path": "/message-data-export-ready/in-app-notification/en_US/engagement-template.json", + "locale": "en_US" + } + ] + } + ] + }, + { + "id": "message-data-export-failed", + "name": "Message Data Export Failed", + "userPreferenceEnabled": false, + "manageable": false, + "additionalFilterLogic": "#triggeredEvent['status'] == 'failed'", + "deliveryOptions": [ + { + "channel": "in-app-notification", + "channelSettings": "message-data-export-failed/in-app-notification/in-app_channel-settings.json", + "isEnabledByDefault": true, + "isManageableByUser": false, + "engagementTemplates": [ + { + "path": "/message-data-export-failed/in-app-notification/en_US/engagement-template.json", + "locale": "en_US" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/collections/oneruntime/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/en_US/engagement-template.json b/collections/oneruntime/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/en_US/engagement-template.json new file mode 100644 index 0000000..987e522 --- /dev/null +++ b/collections/oneruntime/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/en_US/engagement-template.json @@ -0,0 +1,4 @@ +{ + "title": "Message data export failed", + "body": "The file you requested for export failed to complete" +} \ No newline at end of file diff --git a/collections/oneruntime/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/in-app_channel-settings.json b/collections/oneruntime/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/in-app_channel-settings.json new file mode 100644 index 0000000..3f132ed --- /dev/null +++ b/collections/oneruntime/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/in-app_channel-settings.json @@ -0,0 +1,5 @@ +{ + "level": "ALERT", + "targetGroup": "USER", + "origin": "MessageCenter" +} \ No newline at end of file diff --git a/collections/oneruntime/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/en_US/engagement-template.json b/collections/oneruntime/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/en_US/engagement-template.json new file mode 100644 index 0000000..597c065 --- /dev/null +++ b/collections/oneruntime/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/en_US/engagement-template.json @@ -0,0 +1,4 @@ +{ + "title": "Message data export complete", + "body": "The file you requested for export is complete and ready to download" +} \ No newline at end of file diff --git a/collections/oneruntime/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/in-app_channel-settings.json b/collections/oneruntime/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/in-app_channel-settings.json new file mode 100644 index 0000000..62a8753 --- /dev/null +++ b/collections/oneruntime/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/in-app_channel-settings.json @@ -0,0 +1,5 @@ +{ + "level": "SUCCESS", + "targetGroup": "USER", + "origin": "MessageCenter" +} \ No newline at end of file diff --git a/collections/retail/general-notifications/event-general-notifications/message-data-export-created/event-general-notifications.json b/collections/retail/general-notifications/event-general-notifications/message-data-export-created/event-general-notifications.json new file mode 100644 index 0000000..d357b58 --- /dev/null +++ b/collections/retail/general-notifications/event-general-notifications/message-data-export-created/event-general-notifications.json @@ -0,0 +1,56 @@ +{ + "eventClassName": "com.backbase.dbs.messages.pandp.event.spec.v1.MessageDataExportCreatedEvent", + "id": "message-data-export-completed", + "eventBusinessName": "Message Data Export Completed", + "recipientType": "internal", + "extractor": "#this['userId']", + "serviceAgreementExtractor": "#this['serviceAgreement']", + "generalNotifications": [ + { + "id": "message-data-export-ready", + "name": "Message Data Export Ready", + "userPreferenceEnabled": false, + "manageable": false, + "additionalFilterLogic": "#triggeredEvent['status'] == 'successful'", + "deliveryOptions": [ + { + "channel": "in-app-notification", + "channelSettings": "message-data-export-ready/in-app-notification/in-app_channel-settings.json", + "isEnabledByDefault": true, + "isManageableByUser": false, + "routeInfo": { + "whereTo": "message-data-download-view", + "data": "{\"exportId\":\"{{{event.exportId}}}\"}" + }, + "engagementTemplates": [ + { + "path": "/message-data-export-ready/in-app-notification/en_US/engagement-template.json", + "locale": "en_US" + } + ] + } + ] + }, + { + "id": "message-data-export-failed", + "name": "Message Data Export Failed", + "userPreferenceEnabled": false, + "manageable": false, + "additionalFilterLogic": "#triggeredEvent['status'] == 'failed'", + "deliveryOptions": [ + { + "channel": "in-app-notification", + "channelSettings": "message-data-export-failed/in-app-notification/in-app_channel-settings.json", + "isEnabledByDefault": true, + "isManageableByUser": false, + "engagementTemplates": [ + { + "path": "/message-data-export-failed/in-app-notification/en_US/engagement-template.json", + "locale": "en_US" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/collections/retail/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/en_US/engagement-template.json b/collections/retail/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/en_US/engagement-template.json new file mode 100644 index 0000000..987e522 --- /dev/null +++ b/collections/retail/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/en_US/engagement-template.json @@ -0,0 +1,4 @@ +{ + "title": "Message data export failed", + "body": "The file you requested for export failed to complete" +} \ No newline at end of file diff --git a/collections/retail/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/in-app_channel-settings.json b/collections/retail/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/in-app_channel-settings.json new file mode 100644 index 0000000..3f132ed --- /dev/null +++ b/collections/retail/general-notifications/event-general-notifications/message-data-export-created/message-data-export-failed/in-app-notification/in-app_channel-settings.json @@ -0,0 +1,5 @@ +{ + "level": "ALERT", + "targetGroup": "USER", + "origin": "MessageCenter" +} \ No newline at end of file diff --git a/collections/retail/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/en_US/engagement-template.json b/collections/retail/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/en_US/engagement-template.json new file mode 100644 index 0000000..597c065 --- /dev/null +++ b/collections/retail/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/en_US/engagement-template.json @@ -0,0 +1,4 @@ +{ + "title": "Message data export complete", + "body": "The file you requested for export is complete and ready to download" +} \ No newline at end of file diff --git a/collections/retail/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/in-app_channel-settings.json b/collections/retail/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/in-app_channel-settings.json new file mode 100644 index 0000000..62a8753 --- /dev/null +++ b/collections/retail/general-notifications/event-general-notifications/message-data-export-created/message-data-export-ready/in-app-notification/in-app_channel-settings.json @@ -0,0 +1,5 @@ +{ + "level": "SUCCESS", + "targetGroup": "USER", + "origin": "MessageCenter" +} \ No newline at end of file