Skip to content

Commit

Permalink
PHONUM-2779 (#301)
Browse files Browse the repository at this point in the history
* handled double underscores for renewaldate

* handled double underscores for renewaldate

* added lt

* bump version

---------

Co-authored-by: kalyan-plivo <[email protected]>
  • Loading branch information
prabhav-plivo and kalyan-plivo authored May 4, 2023
1 parent 884ff36 commit a6ec61f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## [4.46.0](https://github.com/plivo/plivo-node/tree/v4.46.0) (2023-05-04)
**Adding new attribute - 'renewalDate' in Get Number and List Numbers APIs**
- Add New Param `renewalDate` to the response of the [list all numbers API], [list single number API]
- Add 3 new filters to AccountPhoneNumber - list all my numbers API:`renewal_date`, `renewal_date__gt`, `renewal_date__gte`,`renewal_date__lt` and `renewal_date__lte` (https://www.plivo.com/docs/numbers/api/account-phone-number#list-all-my-numbers)

## [4.45.0](https://github.com/plivo/plivo-node/tree/v4.45.0) (2023-04-25)
**Adding new attribute - 'isDomestic' in Get Message and List Message APIs**
- Add `replacedSender` to the response for the [list all messages API](https://www.plivo.com/docs/sms/api/message/list-all-messages/) and the [get message details API](https://www.plivo.com/docs/sms/api/message#retrieve-a-message)
Expand Down
2 changes: 2 additions & 0 deletions lib/rest/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ export function camelCaseRequestWrapper(requestFunc) {
'bill_duration__lt', 'bill_duration__lte',
'add_time__gt', 'add_time__gte',
'add_time__lt', 'add_time__lte',
'renewal_date__gte','renewal_date__gt',
'renewal_date__lte','renewal_date__lt',
]
if (skipParamsFromSnakeCasing.indexOf(key) >= 0) {
return key;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plivo",
"version": "4.45.0",
"version": "4.46.0",
"description": "A Node.js SDK to make voice calls and send SMS using Plivo and to generate Plivo XML",
"homepage": "https://github.com/plivo/plivo-node",
"files": [
Expand Down

0 comments on commit a6ec61f

Please sign in to comment.