Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMS-6997: add brand_name and app_hash in create and list api #346

Merged
merged 6 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading