diff --git a/CHANGELOG.md b/CHANGELOG.md index d00be6a3..33427b39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ # Change Log +## [4.66.1](https://github.com/plivo/plivo-php/tree/v4.66.1)(2024-10-10) +**Feature - Dtmf param in Create, Get and List Session** +- Support for the `dtmf` parameter in voice verify session request +- Added support for `dtmf` in GET and LIST verify session. +- ## [4.66.0](https://github.com/plivo/plivo-php/tree/v4.66.0)(2024-09-30) **Feature - Adding new param support for Number Masking session with single party ** - Added `create_session_with_single_party`, `virtual_number_cooloff_period` and `force_pin_authentication` attributes in Masking Session diff --git a/src/Plivo/Resources/Verify/VerifySession.php b/src/Plivo/Resources/Verify/VerifySession.php index aea1b534..474b796d 100644 --- a/src/Plivo/Resources/Verify/VerifySession.php +++ b/src/Plivo/Resources/Verify/VerifySession.php @@ -25,6 +25,7 @@ * @property ?string $charges * @property string $created_at * @property string $updated_at + * @property ?int $dtmf */ class VerifySession extends Resource { @@ -86,4 +87,4 @@ public function __construct( public function __debugInfo() { return $this->properties; } -} \ No newline at end of file +} diff --git a/src/Plivo/Version.php b/src/Plivo/Version.php index 64e90e2d..85e93979 100644 --- a/src/Plivo/Version.php +++ b/src/Plivo/Version.php @@ -26,7 +26,7 @@ class Version * @const int PHP helper library patch number */ - const PATCH = 0; + const PATCH = 1; /** * @return string diff --git a/tests/Mocks/verifySessionListResponse.json b/tests/Mocks/verifySessionListResponse.json index bfb3aca5..2db47111 100644 --- a/tests/Mocks/verifySessionListResponse.json +++ b/tests/Mocks/verifySessionListResponse.json @@ -12,7 +12,7 @@ "app_uuid": "854f110a-6244-4481-9d28-dddf58c7014b", "alias": "default_app", "recipient": "918097480999", - "channel": "sms", + "channel": "voice", "status": "verified", "locale":"en", "count": 1, @@ -21,10 +21,11 @@ "destination_network": "AirTel", "attempt_details": [ { - "channel": "sms", + "channel": "voice", "attempt_uuid": "3ada0edc-849a-49f4-aae6-2de209955829", "status": "delivered", - "time": "2023-07-28T17:20:39.278163+05:30" + "time": "2023-07-28T17:20:39.278163+05:30", + "dtmf": 4 } ], "charges": {