From c78eb60d738d3579defe89e5d9cb749b3067a582 Mon Sep 17 00:00:00 2001 From: abinaya-plivo Date: Fri, 21 Jul 2023 12:14:01 +0530 Subject: [PATCH] modified node sdk for number masking --- lib/resources/call.js | 12 ------------ types/resources/call.d.ts | 3 ++- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/lib/resources/call.js b/lib/resources/call.js index ffaea1d0..779a66cb 100644 --- a/lib/resources/call.js +++ b/lib/resources/call.js @@ -504,18 +504,6 @@ export class Call extends PlivoResource { params.isVoiceRequest = 'true'; return super.executeAction('Request/' + this.id + '/', 'DELETE', params, ''); } - getMaskingSession(params={}) { - params.isVoiceRequest = 'true'; - return super.executeAction('Masking/Session/' + this.id, 'GET', params); - } - deleteMaskingSession(params={}) { - params.isVoiceRequest = 'true'; - return super.executeAction('Masking/Session/' + this.id, 'DELETE', params); - } - updateMaskingSession(params) { - params.isVoiceRequest = 'true'; - return super.executeAction('Masking/Session/' + this.id, 'POST', params); - } } const liveCallInterfaceKey = Symbol('liveCallInterface'); diff --git a/types/resources/call.d.ts b/types/resources/call.d.ts index 3d6c5683..1bab4a86 100644 --- a/types/resources/call.d.ts +++ b/types/resources/call.d.ts @@ -317,7 +317,8 @@ export class CallInterface extends PlivoResourceInterface { * @fail {Error} returns Error */ create(from: string, to: string, answerUrl: string, params ? : {}): Promise < CreateCallResponse > ; - /** + + /** * Hangup A Specific Call * @method * @param {string} callUUID - call uuid to hangup call