@openfn/language-wigal-sms 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ast.json +10 -5
- package/package.json +1 -1
- package/types/Adaptor.d.ts +2 -1
package/ast.json
CHANGED
|
@@ -70,11 +70,6 @@
|
|
|
70
70
|
"docs": {
|
|
71
71
|
"description": "Send SMS using Wigal SMS Gateway API",
|
|
72
72
|
"tags": [
|
|
73
|
-
{
|
|
74
|
-
"title": "public",
|
|
75
|
-
"description": null,
|
|
76
|
-
"type": null
|
|
77
|
-
},
|
|
78
73
|
{
|
|
79
74
|
"title": "example",
|
|
80
75
|
"description": "sendSMS({\n senderid: \"Stevkky\",\n destinations: [{ destination: \"0552825710\" }],\n message: \"This is a sample message for SMS sending via Wigal FROG API.\",\n smstype: \"text\",\n});",
|
|
@@ -85,6 +80,16 @@
|
|
|
85
80
|
"description": "sendSMS({\n senderid: \"Stevkky\",\n destinations: [\n {\n destination: \"0542709440\",\n message: \"Hello Joe your order is ready\",\n msgid: \"MGS1010101\",\n smstype: \"text\",\n },\n ],\n});",
|
|
86
81
|
"caption": "Send Personalized SMS message"
|
|
87
82
|
},
|
|
83
|
+
{
|
|
84
|
+
"title": "function",
|
|
85
|
+
"description": null,
|
|
86
|
+
"name": null
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"title": "public",
|
|
90
|
+
"description": null,
|
|
91
|
+
"type": null
|
|
92
|
+
},
|
|
88
93
|
{
|
|
89
94
|
"title": "param",
|
|
90
95
|
"description": "SMS payload to push to Wigal. This includes the message, phone number, etc",
|
package/package.json
CHANGED
package/types/Adaptor.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ export function execute(...operations: Operation): State;
|
|
|
25
25
|
/**
|
|
26
26
|
* Send SMS using Wigal SMS Gateway API
|
|
27
27
|
*
|
|
28
|
-
* @public
|
|
29
28
|
* @example <caption>Send General SMS message</caption>
|
|
30
29
|
* sendSMS({
|
|
31
30
|
* senderid: "Stevkky",
|
|
@@ -45,6 +44,8 @@ export function execute(...operations: Operation): State;
|
|
|
45
44
|
* },
|
|
46
45
|
* ],
|
|
47
46
|
* });
|
|
47
|
+
* @function
|
|
48
|
+
* @public
|
|
48
49
|
* @param {SMSRequestObject} data - SMS payload to push to Wigal. This includes the message, phone number, etc
|
|
49
50
|
* @returns {Operation}
|
|
50
51
|
* @state {SendSMSState}
|