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