Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added changes for single party session. #344

Merged
merged 4 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Change Log
## [v4.67.0](https://github.com/plivo/plivo-node/tree/v4.67.0) (2024-09-10)
**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

## [v4.68.3](https://github.com/plivo/plivo-node/tree/v4.68.3) (2024-09-06)
**Feature - Adding more attribute on mdr object**
Expand Down
3 changes: 3 additions & 0 deletions lib/resources/maskingSession.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ export class MaskingSessionInterface extends PlivoResourceInterface {
* @param {boolean} [params.unknownCallerPlay] - Sound url to play for unknown caller.
* @param {string} [params.subAccount] - SubAccount to create session.
* @param {boolean} [params.geoMatch] - GeoMatch to filter no.
* @param {number} [params.virtualNumberCooloffPeriod] - Specifies the cool-off period for reallocating the number to a new session. Must be a positive integer between 0 and 3600.
* @param {boolean} [params.forcePinAuthentication] - Indicates if PIN is needed, even from the registered mobile number.
* @param {boolean} [params.createSessionWithSingleParty] - Indicates if a session requires one party. Either first_party or second_party is mandatory.
* @promise {object} returns PlivoGenericResponse Object
* @fail {Error} returns Error
*/
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.68.3",
"version": "4.67.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
Loading