@telnyx/node-red-telnyx
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "@telnyx/node-red-telnyx", | ||
"description": "A Node-RED node interacting with Telnyx", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"scripts": { | ||
@@ -6,0 +6,0 @@ "test": "echo \"Error: no test specified\" && exit 1" |
@@ -23,8 +23,6 @@ | ||
- [Usage](#usage) | ||
- [telnyx-sms](#telnyx-sms) | ||
- [telnyx-2fa](#telnyx-2fa) | ||
- [Releases](#releases) | ||
</div> | ||
<div> | ||
<a name="install"></a> | ||
@@ -42,4 +40,13 @@ ## Installation | ||
<a name="usage"></a> | ||
## Usage | ||
</div> | ||
<div> | ||
<a name="telnyx-sms"></a> | ||
### telnyx-sms | ||
 | ||
The package needs to be configured with your account's API key and some other details you can find in your the <a href ="https://portal.telnyx.com/#/app/auth/v2" target="_new">Telnyx Mission Control Portal</a>. | ||
@@ -52,6 +59,2 @@ | ||
</ul> | ||
To get started, <a href="https://telnyx.com/sign-up" target="_new">sign up</a> for a Portal account, then follow the steps in our quickstart guide to buy an SMS-enabled number. | ||
<pre> | ||
@@ -62,6 +65,25 @@ <span style="color: #ae2535;">msg.payload</span> should contain the content of the SMS message. | ||
</div> | ||
<div> | ||
<a name="telnyx-2fa"></a> | ||
### telnyx-2fa | ||
 | ||
<b><i>Generating the 2FA</b></i><br/> | ||
The telnyx-2fa node MUST receive in input a boolean <code>msg.payload.verify</code> with <b>false</b> state, along with the telnyx-2fa parameters <code>Verify Profile</code> and <code>To</code>. | ||
<b><i>Verify the Received Code by Phone Number</b></i><br/> | ||
The telnyx-2fa node MUST receive in input a boolean msg.payload.verify with <b>true</b> state, along with the <code>msg.payload.code</code> cotaining the code received in the previous generated SMS, along with the shared parameters <code>Verify Profile</code> and <code>To</code>, already configured for telnyx-2fa. | ||
To get started, <a href="https://telnyx.com/sign-up" target="_new">sign up</a> for a Portal account, then follow the steps in our quickstart guide to buy an SMS-enabled number. | ||
</div> | ||
<div> | ||
<a name="releases"></a> | ||
## Releases | ||
Look at the release section to check the current state | ||
Look at the release section to check the current state | ||
</duV> |
38183
19
85