Compare commits

...

12 Commits

Author SHA1 Message Date
Dave Horton
146f691890 bump version 2023-04-11 20:18:12 -04:00
Dave Horton
283512e765 Merge pull request #6 from jambonz/feat/dial_caller_name
feat: update callerName to dial
2023-04-11 20:17:27 -04:00
Quan HL
d7219b990b feat: update callerName to rest 2023-04-12 06:38:16 +07:00
Quan HL
68b3c7de01 feat: update callerName to dial 2023-04-12 06:30:29 +07:00
Dave Horton
dff94d3ac5 add anchorMedia option to dial verb 2023-04-07 14:05:37 -04:00
Dave Horton
70f7c5ab96 another fix for wakeupWord 2023-03-03 09:16:51 -05:00
Dave Horton
403766cd4d fix wakeupWord syntax 2023-03-03 09:08:50 -05:00
Dave Horton
10c7f60bad fix json error 2023-03-02 14:52:10 -05:00
Dave Horton
32f63759db add options for custom speech 2023-03-02 14:45:12 -05:00
Dave Horton
825130348b remove enum on speech vendor since we want to allow custom 2023-03-02 13:21:00 -05:00
Dave Horton
f99b94a405 add soniox storage options 2023-02-24 14:35:18 -05:00
Dave Horton
6c40dda566 add options for soniox 2023-02-23 14:19:34 -05:00
4 changed files with 47 additions and 13 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@jambonz/verb-specifications",
"version": "0.0.4",
"version": "0.0.14",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@jambonz/verb-specifications",
"version": "0.0.4",
"version": "0.0.14",
"license": "MIT",
"dependencies": {
"debug": "^4.3.4",

View File

@@ -1,6 +1,6 @@
{
"name": "@jambonz/verb-specifications",
"version": "0.0.4",
"version": "0.0.14",
"description": "Jambonz Verb Specification Utilities",
"main": "index.js",
"scripts": {

View File

@@ -196,12 +196,14 @@
"actionHook": "object|string",
"answerOnBridge": "boolean",
"callerId": "string",
"callerName": "string",
"confirmHook": "object|string",
"referHook": "object|string",
"dialMusic": "string",
"dtmfCapture": "object",
"dtmfHook": "object|string",
"headers": "object",
"anchorMedia": "boolean",
"listen": "#listen",
"target": ["#target"],
"timeLimit": "number",
@@ -382,6 +384,7 @@
"call_hook": "object|string",
"call_status_hook": "object|string",
"from": "string",
"callerName": "string",
"fromHost": "string",
"speech_synthesis_vendor": "string",
"speech_synthesis_voice": "string",
@@ -465,10 +468,7 @@
},
"synthesizer": {
"properties": {
"vendor": {
"type": "string",
"enum": ["google", "aws", "polly", "microsoft", "nuance", "ibm", "nvidia", "default"]
},
"vendor": "string",
"language": "string",
"voice": "string",
"engine": {
@@ -486,10 +486,7 @@
},
"recognizer": {
"properties": {
"vendor": {
"type": "string",
"enum": ["google", "aws", "microsoft", "nuance", "deepgram", "ibm", "nvidia", "default"]
},
"vendor": "string",
"language": "string",
"vad": "#vad",
"hints": "array",
@@ -556,12 +553,23 @@
"nuanceOptions": "#nuanceOptions",
"deepgramOptions": "#deepgramOptions",
"ibmOptions": "#ibmOptions",
"nvidiaOptions": "#nvidiaOptions"
"nvidiaOptions": "#nvidiaOptions",
"sonioxOptions": "#sonioxOptions",
"customOptions": "#customOptions"
},
"required": [
"vendor"
]
},
"customOptions": {
"properties": {
"authToken": "string",
"uri": "string",
"options": "object"
},
"required": [
]
},
"nvidiaOptions": {
"properties": {
"rivaUri": "string",
@@ -642,6 +650,31 @@
"tag": "string"
}
},
"sonioxOptions": {
"properties": {
"apiKey": "string",
"model": "string",
"endpointDetection": "boolean",
"profanityFilter": "boolean",
"speechContext": "string",
"clientRequestReference": "string",
"storage": "#sonioxStorage"
},
"required": [
]
},
"sonioxStorage": {
"properties": {
"id": "string",
"title": "string",
"disableStoreAudio": "boolean",
"disableStoreTranscript": "boolean",
"disableSearch": "boolean",
"metadata": "object"
},
"required": [
]
},
"nuanceOptions": {
"properties": {
"clientId": "string",
@@ -693,7 +726,7 @@
"inlineWordset": "string",
"builtin": "string",
"inlineGrammar": "string",
"wakeupWord": "[string]",
"wakeupWord": "array",
"weightName": {
"type": "string",
"enum": [

View File

@@ -46,6 +46,7 @@ test("validate correct verbs", async (t) => {
"verb": "dial",
"actionHook": "/outdial",
"callerId": "+16173331212",
"callerName": "Tom",
"answerOnBridge": true,
"dtmfCapture": ["*2", "*3"],
"dtmfHook": {