From a762f4a9dd98f4e9367adafe1ba226b636e6eafa Mon Sep 17 00:00:00 2001 From: ajay-plivo Date: Mon, 15 Apr 2024 19:24:50 +0530 Subject: [PATCH 1/4] PinBasedAuthentication --- CHANGELOG.md | 4 ++++ .../MaskingSession/MaskingSessionInterface.php | 10 ++++++++++ src/Plivo/Version.php | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5909c9a..0a40f0f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## [4.60.1](https://github.com/plivo/plivo-php/tree/v4.60.1) (2024-04-15) +**Feature - Pin Based Authentication** +- Pin Based Authentication Added in Create Session API + ## [4.60.0](https://github.com/plivo/plivo-php/tree/v4.60.0) (2024-03-13) **Feature - Import Campaign API** - Added import campaign API diff --git a/src/Plivo/Resources/MaskingSession/MaskingSessionInterface.php b/src/Plivo/Resources/MaskingSession/MaskingSessionInterface.php index 644a65d3..4f131c5a 100644 --- a/src/Plivo/Resources/MaskingSession/MaskingSessionInterface.php +++ b/src/Plivo/Resources/MaskingSession/MaskingSessionInterface.php @@ -51,6 +51,16 @@ function __construct(BaseClient $plivoClient, $authId) * + [string] firstPartyPlayUrl - The URL to play audio to the first party when the call is established. * + [string] secondPartyPlayUrl - The URL to play audio to the second party when the call is established. * + [string] recordingCallbackMethod - The HTTP method for the recording callback request. + * + [boolean] IsPinAuthenticationRequired - Indicates we need to authenticate pin or not. + * + [boolean] GeneratePin - Indicates we need to generate pin or not. + * + [number] GeneratePinLength - Pin length, by default = 4. + * + [string] FirstPartyPin - First Party Pin. + * + [string] SecondPartyPin - Second Party Pin. + * + [string] PinPromptPlay - Sound url to play during pin prompt. + * + [number] PinRetry - No of times retry allowed for wrong/invalid pin. + * + [number] PinRetryWait - Wait between consecutive retry. + * + [string] IncorrectPinPlay - Sound url to play when wrong/invalid pin entered. + * + [string] UnknownCallerPlay - Sound url to play for unknown caller. * @return JSON output * @throws PlivoValidationException,PlivoResponseException diff --git a/src/Plivo/Version.php b/src/Plivo/Version.php index 06f0230e..6b55bd4e 100644 --- a/src/Plivo/Version.php +++ b/src/Plivo/Version.php @@ -25,7 +25,7 @@ class Version /** * @const int PHP helper library patch number */ - const PATCH = 0; + const PATCH = 1; /** * @return string */ From 0d066c75aebd3b4d9a5b8edde8a6ea80f6b0acdc Mon Sep 17 00:00:00 2001 From: ajay-plivo Date: Tue, 16 Apr 2024 11:21:53 +0530 Subject: [PATCH 2/4] SubAccountAndGeoMatchAdded --- CHANGELOG.md | 4 ++-- .../Resources/MaskingSession/MaskingSessionInterface.php | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a40f0f3..bbbd8465 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # Change Log ## [4.60.1](https://github.com/plivo/plivo-php/tree/v4.60.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 Masking APIs ## [4.60.0](https://github.com/plivo/plivo-php/tree/v4.60.0) (2024-03-13) **Feature - Import Campaign API** diff --git a/src/Plivo/Resources/MaskingSession/MaskingSessionInterface.php b/src/Plivo/Resources/MaskingSession/MaskingSessionInterface.php index 4f131c5a..b0127583 100644 --- a/src/Plivo/Resources/MaskingSession/MaskingSessionInterface.php +++ b/src/Plivo/Resources/MaskingSession/MaskingSessionInterface.php @@ -61,6 +61,8 @@ function __construct(BaseClient $plivoClient, $authId) * + [number] PinRetryWait - Wait between consecutive retry. * + [string] IncorrectPinPlay - Sound url to play when wrong/invalid pin entered. * + [string] UnknownCallerPlay - Sound url to play for unknown caller. + * + [string] SubAccount - SubAccount to create session. + * + [bool] GeoMatch - GeoMatch to filter no. * @return JSON output * @throws PlivoValidationException,PlivoResponseException From db52dbb1d8ad82f43ec672acb2dde824eb0f7b8d Mon Sep 17 00:00:00 2001 From: ajay-plivo Date: Thu, 2 May 2024 13:35:58 +0530 Subject: [PATCH 3/4] descriptionUpdated --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87e9ecbc..677fe793 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # Change Log -## [4.61.1](https://github.com/plivo/plivo-php/tree/v4.61.1) (2024-04-15) -**Feature - Pin Based Authentication, SubAccount and GeoMatch** -- Pin Based Authentication, SubAccount and GeoMatch Added in Masking APIs +## [4.62.0](https://github.com/plivo/plivo-php/tree/v4.62.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 ## [4.61.0](https://github.com/plivo/plivo-php/tree/v4.61.0) (2024-04-18) **Feature - Support for dynamic button components when sending a templated WhatsApp message** From 17e5d55b59cb7b567b458c205995457ba69d0fce Mon Sep 17 00:00:00 2001 From: manjunath-plivo <85923934+manjunath-plivo@users.noreply.github.com> Date: Thu, 2 May 2024 16:12:29 +0530 Subject: [PATCH 4/4] correct version --- src/Plivo/Version.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plivo/Version.php b/src/Plivo/Version.php index ab2dd000..21ae424f 100644 --- a/src/Plivo/Version.php +++ b/src/Plivo/Version.php @@ -20,12 +20,12 @@ class Version /** * @const int PHP helper library minor version number */ - const MINOR = 61; + const MINOR = 62; /** * @const int PHP helper library patch number */ - const PATCH = 1; + const PATCH = 0; /** * @return string */