From a1c18e7ccbc3a00085713a19e8f3666056dee53d Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Fri, 28 Jan 2022 09:04:50 -0500 Subject: [PATCH] add engine to tts --- lib/jambonz/specs.json | 21 ++++++++++----------- package.json | 2 +- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/lib/jambonz/specs.json b/lib/jambonz/specs.json index 2317c2b..0933249 100644 --- a/lib/jambonz/specs.json +++ b/lib/jambonz/specs.json @@ -81,14 +81,6 @@ "url" ] }, - "record": { - "properties": { - "path": "string" - }, - "required": [ - "path" - ] - }, "say": { "properties": { "text": "string|array", @@ -114,7 +106,6 @@ "say": "#say" }, "required": [ - "actionHook" ] }, "conference": { @@ -124,6 +115,7 @@ "startConferenceOnEnter": "boolean", "endConferenceOnExit": "boolean", "maxParticipants": "number", + "joinMuted": "boolean", "actionHook": "object|string", "waitHook": "object|string", "statusEvents": "array", @@ -278,6 +270,14 @@ "url" ] }, + "record": { + "properties": { + "path": "string" + }, + "required": [ + "path" + ] + }, "redirect": { "properties": { "actionHook": "object|string" @@ -324,7 +324,6 @@ "earlyMedia": "boolean" }, "required": [ - "transcriptionHook", "recognizer" ] }, @@ -370,7 +369,7 @@ }, "language": "string", "voice": "string", - "platform": { + "engine": { "type": "string", "enum": ["standard", "neural"] }, diff --git a/package.json b/package.json index 1fe7758..a6f5806 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jambonz/node-client", - "version": "0.2.18", + "version": "0.2.19", "description": "", "main": "lib/index.js", "scripts": {