@wildix/wilma-voice-client 0.0.22 → 0.0.24

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.
@@ -13,15 +13,9 @@ const _HCD = "HangupCommandData";
13
13
  const _HWC = "HangupWebsocketCommand";
14
14
  const _IE = "InterruptionEvent";
15
15
  const _IWE = "InterruptionWebsocketEvent";
16
- const _LSV = "ListSpeechVoices";
17
- const _LSVI = "ListSpeechVoicesInput";
18
- const _LSVO = "ListSpeechVoicesOutput";
19
16
  const _NFE = "NotFoundException";
20
17
  const _PCD = "PlayCommandData";
21
18
  const _PE = "PlaybackEvent";
22
- const _PS = "PreviewSpeech";
23
- const _PSI = "PreviewSpeechInput";
24
- const _PSO = "PreviewSpeechOutput";
25
19
  const _PWC = "PlayWebsocketCommand";
26
20
  const _PWE = "PlaybackWebsocketEvent";
27
21
  const _RE = "ReplyEvent";
@@ -48,8 +42,6 @@ const _SSe = "SendStop";
48
42
  const _ST = "SendTransfer";
49
43
  const _STI = "SendTransferInput";
50
44
  const _STO = "SendTransferOutput";
51
- const _SV = "SpeechVoice";
52
- const _SVL = "SpeechVoiceList";
53
45
  const _SWC = "SayWebsocketCommand";
54
46
  const _SWCt = "StopWebsocketCommand";
55
47
  const _TCD = "TransferCommandData";
@@ -60,21 +52,13 @@ const _VAF = "VoiceAudioFormat";
60
52
  const _VCP = "VoiceConnectParams";
61
53
  const _VE = "ValidationException";
62
54
  const _VEE = "VoiceErrorEvent";
63
- const _VP = "VoicePronunciation";
64
- const _VPL = "VoicePronunciationList";
65
- const _VSO = "VoiceSynthesisOptions";
66
- const _VSP = "VoiceSpeechPayload";
67
- const _a = "as";
55
+ const _a = "action";
68
56
  const _aD = "agentDraft";
69
- const _aDu = "autoDetect";
70
57
  const _aI = "agentId";
71
58
  const _aN = "agentName";
72
59
  const _aV = "agentVersion";
73
60
  const _aWE = "audioWebsocketEvent";
74
- const _ac = "action";
75
- const _acc = "accent";
76
61
  const _au = "audio";
77
- const _bS = "backgroundSound";
78
62
  const _c = "client";
79
63
  const _cC = "callerCompany";
80
64
  const _cE = "callerEmail";
@@ -91,7 +75,6 @@ const _cod = "code";
91
75
  const _com = "complete";
92
76
  const _con = "context";
93
77
  const _conf = "confidence";
94
- const _cr = "credential";
95
78
  const _d = "data";
96
79
  const _e = "error";
97
80
  const _eT = "endTime";
@@ -100,11 +83,9 @@ const _en = "encoding";
100
83
  const _ev = "event";
101
84
  const _ex = "extension";
102
85
  const _f = "final";
103
- const _g = "gender";
104
86
  const _gI = "groupId";
105
87
  const _h = "http";
106
88
  const _hE = "httpError";
107
- const _hQ = "httpQuery";
108
89
  const _hWC = "hangupWebsocketCommand";
109
90
  const _i = "id";
110
91
  const _iA = "inputAudio";
@@ -113,30 +94,17 @@ const _iMn = "inputMode";
113
94
  const _iWE = "interruptionWebsocketEvent";
114
95
  const _in = "interruptible";
115
96
  const _l = "language";
116
- const _lS = "languageSynthesis";
117
- const _la = "languages";
118
97
  const _m = "message";
119
- const _mo = "model";
120
- const _mod = "models";
121
- const _n = "name";
122
98
  const _oA = "outputAudio";
123
99
  const _oT = "originalText";
124
- const _p = "phrase";
125
- const _pL = "preferredLanguage";
126
100
  const _pT = "playedText";
127
- const _pU = "previewUrl";
128
101
  const _pV = "protocolVersion";
129
102
  const _pWC = "playWebsocketCommand";
130
103
  const _pWE = "playbackWebsocketEvent";
131
- const _pi = "pitch";
132
- const _pr = "provider";
133
- const _pro = "pronunciations";
134
104
  const _r = "reason";
135
- const _rA = "refreshedAt";
136
105
  const _rI = "replyId";
137
106
  const _rWE = "replyWebsocketEvent";
138
107
  const _s = "smithy.ts.sdk.synthetic.wildix.wilma.voice";
139
- const _sB = "speakerBoost";
140
108
  const _sEWE = "sessionEndedWebsocketEvent";
141
109
  const _sI = "streamId";
142
110
  const _sIe = "sessionId";
@@ -146,29 +114,16 @@ const _sT = "startTime";
146
114
  const _sWC = "sayWebsocketCommand";
147
115
  const _sWCt = "stopWebsocketCommand";
148
116
  const _se = "seq";
149
- const _sea = "search";
150
- const _si = "similarity";
151
- const _sp = "speed";
152
- const _spe = "speech";
153
- const _st = "stability";
154
- const _sta = "stale";
155
- const _sty = "style";
156
- const _su = "suppressions";
157
- const _sy = "synthesis";
158
117
  const _t = "type";
159
118
  const _tI = "traceId";
160
119
  const _tWC = "transferWebsocketCommand";
161
120
  const _tWE = "transcriptionWebsocketEvent";
162
121
  const _te = "text";
163
122
  const _ti = "time";
164
- const _v = "voices";
165
- const _vG = "volumeGain";
123
+ const _v = "voice";
166
124
  const _va = "variables";
167
- const _ve = "vendor";
168
- const _vo = "voice";
169
125
  const n0 = "smithy.framework";
170
- const n1 = "wildix.wilma.agents";
171
- const n2 = "wildix.wilma.voice";
126
+ const n1 = "wildix.wilma.voice";
172
127
  import { TypeRegistry } from "@smithy/core/schema";
173
128
  import { ForbiddenException, NotFoundException, ValidationException } from "../models/errors";
174
129
  import { WilmaVoiceServiceException } from "../models/WilmaVoiceServiceException";
@@ -198,301 +153,246 @@ export const errorTypeRegistries = [
198
153
  _s_registry,
199
154
  n0_registry,
200
155
  ];
201
- export var VoicePronunciation$ = [3, n1, _VP,
202
- 0,
203
- [_p, _a, _en],
204
- [0, 0, 0], 2
205
- ];
206
- export var VoiceSynthesisOptions$ = [3, n1, _VSO,
207
- 0,
208
- [_mo, _sp, _st, _si, _sty, _sB, _pi, _vG],
209
- [0, 1, 1, 1, 1, 2, 1, 1]
210
- ];
211
- export var AudioEvent$ = [3, n2, _AE,
156
+ export var AudioEvent$ = [3, n1, _AE,
212
157
  0,
213
158
  [_t, _d, _se],
214
159
  [0, 0, 1], 2
215
160
  ];
216
- export var AudioWebsocketEvent$ = [3, n2, _AWE,
161
+ export var AudioWebsocketEvent$ = [3, n1, _AWE,
217
162
  0,
218
163
  [_t, _ev],
219
164
  [0, () => AudioEvent$], 2
220
165
  ];
221
- export var CompleteEvent$ = [3, n2, _CE,
166
+ export var CompleteEvent$ = [3, n1, _CE,
222
167
  0,
223
168
  [_t, _r, _ti],
224
169
  [0, 0, 1], 3
225
170
  ];
226
- export var CompleteWebsocketEvent$ = [3, n2, _CWE,
171
+ export var CompleteWebsocketEvent$ = [3, n1, _CWE,
227
172
  0,
228
173
  [_t, _ev],
229
174
  [0, () => CompleteEvent$], 2
230
175
  ];
231
- export var ControlEvent$ = [3, n2, _CEo,
176
+ export var ControlEvent$ = [3, n1, _CEo,
232
177
  0,
233
- [_t, _ac],
178
+ [_t, _a],
234
179
  [0, 0], 2
235
180
  ];
236
- export var ControlWebsocketEvent$ = [3, n2, _CWEo,
181
+ export var ControlWebsocketEvent$ = [3, n1, _CWEo,
237
182
  0,
238
183
  [_t, _ev],
239
184
  [0, () => ControlEvent$], 2
240
185
  ];
241
- export var DescribeVoiceProtocolInput$ = [3, n2, _DVPI,
186
+ export var DescribeVoiceProtocolInput$ = [3, n1, _DVPI,
242
187
  0,
243
188
  [],
244
189
  []
245
190
  ];
246
- export var DescribeVoiceProtocolOutput$ = [3, n2, _DVPO,
191
+ export var DescribeVoiceProtocolOutput$ = [3, n1, _DVPO,
247
192
  0,
248
193
  [_cP, _aWE, _tWE, _rWE, _pWE, _iWE, _cWE, _cWEo, _sSWE, _sEWE, _eWE, _sWC, _pWC, _sWCt, _hWC, _tWC],
249
194
  [() => VoiceConnectParams$, () => AudioWebsocketEvent$, () => TranscriptionWebsocketEvent$, () => ReplyWebsocketEvent$, () => PlaybackWebsocketEvent$, () => InterruptionWebsocketEvent$, () => CompleteWebsocketEvent$, () => ControlWebsocketEvent$, () => SessionStartedWebsocketEvent$, () => SessionEndedWebsocketEvent$, () => ErrorWebsocketEvent$, () => SayWebsocketCommand$, () => PlayWebsocketCommand$, () => StopWebsocketCommand$, () => HangupWebsocketCommand$, () => TransferWebsocketCommand$]
250
195
  ];
251
- export var ErrorWebsocketEvent$ = [3, n2, _EWE,
196
+ export var ErrorWebsocketEvent$ = [3, n1, _EWE,
252
197
  0,
253
198
  [_t, _ev],
254
199
  [0, () => VoiceErrorEvent$], 2
255
200
  ];
256
- export var HangupCommandData$ = [3, n2, _HCD,
201
+ export var HangupCommandData$ = [3, n1, _HCD,
257
202
  0,
258
203
  [_t, _r],
259
204
  [0, 0], 1
260
205
  ];
261
- export var HangupWebsocketCommand$ = [3, n2, _HWC,
206
+ export var HangupWebsocketCommand$ = [3, n1, _HWC,
262
207
  0,
263
208
  [_t, _co],
264
209
  [0, () => HangupCommandData$], 2
265
210
  ];
266
- export var InterruptionEvent$ = [3, n2, _IE,
211
+ export var InterruptionEvent$ = [3, n1, _IE,
267
212
  0,
268
213
  [_t, _rI, _pT, _oT, _ti],
269
214
  [0, 0, 0, 0, 1], 5
270
215
  ];
271
- export var InterruptionWebsocketEvent$ = [3, n2, _IWE,
216
+ export var InterruptionWebsocketEvent$ = [3, n1, _IWE,
272
217
  0,
273
218
  [_t, _ev],
274
219
  [0, () => InterruptionEvent$], 2
275
220
  ];
276
- export var ListSpeechVoicesInput$ = [3, n2, _LSVI,
277
- 0,
278
- [_pr, _l, _sea, _cr],
279
- [[0, { [_hQ]: _pr }], [0, { [_hQ]: _l }], [0, { [_hQ]: _sea }], [0, { [_hQ]: _cr }]], 1
280
- ];
281
- export var ListSpeechVoicesOutput$ = [3, n2, _LSVO,
282
- 0,
283
- [_v, _rA, _la, _sta],
284
- [() => SpeechVoiceList, 0, 64 | 0, 2], 2
285
- ];
286
- export var PlaybackEvent$ = [3, n2, _PE,
221
+ export var PlaybackEvent$ = [3, n1, _PE,
287
222
  0,
288
223
  [_t, _rI, _te, _com, _sT, _eT],
289
224
  [0, 0, 0, 2, 1, 1], 5
290
225
  ];
291
- export var PlaybackWebsocketEvent$ = [3, n2, _PWE,
226
+ export var PlaybackWebsocketEvent$ = [3, n1, _PWE,
292
227
  0,
293
228
  [_t, _ev],
294
229
  [0, () => PlaybackEvent$], 2
295
230
  ];
296
- export var PlayCommandData$ = [3, n2, _PCD,
231
+ export var PlayCommandData$ = [3, n1, _PCD,
297
232
  0,
298
233
  [_rI, _sI, _d, _t],
299
234
  [0, 0, 0, 0], 4
300
235
  ];
301
- export var PlayWebsocketCommand$ = [3, n2, _PWC,
236
+ export var PlayWebsocketCommand$ = [3, n1, _PWC,
302
237
  0,
303
238
  [_t, _co],
304
239
  [0, () => PlayCommandData$], 2
305
240
  ];
306
- export var PreviewSpeechInput$ = [3, n2, _PSI,
307
- 0,
308
- [_pr, _vo, _l, _te, _sy, _lS, _pro, _su, _cr],
309
- [0, 0, 0, 0, () => VoiceSynthesisOptions$, () => VoiceSynthesisOptions$, () => VoicePronunciationList, 64 | 0, 0], 4
310
- ];
311
- export var PreviewSpeechOutput$ = [3, n2, _PSO,
241
+ export var ReplyEvent$ = [3, n1, _RE,
312
242
  0,
313
- [_au],
314
- [[21, 16]], 1
243
+ [_t, _i, _te, _sT, _eT],
244
+ [0, 0, 0, 1, 1], 5
315
245
  ];
316
- export var ReplyEvent$ = [3, n2, _RE,
317
- 0,
318
- [_t, _i, _te, _sT, _eT, _l],
319
- [0, 0, 0, 1, 1, 0], 5
320
- ];
321
- export var ReplyWebsocketEvent$ = [3, n2, _RWE,
246
+ export var ReplyWebsocketEvent$ = [3, n1, _RWE,
322
247
  0,
323
248
  [_t, _ev],
324
249
  [0, () => ReplyEvent$], 2
325
250
  ];
326
- export var SayCommandAudioOptions$ = [3, n2, _SCAO,
251
+ export var SayCommandAudioOptions$ = [3, n1, _SCAO,
327
252
  0,
328
253
  [_sI, _sR],
329
254
  [0, 1], 2
330
255
  ];
331
- export var SayCommandData$ = [3, n2, _SCD,
256
+ export var SayCommandData$ = [3, n1, _SCD,
332
257
  0,
333
- [_te, _rI, _t, _in, _vo, _au],
334
- [0, 0, 0, 2, 0, () => SayCommandAudioOptions$], 3
258
+ [_te, _rI, _t, _in, _au],
259
+ [0, 0, 0, 2, () => SayCommandAudioOptions$], 3
335
260
  ];
336
- export var SayWebsocketCommand$ = [3, n2, _SWC,
261
+ export var SayWebsocketCommand$ = [3, n1, _SWC,
337
262
  0,
338
263
  [_t, _co],
339
264
  [0, () => SayCommandData$], 2
340
265
  ];
341
- export var SendHangupInput$ = [3, n2, _SHI,
266
+ export var SendHangupInput$ = [3, n1, _SHI,
342
267
  0,
343
268
  [_sIe, _r],
344
269
  [[0, 1], 0], 1
345
270
  ];
346
- export var SendHangupOutput$ = [3, n2, _SHO,
271
+ export var SendHangupOutput$ = [3, n1, _SHO,
347
272
  0,
348
273
  [],
349
274
  []
350
275
  ];
351
- export var SendPlayInput$ = [3, n2, _SPI,
276
+ export var SendPlayInput$ = [3, n1, _SPI,
352
277
  0,
353
278
  [_rI, _sI, _d, _sIe],
354
279
  [0, 0, 0, [0, 1]], 4
355
280
  ];
356
- export var SendPlayOutput$ = [3, n2, _SPO,
281
+ export var SendPlayOutput$ = [3, n1, _SPO,
357
282
  0,
358
283
  [],
359
284
  []
360
285
  ];
361
- export var SendSayInput$ = [3, n2, _SSI,
286
+ export var SendSayInput$ = [3, n1, _SSI,
362
287
  0,
363
- [_te, _rI, _sIe, _in, _vo, _au],
364
- [0, 0, [0, 1], 2, 0, () => SayCommandAudioOptions$], 3
288
+ [_te, _rI, _sIe, _in, _au],
289
+ [0, 0, [0, 1], 2, () => SayCommandAudioOptions$], 3
365
290
  ];
366
- export var SendSayOutput$ = [3, n2, _SSO,
291
+ export var SendSayOutput$ = [3, n1, _SSO,
367
292
  0,
368
293
  [],
369
294
  []
370
295
  ];
371
- export var SendStopInput$ = [3, n2, _SSIe,
296
+ export var SendStopInput$ = [3, n1, _SSIe,
372
297
  0,
373
298
  [_sIe],
374
299
  [[0, 1]], 1
375
300
  ];
376
- export var SendStopOutput$ = [3, n2, _SSOe,
301
+ export var SendStopOutput$ = [3, n1, _SSOe,
377
302
  0,
378
303
  [],
379
304
  []
380
305
  ];
381
- export var SendTransferInput$ = [3, n2, _STI,
306
+ export var SendTransferInput$ = [3, n1, _STI,
382
307
  0,
383
308
  [_con, _ex, _sIe],
384
309
  [0, 0, [0, 1]], 3
385
310
  ];
386
- export var SendTransferOutput$ = [3, n2, _STO,
311
+ export var SendTransferOutput$ = [3, n1, _STO,
387
312
  0,
388
313
  [],
389
314
  []
390
315
  ];
391
- export var SessionEndedEvent$ = [3, n2, _SEE,
316
+ export var SessionEndedEvent$ = [3, n1, _SEE,
392
317
  0,
393
318
  [_t, _ti, _r, _e],
394
319
  [0, 1, 0, 0], 2
395
320
  ];
396
- export var SessionEndedWebsocketEvent$ = [3, n2, _SEWE,
321
+ export var SessionEndedWebsocketEvent$ = [3, n1, _SEWE,
397
322
  0,
398
323
  [_t, _ev],
399
324
  [0, () => SessionEndedEvent$], 2
400
325
  ];
401
- export var SessionStartedEvent$ = [3, n2, _SSE,
326
+ export var SessionStartedEvent$ = [3, n1, _SSE,
402
327
  0,
403
- [_t, _ti, _sIe, _aI, _aV, _tI, _aN, _ca, _gI, _spe, _bS, _iA, _oA],
404
- [0, 1, 0, 0, 1, 0, 0, 0, 0, () => VoiceSpeechPayload$, 0, () => VoiceAudioFormat$, () => VoiceAudioFormat$], 4
328
+ [_t, _ti, _sIe, _aI, _aV, _tI, _aN, _ca, _gI, _iA, _oA],
329
+ [0, 1, 0, 0, 1, 0, 0, 0, 0, () => VoiceAudioFormat$, () => VoiceAudioFormat$], 4
405
330
  ];
406
- export var SessionStartedWebsocketEvent$ = [3, n2, _SSWE,
331
+ export var SessionStartedWebsocketEvent$ = [3, n1, _SSWE,
407
332
  0,
408
333
  [_t, _ev],
409
334
  [0, () => SessionStartedEvent$], 2
410
335
  ];
411
- export var SpeechVoice$ = [3, n2, _SV,
412
- 0,
413
- [_i, _n, _la, _g, _acc, _ca, _pU, _mod],
414
- [0, 0, 64 | 0, 0, 0, 0, 0, 64 | 0], 2
415
- ];
416
- export var StopCommandData$ = [3, n2, _SCDt,
336
+ export var StopCommandData$ = [3, n1, _SCDt,
417
337
  0,
418
338
  [_t],
419
339
  [0], 1
420
340
  ];
421
- export var StopWebsocketCommand$ = [3, n2, _SWCt,
341
+ export var StopWebsocketCommand$ = [3, n1, _SWCt,
422
342
  0,
423
343
  [_t, _co],
424
344
  [0, () => StopCommandData$], 2
425
345
  ];
426
- export var TranscriptionEvent$ = [3, n2, _TE,
346
+ export var TranscriptionEvent$ = [3, n1, _TE,
427
347
  0,
428
- [_t, _i, _te, _ti, _conf, _f, _l],
429
- [0, 0, 0, 1, 1, 2, 0], 4
348
+ [_t, _i, _te, _ti, _conf, _f],
349
+ [0, 0, 0, 1, 1, 2], 4
430
350
  ];
431
- export var TranscriptionWebsocketEvent$ = [3, n2, _TWE,
351
+ export var TranscriptionWebsocketEvent$ = [3, n1, _TWE,
432
352
  0,
433
353
  [_t, _ev],
434
354
  [0, () => TranscriptionEvent$], 2
435
355
  ];
436
- export var TransferCommandData$ = [3, n2, _TCD,
356
+ export var TransferCommandData$ = [3, n1, _TCD,
437
357
  0,
438
358
  [_con, _ex, _t],
439
359
  [0, 0, 0], 3
440
360
  ];
441
- export var TransferWebsocketCommand$ = [3, n2, _TWC,
361
+ export var TransferWebsocketCommand$ = [3, n1, _TWC,
442
362
  0,
443
363
  [_t, _co],
444
364
  [0, () => TransferCommandData$], 2
445
365
  ];
446
- export var VoiceAudioFormat$ = [3, n2, _VAF,
366
+ export var VoiceAudioFormat$ = [3, n1, _VAF,
447
367
  0,
448
368
  [_en, _sR, _ch],
449
369
  [0, 1, 1], 2
450
370
  ];
451
- export var VoiceConnectParams$ = [3, n2, _VCP,
371
+ export var VoiceConnectParams$ = [3, n1, _VCP,
452
372
  0,
453
- [_sIe, _aI, _pV, _aV, _aD, _cI, _l, _cN, _cNa, _cE, _cC, _vo, _iM, _va, _iMn, _iA, _oA],
373
+ [_sIe, _aI, _pV, _aV, _aD, _cI, _l, _cN, _cNa, _cE, _cC, _v, _iM, _va, _iMn, _iA, _oA],
454
374
  [0, 0, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => VoiceAudioFormat$, () => VoiceAudioFormat$], 2
455
375
  ];
456
- export var VoiceErrorEvent$ = [3, n2, _VEE,
376
+ export var VoiceErrorEvent$ = [3, n1, _VEE,
457
377
  0,
458
378
  [_t, _cod, _m, _ti],
459
379
  [0, 0, 0, 1], 4
460
380
  ];
461
- export var VoiceSpeechPayload$ = [3, n2, _VSP,
462
- 0,
463
- [_ve, _la, _pL, _aDu],
464
- [0, 64 | 0, 0, 2], 4
465
- ];
466
- var LanguageCodeList = 64 | 0;
467
- var VoicePronunciationList = [1, n1, _VPL,
468
- 0, () => VoicePronunciation$
469
- ];
470
- var VoicePronunciationSuppressionList = 64 | 0;
471
- var SpeechVoiceList = [1, n2, _SVL,
472
- 0, () => SpeechVoice$
473
- ];
474
- var SpeechVoiceModelList = 64 | 0;
475
- export var DescribeVoiceProtocol$ = [9, n2, _DVP,
381
+ export var DescribeVoiceProtocol$ = [9, n1, _DVP,
476
382
  { [_h]: ["POST", "/v2/voice/describe", 200] }, () => DescribeVoiceProtocolInput$, () => DescribeVoiceProtocolOutput$
477
383
  ];
478
- export var ListSpeechVoices$ = [9, n2, _LSV,
479
- { [_h]: ["GET", "/v2/voice/speech-voices", 200] }, () => ListSpeechVoicesInput$, () => ListSpeechVoicesOutput$
480
- ];
481
- export var PreviewSpeech$ = [9, n2, _PS,
482
- { [_h]: ["POST", "/v2/voice/speech-preview", 200] }, () => PreviewSpeechInput$, () => PreviewSpeechOutput$
483
- ];
484
- export var SendHangup$ = [9, n2, _SH,
384
+ export var SendHangup$ = [9, n1, _SH,
485
385
  { [_h]: ["POST", "/v2/voice/sessions/{sessionId}/hangup", 200] }, () => SendHangupInput$, () => SendHangupOutput$
486
386
  ];
487
- export var SendPlay$ = [9, n2, _SP,
387
+ export var SendPlay$ = [9, n1, _SP,
488
388
  { [_h]: ["POST", "/v2/voice/sessions/{sessionId}/play", 200] }, () => SendPlayInput$, () => SendPlayOutput$
489
389
  ];
490
- export var SendSay$ = [9, n2, _SS,
390
+ export var SendSay$ = [9, n1, _SS,
491
391
  { [_h]: ["POST", "/v2/voice/sessions/{sessionId}/say", 200] }, () => SendSayInput$, () => SendSayOutput$
492
392
  ];
493
- export var SendStop$ = [9, n2, _SSe,
393
+ export var SendStop$ = [9, n1, _SSe,
494
394
  { [_h]: ["POST", "/v2/voice/sessions/{sessionId}/stop", 200] }, () => SendStopInput$, () => SendStopOutput$
495
395
  ];
496
- export var SendTransfer$ = [9, n2, _ST,
396
+ export var SendTransfer$ = [9, n1, _ST,
497
397
  { [_h]: ["POST", "/v2/voice/sessions/{sessionId}/transfer", 200] }, () => SendTransferInput$, () => SendTransferOutput$
498
398
  ];
@@ -1,7 +1,5 @@
1
1
  import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { type DescribeVoiceProtocolCommandInput, type DescribeVoiceProtocolCommandOutput } from "./commands/DescribeVoiceProtocolCommand";
3
- import { type ListSpeechVoicesCommandInput, type ListSpeechVoicesCommandOutput } from "./commands/ListSpeechVoicesCommand";
4
- import { type PreviewSpeechCommandInput, type PreviewSpeechCommandOutput } from "./commands/PreviewSpeechCommand";
5
3
  import { type SendHangupCommandInput, type SendHangupCommandOutput } from "./commands/SendHangupCommand";
6
4
  import { type SendPlayCommandInput, type SendPlayCommandOutput } from "./commands/SendPlayCommand";
7
5
  import { type SendSayCommandInput, type SendSayCommandOutput } from "./commands/SendSayCommand";
@@ -16,18 +14,6 @@ export interface WilmaVoice {
16
14
  describeVoiceProtocol(args: DescribeVoiceProtocolCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVoiceProtocolCommandOutput>;
17
15
  describeVoiceProtocol(args: DescribeVoiceProtocolCommandInput, cb: (err: any, data?: DescribeVoiceProtocolCommandOutput) => void): void;
18
16
  describeVoiceProtocol(args: DescribeVoiceProtocolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVoiceProtocolCommandOutput) => void): void;
19
- /**
20
- * @see {@link ListSpeechVoicesCommand}
21
- */
22
- listSpeechVoices(args: ListSpeechVoicesCommandInput, options?: __HttpHandlerOptions): Promise<ListSpeechVoicesCommandOutput>;
23
- listSpeechVoices(args: ListSpeechVoicesCommandInput, cb: (err: any, data?: ListSpeechVoicesCommandOutput) => void): void;
24
- listSpeechVoices(args: ListSpeechVoicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSpeechVoicesCommandOutput) => void): void;
25
- /**
26
- * @see {@link PreviewSpeechCommand}
27
- */
28
- previewSpeech(args: PreviewSpeechCommandInput, options?: __HttpHandlerOptions): Promise<PreviewSpeechCommandOutput>;
29
- previewSpeech(args: PreviewSpeechCommandInput, cb: (err: any, data?: PreviewSpeechCommandOutput) => void): void;
30
- previewSpeech(args: PreviewSpeechCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PreviewSpeechCommandOutput) => void): void;
31
17
  /**
32
18
  * @see {@link SendHangupCommand}
33
19
  */
@@ -6,8 +6,6 @@ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/re
6
6
  import type { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
7
7
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
8
8
  import type { DescribeVoiceProtocolCommandInput, DescribeVoiceProtocolCommandOutput } from "./commands/DescribeVoiceProtocolCommand";
9
- import type { ListSpeechVoicesCommandInput, ListSpeechVoicesCommandOutput } from "./commands/ListSpeechVoicesCommand";
10
- import type { PreviewSpeechCommandInput, PreviewSpeechCommandOutput } from "./commands/PreviewSpeechCommand";
11
9
  import type { SendHangupCommandInput, SendHangupCommandOutput } from "./commands/SendHangupCommand";
12
10
  import type { SendPlayCommandInput, SendPlayCommandOutput } from "./commands/SendPlayCommand";
13
11
  import type { SendSayCommandInput, SendSayCommandOutput } from "./commands/SendSayCommand";
@@ -19,11 +17,11 @@ export { __Client };
19
17
  /**
20
18
  * @public
21
19
  */
22
- export type ServiceInputTypes = DescribeVoiceProtocolCommandInput | ListSpeechVoicesCommandInput | PreviewSpeechCommandInput | SendHangupCommandInput | SendPlayCommandInput | SendSayCommandInput | SendStopCommandInput | SendTransferCommandInput;
20
+ export type ServiceInputTypes = DescribeVoiceProtocolCommandInput | SendHangupCommandInput | SendPlayCommandInput | SendSayCommandInput | SendStopCommandInput | SendTransferCommandInput;
23
21
  /**
24
22
  * @public
25
23
  */
26
- export type ServiceOutputTypes = DescribeVoiceProtocolCommandOutput | ListSpeechVoicesCommandOutput | PreviewSpeechCommandOutput | SendHangupCommandOutput | SendPlayCommandOutput | SendSayCommandOutput | SendStopCommandOutput | SendTransferCommandOutput;
24
+ export type ServiceOutputTypes = DescribeVoiceProtocolCommandOutput | SendHangupCommandOutput | SendPlayCommandOutput | SendSayCommandOutput | SendStopCommandOutput | SendTransferCommandOutput;
27
25
  /**
28
26
  * @public
29
27
  */
@@ -83,7 +83,6 @@ declare const DescribeVoiceProtocolCommand_base: {
83
83
  * // text: "STRING_VALUE", // required
84
84
  * // confidence: Number("double"),
85
85
  * // final: true || false,
86
- * // language: "STRING_VALUE",
87
86
  * // time: Number("long"), // required
88
87
  * // },
89
88
  * // },
@@ -93,7 +92,6 @@ declare const DescribeVoiceProtocolCommand_base: {
93
92
  * // type: "started" || "ended" || "error" || "audio" || "transcription" || "reply" || "playback" || "interruption" || "complete" || "control", // required
94
93
  * // id: "STRING_VALUE", // required
95
94
  * // text: "STRING_VALUE", // required
96
- * // language: "STRING_VALUE",
97
95
  * // startTime: Number("long"), // required
98
96
  * // endTime: Number("long"), // required
99
97
  * // },
@@ -146,15 +144,6 @@ declare const DescribeVoiceProtocolCommand_base: {
146
144
  * // agentName: "STRING_VALUE",
147
145
  * // category: "STRING_VALUE",
148
146
  * // groupId: "STRING_VALUE",
149
- * // speech: { // VoiceSpeechPayload
150
- * // vendor: "aws", // required
151
- * // languages: [ // LanguageCodeList // required
152
- * // "STRING_VALUE",
153
- * // ],
154
- * // preferredLanguage: "STRING_VALUE", // required
155
- * // autoDetect: true || false, // required
156
- * // },
157
- * // backgroundSound: "STRING_VALUE",
158
147
  * // inputAudio: {
159
148
  * // encoding: "pcm_s16le" || "mulaw" || "alaw" || "opus", // required
160
149
  * // sampleRate: Number("int"), // required
@@ -191,7 +180,6 @@ declare const DescribeVoiceProtocolCommand_base: {
191
180
  * // text: "STRING_VALUE", // required
192
181
  * // replyId: "STRING_VALUE", // required
193
182
  * // interruptible: true || false,
194
- * // voice: "STRING_VALUE",
195
183
  * // audio: { // SayCommandAudioOptions
196
184
  * // streamId: "STRING_VALUE", // required
197
185
  * // sampleRate: Number("int"), // required
@@ -40,7 +40,6 @@ declare const SendSayCommand_base: {
40
40
  * text: "STRING_VALUE", // required
41
41
  * replyId: "STRING_VALUE", // required
42
42
  * interruptible: true || false,
43
- * voice: "STRING_VALUE",
44
43
  * audio: { // SayCommandAudioOptions
45
44
  * streamId: "STRING_VALUE", // required
46
45
  * sampleRate: Number("int"), // required
@@ -1,6 +1,4 @@
1
1
  export * from "./DescribeVoiceProtocolCommand";
2
- export * from "./ListSpeechVoicesCommand";
3
- export * from "./PreviewSpeechCommand";
4
2
  export * from "./SendHangupCommand";
5
3
  export * from "./SendPlayCommand";
6
4
  export * from "./SendSayCommand";
@@ -1,45 +1,3 @@
1
- /**
2
- * @public
3
- * @enum
4
- */
5
- export declare const VoicePronunciationEncoding: {
6
- /**
7
- * A respelling substituted into the text before it reaches the provider. The only encoding version 1 applies.
8
- */
9
- readonly ALIAS: "alias";
10
- /**
11
- * Phonetic transcription. Declared so IPA can be enabled per provider later; ignored by the runtime today.
12
- */
13
- readonly IPA: "ipa";
14
- };
15
- /**
16
- * @public
17
- */
18
- export type VoicePronunciationEncoding = (typeof VoicePronunciationEncoding)[keyof typeof VoicePronunciationEncoding];
19
- /**
20
- * @public
21
- * @enum
22
- */
23
- export declare const VoiceSpeechProvider: {
24
- readonly AMAZON_POLLY: "amazon_polly";
25
- readonly ELEVENLABS: "elevenlabs";
26
- readonly GOOGLE: "google";
27
- };
28
- /**
29
- * @public
30
- */
31
- export type VoiceSpeechProvider = (typeof VoiceSpeechProvider)[keyof typeof VoiceSpeechProvider];
32
- /**
33
- * @public
34
- * @enum
35
- */
36
- export declare const VoiceTranscriptionVendor: {
37
- readonly AWS: "aws";
38
- };
39
- /**
40
- * @public
41
- */
42
- export type VoiceTranscriptionVendor = (typeof VoiceTranscriptionVendor)[keyof typeof VoiceTranscriptionVendor];
43
1
  /**
44
2
  * @public
45
3
  * @enum