diff --git a/ci/scripts/create-collections.sh b/ci/scripts/create-collections.sh index a602d84..c3c0e2c 100755 --- a/ci/scripts/create-collections.sh +++ b/ci/scripts/create-collections.sh @@ -56,14 +56,54 @@ fi custom_engagements_location=${workspace}/collections/${PRODUCT_LINE}/custom-engagements if [ -d "${custom_engagements_location}" ] && [ ! -z "$(ls -A ${custom_engagements_location})" ]; then - echo "Create Custom Engagements package" + echo "Create Custom Engagements package for banners" cd ${custom_engagements_location} buildZipsFromSubFolders placeholders addManifestEntries placeholders content-enricher:/placeholder - buildZipsFromSubFolders templates - addManifestEntries templates content-enricher:/template + cd ${custom_engagements_location}/templates + buildZipsFromSubFolders banner + addManifestEntries banner content-enricher:/template + writeManifestFile + cd assembly && zip -r "${workspace}/target/assembly/${PRODUCT_LINE}/collections/custom-engagements-banner-${PRODUCT_LINE}.zip" "." && cd - && rm -rf assembly +fi + +custom_engagements_location=${workspace}/collections/${PRODUCT_LINE}/custom-engagements +if [ -d "${custom_engagements_location}" ] && [ ! -z "$(ls -A ${custom_engagements_location})" ]; then + echo "Create Custom Engagements package for message-center" + cd ${custom_engagements_location} + buildZipsFromSubFolders placeholders + addManifestEntries placeholders content-enricher:/placeholder + cd ${custom_engagements_location}/templates + buildZipsFromSubFolders message-center + addManifestEntries message-center content-enricher:/template + writeManifestFile + cd assembly && zip -r "${workspace}/target/assembly/${PRODUCT_LINE}/collections/custom-engagements-message-center-${PRODUCT_LINE}.zip" "." && cd - && rm -rf assembly +fi + +custom_engagements_location=${workspace}/collections/${PRODUCT_LINE}/custom-engagements +if [ -d "${custom_engagements_location}" ] && [ ! -z "$(ls -A ${custom_engagements_location})" ]; then + echo "Create Custom Engagements package for push" + cd ${custom_engagements_location} + buildZipsFromSubFolders placeholders + addManifestEntries placeholders content-enricher:/placeholder + cd ${custom_engagements_location}/templates + buildZipsFromSubFolders push + addManifestEntries push content-enricher:/template + writeManifestFile + cd assembly && zip -r "${workspace}/target/assembly/${PRODUCT_LINE}/collections/custom-engagements-push-${PRODUCT_LINE}.zip" "." && cd - && rm -rf assembly +fi + +custom_engagements_location=${workspace}/collections/${PRODUCT_LINE}/custom-engagements +if [ -d "${custom_engagements_location}" ] && [ ! -z "$(ls -A ${custom_engagements_location})" ]; then + echo "Create Custom Engagements package for overlays" + cd ${custom_engagements_location} + buildZipsFromSubFolders placeholders + addManifestEntries placeholders content-enricher:/placeholder + cd ${custom_engagements_location}/templates + buildZipsFromSubFolders overlays + addManifestEntries overlays content-enricher:/template writeManifestFile - cd assembly && zip -r "${workspace}/target/assembly/${PRODUCT_LINE}/collections/custom-engagements-${PRODUCT_LINE}.zip" "." && cd - && rm -rf assembly + cd assembly && zip -r "${workspace}/target/assembly/${PRODUCT_LINE}/collections/custom-engagements-overlays-${PRODUCT_LINE}.zip" "." && cd - && rm -rf assembly fi engagement_types_location=${workspace}/collections/${PRODUCT_LINE}/engagement-types diff --git a/collections/business/custom-engagements/templates/banner/app-downtime-scheduled/assets/Bell.png b/collections/business/custom-engagements/templates/banner/app-downtime-scheduled/assets/Bell.png new file mode 100644 index 0000000..b7e32c7 Binary files /dev/null and b/collections/business/custom-engagements/templates/banner/app-downtime-scheduled/assets/Bell.png differ diff --git a/collections/business/custom-engagements/templates/banner/app-downtime-scheduled/assets/index.html b/collections/business/custom-engagements/templates/banner/app-downtime-scheduled/assets/index.html new file mode 100644 index 0000000..e24bd2e --- /dev/null +++ b/collections/business/custom-engagements/templates/banner/app-downtime-scheduled/assets/index.html @@ -0,0 +1,75 @@ + + + + + + + + + Low Interest Loans + + + + +
+
+

{{title}}

+ Low interest loans +
+
+ + diff --git a/collections/business/custom-engagements/templates/banner/app-downtime-scheduled/assets/thumbnail.png b/collections/business/custom-engagements/templates/banner/app-downtime-scheduled/assets/thumbnail.png new file mode 100644 index 0000000..de218d9 Binary files /dev/null and b/collections/business/custom-engagements/templates/banner/app-downtime-scheduled/assets/thumbnail.png differ diff --git a/collections/business/custom-engagements/templates/banner/app-downtime-scheduled/content-schema.json b/collections/business/custom-engagements/templates/banner/app-downtime-scheduled/content-schema.json new file mode 100644 index 0000000..0f1e1df --- /dev/null +++ b/collections/business/custom-engagements/templates/banner/app-downtime-scheduled/content-schema.json @@ -0,0 +1,38 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "App downtime", + "description": "App downtime scheduled: 30th June - 1st July", + "type": "object", + "properties": { + "body":{ + "title": "Body of message", + "type": "object", + "properties": { + "title": { + "title": "Title", + "type": "string", + "maxLength": 50, + "default": "App downtime scheduled: 30th June - 1st July", + "metadata": { + "placeholderText": "Enter a title (max. 50 chars)" + } + }, + "picture": { + "title": "Image", + "type": "file", + "default": "{{contextRoot}}/assets/Bell.png", + "metadata": { + "renderingHint": "image" + } + } + }, + "metadata": { + "layoutPath": "{{contextRoot}}/assets/index.html" + } + } + }, + "required": [ + "title", + "picture" + ] +} diff --git a/collections/business/custom-engagements/templates/banner/app-downtime-scheduled/template.json b/collections/business/custom-engagements/templates/banner/app-downtime-scheduled/template.json new file mode 100644 index 0000000..3c40ab2 --- /dev/null +++ b/collections/business/custom-engagements/templates/banner/app-downtime-scheduled/template.json @@ -0,0 +1,10 @@ +{ + "name": "app-downtime-scheduled", + "description": "App downtime scheduled: 30th June - 1st July", + "title": "App downtime", + "engagement": "custom", + "channel": "banner", + "default": false, + "thumbnailPath": "{{contextRoot}}/assets/thumbnail.png", + "tags": ["vertical","web","300x250"] +} diff --git a/collections/business/custom-engagements/templates/banner/instant-insurance-cover/assets/Success.png b/collections/business/custom-engagements/templates/banner/instant-insurance-cover/assets/Success.png new file mode 100644 index 0000000..bda6b15 Binary files /dev/null and b/collections/business/custom-engagements/templates/banner/instant-insurance-cover/assets/Success.png differ diff --git a/collections/business/custom-engagements/templates/banner/instant-insurance-cover/assets/index.html b/collections/business/custom-engagements/templates/banner/instant-insurance-cover/assets/index.html new file mode 100644 index 0000000..0aab224 --- /dev/null +++ b/collections/business/custom-engagements/templates/banner/instant-insurance-cover/assets/index.html @@ -0,0 +1,119 @@ + + + + + Saving is good, smart saving is even better + + + + + + + + +
+
+

{{title}}

+ + + + + {{buttonText}} + +
+
+ A person holding a phone +
+
+ + diff --git a/collections/business/custom-engagements/templates/banner/instant-insurance-cover/assets/thumbnail.png b/collections/business/custom-engagements/templates/banner/instant-insurance-cover/assets/thumbnail.png new file mode 100644 index 0000000..50b4c77 Binary files /dev/null and b/collections/business/custom-engagements/templates/banner/instant-insurance-cover/assets/thumbnail.png differ diff --git a/collections/business/custom-engagements/templates/banner/instant-insurance-cover/content-schema.json b/collections/business/custom-engagements/templates/banner/instant-insurance-cover/content-schema.json new file mode 100644 index 0000000..f4da1a9 --- /dev/null +++ b/collections/business/custom-engagements/templates/banner/instant-insurance-cover/content-schema.json @@ -0,0 +1,49 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Instant insurance cover", + "description": "Instant insurance cover in 10 minutes", + "type": "object", + "properties": { + "body": { + "title": "Body of the message", + "type": "object", + "properties": { + "title": { + "title": "Title", + "type": "string", + "maxLength": 50, + "default": "Instant insurance cover in 10 minutes", + "metadata": { + "placeholderText": "Enter a title (max. 100 chars)" + } + }, + "picture": { + "title": "Image", + "type": "file", + "default":"{{contextRoot}}/assets/Success.png", + "metadata": { + "renderingHint": "image" + } + }, + "buttonText": { + "title": "Button text", + "type": "string", + "maxLength": 40, + "default": "Get an insurance quote", + "metadata": { + "placeholderText": "Enter a button text (max. 40 chars)" + } + } + }, + "metadata": { + "layoutPath": "{{contextRoot}}/assets/index.html" + } + } + }, + "required": [ + "title", + "picture", + "buttonText" + ] + } + \ No newline at end of file diff --git a/collections/business/custom-engagements/templates/banner/instant-insurance-cover/template.json b/collections/business/custom-engagements/templates/banner/instant-insurance-cover/template.json new file mode 100644 index 0000000..fd4e6d8 --- /dev/null +++ b/collections/business/custom-engagements/templates/banner/instant-insurance-cover/template.json @@ -0,0 +1,11 @@ +{ + "name": "instant-insurance-cover", + "description": "Instant insurance cover in 10 minutes", + "title": "Instant insurance cover", + "engagement": "custom", + "channel": "banner", + "default": true, + "thumbnailPath": "{{contextRoot}}/assets/thumbnail.png", + "tags": ["web","1140x180"] + } + \ No newline at end of file diff --git a/collections/business/custom-engagements/templates/banner/interest-free-auto-loan/assets/Car.png b/collections/business/custom-engagements/templates/banner/interest-free-auto-loan/assets/Car.png new file mode 100644 index 0000000..c07ba10 Binary files /dev/null and b/collections/business/custom-engagements/templates/banner/interest-free-auto-loan/assets/Car.png differ diff --git a/collections/business/custom-engagements/templates/banner/interest-free-auto-loan/assets/index.html b/collections/business/custom-engagements/templates/banner/interest-free-auto-loan/assets/index.html new file mode 100644 index 0000000..fd2fc8d --- /dev/null +++ b/collections/business/custom-engagements/templates/banner/interest-free-auto-loan/assets/index.html @@ -0,0 +1,108 @@ + + + + + + Interest free autoloan + + + + + + + + + +
+
+ A Car +
+
+ {{title}} +
+
+ + + \ No newline at end of file diff --git a/collections/business/custom-engagements/templates/banner/interest-free-auto-loan/assets/thumbnail.png b/collections/business/custom-engagements/templates/banner/interest-free-auto-loan/assets/thumbnail.png new file mode 100644 index 0000000..3ff5613 Binary files /dev/null and b/collections/business/custom-engagements/templates/banner/interest-free-auto-loan/assets/thumbnail.png differ diff --git a/collections/business/custom-engagements/templates/banner/interest-free-auto-loan/content-schema.json b/collections/business/custom-engagements/templates/banner/interest-free-auto-loan/content-schema.json new file mode 100644 index 0000000..05e79fe --- /dev/null +++ b/collections/business/custom-engagements/templates/banner/interest-free-auto-loan/content-schema.json @@ -0,0 +1,38 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Interest Free Auto Loans", + "description": "interest free auto loans available", + "type": "object", + "properties": { + "body":{ + "title": "Body of message", + "type": "object", + "properties": { + "title": { + "title": "Title", + "type": "string", + "maxLength": 60, + "default": "0% interest for 90 days when you refinance your auto loan", + "metadata": { + "placeholderText": "Enter a title (max. 60 chars)" + } + }, + "picture": { + "title": "Image", + "type": "file", + "default": "{{contextRoot}}/assets/Car.png", + "metadata": { + "renderingHint": "image" + } + } + }, + "metadata": { + "layoutPath": "{{contextRoot}}/assets/index.html" + } + } + }, + "required": [ + "title", + "picture" + ] +} diff --git a/collections/business/custom-engagements/templates/banner/interest-free-auto-loan/template.json b/collections/business/custom-engagements/templates/banner/interest-free-auto-loan/template.json new file mode 100644 index 0000000..9e39832 --- /dev/null +++ b/collections/business/custom-engagements/templates/banner/interest-free-auto-loan/template.json @@ -0,0 +1,10 @@ +{ + "name": "interest-free-auto-loans", + "description": "interest free auto loans available", + "title": "Interest Free Auto Loans", + "engagement": "custom", + "channel": "banner", + "default": false, + "thumbnailPath": "{{contextRoot}}/assets/thumbnail.png", + "tags": ["mobile","343x83"] +} diff --git a/collections/business/custom-engagements/templates/banner/low-interest-loans/assets/Money.png b/collections/business/custom-engagements/templates/banner/low-interest-loans/assets/Money.png new file mode 100644 index 0000000..cf4f460 Binary files /dev/null and b/collections/business/custom-engagements/templates/banner/low-interest-loans/assets/Money.png differ diff --git a/collections/business/custom-engagements/templates/banner/low-interest-loans/assets/index.html b/collections/business/custom-engagements/templates/banner/low-interest-loans/assets/index.html new file mode 100644 index 0000000..e4630fc --- /dev/null +++ b/collections/business/custom-engagements/templates/banner/low-interest-loans/assets/index.html @@ -0,0 +1,75 @@ + + + + + + + + + Low Interest Loans + + + + +
+
+

{{title}}

+ Low interest loans +
+
+ + diff --git a/collections/business/custom-engagements/templates/banner/low-interest-loans/assets/thumbnail.png b/collections/business/custom-engagements/templates/banner/low-interest-loans/assets/thumbnail.png new file mode 100644 index 0000000..92139e4 Binary files /dev/null and b/collections/business/custom-engagements/templates/banner/low-interest-loans/assets/thumbnail.png differ diff --git a/collections/business/custom-engagements/templates/banner/low-interest-loans/content-schema.json b/collections/business/custom-engagements/templates/banner/low-interest-loans/content-schema.json new file mode 100644 index 0000000..be0515f --- /dev/null +++ b/collections/business/custom-engagements/templates/banner/low-interest-loans/content-schema.json @@ -0,0 +1,38 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Low Interest Loans", + "description": "low interest loans available", + "type": "object", + "properties": { + "body":{ + "title": "Body of message", + "type": "object", + "properties": { + "title": { + "title": "Title", + "type": "string", + "maxLength": 50, + "default": "Low interest loans available from 2.1% APR", + "metadata": { + "placeholderText": "Enter a title (max. 50 chars)" + } + }, + "picture": { + "title": "Image", + "type": "file", + "default": "{{contextRoot}}/assets/Money.png", + "metadata": { + "renderingHint": "image" + } + } + }, + "metadata": { + "layoutPath": "{{contextRoot}}/assets/index.html" + } + } + }, + "required": [ + "title", + "picture" + ] +} diff --git a/collections/business/custom-engagements/templates/banner/low-interest-loans/template.json b/collections/business/custom-engagements/templates/banner/low-interest-loans/template.json new file mode 100644 index 0000000..009f9cb --- /dev/null +++ b/collections/business/custom-engagements/templates/banner/low-interest-loans/template.json @@ -0,0 +1,10 @@ +{ + "name": "low-interest-loans", + "description": "low interest loans available", + "title": "Low Interest Loans", + "engagement": "custom", + "channel": "banner", + "default": true, + "thumbnailPath": "{{contextRoot}}/assets/thumbnail.png", + "tags": ["vertical","web","300x250"] +} diff --git a/collections/business/custom-engagements/templates/blank-template/assets/index.html b/collections/business/custom-engagements/templates/message-center/blank-template/assets/index.html similarity index 100% rename from collections/business/custom-engagements/templates/blank-template/assets/index.html rename to collections/business/custom-engagements/templates/message-center/blank-template/assets/index.html diff --git a/collections/business/custom-engagements/templates/blank-template/assets/thumbnail.png b/collections/business/custom-engagements/templates/message-center/blank-template/assets/thumbnail.png similarity index 100% rename from collections/business/custom-engagements/templates/blank-template/assets/thumbnail.png rename to collections/business/custom-engagements/templates/message-center/blank-template/assets/thumbnail.png diff --git a/collections/business/custom-engagements/templates/blank-template/content-schema.json b/collections/business/custom-engagements/templates/message-center/blank-template/content-schema.json similarity index 100% rename from collections/business/custom-engagements/templates/blank-template/content-schema.json rename to collections/business/custom-engagements/templates/message-center/blank-template/content-schema.json diff --git a/collections/business/custom-engagements/templates/blank-template/template.json b/collections/business/custom-engagements/templates/message-center/blank-template/template.json similarity index 100% rename from collections/business/custom-engagements/templates/blank-template/template.json rename to collections/business/custom-engagements/templates/message-center/blank-template/template.json diff --git a/collections/business/custom-engagements/templates/business-assurance/assets/dark.png b/collections/business/custom-engagements/templates/message-center/business-assurance/assets/dark.png similarity index 100% rename from collections/business/custom-engagements/templates/business-assurance/assets/dark.png rename to collections/business/custom-engagements/templates/message-center/business-assurance/assets/dark.png diff --git a/collections/business/custom-engagements/templates/business-assurance/assets/index.html b/collections/business/custom-engagements/templates/message-center/business-assurance/assets/index.html similarity index 100% rename from collections/business/custom-engagements/templates/business-assurance/assets/index.html rename to collections/business/custom-engagements/templates/message-center/business-assurance/assets/index.html diff --git a/collections/business/custom-engagements/templates/business-assurance/assets/thumbnail.png b/collections/business/custom-engagements/templates/message-center/business-assurance/assets/thumbnail.png similarity index 100% rename from collections/business/custom-engagements/templates/business-assurance/assets/thumbnail.png rename to collections/business/custom-engagements/templates/message-center/business-assurance/assets/thumbnail.png diff --git a/collections/business/custom-engagements/templates/business-assurance/content-schema.json b/collections/business/custom-engagements/templates/message-center/business-assurance/content-schema.json similarity index 100% rename from collections/business/custom-engagements/templates/business-assurance/content-schema.json rename to collections/business/custom-engagements/templates/message-center/business-assurance/content-schema.json diff --git a/collections/business/custom-engagements/templates/business-assurance/template.json b/collections/business/custom-engagements/templates/message-center/business-assurance/template.json similarity index 100% rename from collections/business/custom-engagements/templates/business-assurance/template.json rename to collections/business/custom-engagements/templates/message-center/business-assurance/template.json diff --git a/collections/business/custom-engagements/templates/first-time-welcome-template/assets/dark.png b/collections/business/custom-engagements/templates/message-center/first-time-welcome-template/assets/dark.png similarity index 100% rename from collections/business/custom-engagements/templates/first-time-welcome-template/assets/dark.png rename to collections/business/custom-engagements/templates/message-center/first-time-welcome-template/assets/dark.png diff --git a/collections/business/custom-engagements/templates/first-time-welcome-template/assets/index.html b/collections/business/custom-engagements/templates/message-center/first-time-welcome-template/assets/index.html similarity index 100% rename from collections/business/custom-engagements/templates/first-time-welcome-template/assets/index.html rename to collections/business/custom-engagements/templates/message-center/first-time-welcome-template/assets/index.html diff --git a/collections/business/custom-engagements/templates/first-time-welcome-template/assets/thumbnail.png b/collections/business/custom-engagements/templates/message-center/first-time-welcome-template/assets/thumbnail.png similarity index 100% rename from collections/business/custom-engagements/templates/first-time-welcome-template/assets/thumbnail.png rename to collections/business/custom-engagements/templates/message-center/first-time-welcome-template/assets/thumbnail.png diff --git a/collections/business/custom-engagements/templates/first-time-welcome-template/content-schema.json b/collections/business/custom-engagements/templates/message-center/first-time-welcome-template/content-schema.json similarity index 100% rename from collections/business/custom-engagements/templates/first-time-welcome-template/content-schema.json rename to collections/business/custom-engagements/templates/message-center/first-time-welcome-template/content-schema.json diff --git a/collections/business/custom-engagements/templates/first-time-welcome-template/template.json b/collections/business/custom-engagements/templates/message-center/first-time-welcome-template/template.json similarity index 100% rename from collections/business/custom-engagements/templates/first-time-welcome-template/template.json rename to collections/business/custom-engagements/templates/message-center/first-time-welcome-template/template.json diff --git a/collections/business/custom-engagements/templates/new-feature/assets/index.html b/collections/business/custom-engagements/templates/message-center/new-feature/assets/index.html similarity index 100% rename from collections/business/custom-engagements/templates/new-feature/assets/index.html rename to collections/business/custom-engagements/templates/message-center/new-feature/assets/index.html diff --git a/collections/business/custom-engagements/templates/new-feature/assets/light.png b/collections/business/custom-engagements/templates/message-center/new-feature/assets/light.png similarity index 100% rename from collections/business/custom-engagements/templates/new-feature/assets/light.png rename to collections/business/custom-engagements/templates/message-center/new-feature/assets/light.png diff --git a/collections/business/custom-engagements/templates/new-feature/assets/thumbnail.png b/collections/business/custom-engagements/templates/message-center/new-feature/assets/thumbnail.png similarity index 100% rename from collections/business/custom-engagements/templates/new-feature/assets/thumbnail.png rename to collections/business/custom-engagements/templates/message-center/new-feature/assets/thumbnail.png diff --git a/collections/business/custom-engagements/templates/new-feature/content-schema.json b/collections/business/custom-engagements/templates/message-center/new-feature/content-schema.json similarity index 100% rename from collections/business/custom-engagements/templates/new-feature/content-schema.json rename to collections/business/custom-engagements/templates/message-center/new-feature/content-schema.json diff --git a/collections/business/custom-engagements/templates/new-feature/template.json b/collections/business/custom-engagements/templates/message-center/new-feature/template.json similarity index 100% rename from collections/business/custom-engagements/templates/new-feature/template.json rename to collections/business/custom-engagements/templates/message-center/new-feature/template.json diff --git a/collections/business/custom-engagements/templates/positive-pay/assets/index.html b/collections/business/custom-engagements/templates/message-center/positive-pay/assets/index.html similarity index 100% rename from collections/business/custom-engagements/templates/positive-pay/assets/index.html rename to collections/business/custom-engagements/templates/message-center/positive-pay/assets/index.html diff --git a/collections/business/custom-engagements/templates/positive-pay/assets/light.png b/collections/business/custom-engagements/templates/message-center/positive-pay/assets/light.png similarity index 100% rename from collections/business/custom-engagements/templates/positive-pay/assets/light.png rename to collections/business/custom-engagements/templates/message-center/positive-pay/assets/light.png diff --git a/collections/business/custom-engagements/templates/positive-pay/assets/thumbnail.png b/collections/business/custom-engagements/templates/message-center/positive-pay/assets/thumbnail.png similarity index 100% rename from collections/business/custom-engagements/templates/positive-pay/assets/thumbnail.png rename to collections/business/custom-engagements/templates/message-center/positive-pay/assets/thumbnail.png diff --git a/collections/business/custom-engagements/templates/positive-pay/content-schema.json b/collections/business/custom-engagements/templates/message-center/positive-pay/content-schema.json similarity index 100% rename from collections/business/custom-engagements/templates/positive-pay/content-schema.json rename to collections/business/custom-engagements/templates/message-center/positive-pay/content-schema.json diff --git a/collections/business/custom-engagements/templates/positive-pay/template.json b/collections/business/custom-engagements/templates/message-center/positive-pay/template.json similarity index 100% rename from collections/business/custom-engagements/templates/positive-pay/template.json rename to collections/business/custom-engagements/templates/message-center/positive-pay/template.json diff --git a/collections/business/custom-engagements/templates/remote-downtime-alert-template/assets/index.html b/collections/business/custom-engagements/templates/message-center/remote-downtime-alert-template/assets/index.html similarity index 100% rename from collections/business/custom-engagements/templates/remote-downtime-alert-template/assets/index.html rename to collections/business/custom-engagements/templates/message-center/remote-downtime-alert-template/assets/index.html diff --git a/collections/business/custom-engagements/templates/remote-downtime-alert-template/assets/light.png b/collections/business/custom-engagements/templates/message-center/remote-downtime-alert-template/assets/light.png similarity index 100% rename from collections/business/custom-engagements/templates/remote-downtime-alert-template/assets/light.png rename to collections/business/custom-engagements/templates/message-center/remote-downtime-alert-template/assets/light.png diff --git a/collections/business/custom-engagements/templates/remote-downtime-alert-template/assets/thumbnail.png b/collections/business/custom-engagements/templates/message-center/remote-downtime-alert-template/assets/thumbnail.png similarity index 100% rename from collections/business/custom-engagements/templates/remote-downtime-alert-template/assets/thumbnail.png rename to collections/business/custom-engagements/templates/message-center/remote-downtime-alert-template/assets/thumbnail.png diff --git a/collections/business/custom-engagements/templates/remote-downtime-alert-template/content-schema.json b/collections/business/custom-engagements/templates/message-center/remote-downtime-alert-template/content-schema.json similarity index 100% rename from collections/business/custom-engagements/templates/remote-downtime-alert-template/content-schema.json rename to collections/business/custom-engagements/templates/message-center/remote-downtime-alert-template/content-schema.json diff --git a/collections/business/custom-engagements/templates/remote-downtime-alert-template/template.json b/collections/business/custom-engagements/templates/message-center/remote-downtime-alert-template/template.json similarity index 100% rename from collections/business/custom-engagements/templates/remote-downtime-alert-template/template.json rename to collections/business/custom-engagements/templates/message-center/remote-downtime-alert-template/template.json diff --git a/collections/business/custom-engagements/templates/system-maintenance-template/assets/index.html b/collections/business/custom-engagements/templates/message-center/system-maintenance-template/assets/index.html similarity index 100% rename from collections/business/custom-engagements/templates/system-maintenance-template/assets/index.html rename to collections/business/custom-engagements/templates/message-center/system-maintenance-template/assets/index.html diff --git a/collections/business/custom-engagements/templates/system-maintenance-template/assets/light.png b/collections/business/custom-engagements/templates/message-center/system-maintenance-template/assets/light.png similarity index 100% rename from collections/business/custom-engagements/templates/system-maintenance-template/assets/light.png rename to collections/business/custom-engagements/templates/message-center/system-maintenance-template/assets/light.png diff --git a/collections/business/custom-engagements/templates/system-maintenance-template/assets/thumbnail.png b/collections/business/custom-engagements/templates/message-center/system-maintenance-template/assets/thumbnail.png similarity index 100% rename from collections/business/custom-engagements/templates/system-maintenance-template/assets/thumbnail.png rename to collections/business/custom-engagements/templates/message-center/system-maintenance-template/assets/thumbnail.png diff --git a/collections/business/custom-engagements/templates/system-maintenance-template/content-schema.json b/collections/business/custom-engagements/templates/message-center/system-maintenance-template/content-schema.json similarity index 100% rename from collections/business/custom-engagements/templates/system-maintenance-template/content-schema.json rename to collections/business/custom-engagements/templates/message-center/system-maintenance-template/content-schema.json diff --git a/collections/business/custom-engagements/templates/system-maintenance-template/template.json b/collections/business/custom-engagements/templates/message-center/system-maintenance-template/template.json similarity index 100% rename from collections/business/custom-engagements/templates/system-maintenance-template/template.json rename to collections/business/custom-engagements/templates/message-center/system-maintenance-template/template.json diff --git a/collections/business/custom-engagements/templates/upsell-loans/assets/dark.png b/collections/business/custom-engagements/templates/message-center/upsell-loans/assets/dark.png similarity index 100% rename from collections/business/custom-engagements/templates/upsell-loans/assets/dark.png rename to collections/business/custom-engagements/templates/message-center/upsell-loans/assets/dark.png diff --git a/collections/business/custom-engagements/templates/upsell-loans/assets/index.html b/collections/business/custom-engagements/templates/message-center/upsell-loans/assets/index.html similarity index 100% rename from collections/business/custom-engagements/templates/upsell-loans/assets/index.html rename to collections/business/custom-engagements/templates/message-center/upsell-loans/assets/index.html diff --git a/collections/business/custom-engagements/templates/upsell-loans/assets/thumbnail.png b/collections/business/custom-engagements/templates/message-center/upsell-loans/assets/thumbnail.png similarity index 100% rename from collections/business/custom-engagements/templates/upsell-loans/assets/thumbnail.png rename to collections/business/custom-engagements/templates/message-center/upsell-loans/assets/thumbnail.png diff --git a/collections/business/custom-engagements/templates/upsell-loans/content-schema.json b/collections/business/custom-engagements/templates/message-center/upsell-loans/content-schema.json similarity index 100% rename from collections/business/custom-engagements/templates/upsell-loans/content-schema.json rename to collections/business/custom-engagements/templates/message-center/upsell-loans/content-schema.json diff --git a/collections/business/custom-engagements/templates/upsell-loans/template.json b/collections/business/custom-engagements/templates/message-center/upsell-loans/template.json similarity index 100% rename from collections/business/custom-engagements/templates/upsell-loans/template.json rename to collections/business/custom-engagements/templates/message-center/upsell-loans/template.json diff --git a/collections/business/custom-engagements/templates/overlays/go-paperless/assets/image.png b/collections/business/custom-engagements/templates/overlays/go-paperless/assets/image.png new file mode 100644 index 0000000..c2c8a3f Binary files /dev/null and b/collections/business/custom-engagements/templates/overlays/go-paperless/assets/image.png differ diff --git a/collections/business/custom-engagements/templates/overlays/go-paperless/assets/index.html b/collections/business/custom-engagements/templates/overlays/go-paperless/assets/index.html new file mode 100644 index 0000000..a440c06 --- /dev/null +++ b/collections/business/custom-engagements/templates/overlays/go-paperless/assets/index.html @@ -0,0 +1,273 @@ + + + + + Go paperless + + + + + + + + + + +
+ money +

+ {{title}} +

+

+ {{message}} +

+ + {{anchor.anchorText}} + +
+ + + \ No newline at end of file diff --git a/collections/business/custom-engagements/templates/overlays/go-paperless/assets/thumbnail.png b/collections/business/custom-engagements/templates/overlays/go-paperless/assets/thumbnail.png new file mode 100644 index 0000000..cd06482 Binary files /dev/null and b/collections/business/custom-engagements/templates/overlays/go-paperless/assets/thumbnail.png differ diff --git a/collections/business/custom-engagements/templates/overlays/go-paperless/content-schema.json b/collections/business/custom-engagements/templates/overlays/go-paperless/content-schema.json new file mode 100644 index 0000000..198966c --- /dev/null +++ b/collections/business/custom-engagements/templates/overlays/go-paperless/content-schema.json @@ -0,0 +1,72 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Go paperless", + "description": "Go paperless", + "type": "object", + "properties": { + "body": { + "title": "Body of the message", + "type": "object", + "properties": { + "title": { + "title": "Title", + "type": "string", + "maxLength": 50, + "default": "Go paperless with ease today", + "metadata": { + "placeholderText": "Enter title(Maximum 50 characters).", + "renderingHint": "text" + } + }, + "message": { + "title": "Body", + "type": "string", + "maxLength": 300, + "default": "Activate e-statements. Update your settings today", + "metadata": { + "placeholderText": "Enter body(Maximum 300 characters).", + "renderingHint": "textarea" + } + }, + "picture": { + "title": "Image", + "type": "file", + "default": "{{contextRoot}}/assets/image.png", + "metadata": { + "renderingHint": "image" + } + }, + "anchor": { + "title": "Button 1", + "type": "object", + "properties": { + "anchorText": { + "title": "Button text", + "type": "string", + "maxLength": 25, + "default": "Activate e-statements", + "metadata": { + "placeholderText": "Enter a button text (max. 25 chars)" + } + }, + "routing": { + "title": "Button Routing", + "type": "string", + "metadata": { + "renderingHint": "routing" + } + } + }, + "required":[ + "anchorText", "routing" + ] + } + }, + "required": ["title", "picture"], + "metadata": { + "layoutPath": "{{contextRoot}}/assets/index.html" + } + } + }, + "required": ["body"] +} diff --git a/collections/business/custom-engagements/templates/overlays/go-paperless/template.json b/collections/business/custom-engagements/templates/overlays/go-paperless/template.json new file mode 100644 index 0000000..437e62e --- /dev/null +++ b/collections/business/custom-engagements/templates/overlays/go-paperless/template.json @@ -0,0 +1,11 @@ +{ + "name": "go-paperless", + "description": "Go paperless", + "title": "Go paperless", + "engagement": "custom", + "channel": "overlays", + "default": false, + "thumbnailPath": "{{contextRoot}}/assets/thumbnail.png", + "tags": [] + } + \ No newline at end of file diff --git a/collections/business/custom-engagements/templates/overlays/travel-stress-free/assets/image.png b/collections/business/custom-engagements/templates/overlays/travel-stress-free/assets/image.png new file mode 100644 index 0000000..2f07fba Binary files /dev/null and b/collections/business/custom-engagements/templates/overlays/travel-stress-free/assets/image.png differ diff --git a/collections/business/custom-engagements/templates/overlays/travel-stress-free/assets/index.html b/collections/business/custom-engagements/templates/overlays/travel-stress-free/assets/index.html new file mode 100644 index 0000000..90b9db3 --- /dev/null +++ b/collections/business/custom-engagements/templates/overlays/travel-stress-free/assets/index.html @@ -0,0 +1,272 @@ + + + + + Travel Stress Free + + + + + + + + + + +
+ money +

+ {{title}} +

+

+ {{message}} +

+ + {{anchor.anchorText}} + +
+ + + \ No newline at end of file diff --git a/collections/business/custom-engagements/templates/overlays/travel-stress-free/assets/thumbnail.png b/collections/business/custom-engagements/templates/overlays/travel-stress-free/assets/thumbnail.png new file mode 100644 index 0000000..b0bdf66 Binary files /dev/null and b/collections/business/custom-engagements/templates/overlays/travel-stress-free/assets/thumbnail.png differ diff --git a/collections/business/custom-engagements/templates/overlays/travel-stress-free/content-schema.json b/collections/business/custom-engagements/templates/overlays/travel-stress-free/content-schema.json new file mode 100644 index 0000000..f6f0277 --- /dev/null +++ b/collections/business/custom-engagements/templates/overlays/travel-stress-free/content-schema.json @@ -0,0 +1,72 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Travel Stress Free", + "description": "Travel Stress Free", + "type": "object", + "properties": { + "body": { + "title": "Body of the message", + "type": "object", + "properties": { + "title": { + "title": "Title", + "type": "string", + "maxLength": 50, + "default": "Travel Stress Free", + "metadata": { + "placeholderText": "Enter title(Maximum 50 characters).", + "renderingHint": "text" + } + }, + "message": { + "title": "Body", + "type": "string", + "maxLength": 300, + "default": "Continuous travel insurance is useful if you travel several times a year and you want to be insured all year round. You can also expand the insurance with additional coverage, which you can change at any time.", + "metadata": { + "placeholderText": "Enter body(Maximum 300 characters).", + "renderingHint": "textarea" + } + }, + "picture": { + "title": "Image", + "type": "file", + "default": "{{contextRoot}}/assets/image.png", + "metadata": { + "renderingHint": "image" + } + }, + "anchor": { + "title": "Button 1", + "type": "object", + "properties": { + "anchorText": { + "title": "Button text", + "type": "string", + "maxLength": 25, + "default": "Activate travel insurance", + "metadata": { + "placeholderText": "Enter a button text (max. 25 chars)" + } + }, + "routing": { + "title": "Button Routing", + "type": "string", + "metadata": { + "renderingHint": "routing" + } + } + }, + "required":[ + "anchorText", "routing" + ] + } + }, + "required": ["title", "picture"], + "metadata": { + "layoutPath": "{{contextRoot}}/assets/index.html" + } + } + }, + "required": ["body"] +} diff --git a/collections/business/custom-engagements/templates/overlays/travel-stress-free/template.json b/collections/business/custom-engagements/templates/overlays/travel-stress-free/template.json new file mode 100644 index 0000000..3018942 --- /dev/null +++ b/collections/business/custom-engagements/templates/overlays/travel-stress-free/template.json @@ -0,0 +1,11 @@ +{ + "name": "travel-stress-free", + "description": "Travel Stress Free", + "title": "Travel Stress Free", + "engagement": "custom", + "channel": "overlays", + "default": false, + "thumbnailPath": "{{contextRoot}}/assets/thumbnail.png", + "tags": [] + } + \ No newline at end of file diff --git a/collections/business/custom-engagements/templates/push/push-template/additions/channel-settings.json b/collections/business/custom-engagements/templates/push/push-template/additions/channel-settings.json new file mode 100644 index 0000000..4fb1bc6 --- /dev/null +++ b/collections/business/custom-engagements/templates/push/push-template/additions/channel-settings.json @@ -0,0 +1,22 @@ +{ + "appName": "model-bank", + "payload": { + "android": { + "settings": { + "sound": "default", + "color": "default", + "icon": "hello" + } + }, + "ios": { + "settings": { + "category": "ENGAGEMENT", + "sound": "default", + "interruption-level": "active" + } + }, + "data": { + "level": "INFO" + } + } +} \ No newline at end of file diff --git a/collections/business/custom-engagements/templates/push/push-template/content-schema.json b/collections/business/custom-engagements/templates/push/push-template/content-schema.json new file mode 100644 index 0000000..117c011 --- /dev/null +++ b/collections/business/custom-engagements/templates/push/push-template/content-schema.json @@ -0,0 +1,33 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Template for push campaign for Business", + "description": "Template for push notification", + "type": "object", + "properties": { + "title": { + "title": "Title", + "type": "string", + "maxLength": 75, + "metadata": { + "placeholderText": "Enter a title (max. 75 chars)", + "renderingHint": "textarea", + "customErrorMessages" : { + "required": "Please provide a title" + } + } + }, + "body": { + "title": "Body", + "type": "string", + "maxLength": 256, + "metadata": { + "placeholderText": "Enter a body message (max. 256 chars)", + "renderingHint": "textarea", + "customErrorMessages" : { + "required": "Please provide a body text" + } + } + } + }, + "required": ["title", "body"] +} diff --git a/collections/business/custom-engagements/templates/push/push-template/template.json b/collections/business/custom-engagements/templates/push/push-template/template.json new file mode 100644 index 0000000..07a5f2f --- /dev/null +++ b/collections/business/custom-engagements/templates/push/push-template/template.json @@ -0,0 +1,8 @@ +{ + "name":"push-template", + "description":"Push template for custom engagement", + "title":"Push Template", + "engagement": "custom", + "default": true, + "channel": "push" +} \ No newline at end of file diff --git a/collections/retail/custom-engagements/templates/banner/app-downtime-scheduled/assets/Bell.png b/collections/retail/custom-engagements/templates/banner/app-downtime-scheduled/assets/Bell.png new file mode 100644 index 0000000..b7e32c7 Binary files /dev/null and b/collections/retail/custom-engagements/templates/banner/app-downtime-scheduled/assets/Bell.png differ diff --git a/collections/retail/custom-engagements/templates/banner/app-downtime-scheduled/assets/index.html b/collections/retail/custom-engagements/templates/banner/app-downtime-scheduled/assets/index.html new file mode 100644 index 0000000..e24bd2e --- /dev/null +++ b/collections/retail/custom-engagements/templates/banner/app-downtime-scheduled/assets/index.html @@ -0,0 +1,75 @@ + + + + + + + + + Low Interest Loans + + + + +
+
+

{{title}}

+ Low interest loans +
+
+ + diff --git a/collections/retail/custom-engagements/templates/banner/app-downtime-scheduled/assets/thumbnail.png b/collections/retail/custom-engagements/templates/banner/app-downtime-scheduled/assets/thumbnail.png new file mode 100644 index 0000000..de218d9 Binary files /dev/null and b/collections/retail/custom-engagements/templates/banner/app-downtime-scheduled/assets/thumbnail.png differ diff --git a/collections/retail/custom-engagements/templates/banner/app-downtime-scheduled/content-schema.json b/collections/retail/custom-engagements/templates/banner/app-downtime-scheduled/content-schema.json new file mode 100644 index 0000000..0f1e1df --- /dev/null +++ b/collections/retail/custom-engagements/templates/banner/app-downtime-scheduled/content-schema.json @@ -0,0 +1,38 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "App downtime", + "description": "App downtime scheduled: 30th June - 1st July", + "type": "object", + "properties": { + "body":{ + "title": "Body of message", + "type": "object", + "properties": { + "title": { + "title": "Title", + "type": "string", + "maxLength": 50, + "default": "App downtime scheduled: 30th June - 1st July", + "metadata": { + "placeholderText": "Enter a title (max. 50 chars)" + } + }, + "picture": { + "title": "Image", + "type": "file", + "default": "{{contextRoot}}/assets/Bell.png", + "metadata": { + "renderingHint": "image" + } + } + }, + "metadata": { + "layoutPath": "{{contextRoot}}/assets/index.html" + } + } + }, + "required": [ + "title", + "picture" + ] +} diff --git a/collections/retail/custom-engagements/templates/banner/app-downtime-scheduled/template.json b/collections/retail/custom-engagements/templates/banner/app-downtime-scheduled/template.json new file mode 100644 index 0000000..3c40ab2 --- /dev/null +++ b/collections/retail/custom-engagements/templates/banner/app-downtime-scheduled/template.json @@ -0,0 +1,10 @@ +{ + "name": "app-downtime-scheduled", + "description": "App downtime scheduled: 30th June - 1st July", + "title": "App downtime", + "engagement": "custom", + "channel": "banner", + "default": false, + "thumbnailPath": "{{contextRoot}}/assets/thumbnail.png", + "tags": ["vertical","web","300x250"] +} diff --git a/collections/retail/custom-engagements/templates/banner/interest-free-auto-loan/assets/Car.png b/collections/retail/custom-engagements/templates/banner/interest-free-auto-loan/assets/Car.png new file mode 100644 index 0000000..c07ba10 Binary files /dev/null and b/collections/retail/custom-engagements/templates/banner/interest-free-auto-loan/assets/Car.png differ diff --git a/collections/retail/custom-engagements/templates/banner/interest-free-auto-loan/assets/index.html b/collections/retail/custom-engagements/templates/banner/interest-free-auto-loan/assets/index.html new file mode 100644 index 0000000..fd2fc8d --- /dev/null +++ b/collections/retail/custom-engagements/templates/banner/interest-free-auto-loan/assets/index.html @@ -0,0 +1,108 @@ + + + + + + Interest free autoloan + + + + + + + + + +
+
+ A Car +
+
+ {{title}} +
+
+ + + \ No newline at end of file diff --git a/collections/retail/custom-engagements/templates/banner/interest-free-auto-loan/assets/thumbnail.png b/collections/retail/custom-engagements/templates/banner/interest-free-auto-loan/assets/thumbnail.png new file mode 100644 index 0000000..3ff5613 Binary files /dev/null and b/collections/retail/custom-engagements/templates/banner/interest-free-auto-loan/assets/thumbnail.png differ diff --git a/collections/retail/custom-engagements/templates/banner/interest-free-auto-loan/content-schema.json b/collections/retail/custom-engagements/templates/banner/interest-free-auto-loan/content-schema.json new file mode 100644 index 0000000..05e79fe --- /dev/null +++ b/collections/retail/custom-engagements/templates/banner/interest-free-auto-loan/content-schema.json @@ -0,0 +1,38 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Interest Free Auto Loans", + "description": "interest free auto loans available", + "type": "object", + "properties": { + "body":{ + "title": "Body of message", + "type": "object", + "properties": { + "title": { + "title": "Title", + "type": "string", + "maxLength": 60, + "default": "0% interest for 90 days when you refinance your auto loan", + "metadata": { + "placeholderText": "Enter a title (max. 60 chars)" + } + }, + "picture": { + "title": "Image", + "type": "file", + "default": "{{contextRoot}}/assets/Car.png", + "metadata": { + "renderingHint": "image" + } + } + }, + "metadata": { + "layoutPath": "{{contextRoot}}/assets/index.html" + } + } + }, + "required": [ + "title", + "picture" + ] +} diff --git a/collections/retail/custom-engagements/templates/banner/interest-free-auto-loan/template.json b/collections/retail/custom-engagements/templates/banner/interest-free-auto-loan/template.json new file mode 100644 index 0000000..9e39832 --- /dev/null +++ b/collections/retail/custom-engagements/templates/banner/interest-free-auto-loan/template.json @@ -0,0 +1,10 @@ +{ + "name": "interest-free-auto-loans", + "description": "interest free auto loans available", + "title": "Interest Free Auto Loans", + "engagement": "custom", + "channel": "banner", + "default": false, + "thumbnailPath": "{{contextRoot}}/assets/thumbnail.png", + "tags": ["mobile","343x83"] +} diff --git a/collections/retail/custom-engagements/templates/banner/low-interest-loans/assets/Money.png b/collections/retail/custom-engagements/templates/banner/low-interest-loans/assets/Money.png new file mode 100644 index 0000000..cf4f460 Binary files /dev/null and b/collections/retail/custom-engagements/templates/banner/low-interest-loans/assets/Money.png differ diff --git a/collections/retail/custom-engagements/templates/banner/low-interest-loans/assets/index.html b/collections/retail/custom-engagements/templates/banner/low-interest-loans/assets/index.html new file mode 100644 index 0000000..e4630fc --- /dev/null +++ b/collections/retail/custom-engagements/templates/banner/low-interest-loans/assets/index.html @@ -0,0 +1,75 @@ + + + + + + + + + Low Interest Loans + + + + +
+
+

{{title}}

+ Low interest loans +
+
+ + diff --git a/collections/retail/custom-engagements/templates/banner/low-interest-loans/assets/thumbnail.png b/collections/retail/custom-engagements/templates/banner/low-interest-loans/assets/thumbnail.png new file mode 100644 index 0000000..92139e4 Binary files /dev/null and b/collections/retail/custom-engagements/templates/banner/low-interest-loans/assets/thumbnail.png differ diff --git a/collections/retail/custom-engagements/templates/banner/low-interest-loans/content-schema.json b/collections/retail/custom-engagements/templates/banner/low-interest-loans/content-schema.json new file mode 100644 index 0000000..be0515f --- /dev/null +++ b/collections/retail/custom-engagements/templates/banner/low-interest-loans/content-schema.json @@ -0,0 +1,38 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Low Interest Loans", + "description": "low interest loans available", + "type": "object", + "properties": { + "body":{ + "title": "Body of message", + "type": "object", + "properties": { + "title": { + "title": "Title", + "type": "string", + "maxLength": 50, + "default": "Low interest loans available from 2.1% APR", + "metadata": { + "placeholderText": "Enter a title (max. 50 chars)" + } + }, + "picture": { + "title": "Image", + "type": "file", + "default": "{{contextRoot}}/assets/Money.png", + "metadata": { + "renderingHint": "image" + } + } + }, + "metadata": { + "layoutPath": "{{contextRoot}}/assets/index.html" + } + } + }, + "required": [ + "title", + "picture" + ] +} diff --git a/collections/retail/custom-engagements/templates/banner/low-interest-loans/template.json b/collections/retail/custom-engagements/templates/banner/low-interest-loans/template.json new file mode 100644 index 0000000..009f9cb --- /dev/null +++ b/collections/retail/custom-engagements/templates/banner/low-interest-loans/template.json @@ -0,0 +1,10 @@ +{ + "name": "low-interest-loans", + "description": "low interest loans available", + "title": "Low Interest Loans", + "engagement": "custom", + "channel": "banner", + "default": true, + "thumbnailPath": "{{contextRoot}}/assets/thumbnail.png", + "tags": ["vertical","web","300x250"] +} diff --git a/collections/retail/custom-engagements/templates/banner/open-savings-account/assets/index.html b/collections/retail/custom-engagements/templates/banner/open-savings-account/assets/index.html new file mode 100644 index 0000000..bc7803b --- /dev/null +++ b/collections/retail/custom-engagements/templates/banner/open-savings-account/assets/index.html @@ -0,0 +1,130 @@ + + + + + Extra money? Open a savings pocket + + + + + + + + +
+
+

{{title}}

+

+ {{message}} +

+ + + + + + {{buttonText}} + +
+
+ + diff --git a/collections/retail/custom-engagements/templates/banner/open-savings-account/assets/thumbnail.png b/collections/retail/custom-engagements/templates/banner/open-savings-account/assets/thumbnail.png new file mode 100644 index 0000000..3ea4092 Binary files /dev/null and b/collections/retail/custom-engagements/templates/banner/open-savings-account/assets/thumbnail.png differ diff --git a/collections/retail/custom-engagements/templates/banner/open-savings-account/content-schema.json b/collections/retail/custom-engagements/templates/banner/open-savings-account/content-schema.json new file mode 100644 index 0000000..731a77a --- /dev/null +++ b/collections/retail/custom-engagements/templates/banner/open-savings-account/content-schema.json @@ -0,0 +1,51 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Open Savings account", + "description": "Extra money? Open a savings pocket", + "type": "object", + "properties": { + "body": { + "title": "Body of the message", + "type": "object", + "properties": { + "title": { + "title": "Title", + "type": "string", + "maxLength": 50, + "default": "Extra money? Open a savings pocket", + "metadata": { + "placeholderText": "Enter a title (max. 50 chars)" + } + }, + "message": { + "title": "Message", + "type": "string", + "maxLength": 100, + "default": "With market leading interest up to 3.2%, you'll be able to grow your money in no time.", + "metadata": { + "placeholderText": "Enter a text (max. 100 chars)", + "renderingHint": "textarea" + } + }, + "buttonText": { + "title": "Button text", + "type": "string", + "maxLength": 40, + "default": "Open an account", + "metadata": { + "placeholderText": "Enter a button text (max. 40 chars)" + } + } + }, + "metadata": { + "layoutPath": "{{contextRoot}}/assets/index.html" + } + } + }, + "required": [ + "title", + "message", + "buttonText" + ] +} + \ No newline at end of file diff --git a/collections/retail/custom-engagements/templates/banner/open-savings-account/template.json b/collections/retail/custom-engagements/templates/banner/open-savings-account/template.json new file mode 100644 index 0000000..e9eec6b --- /dev/null +++ b/collections/retail/custom-engagements/templates/banner/open-savings-account/template.json @@ -0,0 +1,11 @@ +{ + "name": "open-savings-account", + "description": "Extra money? Open a savings pocket", + "title": "Open Savings account", + "engagement": "custom", + "channel": "banner", + "default": true, + "thumbnailPath": "{{contextRoot}}/assets/thumbnail.png", + "tags": ["web","840x175"] +} + \ No newline at end of file diff --git a/collections/retail/custom-engagements/templates/apple-pay-launch-template/assets/dark.png b/collections/retail/custom-engagements/templates/message-center/apple-pay-launch-template/assets/dark.png similarity index 100% rename from collections/retail/custom-engagements/templates/apple-pay-launch-template/assets/dark.png rename to collections/retail/custom-engagements/templates/message-center/apple-pay-launch-template/assets/dark.png diff --git a/collections/retail/custom-engagements/templates/apple-pay-launch-template/assets/index.html b/collections/retail/custom-engagements/templates/message-center/apple-pay-launch-template/assets/index.html similarity index 100% rename from collections/retail/custom-engagements/templates/apple-pay-launch-template/assets/index.html rename to collections/retail/custom-engagements/templates/message-center/apple-pay-launch-template/assets/index.html diff --git a/collections/retail/custom-engagements/templates/apple-pay-launch-template/assets/thumbnail.png b/collections/retail/custom-engagements/templates/message-center/apple-pay-launch-template/assets/thumbnail.png similarity index 100% rename from collections/retail/custom-engagements/templates/apple-pay-launch-template/assets/thumbnail.png rename to collections/retail/custom-engagements/templates/message-center/apple-pay-launch-template/assets/thumbnail.png diff --git a/collections/retail/custom-engagements/templates/apple-pay-launch-template/content-schema.json b/collections/retail/custom-engagements/templates/message-center/apple-pay-launch-template/content-schema.json similarity index 100% rename from collections/retail/custom-engagements/templates/apple-pay-launch-template/content-schema.json rename to collections/retail/custom-engagements/templates/message-center/apple-pay-launch-template/content-schema.json diff --git a/collections/retail/custom-engagements/templates/apple-pay-launch-template/template.json b/collections/retail/custom-engagements/templates/message-center/apple-pay-launch-template/template.json similarity index 100% rename from collections/retail/custom-engagements/templates/apple-pay-launch-template/template.json rename to collections/retail/custom-engagements/templates/message-center/apple-pay-launch-template/template.json diff --git a/collections/retail/custom-engagements/templates/blank-template/assets/index.html b/collections/retail/custom-engagements/templates/message-center/blank-template/assets/index.html similarity index 100% rename from collections/retail/custom-engagements/templates/blank-template/assets/index.html rename to collections/retail/custom-engagements/templates/message-center/blank-template/assets/index.html diff --git a/collections/retail/custom-engagements/templates/blank-template/assets/thumbnail.png b/collections/retail/custom-engagements/templates/message-center/blank-template/assets/thumbnail.png similarity index 100% rename from collections/retail/custom-engagements/templates/blank-template/assets/thumbnail.png rename to collections/retail/custom-engagements/templates/message-center/blank-template/assets/thumbnail.png diff --git a/collections/retail/custom-engagements/templates/blank-template/content-schema.json b/collections/retail/custom-engagements/templates/message-center/blank-template/content-schema.json similarity index 100% rename from collections/retail/custom-engagements/templates/blank-template/content-schema.json rename to collections/retail/custom-engagements/templates/message-center/blank-template/content-schema.json diff --git a/collections/retail/custom-engagements/templates/blank-template/template.json b/collections/retail/custom-engagements/templates/message-center/blank-template/template.json similarity index 100% rename from collections/retail/custom-engagements/templates/blank-template/template.json rename to collections/retail/custom-engagements/templates/message-center/blank-template/template.json diff --git a/collections/retail/custom-engagements/templates/first-time-welcome-template/assets/index.html b/collections/retail/custom-engagements/templates/message-center/first-time-welcome-template/assets/index.html similarity index 100% rename from collections/retail/custom-engagements/templates/first-time-welcome-template/assets/index.html rename to collections/retail/custom-engagements/templates/message-center/first-time-welcome-template/assets/index.html diff --git a/collections/retail/custom-engagements/templates/first-time-welcome-template/assets/light.png b/collections/retail/custom-engagements/templates/message-center/first-time-welcome-template/assets/light.png similarity index 100% rename from collections/retail/custom-engagements/templates/first-time-welcome-template/assets/light.png rename to collections/retail/custom-engagements/templates/message-center/first-time-welcome-template/assets/light.png diff --git a/collections/retail/custom-engagements/templates/first-time-welcome-template/assets/thumbnail.png b/collections/retail/custom-engagements/templates/message-center/first-time-welcome-template/assets/thumbnail.png similarity index 100% rename from collections/retail/custom-engagements/templates/first-time-welcome-template/assets/thumbnail.png rename to collections/retail/custom-engagements/templates/message-center/first-time-welcome-template/assets/thumbnail.png diff --git a/collections/retail/custom-engagements/templates/first-time-welcome-template/content-schema.json b/collections/retail/custom-engagements/templates/message-center/first-time-welcome-template/content-schema.json similarity index 100% rename from collections/retail/custom-engagements/templates/first-time-welcome-template/content-schema.json rename to collections/retail/custom-engagements/templates/message-center/first-time-welcome-template/content-schema.json diff --git a/collections/retail/custom-engagements/templates/first-time-welcome-template/template.json b/collections/retail/custom-engagements/templates/message-center/first-time-welcome-template/template.json similarity index 100% rename from collections/retail/custom-engagements/templates/first-time-welcome-template/template.json rename to collections/retail/custom-engagements/templates/message-center/first-time-welcome-template/template.json diff --git a/collections/retail/custom-engagements/templates/lot-of-cards-template/assets/dark.png b/collections/retail/custom-engagements/templates/message-center/lot-of-cards-template/assets/dark.png similarity index 100% rename from collections/retail/custom-engagements/templates/lot-of-cards-template/assets/dark.png rename to collections/retail/custom-engagements/templates/message-center/lot-of-cards-template/assets/dark.png diff --git a/collections/retail/custom-engagements/templates/lot-of-cards-template/assets/index.html b/collections/retail/custom-engagements/templates/message-center/lot-of-cards-template/assets/index.html similarity index 100% rename from collections/retail/custom-engagements/templates/lot-of-cards-template/assets/index.html rename to collections/retail/custom-engagements/templates/message-center/lot-of-cards-template/assets/index.html diff --git a/collections/retail/custom-engagements/templates/lot-of-cards-template/assets/thumbnail.png b/collections/retail/custom-engagements/templates/message-center/lot-of-cards-template/assets/thumbnail.png similarity index 100% rename from collections/retail/custom-engagements/templates/lot-of-cards-template/assets/thumbnail.png rename to collections/retail/custom-engagements/templates/message-center/lot-of-cards-template/assets/thumbnail.png diff --git a/collections/retail/custom-engagements/templates/lot-of-cards-template/content-schema.json b/collections/retail/custom-engagements/templates/message-center/lot-of-cards-template/content-schema.json similarity index 100% rename from collections/retail/custom-engagements/templates/lot-of-cards-template/content-schema.json rename to collections/retail/custom-engagements/templates/message-center/lot-of-cards-template/content-schema.json diff --git a/collections/retail/custom-engagements/templates/lot-of-cards-template/template.json b/collections/retail/custom-engagements/templates/message-center/lot-of-cards-template/template.json similarity index 100% rename from collections/retail/custom-engagements/templates/lot-of-cards-template/template.json rename to collections/retail/custom-engagements/templates/message-center/lot-of-cards-template/template.json diff --git a/collections/retail/custom-engagements/templates/manager-your-cards-template/assets/index.html b/collections/retail/custom-engagements/templates/message-center/manager-your-cards-template/assets/index.html similarity index 100% rename from collections/retail/custom-engagements/templates/manager-your-cards-template/assets/index.html rename to collections/retail/custom-engagements/templates/message-center/manager-your-cards-template/assets/index.html diff --git a/collections/retail/custom-engagements/templates/manager-your-cards-template/assets/light.png b/collections/retail/custom-engagements/templates/message-center/manager-your-cards-template/assets/light.png similarity index 100% rename from collections/retail/custom-engagements/templates/manager-your-cards-template/assets/light.png rename to collections/retail/custom-engagements/templates/message-center/manager-your-cards-template/assets/light.png diff --git a/collections/retail/custom-engagements/templates/manager-your-cards-template/assets/thumbnail.png b/collections/retail/custom-engagements/templates/message-center/manager-your-cards-template/assets/thumbnail.png similarity index 100% rename from collections/retail/custom-engagements/templates/manager-your-cards-template/assets/thumbnail.png rename to collections/retail/custom-engagements/templates/message-center/manager-your-cards-template/assets/thumbnail.png diff --git a/collections/retail/custom-engagements/templates/manager-your-cards-template/content-schema.json b/collections/retail/custom-engagements/templates/message-center/manager-your-cards-template/content-schema.json similarity index 100% rename from collections/retail/custom-engagements/templates/manager-your-cards-template/content-schema.json rename to collections/retail/custom-engagements/templates/message-center/manager-your-cards-template/content-schema.json diff --git a/collections/retail/custom-engagements/templates/manager-your-cards-template/template.json b/collections/retail/custom-engagements/templates/message-center/manager-your-cards-template/template.json similarity index 100% rename from collections/retail/custom-engagements/templates/manager-your-cards-template/template.json rename to collections/retail/custom-engagements/templates/message-center/manager-your-cards-template/template.json diff --git a/collections/retail/custom-engagements/templates/pay-your-bills-template/assets/dark.png b/collections/retail/custom-engagements/templates/message-center/pay-your-bills-template/assets/dark.png similarity index 100% rename from collections/retail/custom-engagements/templates/pay-your-bills-template/assets/dark.png rename to collections/retail/custom-engagements/templates/message-center/pay-your-bills-template/assets/dark.png diff --git a/collections/retail/custom-engagements/templates/pay-your-bills-template/assets/index.html b/collections/retail/custom-engagements/templates/message-center/pay-your-bills-template/assets/index.html similarity index 100% rename from collections/retail/custom-engagements/templates/pay-your-bills-template/assets/index.html rename to collections/retail/custom-engagements/templates/message-center/pay-your-bills-template/assets/index.html diff --git a/collections/retail/custom-engagements/templates/pay-your-bills-template/assets/thumbnail.png b/collections/retail/custom-engagements/templates/message-center/pay-your-bills-template/assets/thumbnail.png similarity index 100% rename from collections/retail/custom-engagements/templates/pay-your-bills-template/assets/thumbnail.png rename to collections/retail/custom-engagements/templates/message-center/pay-your-bills-template/assets/thumbnail.png diff --git a/collections/retail/custom-engagements/templates/pay-your-bills-template/content-schema.json b/collections/retail/custom-engagements/templates/message-center/pay-your-bills-template/content-schema.json similarity index 100% rename from collections/retail/custom-engagements/templates/pay-your-bills-template/content-schema.json rename to collections/retail/custom-engagements/templates/message-center/pay-your-bills-template/content-schema.json diff --git a/collections/retail/custom-engagements/templates/pay-your-bills-template/template.json b/collections/retail/custom-engagements/templates/message-center/pay-your-bills-template/template.json similarity index 100% rename from collections/retail/custom-engagements/templates/pay-your-bills-template/template.json rename to collections/retail/custom-engagements/templates/message-center/pay-your-bills-template/template.json diff --git a/collections/retail/custom-engagements/templates/remote-downtime-alert-template/assets/index.html b/collections/retail/custom-engagements/templates/message-center/remote-downtime-alert-template/assets/index.html similarity index 100% rename from collections/retail/custom-engagements/templates/remote-downtime-alert-template/assets/index.html rename to collections/retail/custom-engagements/templates/message-center/remote-downtime-alert-template/assets/index.html diff --git a/collections/retail/custom-engagements/templates/remote-downtime-alert-template/assets/light.png b/collections/retail/custom-engagements/templates/message-center/remote-downtime-alert-template/assets/light.png similarity index 100% rename from collections/retail/custom-engagements/templates/remote-downtime-alert-template/assets/light.png rename to collections/retail/custom-engagements/templates/message-center/remote-downtime-alert-template/assets/light.png diff --git a/collections/retail/custom-engagements/templates/remote-downtime-alert-template/assets/thumbnail.png b/collections/retail/custom-engagements/templates/message-center/remote-downtime-alert-template/assets/thumbnail.png similarity index 100% rename from collections/retail/custom-engagements/templates/remote-downtime-alert-template/assets/thumbnail.png rename to collections/retail/custom-engagements/templates/message-center/remote-downtime-alert-template/assets/thumbnail.png diff --git a/collections/retail/custom-engagements/templates/remote-downtime-alert-template/content-schema.json b/collections/retail/custom-engagements/templates/message-center/remote-downtime-alert-template/content-schema.json similarity index 100% rename from collections/retail/custom-engagements/templates/remote-downtime-alert-template/content-schema.json rename to collections/retail/custom-engagements/templates/message-center/remote-downtime-alert-template/content-schema.json diff --git a/collections/retail/custom-engagements/templates/remote-downtime-alert-template/template.json b/collections/retail/custom-engagements/templates/message-center/remote-downtime-alert-template/template.json similarity index 100% rename from collections/retail/custom-engagements/templates/remote-downtime-alert-template/template.json rename to collections/retail/custom-engagements/templates/message-center/remote-downtime-alert-template/template.json diff --git a/collections/retail/custom-engagements/templates/stay-safe-template/assets/dark.png b/collections/retail/custom-engagements/templates/message-center/stay-safe-template/assets/dark.png similarity index 100% rename from collections/retail/custom-engagements/templates/stay-safe-template/assets/dark.png rename to collections/retail/custom-engagements/templates/message-center/stay-safe-template/assets/dark.png diff --git a/collections/retail/custom-engagements/templates/stay-safe-template/assets/index.html b/collections/retail/custom-engagements/templates/message-center/stay-safe-template/assets/index.html similarity index 100% rename from collections/retail/custom-engagements/templates/stay-safe-template/assets/index.html rename to collections/retail/custom-engagements/templates/message-center/stay-safe-template/assets/index.html diff --git a/collections/retail/custom-engagements/templates/stay-safe-template/assets/thumbnail.png b/collections/retail/custom-engagements/templates/message-center/stay-safe-template/assets/thumbnail.png similarity index 100% rename from collections/retail/custom-engagements/templates/stay-safe-template/assets/thumbnail.png rename to collections/retail/custom-engagements/templates/message-center/stay-safe-template/assets/thumbnail.png diff --git a/collections/retail/custom-engagements/templates/stay-safe-template/content-schema.json b/collections/retail/custom-engagements/templates/message-center/stay-safe-template/content-schema.json similarity index 100% rename from collections/retail/custom-engagements/templates/stay-safe-template/content-schema.json rename to collections/retail/custom-engagements/templates/message-center/stay-safe-template/content-schema.json diff --git a/collections/retail/custom-engagements/templates/stay-safe-template/template.json b/collections/retail/custom-engagements/templates/message-center/stay-safe-template/template.json similarity index 100% rename from collections/retail/custom-engagements/templates/stay-safe-template/template.json rename to collections/retail/custom-engagements/templates/message-center/stay-safe-template/template.json diff --git a/collections/retail/custom-engagements/templates/system-maintenance-template/assets/index.html b/collections/retail/custom-engagements/templates/message-center/system-maintenance-template/assets/index.html similarity index 100% rename from collections/retail/custom-engagements/templates/system-maintenance-template/assets/index.html rename to collections/retail/custom-engagements/templates/message-center/system-maintenance-template/assets/index.html diff --git a/collections/retail/custom-engagements/templates/system-maintenance-template/assets/light.png b/collections/retail/custom-engagements/templates/message-center/system-maintenance-template/assets/light.png similarity index 100% rename from collections/retail/custom-engagements/templates/system-maintenance-template/assets/light.png rename to collections/retail/custom-engagements/templates/message-center/system-maintenance-template/assets/light.png diff --git a/collections/retail/custom-engagements/templates/system-maintenance-template/assets/thumbnail.png b/collections/retail/custom-engagements/templates/message-center/system-maintenance-template/assets/thumbnail.png similarity index 100% rename from collections/retail/custom-engagements/templates/system-maintenance-template/assets/thumbnail.png rename to collections/retail/custom-engagements/templates/message-center/system-maintenance-template/assets/thumbnail.png diff --git a/collections/retail/custom-engagements/templates/system-maintenance-template/content-schema.json b/collections/retail/custom-engagements/templates/message-center/system-maintenance-template/content-schema.json similarity index 100% rename from collections/retail/custom-engagements/templates/system-maintenance-template/content-schema.json rename to collections/retail/custom-engagements/templates/message-center/system-maintenance-template/content-schema.json diff --git a/collections/retail/custom-engagements/templates/system-maintenance-template/template.json b/collections/retail/custom-engagements/templates/message-center/system-maintenance-template/template.json similarity index 100% rename from collections/retail/custom-engagements/templates/system-maintenance-template/template.json rename to collections/retail/custom-engagements/templates/message-center/system-maintenance-template/template.json diff --git a/collections/retail/custom-engagements/templates/travel-for-less-template/assets/dark.png b/collections/retail/custom-engagements/templates/message-center/travel-for-less-template/assets/dark.png similarity index 100% rename from collections/retail/custom-engagements/templates/travel-for-less-template/assets/dark.png rename to collections/retail/custom-engagements/templates/message-center/travel-for-less-template/assets/dark.png diff --git a/collections/retail/custom-engagements/templates/travel-for-less-template/assets/index.html b/collections/retail/custom-engagements/templates/message-center/travel-for-less-template/assets/index.html similarity index 100% rename from collections/retail/custom-engagements/templates/travel-for-less-template/assets/index.html rename to collections/retail/custom-engagements/templates/message-center/travel-for-less-template/assets/index.html diff --git a/collections/retail/custom-engagements/templates/travel-for-less-template/assets/thumbnail.png b/collections/retail/custom-engagements/templates/message-center/travel-for-less-template/assets/thumbnail.png similarity index 100% rename from collections/retail/custom-engagements/templates/travel-for-less-template/assets/thumbnail.png rename to collections/retail/custom-engagements/templates/message-center/travel-for-less-template/assets/thumbnail.png diff --git a/collections/retail/custom-engagements/templates/travel-for-less-template/content-schema.json b/collections/retail/custom-engagements/templates/message-center/travel-for-less-template/content-schema.json similarity index 100% rename from collections/retail/custom-engagements/templates/travel-for-less-template/content-schema.json rename to collections/retail/custom-engagements/templates/message-center/travel-for-less-template/content-schema.json diff --git a/collections/retail/custom-engagements/templates/travel-for-less-template/template.json b/collections/retail/custom-engagements/templates/message-center/travel-for-less-template/template.json similarity index 100% rename from collections/retail/custom-engagements/templates/travel-for-less-template/template.json rename to collections/retail/custom-engagements/templates/message-center/travel-for-less-template/template.json diff --git a/collections/retail/custom-engagements/templates/overlays/go-paperless/assets/image.png b/collections/retail/custom-engagements/templates/overlays/go-paperless/assets/image.png new file mode 100644 index 0000000..c2c8a3f Binary files /dev/null and b/collections/retail/custom-engagements/templates/overlays/go-paperless/assets/image.png differ diff --git a/collections/retail/custom-engagements/templates/overlays/go-paperless/assets/index.html b/collections/retail/custom-engagements/templates/overlays/go-paperless/assets/index.html new file mode 100644 index 0000000..a440c06 --- /dev/null +++ b/collections/retail/custom-engagements/templates/overlays/go-paperless/assets/index.html @@ -0,0 +1,273 @@ + + + + + Go paperless + + + + + + + + + + +
+ money +

+ {{title}} +

+

+ {{message}} +

+ + {{anchor.anchorText}} + +
+ + + \ No newline at end of file diff --git a/collections/retail/custom-engagements/templates/overlays/go-paperless/assets/thumbnail.png b/collections/retail/custom-engagements/templates/overlays/go-paperless/assets/thumbnail.png new file mode 100644 index 0000000..cd06482 Binary files /dev/null and b/collections/retail/custom-engagements/templates/overlays/go-paperless/assets/thumbnail.png differ diff --git a/collections/retail/custom-engagements/templates/overlays/go-paperless/content-schema.json b/collections/retail/custom-engagements/templates/overlays/go-paperless/content-schema.json new file mode 100644 index 0000000..198966c --- /dev/null +++ b/collections/retail/custom-engagements/templates/overlays/go-paperless/content-schema.json @@ -0,0 +1,72 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Go paperless", + "description": "Go paperless", + "type": "object", + "properties": { + "body": { + "title": "Body of the message", + "type": "object", + "properties": { + "title": { + "title": "Title", + "type": "string", + "maxLength": 50, + "default": "Go paperless with ease today", + "metadata": { + "placeholderText": "Enter title(Maximum 50 characters).", + "renderingHint": "text" + } + }, + "message": { + "title": "Body", + "type": "string", + "maxLength": 300, + "default": "Activate e-statements. Update your settings today", + "metadata": { + "placeholderText": "Enter body(Maximum 300 characters).", + "renderingHint": "textarea" + } + }, + "picture": { + "title": "Image", + "type": "file", + "default": "{{contextRoot}}/assets/image.png", + "metadata": { + "renderingHint": "image" + } + }, + "anchor": { + "title": "Button 1", + "type": "object", + "properties": { + "anchorText": { + "title": "Button text", + "type": "string", + "maxLength": 25, + "default": "Activate e-statements", + "metadata": { + "placeholderText": "Enter a button text (max. 25 chars)" + } + }, + "routing": { + "title": "Button Routing", + "type": "string", + "metadata": { + "renderingHint": "routing" + } + } + }, + "required":[ + "anchorText", "routing" + ] + } + }, + "required": ["title", "picture"], + "metadata": { + "layoutPath": "{{contextRoot}}/assets/index.html" + } + } + }, + "required": ["body"] +} diff --git a/collections/retail/custom-engagements/templates/overlays/go-paperless/template.json b/collections/retail/custom-engagements/templates/overlays/go-paperless/template.json new file mode 100644 index 0000000..437e62e --- /dev/null +++ b/collections/retail/custom-engagements/templates/overlays/go-paperless/template.json @@ -0,0 +1,11 @@ +{ + "name": "go-paperless", + "description": "Go paperless", + "title": "Go paperless", + "engagement": "custom", + "channel": "overlays", + "default": false, + "thumbnailPath": "{{contextRoot}}/assets/thumbnail.png", + "tags": [] + } + \ No newline at end of file diff --git a/collections/retail/custom-engagements/templates/overlays/travel-stress-free/assets/image.png b/collections/retail/custom-engagements/templates/overlays/travel-stress-free/assets/image.png new file mode 100644 index 0000000..2f07fba Binary files /dev/null and b/collections/retail/custom-engagements/templates/overlays/travel-stress-free/assets/image.png differ diff --git a/collections/retail/custom-engagements/templates/overlays/travel-stress-free/assets/index.html b/collections/retail/custom-engagements/templates/overlays/travel-stress-free/assets/index.html new file mode 100644 index 0000000..90b9db3 --- /dev/null +++ b/collections/retail/custom-engagements/templates/overlays/travel-stress-free/assets/index.html @@ -0,0 +1,272 @@ + + + + + Travel Stress Free + + + + + + + + + + +
+ money +

+ {{title}} +

+

+ {{message}} +

+ + {{anchor.anchorText}} + +
+ + + \ No newline at end of file diff --git a/collections/retail/custom-engagements/templates/overlays/travel-stress-free/assets/thumbnail.png b/collections/retail/custom-engagements/templates/overlays/travel-stress-free/assets/thumbnail.png new file mode 100644 index 0000000..b0bdf66 Binary files /dev/null and b/collections/retail/custom-engagements/templates/overlays/travel-stress-free/assets/thumbnail.png differ diff --git a/collections/retail/custom-engagements/templates/overlays/travel-stress-free/content-schema.json b/collections/retail/custom-engagements/templates/overlays/travel-stress-free/content-schema.json new file mode 100644 index 0000000..f6f0277 --- /dev/null +++ b/collections/retail/custom-engagements/templates/overlays/travel-stress-free/content-schema.json @@ -0,0 +1,72 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Travel Stress Free", + "description": "Travel Stress Free", + "type": "object", + "properties": { + "body": { + "title": "Body of the message", + "type": "object", + "properties": { + "title": { + "title": "Title", + "type": "string", + "maxLength": 50, + "default": "Travel Stress Free", + "metadata": { + "placeholderText": "Enter title(Maximum 50 characters).", + "renderingHint": "text" + } + }, + "message": { + "title": "Body", + "type": "string", + "maxLength": 300, + "default": "Continuous travel insurance is useful if you travel several times a year and you want to be insured all year round. You can also expand the insurance with additional coverage, which you can change at any time.", + "metadata": { + "placeholderText": "Enter body(Maximum 300 characters).", + "renderingHint": "textarea" + } + }, + "picture": { + "title": "Image", + "type": "file", + "default": "{{contextRoot}}/assets/image.png", + "metadata": { + "renderingHint": "image" + } + }, + "anchor": { + "title": "Button 1", + "type": "object", + "properties": { + "anchorText": { + "title": "Button text", + "type": "string", + "maxLength": 25, + "default": "Activate travel insurance", + "metadata": { + "placeholderText": "Enter a button text (max. 25 chars)" + } + }, + "routing": { + "title": "Button Routing", + "type": "string", + "metadata": { + "renderingHint": "routing" + } + } + }, + "required":[ + "anchorText", "routing" + ] + } + }, + "required": ["title", "picture"], + "metadata": { + "layoutPath": "{{contextRoot}}/assets/index.html" + } + } + }, + "required": ["body"] +} diff --git a/collections/retail/custom-engagements/templates/overlays/travel-stress-free/template.json b/collections/retail/custom-engagements/templates/overlays/travel-stress-free/template.json new file mode 100644 index 0000000..3018942 --- /dev/null +++ b/collections/retail/custom-engagements/templates/overlays/travel-stress-free/template.json @@ -0,0 +1,11 @@ +{ + "name": "travel-stress-free", + "description": "Travel Stress Free", + "title": "Travel Stress Free", + "engagement": "custom", + "channel": "overlays", + "default": false, + "thumbnailPath": "{{contextRoot}}/assets/thumbnail.png", + "tags": [] + } + \ No newline at end of file diff --git a/collections/retail/custom-engagements/templates/push/push-template/additions/channel-settings.json b/collections/retail/custom-engagements/templates/push/push-template/additions/channel-settings.json new file mode 100644 index 0000000..4fb1bc6 --- /dev/null +++ b/collections/retail/custom-engagements/templates/push/push-template/additions/channel-settings.json @@ -0,0 +1,22 @@ +{ + "appName": "model-bank", + "payload": { + "android": { + "settings": { + "sound": "default", + "color": "default", + "icon": "hello" + } + }, + "ios": { + "settings": { + "category": "ENGAGEMENT", + "sound": "default", + "interruption-level": "active" + } + }, + "data": { + "level": "INFO" + } + } +} \ No newline at end of file diff --git a/collections/retail/custom-engagements/templates/push/push-template/content-schema.json b/collections/retail/custom-engagements/templates/push/push-template/content-schema.json new file mode 100644 index 0000000..4a22790 --- /dev/null +++ b/collections/retail/custom-engagements/templates/push/push-template/content-schema.json @@ -0,0 +1,33 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Template for push campaign for Retail", + "description": "Template for push notification", + "type": "object", + "properties": { + "title": { + "title": "Title", + "type": "string", + "maxLength": 75, + "metadata": { + "placeholderText": "Enter a title (max. 75 chars)", + "renderingHint": "textarea", + "customErrorMessages" : { + "required": "Please provide a title" + } + } + }, + "body": { + "title": "Body", + "type": "string", + "maxLength": 256, + "metadata": { + "placeholderText": "Enter a body message (max. 256 chars)", + "renderingHint": "textarea", + "customErrorMessages" : { + "required": "Please provide a body text" + } + } + } + }, + "required": ["title", "body"] +} diff --git a/collections/retail/custom-engagements/templates/push/push-template/template.json b/collections/retail/custom-engagements/templates/push/push-template/template.json new file mode 100644 index 0000000..07a5f2f --- /dev/null +++ b/collections/retail/custom-engagements/templates/push/push-template/template.json @@ -0,0 +1,8 @@ +{ + "name":"push-template", + "description":"Push template for custom engagement", + "title":"Push Template", + "engagement": "custom", + "default": true, + "channel": "push" +} \ No newline at end of file