@wildix/wilma-voice-client 0.0.50 → 0.0.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,65 +1,16 @@
1
- const _AE = "AudioEvent";
2
- const _ATE = "AgentTranscriptionEvent";
3
- const _ATWE = "AgentTranscriptionWebsocketEvent";
4
- const _AWE = "AudioWebsocketEvent";
5
- const _CE = "CompleteEvent";
6
- const _CEo = "ControlEvent";
7
1
  const _CT = "Content-Type";
8
- const _CWE = "CompleteWebsocketEvent";
9
- const _CWEo = "ControlWebsocketEvent";
10
2
  const _DVP = "DescribeVoiceProtocol";
11
3
  const _DVPI = "DescribeVoiceProtocolInput";
12
4
  const _DVPO = "DescribeVoiceProtocolOutput";
13
- const _EWE = "ErrorWebsocketEvent";
14
5
  const _FE = "ForbiddenException";
15
- const _HCD = "HangupCommandData";
16
- const _HWC = "HangupWebsocketCommand";
17
- const _IE = "InterruptionEvent";
18
- const _IWE = "InterruptionWebsocketEvent";
19
6
  const _LV = "ListVoices";
20
7
  const _LVI = "ListVoicesInput";
21
8
  const _LVO = "ListVoicesOutput";
22
9
  const _MA = "Mp3Audio";
23
- const _MABF = "MediaAudioBeginFrame";
24
- const _MAEF = "MediaAudioEndFrame";
25
- const _MAF = "MediaAudioFormat";
26
- const _MCF = "MediaCloudFrames";
27
- const _MDF = "MediaDtmfFrame";
28
- const _MDFe = "MediaDuckFrame";
29
- const _MEF = "MediaErrorFrame";
30
- const _MFF = "MediaFinishedFrame";
31
- const _MFFe = "MediaFinishFrame";
32
- const _MHF = "MediaHangupFrame";
33
- const _MLF = "MediaLanguageFrame";
34
- const _MPF = "MediaPbxFrames";
35
- const _MPFe = "MediaPlaybackFrame";
36
- const _MPFed = "MediaProtocolFrames";
37
- const _MRF = "MediaRestoreFrame";
38
- const _MSA = "MediaStartAgent";
39
- const _MSAe = "MediaStartedAgent";
40
- const _MSC = "MediaStartCaller";
41
- const _MSF = "MediaStartedFrame";
42
- const _MSFe = "MediaStartFrame";
43
- const _MSFed = "MediaStopFrame";
44
- const _MTF = "MediaTranscriptionFrame";
45
- const _MTFe = "MediaTransferFrame";
46
- const _MVD = "MediaVoiceDetection";
47
- const _MVF = "MediaVadFrame";
48
10
  const _NFE = "NotFoundException";
49
- const _PCD = "PlayCommandData";
50
- const _PE = "PlaybackEvent";
51
- const _PWC = "PlayWebsocketCommand";
52
- const _PWE = "PlaybackWebsocketEvent";
53
- const _RE = "ReplyEvent";
54
- const _RWE = "ReplyWebsocketEvent";
55
- const _SCAO = "SayCommandAudioOptions";
56
- const _SCD = "SayCommandData";
57
- const _SCDt = "StopCommandData";
58
11
  const _SCE = "StreamCallEvents";
59
12
  const _SCEI = "StreamCallEventsInput";
60
13
  const _SCEO = "StreamCallEventsOutput";
61
- const _SEE = "SessionEndedEvent";
62
- const _SEWE = "SessionEndedWebsocketEvent";
63
14
  const _SH = "SendHangup";
64
15
  const _SHI = "SendHangupInput";
65
16
  const _SHO = "SendHangupOutput";
@@ -67,46 +18,72 @@ const _SP = "SendPlay";
67
18
  const _SPI = "SendPlayInput";
68
19
  const _SPO = "SendPlayOutput";
69
20
  const _SS = "SendSay";
70
- const _SSE = "SessionStartedEvent";
71
21
  const _SSI = "SendSayInput";
72
22
  const _SSIe = "SendStopInput";
73
23
  const _SSO = "SendSayOutput";
74
24
  const _SSOe = "SendStopOutput";
75
- const _SSWE = "SessionStartedWebsocketEvent";
76
25
  const _SSe = "SendStop";
77
26
  const _ST = "SendTransfer";
78
27
  const _STI = "SendTransferInput";
79
28
  const _STO = "SendTransferOutput";
80
- const _SWC = "SayWebsocketCommand";
81
- const _SWCt = "StopWebsocketCommand";
82
- const _TCD = "TransferCommandData";
83
- const _TE = "TranscriptionEvent";
84
29
  const _TTS = "TextToSpeech";
85
30
  const _TTSI = "TextToSpeechInput";
86
31
  const _TTSO = "TextToSpeechOutput";
87
- const _TWC = "TransferWebsocketCommand";
88
- const _TWE = "TranscriptionWebsocketEvent";
89
32
  const _V = "Voice";
90
- const _VAF = "VoiceAudioFormat";
33
+ const _VATE = "VoiceAgentTranscriptionEvent";
34
+ const _VCABF = "VoiceCallAudioBeginFrame";
35
+ const _VCAEF = "VoiceCallAudioEndFrame";
91
36
  const _VCATE = "VoiceCallAgentTranscriptionEvent";
92
- const _VCE = "VoiceCallEvent";
37
+ const _VCDF = "VoiceCallDtmfFrame";
38
+ const _VCDFo = "VoiceCallDuckFrame";
39
+ const _VCE = "VoiceCompleteEvent";
93
40
  const _VCEE = "VoiceCallEndedEvent";
41
+ const _VCEF = "VoiceCallEndedFrame";
42
+ const _VCEFo = "VoiceCallEndFrame";
43
+ const _VCEFoi = "VoiceCallErrorFrame";
94
44
  const _VCESB = "VoiceCallEventStreamBody";
45
+ const _VCEo = "VoiceCallEvent";
46
+ const _VCHF = "VoiceCallHangupFrame";
95
47
  const _VCIE = "VoiceCallInterruptionEvent";
96
48
  const _VCLE = "VoiceCallLanguageEvent";
49
+ const _VCLF = "VoiceCallLanguageFrame";
97
50
  const _VCP = "VoiceConnectParams";
98
51
  const _VCPE = "VoiceCallPlaybackEvent";
52
+ const _VCPF = "VoiceCallPlaybackFrame";
53
+ const _VCPFo = "VoiceCallProtocolFrames";
99
54
  const _VCRE = "VoiceCallReplyEvent";
55
+ const _VCSA = "VoiceCallStartAgent";
56
+ const _VCSC = "VoiceCallStartCaller";
100
57
  const _VCSE = "VoiceCallSayEvent";
101
58
  const _VCSEo = "VoiceCallStartedEvent";
59
+ const _VCSF = "VoiceCallStartedFrame";
60
+ const _VCSFo = "VoiceCallStartFrame";
61
+ const _VCSFoi = "VoiceCallStopFrame";
102
62
  const _VCTE = "VoiceCallToolEvent";
103
63
  const _VCTEo = "VoiceCallTranscriptionEvent";
64
+ const _VCTF = "VoiceCallTranscriptionFrame";
65
+ const _VCTFo = "VoiceCallTransferFrame";
66
+ const _VCVF = "VoiceCallVadFrame";
67
+ const _VDS = "VoiceDetectionSettings";
104
68
  const _VE = "ValidationException";
105
69
  const _VEE = "VoiceErrorEvent";
70
+ const _VHCD = "VoiceHangupCommandData";
71
+ const _VHWF = "VoiceHealthcheckWebsocketFrame";
72
+ const _VIE = "VoiceInterruptionEvent";
106
73
  const _VL = "VoiceList";
107
74
  const _VP = "VoicePronunciation";
75
+ const _VPCD = "VoicePlayCommandData";
76
+ const _VPE = "VoicePlaybackEvent";
108
77
  const _VPL = "VoicePronunciationList";
78
+ const _VRE = "VoiceReplyEvent";
79
+ const _VSCAO = "VoiceSayCommandAudioOptions";
80
+ const _VSCD = "VoiceSayCommandData";
81
+ const _VSCDo = "VoiceStopCommandData";
82
+ const _VSEE = "VoiceSessionEndedEvent";
109
83
  const _VSP = "VoiceSpeechPayload";
84
+ const _VSSE = "VoiceSessionStartedEvent";
85
+ const _VTCD = "VoiceTransferCommandData";
86
+ const _VTE = "VoiceTranscriptionEvent";
110
87
  const _a = "audio/mpeg";
111
88
  const _aB = "audioBegin";
112
89
  const _aD = "autoDetect";
@@ -116,136 +93,125 @@ const _aI = "agentId";
116
93
  const _aM = "atMs";
117
94
  const _aN = "agentName";
118
95
  const _aT = "agentTranscription";
119
- const _aTWE = "agentTranscriptionWebsocketEvent";
96
+ const _aTE = "agentTranscriptionEvent";
120
97
  const _aV = "agentVersion";
121
- const _aWE = "audioWebsocketEvent";
122
- const _ac = "action";
123
98
  const _ag = "agent";
124
99
  const _as = "as";
125
100
  const _au = "audio";
126
101
  const _bS = "backgroundSound";
127
102
  const _c = "client";
128
103
  const _cC = "callerCompany";
129
- const _cE = "callEvent";
130
- const _cEa = "callerEmail";
104
+ const _cE = "completeEvent";
105
+ const _cEa = "callEvent";
106
+ const _cEal = "callerEmail";
131
107
  const _cI = "callId";
108
+ const _cIo = "connectionId";
132
109
  const _cN = "callerName";
133
110
  const _cNa = "callerNumber";
134
111
  const _cP = "connectParams";
112
+ const _cS = "callSocket";
135
113
  const _cT = "contentType";
136
- const _cWE = "completeWebsocketEvent";
137
- const _cWEo = "controlWebsocketEvent";
138
- const _ca = "cause";
114
+ const _ca = "category";
139
115
  const _cal = "caller";
140
- const _cat = "category";
141
- const _ch = "channels";
142
- const _cl = "cloud";
143
116
  const _co = "confidence";
144
117
  const _cod = "code";
145
- const _com = "command";
118
+ const _com = "complete";
146
119
  const _comp = "company";
147
- const _compl = "complete";
148
120
  const _con = "context";
149
121
  const _cr = "credential";
150
122
  const _d = "data";
151
123
  const _dN = "dialedNumber";
152
124
  const _di = "digits";
153
- const _dr = "draft";
154
- const _dro = "dropped";
125
+ const _dr = "dropped";
126
+ const _dra = "draft";
155
127
  const _dt = "dtmf";
156
128
  const _du = "duck";
157
129
  const _e = "error";
158
130
  const _eD = "energyDb";
131
+ const _eE = "errorEvent";
159
132
  const _eM = "endMs";
160
133
  const _eT = "endTime";
161
- const _eWE = "errorWebsocketEvent";
162
134
  const _em = "email";
163
135
  const _en = "encoding";
164
- const _end = "ended";
136
+ const _end = "end";
137
+ const _ende = "ended";
165
138
  const _eng = "engine";
166
- const _ev = "event";
167
- const _eve = "events";
139
+ const _ev = "events";
140
+ const _eve = "event";
168
141
  const _ex = "extension";
169
142
  const _f = "final";
143
+ const _fDR = "finalDropReason";
170
144
  const _fI = "flowIndex";
171
- const _fi = "finished";
172
- const _fin = "finish";
173
145
  const _fr = "from";
174
146
  const _gI = "groupId";
175
147
  const _h = "hangup";
148
+ const _hC = "hangupCommand";
176
149
  const _hE = "httpError";
177
150
  const _hH = "httpHeader";
178
151
  const _hQ = "httpQuery";
179
- const _hWC = "hangupWebsocketCommand";
152
+ const _hWF = "healthcheckWebsocketFrame";
180
153
  const _ht = "http";
181
154
  const _i = "id";
182
- const _iA = "inputAudio";
155
+ const _iE = "interruptionEvent";
183
156
  const _iM = "initialMessage";
184
157
  const _iMn = "inputMode";
185
- const _iWE = "interruptionWebsocketEvent";
186
158
  const _in = "interruptible";
187
159
  const _int = "interruption";
188
160
  const _l = "language";
189
161
  const _la = "languages";
190
162
  const _m = "message";
191
163
  const _mT = "mediaType";
192
- const _me = "media";
193
- const _met = "metadata";
164
+ const _me = "metadata";
194
165
  const _n = "name";
195
166
  const _nu = "number";
196
- const _oA = "outputAudio";
197
167
  const _oT = "originalText";
198
168
  const _p = "phrase";
169
+ const _pC = "playCommand";
170
+ const _pE = "playbackEvent";
199
171
  const _pL = "preferredLanguage";
200
172
  const _pM = "playedMs";
201
173
  const _pT = "playedText";
202
174
  const _pV = "protocolVersion";
203
- const _pWC = "playWebsocketCommand";
204
- const _pWE = "playbackWebsocketEvent";
205
175
  const _pa = "party";
206
- const _pb = "pbx";
207
176
  const _ph = "phase";
208
177
  const _pl = "playback";
209
178
  const _pr = "provider";
210
179
  const _pro = "pronunciations";
211
- const _pu = "purpose";
212
180
  const _r = "reason";
213
181
  const _rAM = "resumeAtMs";
182
+ const _rE = "replyEvent";
214
183
  const _rI = "replyId";
215
184
  const _rM = "rampMs";
216
- const _rWE = "replyWebsocketEvent";
217
- const _re = "restore";
185
+ const _re = "retryable";
218
186
  const _rep = "reply";
219
187
  const _res = "resume";
220
- const _ret = "retryable";
221
188
  const _s = "smithy.ts.sdk.synthetic.wildix.wilma.voice";
222
- const _sEWE = "sessionEndedWebsocketEvent";
189
+ const _sC = "sayCommand";
190
+ const _sCt = "stopCommand";
191
+ const _sEE = "sessionEndedEvent";
223
192
  const _sI = "streamId";
224
193
  const _sIe = "sessionId";
225
194
  const _sLD = "silenceLevelDb";
226
195
  const _sLDp = "speechLevelDb";
227
- const _sM = "startMs";
228
- const _sMi = "silenceMs";
196
+ const _sM = "silenceMs";
229
197
  const _sMt = "startMessage";
198
+ const _sMta = "startMs";
230
199
  const _sR = "sampleRate";
231
- const _sSWE = "sessionStartedWebsocketEvent";
200
+ const _sSE = "sessionStartedEvent";
232
201
  const _sT = "startTime";
233
- const _sWC = "sayWebsocketCommand";
234
- const _sWCt = "stopWebsocketCommand";
235
202
  const _sa = "say";
236
- const _se = "seq";
237
- const _sp = "speaking";
238
- const _spe = "speech";
203
+ const _sp = "speech";
204
+ const _spe = "speaking";
239
205
  const _st = "streaming";
240
- const _sta = "started";
241
- const _star = "start";
206
+ const _sta = "start";
207
+ const _star = "started";
242
208
  const _sto = "stop";
243
209
  const _t = "type";
210
+ const _tC = "transferCommand";
244
211
  const _tCI = "toolCallId";
212
+ const _tE = "transcriptionEvent";
245
213
  const _tI = "traceId";
246
214
  const _tN = "toolName";
247
- const _tWC = "transferWebsocketCommand";
248
- const _tWE = "transcriptionWebsocketEvent";
249
215
  const _te = "text";
250
216
  const _ti = "time";
251
217
  const _to = "to";
@@ -253,6 +219,7 @@ const _too = "tool";
253
219
  const _tr = "transcription";
254
220
  const _tra = "transfer";
255
221
  const _u = "uri";
222
+ const _us = "user";
256
223
  const _v = "voices";
257
224
  const _vD = "volumeDb";
258
225
  const _vDo = "voiceDetection";
@@ -263,6 +230,7 @@ const _vo = "voice";
263
230
  const n0 = "smithy.framework";
264
231
  const n1 = "wildix.wilma.voice";
265
232
  const n2 = "wildix.wilma.agents";
233
+ const n3 = "wildix.wilma.common";
266
234
  import { TypeRegistry } from "@smithy/core/schema";
267
235
  import { ForbiddenException, NotFoundException, ValidationException } from "../models/errors";
268
236
  import { WilmaVoiceServiceException } from "../models/WilmaVoiceServiceException";
@@ -294,265 +262,120 @@ export const errorTypeRegistries = [
294
262
  ];
295
263
  var Mp3Audio = [0, n1, _MA, { [_mT]: _a }, 21];
296
264
  var VoiceCallEventStreamBody = [0, n1, _VCESB, { [_st]: 1 }, 42];
265
+ export var VoiceDetectionSettings$ = [3, n2, _VDS,
266
+ 0,
267
+ [_sM, _sLD, _sLDp],
268
+ [1, 1, 1]
269
+ ];
297
270
  export var VoicePronunciation$ = [3, n2, _VP,
298
271
  0,
299
272
  [_p, _as, _en],
300
273
  [0, 0, 0], 2
301
274
  ];
302
- export var AgentTranscriptionEvent$ = [3, n1, _ATE,
303
- 0,
304
- [_t, _i, _te, _ti, _co, _f, _l],
305
- [0, 0, 0, 1, 1, 2, 0], 4
306
- ];
307
- export var AgentTranscriptionWebsocketEvent$ = [3, n1, _ATWE,
275
+ export var VoiceAgentTranscriptionEvent$ = [3, n3, _VATE,
308
276
  0,
309
- [_t, _ev],
310
- [0, () => AgentTranscriptionEvent$], 2
277
+ [_t, _te, _i, _co, _f, _l, _ti],
278
+ [0, 0, 0, 1, 2, 0, 1], 2
311
279
  ];
312
- export var AudioEvent$ = [3, n1, _AE,
313
- 0,
314
- [_t, _d, _se],
315
- [0, 0, 1], 2
316
- ];
317
- export var AudioWebsocketEvent$ = [3, n1, _AWE,
318
- 0,
319
- [_t, _ev],
320
- [0, () => AudioEvent$], 2
321
- ];
322
- export var CompleteEvent$ = [3, n1, _CE,
280
+ export var VoiceCompleteEvent$ = [3, n3, _VCE,
323
281
  0,
324
282
  [_t, _r, _ti],
325
- [0, 0, 1], 3
326
- ];
327
- export var CompleteWebsocketEvent$ = [3, n1, _CWE,
328
- 0,
329
- [_t, _ev],
330
- [0, () => CompleteEvent$], 2
331
- ];
332
- export var ControlEvent$ = [3, n1, _CEo,
333
- 0,
334
- [_t, _ac],
335
- [0, 0], 2
336
- ];
337
- export var ControlWebsocketEvent$ = [3, n1, _CWEo,
338
- 0,
339
- [_t, _ev],
340
- [0, () => ControlEvent$], 2
341
- ];
342
- export var DescribeVoiceProtocolInput$ = [3, n1, _DVPI,
343
- 0,
344
- [],
345
- []
346
- ];
347
- export var DescribeVoiceProtocolOutput$ = [3, n1, _DVPO,
348
- 0,
349
- [_cP, _aWE, _tWE, _aTWE, _rWE, _pWE, _iWE, _cWE, _cWEo, _sSWE, _sEWE, _eWE, _sWC, _pWC, _sWCt, _hWC, _tWC, _cE, _me],
350
- [() => VoiceConnectParams$, () => AudioWebsocketEvent$, () => TranscriptionWebsocketEvent$, () => AgentTranscriptionWebsocketEvent$, () => ReplyWebsocketEvent$, () => PlaybackWebsocketEvent$, () => InterruptionWebsocketEvent$, () => CompleteWebsocketEvent$, () => ControlWebsocketEvent$, () => SessionStartedWebsocketEvent$, () => SessionEndedWebsocketEvent$, () => ErrorWebsocketEvent$, () => SayWebsocketCommand$, () => PlayWebsocketCommand$, () => StopWebsocketCommand$, () => HangupWebsocketCommand$, () => TransferWebsocketCommand$, () => VoiceCallEvent$, () => MediaProtocolFrames$]
351
- ];
352
- export var ErrorWebsocketEvent$ = [3, n1, _EWE,
353
- 0,
354
- [_t, _ev],
355
- [0, () => VoiceErrorEvent$], 2
356
- ];
357
- export var HangupCommandData$ = [3, n1, _HCD,
358
- 0,
359
- [_t, _r],
360
- [0, 0], 1
361
- ];
362
- export var HangupWebsocketCommand$ = [3, n1, _HWC,
363
- 0,
364
- [_t, _com],
365
- [0, () => HangupCommandData$], 2
366
- ];
367
- export var InterruptionEvent$ = [3, n1, _IE,
368
- 0,
369
- [_t, _rI, _pT, _oT, _ti],
370
- [0, 0, 0, 0, 1], 5
371
- ];
372
- export var InterruptionWebsocketEvent$ = [3, n1, _IWE,
373
- 0,
374
- [_t, _ev],
375
- [0, () => InterruptionEvent$], 2
376
- ];
377
- export var ListVoicesInput$ = [3, n1, _LVI,
378
- 0,
379
- [_pr, _l, _cr],
380
- [[0, { [_hQ]: _pr }], [0, { [_hQ]: _l }], [0, { [_hQ]: _cr }]], 1
381
- ];
382
- export var ListVoicesOutput$ = [3, n1, _LVO,
383
- 0,
384
- [_v],
385
- [() => VoiceList], 1
283
+ [0, 0, 1], 1
386
284
  ];
387
- export var MediaAudioBeginFrame$ = [3, n1, _MABF,
285
+ export var VoiceErrorEvent$ = [3, n3, _VEE,
388
286
  0,
389
- [_t, _rI, _sI, _sR],
287
+ [_t, _cod, _m, _ti],
390
288
  [0, 0, 0, 1], 4
391
289
  ];
392
- export var MediaAudioEndFrame$ = [3, n1, _MAEF,
393
- 0,
394
- [_t, _sI],
395
- [0, 0], 2
396
- ];
397
- export var MediaAudioFormat$ = [3, n1, _MAF,
398
- 0,
399
- [_en, _sR, _ch],
400
- [0, 1, 1], 3
401
- ];
402
- export var MediaCloudFrames$ = [3, n1, _MCF,
403
- 0,
404
- [_sta, _tr, _aB, _au, _aE, _sto, _du, _re, _l, _tra, _h, _e, _fi],
405
- [() => MediaStartedFrame$, () => MediaTranscriptionFrame$, () => MediaAudioBeginFrame$, 21, () => MediaAudioEndFrame$, () => MediaStopFrame$, () => MediaDuckFrame$, () => MediaRestoreFrame$, () => MediaLanguageFrame$, () => MediaTransferFrame$, () => MediaHangupFrame$, () => MediaErrorFrame$, () => MediaFinishedFrame$]
406
- ];
407
- export var MediaDtmfFrame$ = [3, n1, _MDF,
408
- 0,
409
- [_t, _i, _di],
410
- [0, 0, 0], 3
411
- ];
412
- export var MediaDuckFrame$ = [3, n1, _MDFe,
413
- 0,
414
- [_t, _rI, _vD, _rM],
415
- [0, 0, 1, 1], 4
416
- ];
417
- export var MediaErrorFrame$ = [3, n1, _MEF,
418
- 0,
419
- [_t, _cod, _ret, _m],
420
- [0, 0, 2, 0], 4
421
- ];
422
- export var MediaFinishedFrame$ = [3, n1, _MFF,
423
- 0,
424
- [_t],
425
- [0], 1
426
- ];
427
- export var MediaFinishFrame$ = [3, n1, _MFFe,
290
+ export var VoiceHangupCommandData$ = [3, n3, _VHCD,
428
291
  0,
429
292
  [_t, _r],
430
- [0, 0], 2
293
+ [0, 0], 1
431
294
  ];
432
- export var MediaHangupFrame$ = [3, n1, _MHF,
295
+ export var VoiceHealthcheckWebsocketFrame$ = [3, n3, _VHWF,
433
296
  0,
434
297
  [_t],
435
298
  [0], 1
436
299
  ];
437
- export var MediaLanguageFrame$ = [3, n1, _MLF,
438
- 0,
439
- [_t, _l],
440
- [0, 0], 2
441
- ];
442
- export var MediaPbxFrames$ = [3, n1, _MPF,
300
+ export var VoiceInterruptionEvent$ = [3, n3, _VIE,
443
301
  0,
444
- [_star, _au, _va, _dt, _pl, _fin],
445
- [() => MediaStartFrame$, 21, () => MediaVadFrame$, () => MediaDtmfFrame$, () => MediaPlaybackFrame$, () => MediaFinishFrame$]
302
+ [_t, _rI, _pT, _oT, _ti],
303
+ [0, 0, 0, 0, 1], 1
446
304
  ];
447
- export var MediaPlaybackFrame$ = [3, n1, _MPFe,
305
+ export var VoicePlaybackEvent$ = [3, n3, _VPE,
448
306
  0,
449
- [_t, _rI, _sI, _ev, _aM, _pM, _ca],
450
- [0, 0, 0, 0, 1, 1, 0], 5
307
+ [_t, _com, _rI, _te, _sT, _eT],
308
+ [0, 2, 0, 0, 1, 1], 2
451
309
  ];
452
- export var MediaProtocolFrames$ = [3, n1, _MPFed,
310
+ export var VoicePlayCommandData$ = [3, n3, _VPCD,
453
311
  0,
454
- [_pb, _cl],
455
- [() => MediaPbxFrames$, () => MediaCloudFrames$]
312
+ [_rI, _sI, _d, _t],
313
+ [0, 0, 0, 0], 4
456
314
  ];
457
- export var MediaRestoreFrame$ = [3, n1, _MRF,
315
+ export var VoiceReplyEvent$ = [3, n3, _VRE,
458
316
  0,
459
- [_t, _rI, _rM],
460
- [0, 0, 1], 3
317
+ [_t, _te, _i, _ti, _l, _co, _sT, _eT],
318
+ [0, 0, 0, 1, 0, 1, 1, 1], 2
461
319
  ];
462
- export var MediaStartAgent$ = [3, n1, _MSA,
320
+ export var VoiceSayCommandAudioOptions$ = [3, n3, _VSCAO,
463
321
  0,
464
- [_i, _dr, _ve],
465
- [0, 2, 1], 1
322
+ [_sI, _sR],
323
+ [0, 1], 2
466
324
  ];
467
- export var MediaStartCaller$ = [3, n1, _MSC,
325
+ export var VoiceSayCommandData$ = [3, n3, _VSCD,
468
326
  0,
469
- [_n, _nu, _em, _comp],
470
- [0, 0, 0, 0]
327
+ [_te, _rI, _t, _in, _au],
328
+ [0, 0, 0, 2, () => VoiceSayCommandAudioOptions$], 3
471
329
  ];
472
- export var MediaStartedAgent$ = [3, n1, _MSAe,
330
+ export var VoiceSessionEndedEvent$ = [3, n3, _VSEE,
473
331
  0,
474
- [_n],
475
- [0], 1
332
+ [_t, _ti, _r, _e],
333
+ [0, 1, 0, 0], 2
476
334
  ];
477
- export var MediaStartedFrame$ = [3, n1, _MSF,
335
+ export var VoiceSessionStartedEvent$ = [3, n3, _VSSE,
478
336
  0,
479
- [_t, _sI, _ag, _gI, _bS, _vDo],
480
- [0, 0, () => MediaStartedAgent$, 0, 0, () => MediaVoiceDetection$], 2
337
+ [_t, _ti, _sIe, _aI, _aV, _tI, _aN, _ca, _gI, _sp, _bS],
338
+ [0, 1, 0, 0, 1, 0, 0, 0, 0, () => VoiceSpeechPayload$, 0], 4
481
339
  ];
482
- export var MediaStartFrame$ = [3, n1, _MSFe,
340
+ export var VoiceSpeechPayload$ = [3, n3, _VSP,
483
341
  0,
484
- [_t, _pu, _cI, _fI, _sIe, _res, _rAM, _au, _cal, _ag, _la, _pL, _aD, _dN, _var],
485
- [0, 0, 0, 1, 0, 2, 1, () => MediaAudioFormat$, () => MediaStartCaller$, () => MediaStartAgent$, 64 | 0, 0, 2, 0, 0], 9
342
+ [_eng, _la, _pL, _aD],
343
+ [0, 64 | 0, 0, 2], 4
486
344
  ];
487
- export var MediaStopFrame$ = [3, n1, _MSFed,
345
+ export var VoiceStopCommandData$ = [3, n3, _VSCDo,
488
346
  0,
489
347
  [_t],
490
348
  [0], 1
491
349
  ];
492
- export var MediaTranscriptionFrame$ = [3, n1, _MTF,
350
+ export var VoiceTranscriptionEvent$ = [3, n3, _VTE,
493
351
  0,
494
- [_t, _pa, _i, _f, _te, _sM, _eM, _l, _co],
495
- [0, 0, 0, 2, 0, 1, 1, 0, 1], 8
352
+ [_t, _te, _i, _co, _f, _l, _ti],
353
+ [0, 0, 0, 1, 2, 0, 1], 2
496
354
  ];
497
- export var MediaTransferFrame$ = [3, n1, _MTFe,
355
+ export var VoiceTransferCommandData$ = [3, n3, _VTCD,
498
356
  0,
499
- [_t, _con, _ex],
357
+ [_con, _ex, _t],
500
358
  [0, 0, 0], 3
501
359
  ];
502
- export var MediaVadFrame$ = [3, n1, _MVF,
503
- 0,
504
- [_t, _pa, _sp, _eD, _aM],
505
- [0, 0, 2, 1, 1], 5
506
- ];
507
- export var MediaVoiceDetection$ = [3, n1, _MVD,
508
- 0,
509
- [_sMi, _sLD, _sLDp],
510
- [1, 1, 1], 3
511
- ];
512
- export var PlaybackEvent$ = [3, n1, _PE,
513
- 0,
514
- [_t, _rI, _te, _compl, _sT, _eT],
515
- [0, 0, 0, 2, 1, 1], 5
516
- ];
517
- export var PlaybackWebsocketEvent$ = [3, n1, _PWE,
518
- 0,
519
- [_t, _ev],
520
- [0, () => PlaybackEvent$], 2
521
- ];
522
- export var PlayCommandData$ = [3, n1, _PCD,
523
- 0,
524
- [_rI, _sI, _d, _t],
525
- [0, 0, 0, 0], 4
526
- ];
527
- export var PlayWebsocketCommand$ = [3, n1, _PWC,
528
- 0,
529
- [_t, _com],
530
- [0, () => PlayCommandData$], 2
531
- ];
532
- export var ReplyEvent$ = [3, n1, _RE,
533
- 0,
534
- [_t, _i, _te, _sT, _eT, _l],
535
- [0, 0, 0, 1, 1, 0], 5
536
- ];
537
- export var ReplyWebsocketEvent$ = [3, n1, _RWE,
360
+ export var DescribeVoiceProtocolInput$ = [3, n1, _DVPI,
538
361
  0,
539
- [_t, _ev],
540
- [0, () => ReplyEvent$], 2
362
+ [],
363
+ []
541
364
  ];
542
- export var SayCommandAudioOptions$ = [3, n1, _SCAO,
365
+ export var DescribeVoiceProtocolOutput$ = [3, n1, _DVPO,
543
366
  0,
544
- [_sI, _sR],
545
- [0, 1], 2
367
+ [_cP, _hWF, _tE, _aTE, _rE, _pE, _iE, _cE, _sSE, _sEE, _eE, _sC, _pC, _sCt, _hC, _tC, _cEa, _cS],
368
+ [() => VoiceConnectParams$, () => VoiceHealthcheckWebsocketFrame$, () => VoiceTranscriptionEvent$, () => VoiceAgentTranscriptionEvent$, () => VoiceReplyEvent$, () => VoicePlaybackEvent$, () => VoiceInterruptionEvent$, () => VoiceCompleteEvent$, () => VoiceSessionStartedEvent$, () => VoiceSessionEndedEvent$, () => VoiceErrorEvent$, () => VoiceSayCommandData$, () => VoicePlayCommandData$, () => VoiceStopCommandData$, () => VoiceHangupCommandData$, () => VoiceTransferCommandData$, () => VoiceCallEvent$, () => VoiceCallProtocolFrames$]
546
369
  ];
547
- export var SayCommandData$ = [3, n1, _SCD,
370
+ export var ListVoicesInput$ = [3, n1, _LVI,
548
371
  0,
549
- [_te, _rI, _t, _in, _vo, _au],
550
- [0, 0, 0, 2, 0, () => SayCommandAudioOptions$], 3
372
+ [_pr, _l, _cr],
373
+ [[0, { [_hQ]: _pr }], [0, { [_hQ]: _l }], [0, { [_hQ]: _cr }]], 1
551
374
  ];
552
- export var SayWebsocketCommand$ = [3, n1, _SWC,
375
+ export var ListVoicesOutput$ = [3, n1, _LVO,
553
376
  0,
554
- [_t, _com],
555
- [0, () => SayCommandData$], 2
377
+ [_v],
378
+ [() => VoiceList], 1
556
379
  ];
557
380
  export var SendHangupInput$ = [3, n1, _SHI,
558
381
  0,
@@ -576,8 +399,8 @@ export var SendPlayOutput$ = [3, n1, _SPO,
576
399
  ];
577
400
  export var SendSayInput$ = [3, n1, _SSI,
578
401
  0,
579
- [_te, _rI, _sIe, _in, _vo, _au],
580
- [0, 0, [0, 1], 2, 0, () => SayCommandAudioOptions$], 3
402
+ [_te, _rI, _sIe, _in, _au],
403
+ [0, 0, [0, 1], 2, () => VoiceSayCommandAudioOptions$], 3
581
404
  ];
582
405
  export var SendSayOutput$ = [3, n1, _SSO,
583
406
  0,
@@ -604,36 +427,6 @@ export var SendTransferOutput$ = [3, n1, _STO,
604
427
  [],
605
428
  []
606
429
  ];
607
- export var SessionEndedEvent$ = [3, n1, _SEE,
608
- 0,
609
- [_t, _ti, _r, _e],
610
- [0, 1, 0, 0], 2
611
- ];
612
- export var SessionEndedWebsocketEvent$ = [3, n1, _SEWE,
613
- 0,
614
- [_t, _ev],
615
- [0, () => SessionEndedEvent$], 2
616
- ];
617
- export var SessionStartedEvent$ = [3, n1, _SSE,
618
- 0,
619
- [_t, _ti, _sIe, _aI, _aV, _tI, _aN, _cat, _gI, _spe, _bS, _iA, _oA],
620
- [0, 1, 0, 0, 1, 0, 0, 0, 0, () => VoiceSpeechPayload$, 0, () => VoiceAudioFormat$, () => VoiceAudioFormat$], 4
621
- ];
622
- export var SessionStartedWebsocketEvent$ = [3, n1, _SSWE,
623
- 0,
624
- [_t, _ev],
625
- [0, () => SessionStartedEvent$], 2
626
- ];
627
- export var StopCommandData$ = [3, n1, _SCDt,
628
- 0,
629
- [_t],
630
- [0], 1
631
- ];
632
- export var StopWebsocketCommand$ = [3, n1, _SWCt,
633
- 0,
634
- [_t, _com],
635
- [0, () => StopCommandData$], 2
636
- ];
637
430
  export var StreamCallEventsInput$ = [3, n1, _SCEI,
638
431
  0,
639
432
  [_cI, _comp],
@@ -641,7 +434,7 @@ export var StreamCallEventsInput$ = [3, n1, _SCEI,
641
434
  ];
642
435
  export var StreamCallEventsOutput$ = [3, n1, _SCEO,
643
436
  0,
644
- [_eve, _cT],
437
+ [_ev, _cT],
645
438
  [[() => VoiceCallEventStreamBody, 16], [0, { [_hH]: _CT }]], 2
646
439
  ];
647
440
  export var TextToSpeechInput$ = [3, n1, _TTSI,
@@ -654,46 +447,61 @@ export var TextToSpeechOutput$ = [3, n1, _TTSO,
654
447
  [_au],
655
448
  [[() => Mp3Audio, 16]], 1
656
449
  ];
657
- export var TranscriptionEvent$ = [3, n1, _TE,
658
- 0,
659
- [_t, _i, _te, _ti, _co, _f, _l],
660
- [0, 0, 0, 1, 1, 2, 0], 4
661
- ];
662
- export var TranscriptionWebsocketEvent$ = [3, n1, _TWE,
450
+ export var Voice$ = [3, n1, _V,
663
451
  0,
664
- [_t, _ev],
665
- [0, () => TranscriptionEvent$], 2
452
+ [_u, _n, _me],
453
+ [0, 0, 15], 2
666
454
  ];
667
- export var TransferCommandData$ = [3, n1, _TCD,
455
+ export var VoiceCallAgentTranscriptionEvent$ = [3, n1, _VCATE,
668
456
  0,
669
- [_con, _ex, _t],
670
- [0, 0, 0], 3
457
+ [_i, _te, _f, _l, _ti],
458
+ [0, 0, 2, 0, 1], 3
671
459
  ];
672
- export var TransferWebsocketCommand$ = [3, n1, _TWC,
460
+ export var VoiceCallAudioBeginFrame$ = [3, n1, _VCABF,
673
461
  0,
674
- [_t, _com],
675
- [0, () => TransferCommandData$], 2
462
+ [_t, _rI, _sI, _sR],
463
+ [0, 0, 0, 1], 4
676
464
  ];
677
- export var Voice$ = [3, n1, _V,
465
+ export var VoiceCallAudioEndFrame$ = [3, n1, _VCAEF,
678
466
  0,
679
- [_u, _n, _met],
680
- [0, 0, 15], 2
467
+ [_t, _sI],
468
+ [0, 0], 2
681
469
  ];
682
- export var VoiceAudioFormat$ = [3, n1, _VAF,
470
+ export var VoiceCallDtmfFrame$ = [3, n1, _VCDF,
683
471
  0,
684
- [_en, _sR, _ch],
685
- [0, 1, 1], 2
472
+ [_t, _i, _di],
473
+ [0, 0, 0], 3
686
474
  ];
687
- export var VoiceCallAgentTranscriptionEvent$ = [3, n1, _VCATE,
475
+ export var VoiceCallDuckFrame$ = [3, n1, _VCDFo,
688
476
  0,
689
- [_i, _te, _f, _l, _ti],
690
- [0, 0, 2, 0, 1], 3
477
+ [_t, _rI, _vD, _rM],
478
+ [0, 0, 1, 1], 4
691
479
  ];
692
480
  export var VoiceCallEndedEvent$ = [3, n1, _VCEE,
693
481
  0,
694
482
  [_sIe, _r],
695
483
  [0, 0], 2
696
484
  ];
485
+ export var VoiceCallEndedFrame$ = [3, n1, _VCEF,
486
+ 0,
487
+ [_t],
488
+ [0], 1
489
+ ];
490
+ export var VoiceCallEndFrame$ = [3, n1, _VCEFo,
491
+ 0,
492
+ [_t, _r],
493
+ [0, 0], 2
494
+ ];
495
+ export var VoiceCallErrorFrame$ = [3, n1, _VCEFoi,
496
+ 0,
497
+ [_t, _cod, _re, _m],
498
+ [0, 0, 2, 0], 4
499
+ ];
500
+ export var VoiceCallHangupFrame$ = [3, n1, _VCHF,
501
+ 0,
502
+ [_t],
503
+ [0], 1
504
+ ];
697
505
  export var VoiceCallInterruptionEvent$ = [3, n1, _VCIE,
698
506
  0,
699
507
  [_rI, _pT, _oT],
@@ -704,11 +512,26 @@ export var VoiceCallLanguageEvent$ = [3, n1, _VCLE,
704
512
  [_to, _r, _fr],
705
513
  [0, 0, 0], 2
706
514
  ];
515
+ export var VoiceCallLanguageFrame$ = [3, n1, _VCLF,
516
+ 0,
517
+ [_t, _l],
518
+ [0, 0], 2
519
+ ];
707
520
  export var VoiceCallPlaybackEvent$ = [3, n1, _VCPE,
708
521
  0,
709
- [_rI, _compl],
522
+ [_rI, _com],
710
523
  [0, 2], 2
711
524
  ];
525
+ export var VoiceCallPlaybackFrame$ = [3, n1, _VCPF,
526
+ 0,
527
+ [_t, _rI, _sI, _eve, _aM, _pM, _dr],
528
+ [0, 0, 0, 0, 1, 1, 2], 5
529
+ ];
530
+ export var VoiceCallProtocolFrames$ = [3, n1, _VCPFo,
531
+ 0,
532
+ [_sta, _va, _dt, _pl, _end, _star, _tr, _aB, _aE, _sto, _du, _l, _tra, _h, _e, _ende],
533
+ [() => VoiceCallStartFrame$, () => VoiceCallVadFrame$, () => VoiceCallDtmfFrame$, () => VoiceCallPlaybackFrame$, () => VoiceCallEndFrame$, () => VoiceCallStartedFrame$, () => VoiceCallTranscriptionFrame$, () => VoiceCallAudioBeginFrame$, () => VoiceCallAudioEndFrame$, () => VoiceCallStopFrame$, () => VoiceCallDuckFrame$, () => VoiceCallLanguageFrame$, () => VoiceCallTransferFrame$, () => VoiceCallHangupFrame$, () => VoiceCallErrorFrame$, () => VoiceCallEndedFrame$]
534
+ ];
712
535
  export var VoiceCallReplyEvent$ = [3, n1, _VCRE,
713
536
  0,
714
537
  [_i, _te, _l],
@@ -719,11 +542,36 @@ export var VoiceCallSayEvent$ = [3, n1, _VCSE,
719
542
  [_rI, _te, _in],
720
543
  [0, 0, 2], 3
721
544
  ];
545
+ export var VoiceCallStartAgent$ = [3, n1, _VCSA,
546
+ 0,
547
+ [_i, _dra, _ve],
548
+ [0, 2, 1], 1
549
+ ];
550
+ export var VoiceCallStartCaller$ = [3, n1, _VCSC,
551
+ 0,
552
+ [_n, _nu, _em, _comp],
553
+ [0, 0, 0, 0]
554
+ ];
722
555
  export var VoiceCallStartedEvent$ = [3, n1, _VCSEo,
723
556
  0,
724
557
  [_sIe, _aI, _tI, _aN, _aV, _aDg, _l],
725
558
  [0, 0, 0, 0, 1, 2, 0], 2
726
559
  ];
560
+ export var VoiceCallStartedFrame$ = [3, n1, _VCSF,
561
+ 0,
562
+ [_t, _cIo, _aN, _gI, _bS, _vDo],
563
+ [0, 0, 0, 0, 0, () => VoiceDetectionSettings$], 3
564
+ ];
565
+ export var VoiceCallStartFrame$ = [3, n1, _VCSFo,
566
+ 0,
567
+ [_t, _cI, _fI, _sIe, _res, _rAM, _ag, _l, _cal, _dN, _var],
568
+ [0, 0, 1, 0, 2, 1, () => VoiceCallStartAgent$, 0, () => VoiceCallStartCaller$, 0, 0], 9
569
+ ];
570
+ export var VoiceCallStopFrame$ = [3, n1, _VCSFoi,
571
+ 0,
572
+ [_t],
573
+ [0], 1
574
+ ];
727
575
  export var VoiceCallToolEvent$ = [3, n1, _VCTE,
728
576
  0,
729
577
  [_tCI, _tN, _ph, _sMt],
@@ -731,35 +579,39 @@ export var VoiceCallToolEvent$ = [3, n1, _VCTE,
731
579
  ];
732
580
  export var VoiceCallTranscriptionEvent$ = [3, n1, _VCTEo,
733
581
  0,
734
- [_i, _te, _f, _l, _ti, _dro],
582
+ [_i, _te, _f, _l, _ti, _fDR],
735
583
  [0, 0, 2, 0, 1, 0], 3
736
584
  ];
737
- export var VoiceConnectParams$ = [3, n1, _VCP,
585
+ export var VoiceCallTranscriptionFrame$ = [3, n1, _VCTF,
738
586
  0,
739
- [_sIe, _aI, _pV, _aV, _aDg, _cI, _fI, _dN, _l, _cN, _cNa, _cEa, _cC, _vo, _iM, _var, _iMn, _iA, _oA],
740
- [0, 0, 1, 1, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => VoiceAudioFormat$, () => VoiceAudioFormat$], 2
587
+ [_t, _pa, _i, _f, _te, _sMta, _eM, _l, _co],
588
+ [0, 0, 0, 2, 0, 1, 1, 0, 1], 8
741
589
  ];
742
- export var VoiceErrorEvent$ = [3, n1, _VEE,
590
+ export var VoiceCallTransferFrame$ = [3, n1, _VCTFo,
743
591
  0,
744
- [_t, _cod, _m, _ti],
745
- [0, 0, 0, 1], 4
592
+ [_con, _ex, _t],
593
+ [0, 0, 0], 3
746
594
  ];
747
- export var VoiceSpeechPayload$ = [3, n1, _VSP,
595
+ export var VoiceCallVadFrame$ = [3, n1, _VCVF,
748
596
  0,
749
- [_eng, _la, _pL, _aD],
750
- [0, 64 | 0, 0, 2], 4
597
+ [_t, _spe, _eD, _aM],
598
+ [0, 2, 1, 1], 4
599
+ ];
600
+ export var VoiceConnectParams$ = [3, n1, _VCP,
601
+ 0,
602
+ [_sIe, _aI, _pV, _res, _aV, _aDg, _cI, _fI, _dN, _l, _cN, _cNa, _cEal, _cC, _vo, _iM, _var, _iMn, _us, _comp],
603
+ [0, 0, 1, 2, 1, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 2
751
604
  ];
752
605
  var LanguageCodeList = 64 | 0;
753
606
  var VoicePronunciationList = [1, n2, _VPL,
754
607
  0, () => VoicePronunciation$
755
608
  ];
756
- var MediaStartLanguageList = 64 | 0;
757
609
  var VoiceList = [1, n1, _VL,
758
610
  0, () => Voice$
759
611
  ];
760
- export var VoiceCallEvent$ = [4, n1, _VCE,
612
+ export var VoiceCallEvent$ = [4, n1, _VCEo,
761
613
  0,
762
- [_sta, _tr, _aT, _rep, _sa, _pl, _int, _l, _too, _end],
614
+ [_star, _tr, _aT, _rep, _sa, _pl, _int, _l, _too, _ende],
763
615
  [() => VoiceCallStartedEvent$, () => VoiceCallTranscriptionEvent$, () => VoiceCallAgentTranscriptionEvent$, () => VoiceCallReplyEvent$, () => VoiceCallSayEvent$, () => VoiceCallPlaybackEvent$, () => VoiceCallInterruptionEvent$, () => VoiceCallLanguageEvent$, () => VoiceCallToolEvent$, () => VoiceCallEndedEvent$]
764
616
  ];
765
617
  export var DescribeVoiceProtocol$ = [9, n1, _DVP,