@openfn/language-wigal-sms 0.1.2 → 0.1.4

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
@@ -1,67 +1,5 @@
1
1
  {
2
2
  "operations": [
3
- {
4
- "name": "execute",
5
- "params": [
6
- "operations"
7
- ],
8
- "docs": {
9
- "description": "SMS Request Object",
10
- "tags": [
11
- {
12
- "title": "typedef",
13
- "description": null,
14
- "type": {
15
- "type": "NameExpression",
16
- "name": "Object"
17
- },
18
- "name": "SMSRequestObject"
19
- },
20
- {
21
- "title": "public",
22
- "description": null,
23
- "type": null
24
- },
25
- {
26
- "title": "property",
27
- "description": "The senderID used for sending message. Approved SenderIDs only",
28
- "type": {
29
- "type": "NameExpression",
30
- "name": "string"
31
- },
32
- "name": "senderid"
33
- },
34
- {
35
- "title": "property",
36
- "description": "An array of objects containing the destination phone number and message to be sent",
37
- "type": {
38
- "type": "NameExpression",
39
- "name": "array"
40
- },
41
- "name": "destinations"
42
- },
43
- {
44
- "title": "property",
45
- "description": "The message to be sent to the destinations",
46
- "type": {
47
- "type": "NameExpression",
48
- "name": "string"
49
- },
50
- "name": "message"
51
- },
52
- {
53
- "title": "property",
54
- "description": "The type of message to be sent. Default is 'text'",
55
- "type": {
56
- "type": "NameExpression",
57
- "name": "string"
58
- },
59
- "name": "smstype"
60
- }
61
- ]
62
- },
63
- "valid": false
64
- },
65
3
  {
66
4
  "name": "sendSms",
67
5
  "params": [
@@ -72,12 +10,12 @@
72
10
  "tags": [
73
11
  {
74
12
  "title": "example",
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});",
13
+ "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});",
76
14
  "caption": "Send General SMS message"
77
15
  },
78
16
  {
79
17
  "title": "example",
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});",
18
+ "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});",
81
19
  "caption": "Send Personalized SMS message"
82
20
  },
83
21
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfn/language-wigal-sms",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "OpenFn wigal-sms adaptor",
5
5
  "type": "module",
6
6
  "exports": {
@@ -21,7 +21,7 @@
21
21
  ],
22
22
  "dependencies": {
23
23
  "undici": "^5.28.4",
24
- "@openfn/language-common": "2.3.0"
24
+ "@openfn/language-common": "2.3.1"
25
25
  },
26
26
  "devDependencies": {
27
27
  "assertion-error": "2.0.0",
@@ -26,14 +26,14 @@ export function execute(...operations: Operation): State;
26
26
  * Send SMS using Wigal SMS Gateway API
27
27
  *
28
28
  * @example <caption>Send General SMS message</caption>
29
- * sendSMS({
29
+ * sendSms({
30
30
  * senderid: "Stevkky",
31
31
  * destinations: [{ destination: "0552825710" }],
32
32
  * message: "This is a sample message for SMS sending via Wigal FROG API.",
33
33
  * smstype: "text",
34
34
  * });
35
35
  * @example <caption>Send Personalized SMS message</caption>
36
- * sendSMS({
36
+ * sendSms({
37
37
  * senderid: "Stevkky",
38
38
  * destinations: [
39
39
  * {