Skip to content

Commit

Permalink
Merge pull request #346 from plivo/SMS-6997
Browse files Browse the repository at this point in the history
SMS-6997: add brand_name and app_hash in create and list api
  • Loading branch information
narayana-plivo authored Sep 6, 2024
2 parents 82d55e2 + 4311ef3 commit dd07647
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 5 additions & 1 deletion src/Plivo/Resources/Verify/VerifySessionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [])
Expand Down Expand Up @@ -144,7 +146,9 @@ public function list( $optionalArgs = [])
* <br /> 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.
* <br /> SessionStatus - The status of the session(in-progress/validated/expired).
* <br /> Locale - The template text to be selected while sending sms.
*
* <br /> Brandname - The brand_name can be dynamically passed in request payload
* <br /> CodeLength - The otp length can be dynamically passed in request payload between 4 to 8
* <br /> 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
Expand Down
3 changes: 2 additions & 1 deletion src/Plivo/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ class Version
/**
* @const int PHP helper library patch number
*/
const PATCH = 1;

const PATCH = 2;
/**
* @return string
*/
Expand Down

0 comments on commit dd07647

Please sign in to comment.