@vivocha/public-types
Advanced tools
Comparing version 1.1.1-gaia.5 to 1.1.1-gaia.6
@@ -68,3 +68,3 @@ import { AssetManagerAPITypes } from './asset_manager'; | ||
channelEntryPointLanguage?: string; | ||
mediaPreset: string; | ||
mediaPreset?: string; | ||
ani?: string; | ||
@@ -79,2 +79,3 @@ dnis?: string; | ||
sessionId?: string; | ||
refId?: string; | ||
options?: ContextOptions; | ||
@@ -81,0 +82,0 @@ } |
import { Encryptable } from './encryptable'; | ||
import { ChannelAsrPayload } from './channel'; | ||
export interface AttachmentMeta { | ||
@@ -71,2 +72,29 @@ originalUrl?: string; | ||
} | ||
export declare namespace CallEvent { | ||
type Data = { | ||
callId: string; | ||
[key: string]: any; | ||
}; | ||
interface Base extends EventRawMessage { | ||
code: 'event'; | ||
type: 'start-call' | 'transfer-back'; | ||
data: Data; | ||
} | ||
interface Start extends Base { | ||
type: 'start-call'; | ||
data: Data & { | ||
direction: 'inbound' | 'outbound'; | ||
worker?: { | ||
name: string; | ||
payload: ChannelAsrPayload; | ||
}; | ||
}; | ||
} | ||
interface Route extends Base { | ||
type: 'transfer-back'; | ||
data: Data & { | ||
settings: any; | ||
}; | ||
} | ||
} | ||
export declare type MessageMetadata = { | ||
@@ -73,0 +101,0 @@ can_create?: boolean; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CallEvent = void 0; | ||
var CallEvent; | ||
(function (CallEvent) { | ||
; | ||
; | ||
})(CallEvent = exports.CallEvent || (exports.CallEvent = {})); | ||
//# sourceMappingURL=message.js.map |
{ | ||
"name": "@vivocha/public-types", | ||
"version": "1.1.1-gaia.5", | ||
"version": "1.1.1-gaia.6", | ||
"description": "Vivocha public types", | ||
@@ -25,3 +25,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "5816cca1ac5387cd9ee19b0bb227a1ddc938e4ad" | ||
"gitHead": "95f89026f4704739a7310c4a1368a028ad553619" | ||
} |
32902
1065