@openfn/language-wigal-sms 0.1.0 → 0.1.1

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 CHANGED
@@ -61,6 +61,54 @@
61
61
  ]
62
62
  },
63
63
  "valid": false
64
+ },
65
+ {
66
+ "name": "sendSms",
67
+ "params": [
68
+ "data"
69
+ ],
70
+ "docs": {
71
+ "description": "Send SMS using Wigal SMS Gateway API",
72
+ "tags": [
73
+ {
74
+ "title": "public",
75
+ "description": null,
76
+ "type": null
77
+ },
78
+ {
79
+ "title": "example",
80
+ "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});",
81
+ "caption": "Send General SMS message"
82
+ },
83
+ {
84
+ "title": "example",
85
+ "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
+ "caption": "Send Personalized SMS message"
87
+ },
88
+ {
89
+ "title": "param",
90
+ "description": "SMS payload to push to Wigal. This includes the message, phone number, etc",
91
+ "type": {
92
+ "type": "NameExpression",
93
+ "name": "SMSRequestObject"
94
+ },
95
+ "name": "data"
96
+ },
97
+ {
98
+ "title": "returns",
99
+ "description": null,
100
+ "type": {
101
+ "type": "NameExpression",
102
+ "name": "Operation"
103
+ }
104
+ },
105
+ {
106
+ "title": "state",
107
+ "description": "{SendSMSState}"
108
+ }
109
+ ]
110
+ },
111
+ "valid": true
64
112
  }
65
113
  ],
66
114
  "exports": [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfn/language-wigal-sms",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "OpenFn wigal-sms adaptor",
5
5
  "type": "module",
6
6
  "exports": {
@@ -25,6 +25,7 @@ export function execute(...operations: Operation): State;
25
25
  /**
26
26
  * Send SMS using Wigal SMS Gateway API
27
27
  *
28
+ * @public
28
29
  * @example <caption>Send General SMS message</caption>
29
30
  * sendSMS({
30
31
  * senderid: "Stevkky",