From cc6f7ac00754e2b48c43cf368e2615b2df0beedc Mon Sep 17 00:00:00 2001 From: Huzaif Date: Tue, 7 Jun 2022 18:23:37 +0530 Subject: [PATCH 1/2] fix response type for make call --- CHANGELOG.md | 4 ++++ package.json | 2 +- types/resources/call.d.ts | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a43e8570..f6920dd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## [v4.32.1](https://github.com/plivo/plivo-node/tree/v4.32.1) (2022-06-07) +**Bug fix - Typescript** +- Make a call [API](https://www.plivo.com/docs/voice/api/call/#make-a-call) response to support the parameter `requestUuid` of data types `Array` and `string`. + ## [v4.32.0](https://github.com/plivo/plivo-node/tree/v4.32.0) (2022-05-05) **Features - List all recordings** - `fromNumber` and `toNumber` added in filtering params [List all recordings](https://www.plivo.com/docs/voice/api/recording#list-all-recordings) diff --git a/package.json b/package.json index cc1c4276..ce21b97d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "plivo", - "version": "4.32.0", + "version": "4.32.1", "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": [ diff --git a/types/resources/call.d.ts b/types/resources/call.d.ts index b5ffb120..f8945c53 100644 --- a/types/resources/call.d.ts +++ b/types/resources/call.d.ts @@ -18,7 +18,7 @@ export class CreateCallResponse { constructor(params: object); apiId: string; message: string; - requestUuid: Array; + requestUuid: Array | string; } export class GetQueuedCallResponse { constructor(params: object); From 0ac077ae2616d4ced7dd06393140bebd2f3a9ee2 Mon Sep 17 00:00:00 2001 From: Huzaif Date: Thu, 9 Jun 2022 14:03:48 +0530 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6920dd9..04b992db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## [v4.32.1](https://github.com/plivo/plivo-node/tree/v4.32.1) (2022-06-07) +## [v4.32.1](https://github.com/plivo/plivo-node/tree/v4.32.1) (2022-06-09) **Bug fix - Typescript** - Make a call [API](https://www.plivo.com/docs/voice/api/call/#make-a-call) response to support the parameter `requestUuid` of data types `Array` and `string`.