-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.json
163 lines (163 loc) · 5.71 KB
/
plugin.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"name": "nexmo_converseai",
"displayName": "Nexmo",
"description": "Nexmo plugin providing access to cloud communications functionality",
"category": "",
"documentLink": "",
"needsOAuth": false,
"providerData": [
{
"param": "api_key",
"displayName": "Api Key",
"description": "API Key",
"type": "STRING",
"optional": false
},
{
"param": "api_secret",
"displayName": "Api Secret",
"description": "API Secret",
"type": "PASSWORD",
"optional": false
},
{
"param": "application_id",
"displayName": "Application Id",
"description": "Nexmo Application ID",
"type": "TEXT",
"optional": true
},
{
"param": "application_private_key",
"displayName": "Nexmo Application Private Key",
"description": "Nexmo Application Private Key",
"type": "STRING",
"optional": true
}
],
"module": [
{
"id": "send_sms",
"name": "Send SMS Message",
"description": "Send an SMS message via Nexmo",
"hasReturn": true,
"param": [
{
"param": "from",
"displayName": "From",
"description": "The phone number or alphanumeric sender ID the SMS is being sent from",
"type": "STRING",
"optional": false
},
{
"param": "to",
"displayName": "To",
"description": "The phone number the SMS is to be sent to",
"type": "STRING",
"optional": false
},
{
"param": "text",
"displayName": "Text",
"description": "The message text to be sent in the SMS",
"type": "STRING",
"optional": false
},
{
"param": "unicode",
"displayName": "Unicode",
"description": "A flag to indicate if the message contains special characters",
"type": "BOOLEAN",
"optional": true
}
]
},
{
"id": "send_verify_pin_code",
"name": "Send Verify PIN Code",
"description": "Send a Verify PIN code to start the phone number verification process",
"hasReturn": true,
"param": [
{
"param": "number",
"displayName": "Number",
"description": "The phone number that the PIN code is to be sent to.",
"type": "STRING",
"optional": false
},
{
"param": "country",
"displayName": "Country",
"description": "If do not set number in international format or you are not sure if number is correctly formatted, set country with the two-character country code. For example, GB, US. Verify works out the international phone number for you.",
"type": "STRING",
"optional": true
},
{
"param": "brand",
"displayName": "Brand",
"description": "The name of the company or App you are using Verify for. This 18 character alphanumeric string is used in the body of Verify message. For example: \"Your brand PIN is ..\".",
"type": "STRING",
"optional": false
},
{
"param": "sender_id",
"displayName": "Sender Id",
"description": "An 11 character alphanumeric string to specify the SenderID for SMS sent by Verify. Depending on the destination of the phone number you are applying, restrictions may apply. By default, sender_id is VERIFY.",
"type": "STRING",
"optional": true
},
{
"param": "code_length",
"displayName": "Code Length",
"description": "The length of the PIN. Possible values are 6 or 4 characters. The default value is 4.",
"type": "NUMBER",
"optional": true
},
{
"param": "language",
"displayName": "Language",
"description": "By default, the SMS or text-to-speech (TTS) message is generated in the locale that matches the number. For example, the text message or TTS message for a 33* number is sent in French. Use this parameter to explicitly control the language, accent and gender used for the Verify request. The default language is en-us.",
"type": "STRING",
"optional": true
},
{
"param": "pin_expiry",
"displayName": "PIN Expiry",
"description": "The PIN validity time from generation. This is an integer value between 60 and 3600 seconds. The default is 300 seconds. When specified together, pin_expiry must be an integer multiple of nextEventWaitSeconds. Otherwise, pin_expiry is set to equal nextEventWaitSeconds.",
"type": "NUMBER",
"optional": true
},
{
"param": "next_event_wait_seconds",
"displayName": "Next Event Wait Seconds",
"description": "An integer value between 60 and 900 seconds inclusive that specifies the wait time between attempts to deliver the PIN. Verify calculates the default value based on the average time taken by users to complete verification.",
"type": "NUMBER",
"optional": true
}
]
},
{
"id": "check_verify_pin_code",
"name": "Check Verify PIN Code",
"description": "Check a Nexmo Verification PIN Code",
"hasReturn": true,
"param": [
{
"param": "request_id",
"displayName": "Request ID",
"description": "A unique ID for an active verify request",
"type": "STRING",
"optional": false
},
{
"param": "pin_code",
"displayName": "PIN Code",
"description": "The PIN given by your user to be checked",
"type": "STRING",
"optional": false
}
]
}
],
"hasOAuth": false
}