diff --git a/CHANGELOG.md b/CHANGELOG.md index e046f832..efa586fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/lib/resources/maskingSession.js b/lib/resources/maskingSession.js index d9c74fba..460c69f7 100644 --- a/lib/resources/maskingSession.js +++ b/lib/resources/maskingSession.js @@ -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 */ diff --git a/package.json b/package.json index 161ce2dc..ecb078e4 100644 --- a/package.json +++ b/package.json @@ -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": [