Skip to content

Commit

Permalink
Merge pull request #331 from plivo/VT-7492
Browse files Browse the repository at this point in the history
PinBasedAuthentication
  • Loading branch information
manjunath-plivo authored May 2, 2024
2 parents cab5d09 + c564eed commit 2304ee8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [v4.63.0](https://github.com/plivo/plivo-node/tree/v4.63.0) (2024-05-02)
**Feature - Pin Based Authentication, SubAccount and GeoMatch for Number Masking**
- Pin Based Authentication, SubAccount and GeoMatch added in Create Session API for Number Masking

## [v4.62.0](https://github.com/plivo/plivo-node/tree/v4.62.0) (2024-04-18)
**Feature - Support for dynamic button components when sending a templated WhatsApp message**
- Added new param `payload` in templates to support dynamic payload in templates
Expand Down
12 changes: 12 additions & 0 deletions lib/resources/maskingSession.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,18 @@ export class MaskingSessionInterface extends PlivoResourceInterface {
* @param {string} [params.firstPartyPlayUrl] - The URL to play audio to the first party when the call is established.
* @param {string} [params.secondPartyPlayUrl] - The URL to play audio to the second party when the call is established.
* @param {string} [params.recordingCallbackMethod] - The HTTP method for the recording callback request.
* @param {boolean} [params.isPinAuthenticationRequired] - Indicates we need to authenticate pin or not.
* @param {boolean} [params.generatePin] - Indicates we need to generate pin or not.
* @param {number} [params.generatePinLength] - Pin length, by default = 4.
* @param {string} [params.firstPartyPin] - First Party Pin.
* @param {string} [params.secondPartyPin] - Second Party Pin.
* @param {string} [params.pinPromptPlay] - Sound url to play during pin prompt.
* @param {number} [params.pinRetry] - No of times retry allowed for wrong/invalid pin.
* @param {number} [params.pinRetryWait] - Wait between consecutive retry.
* @param {string} [params.incorrectPinPlay] - Sound url to play when wrong/invalid pin entered.
* @param {boolean} [params.unknownCallerPlay] - Sound url to play for unknown caller.
* @param {string} [params.subAccount] - SubAccount to create session.
* @param {boolean} [params.geoMatch] - GeoMatch to filter no.
* @promise {object} returns PlivoGenericResponse Object
* @fail {Error} returns Error
*/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plivo",
"version": "4.62.0",
"version": "4.63.0",
"description": "A Node.js SDK to make voice calls and send SMS using Plivo and to generate Plivo XML",
"homepage": "https://github.com/plivo/plivo-node",
"files": [
Expand Down

0 comments on commit 2304ee8

Please sign in to comment.