-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from Backbase/feature/HRMS-595
Added SMS channel to Account Balance Low GN
- Loading branch information
Showing
5 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
...ifications/account-balance-changed/account-balance-low/sms/en_US/engagement-template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"message": "Hi {{{user.preferredName}}}, your {{{event.alias}}} balance just went below threshold. The current balance is {{formatAmount event.currentBalance locale}}" | ||
} |
3 changes: 3 additions & 0 deletions
3
...l-notifications/account-balance-changed/account-balance-low/sms/sms_channel-settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"from": "BACKBASE" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
...ctions/retail/general-notifications/templates/account-balance-low-sms/content-schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Account Balance Low Retail", | ||
"description": "Action event for sms notifications when account balance is under a specific number(low)", | ||
"type": "object", | ||
"properties": { | ||
"title": { | ||
"title": "Title", | ||
"type": "string", | ||
"metadata": { | ||
"placeholderText": "Enter a title (max. 50 chars)", | ||
"renderingHint": "textarea", | ||
"customErrorMessages" : { | ||
"required": "Please provide a title" | ||
} | ||
}, | ||
"default": "Account balance low" | ||
}, | ||
"body": { | ||
"title": "Body", | ||
"type": "string", | ||
"metadata": { | ||
"placeholderText": "Enter a body message (max. 2000 chars)", | ||
"renderingHint": "textarea", | ||
"customErrorMessages" : { | ||
"required": "Please provide a body text" | ||
} | ||
}, | ||
"default": "Check your account now!" | ||
} | ||
}, | ||
"required": ["title", "body"] | ||
} |
8 changes: 8 additions & 0 deletions
8
collections/retail/general-notifications/templates/account-balance-low-sms/template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name":"account-balance-low-sms", | ||
"description":"Sms template for Account Balance Low general notification", | ||
"title":"Account Balance Low", | ||
"engagement": "general-notification", | ||
"channel": "sms", | ||
"placeholderGroups":["accountBalanceChanged", "userProfile"] | ||
} |