From 75a12ec2357c934236d8b4177fe5940fac14559d Mon Sep 17 00:00:00 2001 From: ajay-plivo Date: Mon, 15 Apr 2024 19:01:04 +0530 Subject: [PATCH 1/4] PinBasedAuthentication --- CHANGELOG.md | 4 ++++ lib/resources/maskingSession.js | 10 ++++++++++ package.json | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6eea10cb..338aa7bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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** +- Pin Based Authentication 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 diff --git a/lib/resources/maskingSession.js b/lib/resources/maskingSession.js index d9c74fba..b071b273 100644 --- a/lib/resources/maskingSession.js +++ b/lib/resources/maskingSession.js @@ -105,6 +105,16 @@ 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 {string} [params.isPinAuthenticationRequired] - The HTTP method for the recording callback request. + * @param {string} [params.generatePin] - The HTTP method for the recording callback request. + * @param {string} [params.generatePinLength] - The HTTP method for the recording callback request. + * @param {string} [params.firstPartyPin] - The HTTP method for the recording callback request. + * @param {string} [params.secondPartyPin] - The HTTP method for the recording callback request. + * @param {string} [params.pinPromptPlay] - The HTTP method for the recording callback request. + * @param {string} [params.pinRetry] - The HTTP method for the recording callback request. + * @param {string} [params.pinRetryWait] - The HTTP method for the recording callback request. + * @param {string} [params.incorrectPinPlay] - The HTTP method for the recording callback request. + * @param {string} [params.unknownCallerPlay] - The HTTP method for the recording callback request. * @promise {object} returns PlivoGenericResponse Object * @fail {Error} returns Error */ diff --git a/package.json b/package.json index 833f19bc..4f2f49a5 100644 --- a/package.json +++ b/package.json @@ -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": [ From 34a5a510cd7885c140b3918c9387771450f8d389 Mon Sep 17 00:00:00 2001 From: ajay-plivo Date: Tue, 16 Apr 2024 11:27:07 +0530 Subject: [PATCH 2/4] subaccount and geomatch --- CHANGELOG.md | 4 ++-- lib/resources/maskingSession.js | 22 ++++++++++++---------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 338aa7bd..899ce29d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # Change Log ## [v4.61.1](https://github.com/plivo/plivo-node/tree/v4.61.1) (2024-04-15) -**Feature - Pin Based Authentication** -- Pin Based Authentication Added in Create Session API +**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** diff --git a/lib/resources/maskingSession.js b/lib/resources/maskingSession.js index b071b273..460c69f7 100644 --- a/lib/resources/maskingSession.js +++ b/lib/resources/maskingSession.js @@ -105,16 +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 {string} [params.isPinAuthenticationRequired] - The HTTP method for the recording callback request. - * @param {string} [params.generatePin] - The HTTP method for the recording callback request. - * @param {string} [params.generatePinLength] - The HTTP method for the recording callback request. - * @param {string} [params.firstPartyPin] - The HTTP method for the recording callback request. - * @param {string} [params.secondPartyPin] - The HTTP method for the recording callback request. - * @param {string} [params.pinPromptPlay] - The HTTP method for the recording callback request. - * @param {string} [params.pinRetry] - The HTTP method for the recording callback request. - * @param {string} [params.pinRetryWait] - The HTTP method for the recording callback request. - * @param {string} [params.incorrectPinPlay] - The HTTP method for the recording callback request. - * @param {string} [params.unknownCallerPlay] - 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 */ From a7e01b812227eb251d986698f3e3a93d081cc619 Mon Sep 17 00:00:00 2001 From: ajay-plivo Date: Thu, 2 May 2024 13:33:42 +0530 Subject: [PATCH 3/4] descriptionUpdated --- CHANGELOG.md | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae6f1f58..7ac93ae8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # Change Log -## [v4.62.1](https://github.com/plivo/plivo-node/tree/v4.62.1) (2024-04-15) -**Feature - Pin Based Authentication, SubAccount and GeoMatch** -- Pin Based Authentication, SubAccount and GeoMatch added in Create Session API +## [v4.63.0](https://github.com/plivo/plivo-node/tree/v4.62.1) (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** diff --git a/package.json b/package.json index ea30fad1..ecb078e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "plivo", - "version": "4.62.1", + "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": [ From c564eeded05c16be1f01f4f6593b120de89b52ed Mon Sep 17 00:00:00 2001 From: manjunath-plivo <85923934+manjunath-plivo@users.noreply.github.com> Date: Thu, 2 May 2024 15:33:29 +0530 Subject: [PATCH 4/4] correct version --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ac93ae8..efa586fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## [v4.63.0](https://github.com/plivo/plivo-node/tree/v4.62.1) (2024-05-02) +## [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