diff --git a/CHANGELOG.md b/CHANGELOG.md index 50791870..16d0315f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Change Log - -# Change Log +## [4.65.2](https://github.com/plivo/plivo-php/tree/v4.65.2)(2024-09-06) +**Feature - Adding support for brand_name,app_hash ,code_length in Create,Get and List Session** +- Added new request param `brand_name`, `code_length` and `app_hash` in create Session API +- Added support for `brand_name`, `code_length` and `app_hash` param in get and list Session response +- ## [4.65.1](https://github.com/plivo/plivo-php/tree/v4.65.1)(2024-09-03) **Feature - Adding new element for Audio Stream XML ** - Added `keepCallAlive` element in Audio Stream XML diff --git a/src/Plivo/Resources/Verify/VerifySessionInterface.php b/src/Plivo/Resources/Verify/VerifySessionInterface.php index 6020a413..d882fb9a 100644 --- a/src/Plivo/Resources/Verify/VerifySessionInterface.php +++ b/src/Plivo/Resources/Verify/VerifySessionInterface.php @@ -98,6 +98,8 @@ public function get($sessionUuid) * + [string] : app_uuid - Filter the results by App UUID. * + [string]: country - Filter the results by country. For e.g. Filter results for India using 'IN' as the value. * + [string]: alias - Filter the results using alias of verify application. + * + [string]: brand_name - Filter the results using brand_name of sessions + * + [string]: app_hash - Filter the results using app_hash of verify application. * @return VerifySessionList output */ public function list( $optionalArgs = []) @@ -144,7 +146,9 @@ public function list( $optionalArgs = []) *
AttemptSequence - The attempt number for which the session status is received. For e.g. is two attempted are made within a session, 1st via SMS and 2nd via Voice, then callbacks received for SMS would have AttemptSequence value as 1 and for Voice it would be 2. *
SessionStatus - The status of the session(in-progress/validated/expired). *
Locale - The template text to be selected while sending sms. - * + *
Brandname - The brand_name can be dynamically passed in request payload + *
CodeLength - The otp length can be dynamically passed in request payload between 4 to 8 + *
AppHash - The brand_name can be dynamically passed in request payload * + [string] :method - The method used to call the url. Defaults to POST. * @return VerifySessionCreateResponse output * @throws PlivoValidationException,PlivoResponseException diff --git a/src/Plivo/Version.php b/src/Plivo/Version.php index 8513696d..295e1d1c 100644 --- a/src/Plivo/Version.php +++ b/src/Plivo/Version.php @@ -25,7 +25,8 @@ class Version /** * @const int PHP helper library patch number */ - const PATCH = 1; + + const PATCH = 2; /** * @return string */