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