@wildix/wilma-voice-client 0.0.51 → 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,137 +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";
218
- const _rec = "reconnect";
185
+ const _re = "retryable";
219
186
  const _rep = "reply";
220
187
  const _res = "resume";
221
- const _ret = "retryable";
222
188
  const _s = "smithy.ts.sdk.synthetic.wildix.wilma.voice";
223
- const _sEWE = "sessionEndedWebsocketEvent";
189
+ const _sC = "sayCommand";
190
+ const _sCt = "stopCommand";
191
+ const _sEE = "sessionEndedEvent";
224
192
  const _sI = "streamId";
225
193
  const _sIe = "sessionId";
226
194
  const _sLD = "silenceLevelDb";
227
195
  const _sLDp = "speechLevelDb";
228
- const _sM = "startMs";
229
- const _sMi = "silenceMs";
196
+ const _sM = "silenceMs";
230
197
  const _sMt = "startMessage";
198
+ const _sMta = "startMs";
231
199
  const _sR = "sampleRate";
232
- const _sSWE = "sessionStartedWebsocketEvent";
200
+ const _sSE = "sessionStartedEvent";
233
201
  const _sT = "startTime";
234
- const _sWC = "sayWebsocketCommand";
235
- const _sWCt = "stopWebsocketCommand";
236
202
  const _sa = "say";
237
- const _se = "seq";
238
- const _sp = "speaking";
239
- const _spe = "speech";
203
+ const _sp = "speech";
204
+ const _spe = "speaking";
240
205
  const _st = "streaming";
241
- const _sta = "started";
242
- const _star = "start";
206
+ const _sta = "start";
207
+ const _star = "started";
243
208
  const _sto = "stop";
244
209
  const _t = "type";
210
+ const _tC = "transferCommand";
245
211
  const _tCI = "toolCallId";
212
+ const _tE = "transcriptionEvent";
246
213
  const _tI = "traceId";
247
214
  const _tN = "toolName";
248
- const _tWC = "transferWebsocketCommand";
249
- const _tWE = "transcriptionWebsocketEvent";
250
215
  const _te = "text";
251
216
  const _ti = "time";
252
217
  const _to = "to";
@@ -254,6 +219,7 @@ const _too = "tool";
254
219
  const _tr = "transcription";
255
220
  const _tra = "transfer";
256
221
  const _u = "uri";
222
+ const _us = "user";
257
223
  const _v = "voices";
258
224
  const _vD = "volumeDb";
259
225
  const _vDo = "voiceDetection";
@@ -264,6 +230,7 @@ const _vo = "voice";
264
230
  const n0 = "smithy.framework";
265
231
  const n1 = "wildix.wilma.voice";
266
232
  const n2 = "wildix.wilma.agents";
233
+ const n3 = "wildix.wilma.common";
267
234
  import { TypeRegistry } from "@smithy/core/schema";
268
235
  import { ForbiddenException, NotFoundException, ValidationException } from "../models/errors";
269
236
  import { WilmaVoiceServiceException } from "../models/WilmaVoiceServiceException";
@@ -295,265 +262,120 @@ export const errorTypeRegistries = [
295
262
  ];
296
263
  var Mp3Audio = [0, n1, _MA, { [_mT]: _a }, 21];
297
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
+ ];
298
270
  export var VoicePronunciation$ = [3, n2, _VP,
299
271
  0,
300
272
  [_p, _as, _en],
301
273
  [0, 0, 0], 2
302
274
  ];
303
- export var AgentTranscriptionEvent$ = [3, n1, _ATE,
304
- 0,
305
- [_t, _i, _te, _ti, _co, _f, _l],
306
- [0, 0, 0, 1, 1, 2, 0], 4
307
- ];
308
- export var AgentTranscriptionWebsocketEvent$ = [3, n1, _ATWE,
275
+ export var VoiceAgentTranscriptionEvent$ = [3, n3, _VATE,
309
276
  0,
310
- [_t, _ev],
311
- [0, () => AgentTranscriptionEvent$], 2
277
+ [_t, _te, _i, _co, _f, _l, _ti],
278
+ [0, 0, 0, 1, 2, 0, 1], 2
312
279
  ];
313
- export var AudioEvent$ = [3, n1, _AE,
314
- 0,
315
- [_t, _d, _se],
316
- [0, 0, 1], 2
317
- ];
318
- export var AudioWebsocketEvent$ = [3, n1, _AWE,
319
- 0,
320
- [_t, _ev],
321
- [0, () => AudioEvent$], 2
322
- ];
323
- export var CompleteEvent$ = [3, n1, _CE,
280
+ export var VoiceCompleteEvent$ = [3, n3, _VCE,
324
281
  0,
325
282
  [_t, _r, _ti],
326
- [0, 0, 1], 3
327
- ];
328
- export var CompleteWebsocketEvent$ = [3, n1, _CWE,
329
- 0,
330
- [_t, _ev],
331
- [0, () => CompleteEvent$], 2
332
- ];
333
- export var ControlEvent$ = [3, n1, _CEo,
334
- 0,
335
- [_t, _ac],
336
- [0, 0], 2
337
- ];
338
- export var ControlWebsocketEvent$ = [3, n1, _CWEo,
339
- 0,
340
- [_t, _ev],
341
- [0, () => ControlEvent$], 2
342
- ];
343
- export var DescribeVoiceProtocolInput$ = [3, n1, _DVPI,
344
- 0,
345
- [],
346
- []
347
- ];
348
- export var DescribeVoiceProtocolOutput$ = [3, n1, _DVPO,
349
- 0,
350
- [_cP, _aWE, _tWE, _aTWE, _rWE, _pWE, _iWE, _cWE, _cWEo, _sSWE, _sEWE, _eWE, _sWC, _pWC, _sWCt, _hWC, _tWC, _cE, _me],
351
- [() => VoiceConnectParams$, () => AudioWebsocketEvent$, () => TranscriptionWebsocketEvent$, () => AgentTranscriptionWebsocketEvent$, () => ReplyWebsocketEvent$, () => PlaybackWebsocketEvent$, () => InterruptionWebsocketEvent$, () => CompleteWebsocketEvent$, () => ControlWebsocketEvent$, () => SessionStartedWebsocketEvent$, () => SessionEndedWebsocketEvent$, () => ErrorWebsocketEvent$, () => SayWebsocketCommand$, () => PlayWebsocketCommand$, () => StopWebsocketCommand$, () => HangupWebsocketCommand$, () => TransferWebsocketCommand$, () => VoiceCallEvent$, () => MediaProtocolFrames$]
352
- ];
353
- export var ErrorWebsocketEvent$ = [3, n1, _EWE,
354
- 0,
355
- [_t, _ev],
356
- [0, () => VoiceErrorEvent$], 2
357
- ];
358
- export var HangupCommandData$ = [3, n1, _HCD,
359
- 0,
360
- [_t, _r],
361
- [0, 0], 1
362
- ];
363
- export var HangupWebsocketCommand$ = [3, n1, _HWC,
364
- 0,
365
- [_t, _com],
366
- [0, () => HangupCommandData$], 2
367
- ];
368
- export var InterruptionEvent$ = [3, n1, _IE,
369
- 0,
370
- [_t, _rI, _pT, _oT, _ti],
371
- [0, 0, 0, 0, 1], 5
372
- ];
373
- export var InterruptionWebsocketEvent$ = [3, n1, _IWE,
374
- 0,
375
- [_t, _ev],
376
- [0, () => InterruptionEvent$], 2
377
- ];
378
- export var ListVoicesInput$ = [3, n1, _LVI,
379
- 0,
380
- [_pr, _l, _cr],
381
- [[0, { [_hQ]: _pr }], [0, { [_hQ]: _l }], [0, { [_hQ]: _cr }]], 1
382
- ];
383
- export var ListVoicesOutput$ = [3, n1, _LVO,
384
- 0,
385
- [_v],
386
- [() => VoiceList], 1
283
+ [0, 0, 1], 1
387
284
  ];
388
- export var MediaAudioBeginFrame$ = [3, n1, _MABF,
285
+ export var VoiceErrorEvent$ = [3, n3, _VEE,
389
286
  0,
390
- [_t, _rI, _sI, _sR],
287
+ [_t, _cod, _m, _ti],
391
288
  [0, 0, 0, 1], 4
392
289
  ];
393
- export var MediaAudioEndFrame$ = [3, n1, _MAEF,
394
- 0,
395
- [_t, _sI],
396
- [0, 0], 2
397
- ];
398
- export var MediaAudioFormat$ = [3, n1, _MAF,
399
- 0,
400
- [_en, _sR, _ch],
401
- [0, 1, 1], 3
402
- ];
403
- export var MediaCloudFrames$ = [3, n1, _MCF,
404
- 0,
405
- [_sta, _tr, _aB, _au, _aE, _sto, _du, _re, _l, _tra, _h, _e, _fi],
406
- [() => MediaStartedFrame$, () => MediaTranscriptionFrame$, () => MediaAudioBeginFrame$, 21, () => MediaAudioEndFrame$, () => MediaStopFrame$, () => MediaDuckFrame$, () => MediaRestoreFrame$, () => MediaLanguageFrame$, () => MediaTransferFrame$, () => MediaHangupFrame$, () => MediaErrorFrame$, () => MediaFinishedFrame$]
407
- ];
408
- export var MediaDtmfFrame$ = [3, n1, _MDF,
409
- 0,
410
- [_t, _i, _di],
411
- [0, 0, 0], 3
412
- ];
413
- export var MediaDuckFrame$ = [3, n1, _MDFe,
414
- 0,
415
- [_t, _rI, _vD, _rM],
416
- [0, 0, 1, 1], 4
417
- ];
418
- export var MediaErrorFrame$ = [3, n1, _MEF,
419
- 0,
420
- [_t, _cod, _ret, _m],
421
- [0, 0, 2, 0], 4
422
- ];
423
- export var MediaFinishedFrame$ = [3, n1, _MFF,
424
- 0,
425
- [_t],
426
- [0], 1
427
- ];
428
- export var MediaFinishFrame$ = [3, n1, _MFFe,
290
+ export var VoiceHangupCommandData$ = [3, n3, _VHCD,
429
291
  0,
430
292
  [_t, _r],
431
- [0, 0], 2
293
+ [0, 0], 1
432
294
  ];
433
- export var MediaHangupFrame$ = [3, n1, _MHF,
295
+ export var VoiceHealthcheckWebsocketFrame$ = [3, n3, _VHWF,
434
296
  0,
435
297
  [_t],
436
298
  [0], 1
437
299
  ];
438
- export var MediaLanguageFrame$ = [3, n1, _MLF,
439
- 0,
440
- [_t, _l],
441
- [0, 0], 2
442
- ];
443
- export var MediaPbxFrames$ = [3, n1, _MPF,
300
+ export var VoiceInterruptionEvent$ = [3, n3, _VIE,
444
301
  0,
445
- [_star, _au, _va, _dt, _pl, _fin],
446
- [() => MediaStartFrame$, 21, () => MediaVadFrame$, () => MediaDtmfFrame$, () => MediaPlaybackFrame$, () => MediaFinishFrame$]
302
+ [_t, _rI, _pT, _oT, _ti],
303
+ [0, 0, 0, 0, 1], 1
447
304
  ];
448
- export var MediaPlaybackFrame$ = [3, n1, _MPFe,
305
+ export var VoicePlaybackEvent$ = [3, n3, _VPE,
449
306
  0,
450
- [_t, _rI, _sI, _ev, _aM, _pM, _ca],
451
- [0, 0, 0, 0, 1, 1, 0], 5
307
+ [_t, _com, _rI, _te, _sT, _eT],
308
+ [0, 2, 0, 0, 1, 1], 2
452
309
  ];
453
- export var MediaProtocolFrames$ = [3, n1, _MPFed,
310
+ export var VoicePlayCommandData$ = [3, n3, _VPCD,
454
311
  0,
455
- [_pb, _cl],
456
- [() => MediaPbxFrames$, () => MediaCloudFrames$]
312
+ [_rI, _sI, _d, _t],
313
+ [0, 0, 0, 0], 4
457
314
  ];
458
- export var MediaRestoreFrame$ = [3, n1, _MRF,
315
+ export var VoiceReplyEvent$ = [3, n3, _VRE,
459
316
  0,
460
- [_t, _rI, _rM],
461
- [0, 0, 1], 3
317
+ [_t, _te, _i, _ti, _l, _co, _sT, _eT],
318
+ [0, 0, 0, 1, 0, 1, 1, 1], 2
462
319
  ];
463
- export var MediaStartAgent$ = [3, n1, _MSA,
320
+ export var VoiceSayCommandAudioOptions$ = [3, n3, _VSCAO,
464
321
  0,
465
- [_i, _dr, _ve],
466
- [0, 2, 1], 1
322
+ [_sI, _sR],
323
+ [0, 1], 2
467
324
  ];
468
- export var MediaStartCaller$ = [3, n1, _MSC,
325
+ export var VoiceSayCommandData$ = [3, n3, _VSCD,
469
326
  0,
470
- [_n, _nu, _em, _comp],
471
- [0, 0, 0, 0]
327
+ [_te, _rI, _t, _in, _au],
328
+ [0, 0, 0, 2, () => VoiceSayCommandAudioOptions$], 3
472
329
  ];
473
- export var MediaStartedAgent$ = [3, n1, _MSAe,
330
+ export var VoiceSessionEndedEvent$ = [3, n3, _VSEE,
474
331
  0,
475
- [_n],
476
- [0], 1
332
+ [_t, _ti, _r, _e],
333
+ [0, 1, 0, 0], 2
477
334
  ];
478
- export var MediaStartedFrame$ = [3, n1, _MSF,
335
+ export var VoiceSessionStartedEvent$ = [3, n3, _VSSE,
479
336
  0,
480
- [_t, _sI, _ag, _gI, _bS, _vDo],
481
- [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
482
339
  ];
483
- export var MediaStartFrame$ = [3, n1, _MSFe,
340
+ export var VoiceSpeechPayload$ = [3, n3, _VSP,
484
341
  0,
485
- [_t, _pu, _cI, _fI, _sIe, _res, _rAM, _au, _cal, _ag, _la, _pL, _aD, _dN, _var],
486
- [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
487
344
  ];
488
- export var MediaStopFrame$ = [3, n1, _MSFed,
345
+ export var VoiceStopCommandData$ = [3, n3, _VSCDo,
489
346
  0,
490
347
  [_t],
491
348
  [0], 1
492
349
  ];
493
- export var MediaTranscriptionFrame$ = [3, n1, _MTF,
350
+ export var VoiceTranscriptionEvent$ = [3, n3, _VTE,
494
351
  0,
495
- [_t, _pa, _i, _f, _te, _sM, _eM, _l, _co],
496
- [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
497
354
  ];
498
- export var MediaTransferFrame$ = [3, n1, _MTFe,
355
+ export var VoiceTransferCommandData$ = [3, n3, _VTCD,
499
356
  0,
500
- [_t, _con, _ex],
357
+ [_con, _ex, _t],
501
358
  [0, 0, 0], 3
502
359
  ];
503
- export var MediaVadFrame$ = [3, n1, _MVF,
504
- 0,
505
- [_t, _pa, _sp, _eD, _aM],
506
- [0, 0, 2, 1, 1], 5
507
- ];
508
- export var MediaVoiceDetection$ = [3, n1, _MVD,
509
- 0,
510
- [_sMi, _sLD, _sLDp],
511
- [1, 1, 1], 3
512
- ];
513
- export var PlaybackEvent$ = [3, n1, _PE,
514
- 0,
515
- [_t, _rI, _te, _compl, _sT, _eT],
516
- [0, 0, 0, 2, 1, 1], 5
517
- ];
518
- export var PlaybackWebsocketEvent$ = [3, n1, _PWE,
519
- 0,
520
- [_t, _ev],
521
- [0, () => PlaybackEvent$], 2
522
- ];
523
- export var PlayCommandData$ = [3, n1, _PCD,
524
- 0,
525
- [_rI, _sI, _d, _t],
526
- [0, 0, 0, 0], 4
527
- ];
528
- export var PlayWebsocketCommand$ = [3, n1, _PWC,
529
- 0,
530
- [_t, _com],
531
- [0, () => PlayCommandData$], 2
532
- ];
533
- export var ReplyEvent$ = [3, n1, _RE,
534
- 0,
535
- [_t, _i, _te, _sT, _eT, _l],
536
- [0, 0, 0, 1, 1, 0], 5
537
- ];
538
- export var ReplyWebsocketEvent$ = [3, n1, _RWE,
360
+ export var DescribeVoiceProtocolInput$ = [3, n1, _DVPI,
539
361
  0,
540
- [_t, _ev],
541
- [0, () => ReplyEvent$], 2
362
+ [],
363
+ []
542
364
  ];
543
- export var SayCommandAudioOptions$ = [3, n1, _SCAO,
365
+ export var DescribeVoiceProtocolOutput$ = [3, n1, _DVPO,
544
366
  0,
545
- [_sI, _sR],
546
- [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$]
547
369
  ];
548
- export var SayCommandData$ = [3, n1, _SCD,
370
+ export var ListVoicesInput$ = [3, n1, _LVI,
549
371
  0,
550
- [_te, _rI, _t, _in, _vo, _au],
551
- [0, 0, 0, 2, 0, () => SayCommandAudioOptions$], 3
372
+ [_pr, _l, _cr],
373
+ [[0, { [_hQ]: _pr }], [0, { [_hQ]: _l }], [0, { [_hQ]: _cr }]], 1
552
374
  ];
553
- export var SayWebsocketCommand$ = [3, n1, _SWC,
375
+ export var ListVoicesOutput$ = [3, n1, _LVO,
554
376
  0,
555
- [_t, _com],
556
- [0, () => SayCommandData$], 2
377
+ [_v],
378
+ [() => VoiceList], 1
557
379
  ];
558
380
  export var SendHangupInput$ = [3, n1, _SHI,
559
381
  0,
@@ -577,8 +399,8 @@ export var SendPlayOutput$ = [3, n1, _SPO,
577
399
  ];
578
400
  export var SendSayInput$ = [3, n1, _SSI,
579
401
  0,
580
- [_te, _rI, _sIe, _in, _vo, _au],
581
- [0, 0, [0, 1], 2, 0, () => SayCommandAudioOptions$], 3
402
+ [_te, _rI, _sIe, _in, _au],
403
+ [0, 0, [0, 1], 2, () => VoiceSayCommandAudioOptions$], 3
582
404
  ];
583
405
  export var SendSayOutput$ = [3, n1, _SSO,
584
406
  0,
@@ -605,36 +427,6 @@ export var SendTransferOutput$ = [3, n1, _STO,
605
427
  [],
606
428
  []
607
429
  ];
608
- export var SessionEndedEvent$ = [3, n1, _SEE,
609
- 0,
610
- [_t, _ti, _r, _e],
611
- [0, 1, 0, 0], 2
612
- ];
613
- export var SessionEndedWebsocketEvent$ = [3, n1, _SEWE,
614
- 0,
615
- [_t, _ev],
616
- [0, () => SessionEndedEvent$], 2
617
- ];
618
- export var SessionStartedEvent$ = [3, n1, _SSE,
619
- 0,
620
- [_t, _ti, _sIe, _aI, _aV, _tI, _aN, _cat, _gI, _spe, _bS, _iA, _oA],
621
- [0, 1, 0, 0, 1, 0, 0, 0, 0, () => VoiceSpeechPayload$, 0, () => VoiceAudioFormat$, () => VoiceAudioFormat$], 4
622
- ];
623
- export var SessionStartedWebsocketEvent$ = [3, n1, _SSWE,
624
- 0,
625
- [_t, _ev],
626
- [0, () => SessionStartedEvent$], 2
627
- ];
628
- export var StopCommandData$ = [3, n1, _SCDt,
629
- 0,
630
- [_t],
631
- [0], 1
632
- ];
633
- export var StopWebsocketCommand$ = [3, n1, _SWCt,
634
- 0,
635
- [_t, _com],
636
- [0, () => StopCommandData$], 2
637
- ];
638
430
  export var StreamCallEventsInput$ = [3, n1, _SCEI,
639
431
  0,
640
432
  [_cI, _comp],
@@ -642,7 +434,7 @@ export var StreamCallEventsInput$ = [3, n1, _SCEI,
642
434
  ];
643
435
  export var StreamCallEventsOutput$ = [3, n1, _SCEO,
644
436
  0,
645
- [_eve, _cT],
437
+ [_ev, _cT],
646
438
  [[() => VoiceCallEventStreamBody, 16], [0, { [_hH]: _CT }]], 2
647
439
  ];
648
440
  export var TextToSpeechInput$ = [3, n1, _TTSI,
@@ -655,46 +447,61 @@ export var TextToSpeechOutput$ = [3, n1, _TTSO,
655
447
  [_au],
656
448
  [[() => Mp3Audio, 16]], 1
657
449
  ];
658
- export var TranscriptionEvent$ = [3, n1, _TE,
659
- 0,
660
- [_t, _i, _te, _ti, _co, _f, _l],
661
- [0, 0, 0, 1, 1, 2, 0], 4
662
- ];
663
- export var TranscriptionWebsocketEvent$ = [3, n1, _TWE,
450
+ export var Voice$ = [3, n1, _V,
664
451
  0,
665
- [_t, _ev],
666
- [0, () => TranscriptionEvent$], 2
452
+ [_u, _n, _me],
453
+ [0, 0, 15], 2
667
454
  ];
668
- export var TransferCommandData$ = [3, n1, _TCD,
455
+ export var VoiceCallAgentTranscriptionEvent$ = [3, n1, _VCATE,
669
456
  0,
670
- [_con, _ex, _t],
671
- [0, 0, 0], 3
457
+ [_i, _te, _f, _l, _ti],
458
+ [0, 0, 2, 0, 1], 3
672
459
  ];
673
- export var TransferWebsocketCommand$ = [3, n1, _TWC,
460
+ export var VoiceCallAudioBeginFrame$ = [3, n1, _VCABF,
674
461
  0,
675
- [_t, _com],
676
- [0, () => TransferCommandData$], 2
462
+ [_t, _rI, _sI, _sR],
463
+ [0, 0, 0, 1], 4
677
464
  ];
678
- export var Voice$ = [3, n1, _V,
465
+ export var VoiceCallAudioEndFrame$ = [3, n1, _VCAEF,
679
466
  0,
680
- [_u, _n, _met],
681
- [0, 0, 15], 2
467
+ [_t, _sI],
468
+ [0, 0], 2
682
469
  ];
683
- export var VoiceAudioFormat$ = [3, n1, _VAF,
470
+ export var VoiceCallDtmfFrame$ = [3, n1, _VCDF,
684
471
  0,
685
- [_en, _sR, _ch],
686
- [0, 1, 1], 2
472
+ [_t, _i, _di],
473
+ [0, 0, 0], 3
687
474
  ];
688
- export var VoiceCallAgentTranscriptionEvent$ = [3, n1, _VCATE,
475
+ export var VoiceCallDuckFrame$ = [3, n1, _VCDFo,
689
476
  0,
690
- [_i, _te, _f, _l, _ti],
691
- [0, 0, 2, 0, 1], 3
477
+ [_t, _rI, _vD, _rM],
478
+ [0, 0, 1, 1], 4
692
479
  ];
693
480
  export var VoiceCallEndedEvent$ = [3, n1, _VCEE,
694
481
  0,
695
482
  [_sIe, _r],
696
483
  [0, 0], 2
697
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
+ ];
698
505
  export var VoiceCallInterruptionEvent$ = [3, n1, _VCIE,
699
506
  0,
700
507
  [_rI, _pT, _oT],
@@ -705,11 +512,26 @@ export var VoiceCallLanguageEvent$ = [3, n1, _VCLE,
705
512
  [_to, _r, _fr],
706
513
  [0, 0, 0], 2
707
514
  ];
515
+ export var VoiceCallLanguageFrame$ = [3, n1, _VCLF,
516
+ 0,
517
+ [_t, _l],
518
+ [0, 0], 2
519
+ ];
708
520
  export var VoiceCallPlaybackEvent$ = [3, n1, _VCPE,
709
521
  0,
710
- [_rI, _compl],
522
+ [_rI, _com],
711
523
  [0, 2], 2
712
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
+ ];
713
535
  export var VoiceCallReplyEvent$ = [3, n1, _VCRE,
714
536
  0,
715
537
  [_i, _te, _l],
@@ -720,11 +542,36 @@ export var VoiceCallSayEvent$ = [3, n1, _VCSE,
720
542
  [_rI, _te, _in],
721
543
  [0, 0, 2], 3
722
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
+ ];
723
555
  export var VoiceCallStartedEvent$ = [3, n1, _VCSEo,
724
556
  0,
725
557
  [_sIe, _aI, _tI, _aN, _aV, _aDg, _l],
726
558
  [0, 0, 0, 0, 1, 2, 0], 2
727
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
+ ];
728
575
  export var VoiceCallToolEvent$ = [3, n1, _VCTE,
729
576
  0,
730
577
  [_tCI, _tN, _ph, _sMt],
@@ -732,35 +579,39 @@ export var VoiceCallToolEvent$ = [3, n1, _VCTE,
732
579
  ];
733
580
  export var VoiceCallTranscriptionEvent$ = [3, n1, _VCTEo,
734
581
  0,
735
- [_i, _te, _f, _l, _ti, _dro],
582
+ [_i, _te, _f, _l, _ti, _fDR],
736
583
  [0, 0, 2, 0, 1, 0], 3
737
584
  ];
738
- export var VoiceConnectParams$ = [3, n1, _VCP,
585
+ export var VoiceCallTranscriptionFrame$ = [3, n1, _VCTF,
739
586
  0,
740
- [_sIe, _aI, _pV, _res, _rec, _aV, _aDg, _cI, _fI, _dN, _l, _cN, _cNa, _cEa, _cC, _vo, _iM, _var, _iMn, _iA, _oA],
741
- [0, 0, 1, 2, 2, 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
742
589
  ];
743
- export var VoiceErrorEvent$ = [3, n1, _VEE,
590
+ export var VoiceCallTransferFrame$ = [3, n1, _VCTFo,
744
591
  0,
745
- [_t, _cod, _m, _ti],
746
- [0, 0, 0, 1], 4
592
+ [_con, _ex, _t],
593
+ [0, 0, 0], 3
747
594
  ];
748
- export var VoiceSpeechPayload$ = [3, n1, _VSP,
595
+ export var VoiceCallVadFrame$ = [3, n1, _VCVF,
749
596
  0,
750
- [_eng, _la, _pL, _aD],
751
- [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
752
604
  ];
753
605
  var LanguageCodeList = 64 | 0;
754
606
  var VoicePronunciationList = [1, n2, _VPL,
755
607
  0, () => VoicePronunciation$
756
608
  ];
757
- var MediaStartLanguageList = 64 | 0;
758
609
  var VoiceList = [1, n1, _VL,
759
610
  0, () => Voice$
760
611
  ];
761
- export var VoiceCallEvent$ = [4, n1, _VCE,
612
+ export var VoiceCallEvent$ = [4, n1, _VCEo,
762
613
  0,
763
- [_sta, _tr, _aT, _rep, _sa, _pl, _int, _l, _too, _end],
614
+ [_star, _tr, _aT, _rep, _sa, _pl, _int, _l, _too, _ende],
764
615
  [() => VoiceCallStartedEvent$, () => VoiceCallTranscriptionEvent$, () => VoiceCallAgentTranscriptionEvent$, () => VoiceCallReplyEvent$, () => VoiceCallSayEvent$, () => VoiceCallPlaybackEvent$, () => VoiceCallInterruptionEvent$, () => VoiceCallLanguageEvent$, () => VoiceCallToolEvent$, () => VoiceCallEndedEvent$]
765
616
  ];
766
617
  export var DescribeVoiceProtocol$ = [9, n1, _DVP,