Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PinBasedAuthentication #331

Merged
merged 5 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.61.1](https://github.com/plivo/plivo-node/tree/v4.61.1) (2024-04-15)
**Feature - Pin Based Authentication, SubAccount and GeoMatch**
- Pin Based Authentication, SubAccount and GeoMatch added in Create Session API

## [v4.61.0](https://github.com/plivo/plivo-node/tree/v4.61.0) (2024-03-13)
**Feature - Import Campaign API**
- Import Campaign API endpoint added
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.61.0",
"version": "4.61.1",
"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
Loading