Skip to content

Commit

Permalink
Merge branch 'master' into addition-mdr-attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
narayana-plivo authored Sep 6, 2024
2 parents ec4d06a + dd07647 commit cfbde4b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
**Feature - Adding more attribute on mdr object**
- Added `message_sent_time`, `message_updated_time` and `error-message` on get and list Message API

## [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

## [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
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
2 changes: 2 additions & 0 deletions src/Plivo/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ class Version
/**
* @const int PHP helper library patch number
*/

const PATCH = 3;

/**
* @return string
*/
Expand Down
3 changes: 2 additions & 1 deletion src/Plivo/XML/Stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class Stream extends Element
'statusCallbackUrl',
'statusCallbackMethod',
'contentType',
'extraHeaders'
'extraHeaders',
'keepCallAlive'
];

/**
Expand Down

0 comments on commit cfbde4b

Please sign in to comment.