forked from moqui/moqui-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #1 from moqui/master
Upstream 2022-01-14
- Loading branch information
Showing
2 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
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
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,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
This software is in the public domain under CC0 1.0 Universal plus a | ||
Grant of Patent License. | ||
To the extent possible under law, the author(s) have dedicated all | ||
copyright and related and neighboring rights to this software to the | ||
public domain worldwide. This software is distributed without any | ||
warranty. | ||
You should have received a copy of the CC0 Public Domain Dedication | ||
along with this software (see the LICENSE.md file). If not, see | ||
<http://creativecommons.org/publicdomain/zero/1.0/>. | ||
--> | ||
<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/service-definition-2.1.xsd"> | ||
<!-- this overrides the org.moqui.SmsServices.send#SmsMessage service to add an implementation --> | ||
<service verb="send" noun="SmsMessage" authenticate="anonymous-view"> | ||
<in-parameters> | ||
<parameter name="countryCode" default-value="1"/> | ||
<parameter name="areaCode"/> | ||
<parameter name="contactNumber" required="true"> | ||
<description>If there is a single string for phone number pass it here, may include a country code if begins with '+'</description></parameter> | ||
<parameter name="message" required="true"/> | ||
<parameter name="isPromotional" default="false" type="Boolean"/> | ||
</in-parameters> | ||
<out-parameters> | ||
<parameter name="successful" type="Boolean"/> | ||
<parameter name="messageId"/> | ||
<parameter name="errorMessage"/> | ||
</out-parameters> | ||
<actions> | ||
<service-call name="moqui.aws.SnsServices.publish#SmsMessage" in-map="context" out-map="context"/> | ||
</actions> | ||
</service> | ||
</services> |