Socket
Socket
Sign inDemoInstall

plivo

Package Overview
Dependencies
36
Maintainers
4
Versions
121
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.46.1 to 4.47.0

5

CHANGELOG.md
# Change Log
## [v4.47.0](https://github.com/plivo/plivo-node/tree/v4.47.0) (2023-05-29)
- Added `monthly_recording_storage_amount`, `recording_storage_rate`, `rounded_recording_duration`, and `recording_storage_duration` parameters to the response for [get single recording API](https://www.plivo.com/docs/voice/api/recording#retrieve-a-recording) and [get all recordings API](https://www.plivo.com/docs/voice/api/recording#list-all-recordings)
- Added `recording_storage_duration` parameter as a filter option for [get all recordings API](https://www.plivo.com/docs/voice/api/recording#list-all-recordings)
## [v4.46.1](https://github.com/plivo/plivo-node/tree/v4.46.1) (2023-05-08)

@@ -38,3 +42,2 @@ **Chore - Bump xml2js from 0.4.19 to 0.5.0**

## [v4.39.0](https://github.com/plivo/plivo-node/tree/v4.39.0) (2022-01-25)

@@ -41,0 +44,0 @@ **Feature - Added New Param(requesterIP) in Get Message and List Mssage APIs**

@@ -17,2 +17,6 @@ export class RetrieveRecordingResponse {

toNumber: string;
monthlyRecordingStorageAmount: string;
roundedRecordingDuration: string;
recordingStorageDuration: string;
recordingStorageRate: string;
}

@@ -38,2 +42,7 @@ export class ListRecordingResponse {

mpcUuid: string;
monthlyRecordingStorageAmount: string;
roundedRecordingDuration: string;
recordingStorageDuration: string;
recordingStorageRate: string;
}

@@ -85,2 +94,3 @@ /**

* @param {string} [params.offset] - No of value items by which results should be offset
* @param {string} [params.recordingStorageDuration] - Filter based on how old the recordings are
*/

@@ -87,0 +97,0 @@ list(params?: {}): Promise<ListRecordingResponse>;

@@ -42,2 +42,6 @@ 'use strict';

this.toNumber = params.toNumber;
this.monthlyRecordingStorageAmount = params.monthlyRecordingStorageAmount;
this.roundedRecordingDuration = params.roundedRecordingDuration;
this.recordingStorageDuration = params.recordingStorageDuration;
this.recordingStorageRate = params.recordingStorageRate;
};

@@ -66,2 +70,6 @@

this.mpcUuid = params.mpcUuid;
this.monthlyRecordingStorageAmount = params.monthlyRecordingStorageAmount;
this.roundedRecordingDuration = params.roundedRecordingDuration;
this.recordingStorageDuration = params.recordingStorageDuration;
this.recordingStorageRate = params.recordingStorageRate;
};

@@ -196,2 +204,3 @@

* @param {string} [params.offset] - No of value items by which results should be offset
* @param {string} [params.recordingStorageDuration] - Filter based on how old the recordings are
*/

@@ -198,0 +207,0 @@

2

dist/rest/utils.js

@@ -88,3 +88,3 @@ 'use strict';

// So dont run snake case logic for following params
var skipParamsFromSnakeCasing = ['message_time__lt', 'message_time__lte', 'message_time__gt', 'message_time__gte', 'end_time__gt', 'end_time__gte', 'end_time__lt', 'end_time__lte', 'bill_duration__gt', 'bill_duration__gte', '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'];
var skipParamsFromSnakeCasing = ['message_time__lt', 'message_time__lte', 'message_time__gt', 'message_time__gte', 'end_time__gt', 'end_time__gte', 'end_time__lt', 'end_time__lte', 'bill_duration__gt', 'bill_duration__gte', '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', 'recording_storage_duration__gt', 'recording_storage_duration__gte', 'recording_storage_duration__lt', 'recording_storage_duration__lte'];
if (skipParamsFromSnakeCasing.indexOf(key) >= 0) {

@@ -91,0 +91,0 @@ return key;

{
"name": "plivo",
"version": "4.46.1",
"version": "4.47.0",
"description": "A Node.js SDK to make voice calls and send SMS using Plivo and to generate Plivo XML",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/plivo/plivo-node",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc