@vivocha/public-types
Advanced tools
Comparing version 1.1.1-gaia.6 to 1.1.1-gaia.8
@@ -77,5 +77,9 @@ import { Encryptable } from './encryptable'; | ||
}; | ||
type WorkerData = { | ||
name: string; | ||
payload: ChannelAsrPayload; | ||
}; | ||
interface Base extends EventRawMessage { | ||
code: 'event'; | ||
type: 'start-call' | 'transfer-back'; | ||
type: 'start-call' | 'transfer-back' | 'left'; | ||
data: Data; | ||
@@ -87,6 +91,3 @@ } | ||
direction: 'inbound' | 'outbound'; | ||
worker?: { | ||
name: string; | ||
payload: ChannelAsrPayload; | ||
}; | ||
worker?: WorkerData; | ||
}; | ||
@@ -100,2 +101,12 @@ } | ||
} | ||
interface End extends Base { | ||
type: 'left'; | ||
data: Data & { | ||
channels: { | ||
total: number; | ||
vvcu: number; | ||
}; | ||
worker?: WorkerData; | ||
}; | ||
} | ||
} | ||
@@ -102,0 +113,0 @@ export declare type MessageMetadata = { |
@@ -8,3 +8,4 @@ "use strict"; | ||
; | ||
; | ||
})(CallEvent = exports.CallEvent || (exports.CallEvent = {})); | ||
//# sourceMappingURL=message.js.map |
{ | ||
"name": "@vivocha/public-types", | ||
"version": "1.1.1-gaia.6", | ||
"version": "1.1.1-gaia.8", | ||
"description": "Vivocha public types", | ||
@@ -25,3 +25,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "95f89026f4704739a7310c4a1368a028ad553619" | ||
"gitHead": "4cf62471f86af628a136853306530e49bbd5668c" | ||
} |
33155
1077