mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-03-27 10:35:29 +00:00
Compare commits
4 Commits
v0.0.121
...
recording_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7c9c4548a9 | ||
|
|
a91bdf5e25 | ||
|
|
2b81fe20f0 | ||
|
|
60a33e11eb |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.121",
|
||||
"version": "0.0.122",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.121",
|
||||
"version": "0.0.122",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"debug": "^4.3.4",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.121",
|
||||
"version": "0.0.122",
|
||||
"description": "Jambonz Verb Specification Utilities",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
10
specs.json
10
specs.json
@@ -534,6 +534,11 @@
|
||||
"type": "string",
|
||||
"enum": ["startCallRecording", "stopCallRecording", "pauseCallRecording", "resumeCallRecording"]
|
||||
},
|
||||
"type" : {
|
||||
"type" : "string",
|
||||
"enum" : ["cloud", "siprec"]
|
||||
|
||||
},
|
||||
"recordingID": "string",
|
||||
"siprecServerURL": "string|array",
|
||||
"headers": "object"
|
||||
@@ -545,7 +550,8 @@
|
||||
"redirect": {
|
||||
"properties": {
|
||||
"id": "string",
|
||||
"actionHook": "object|string"
|
||||
"actionHook": "object|string",
|
||||
"statusHook": "obejct|string"
|
||||
},
|
||||
"required": [
|
||||
"actionHook"
|
||||
@@ -841,6 +847,8 @@
|
||||
},
|
||||
"houndifyOptions": {
|
||||
"properties": {
|
||||
"requestInfo": "object",
|
||||
"sampleRate": "number",
|
||||
"latitude": "number",
|
||||
"longitude": "number",
|
||||
"city": "string",
|
||||
|
||||
@@ -292,6 +292,12 @@ test("validate correct verbs", async (t) => {
|
||||
"vendor": "houndify",
|
||||
"language": "en-US",
|
||||
"houndifyOptions": {
|
||||
"requestInfo": {
|
||||
"Latitude": 30.6,
|
||||
"Longitude": 30.6,
|
||||
"City": "Huston"
|
||||
},
|
||||
"sampleRate": 16000,
|
||||
"latitude": 30.6,
|
||||
"longitude": 30.6,
|
||||
"city": "Huston",
|
||||
|
||||
Reference in New Issue
Block a user