Skip to content

Commit

Permalink
SMS-6997: add brand_name and app_hash in create and list api
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutoshkumar-plivo committed Aug 12, 2024
1 parent 1cc0af8 commit f88b737
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log

# Change Log
## [4.66.0](https://github.com/plivo/plivo-php/tree/v4.66.0)(2024-08-12)
**Feature - Adding support for brand_name and app_hash in Create,Get and List Session**
- Added new request param `brand_name` and `app_hash` in create Session API
- Added support for `brand_name` and `app_hash` param in get and list Session response

## [4.65.0](https://github.com/plivo/plivo-php/tree/v4.65.0)(2024-07-11)
**Feature - Adding support for Locale param in Create, Get and List Session**
- Added new request param `locale` in create Session API
Expand Down
5 changes: 4 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,8 @@ 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 /> 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
2 changes: 1 addition & 1 deletion src/Plivo/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Version
/**
* @const int PHP helper library minor version number
*/
const MINOR = 65;
const MINOR = 66;

/**
* @const int PHP helper library patch number
Expand Down

0 comments on commit f88b737

Please sign in to comment.