Skip to content

Commit

Permalink
Merge pull request #183 from plivo/number-priority
Browse files Browse the repository at this point in the history
Add field number_priority to powerpack api
  • Loading branch information
nixonsam authored Nov 17, 2020
2 parents 53c95a8 + 879c973 commit 938e665
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## [v4.15.0](https://github.com/plivo/plivo-php/releases/tag/v4.15.0) - 2020-11-17
- Add number_priority support for Powerpack API.

## [v4.14.0](https://github.com/plivo/plivo-php/releases/tag/v4.14.0) - 2020-10-25
- Change Lookup API endpoint and response.

Expand Down
3 changes: 3 additions & 0 deletions src/Plivo/Resources/Powerpack/Powerpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* @property string $application_type
* @property string $created_on
* @property string $number_pool
* @property array $number_priority
*/
class Powerpack extends Resource
{
Expand Down Expand Up @@ -48,6 +49,7 @@ public function __construct(
'created_on' => $response['created_on'],
'local_connect' => $response['local_connect'],
'number_pool' => $response['number_pool'],
'number_priority' => $response['number_priority'],
];

$this->pathParams = [
Expand Down Expand Up @@ -303,6 +305,7 @@ public function add_tollfree( $tollfree)
* + string local_connect -
* + string application_type -
* + string application_id -
* + array number_priority -
*
* @return PowerpackUpdateResponse output
*/
Expand Down
1 change: 1 addition & 0 deletions src/Plivo/Resources/Powerpack/PowerpackInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public function list( $optionalArgs = [])
* + string local_connect -
* + string application_type -
* + string application_id -
* + array number_priority -
*
* @return PowerpackCreateResponse output
*/
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 = 14;
const MINOR = 15;
/**
* @const int PHP helper library patch number
*/
Expand Down

0 comments on commit 938e665

Please sign in to comment.