@wildix/wilma-voice-client 0.0.52 → 0.0.53
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/models/enums.js +14 -14
- package/dist-cjs/schemas/schemas_0.js +73 -48
- package/dist-es/models/enums.js +13 -13
- package/dist-es/schemas/schemas_0.js +71 -46
- package/dist-types/commands/DescribeVoiceProtocolCommand.d.ts +254 -241
- package/dist-types/models/enums.d.ts +21 -21
- package/dist-types/models/models_0.d.ts +287 -216
- package/dist-types/schemas/schemas_0.d.ts +12 -6
- package/package.json +1 -1
|
@@ -34,6 +34,7 @@ const _VATE = "VoiceAgentTranscriptionEvent";
|
|
|
34
34
|
const _VCABF = "VoiceCallAudioBeginFrame";
|
|
35
35
|
const _VCAEF = "VoiceCallAudioEndFrame";
|
|
36
36
|
const _VCATE = "VoiceCallAgentTranscriptionEvent";
|
|
37
|
+
const _VCCF = "VoiceCallClientFrames";
|
|
37
38
|
const _VCDF = "VoiceCallDtmfFrame";
|
|
38
39
|
const _VCDFo = "VoiceCallDuckFrame";
|
|
39
40
|
const _VCE = "VoiceCompleteEvent";
|
|
@@ -53,12 +54,14 @@ const _VCPF = "VoiceCallPlaybackFrame";
|
|
|
53
54
|
const _VCPFo = "VoiceCallProtocolFrames";
|
|
54
55
|
const _VCRE = "VoiceCallReplyEvent";
|
|
55
56
|
const _VCSA = "VoiceCallStartAgent";
|
|
57
|
+
const _VCSAo = "VoiceCallStartedAgent";
|
|
56
58
|
const _VCSC = "VoiceCallStartCaller";
|
|
57
59
|
const _VCSE = "VoiceCallSayEvent";
|
|
58
60
|
const _VCSEo = "VoiceCallStartedEvent";
|
|
59
|
-
const _VCSF = "
|
|
60
|
-
const _VCSFo = "
|
|
61
|
-
const _VCSFoi = "
|
|
61
|
+
const _VCSF = "VoiceCallServerFrames";
|
|
62
|
+
const _VCSFo = "VoiceCallStartedFrame";
|
|
63
|
+
const _VCSFoi = "VoiceCallStartFrame";
|
|
64
|
+
const _VCSFoic = "VoiceCallStopFrame";
|
|
62
65
|
const _VCTE = "VoiceCallToolEvent";
|
|
63
66
|
const _VCTEo = "VoiceCallTranscriptionEvent";
|
|
64
67
|
const _VCTF = "VoiceCallTranscriptionFrame";
|
|
@@ -67,23 +70,26 @@ const _VCVF = "VoiceCallVadFrame";
|
|
|
67
70
|
const _VDS = "VoiceDetectionSettings";
|
|
68
71
|
const _VE = "ValidationException";
|
|
69
72
|
const _VEE = "VoiceErrorEvent";
|
|
70
|
-
const
|
|
71
|
-
const
|
|
73
|
+
const _VHC = "VoiceHangupCommand";
|
|
74
|
+
const _VHCo = "VoiceHealthcheckCommand";
|
|
72
75
|
const _VIE = "VoiceInterruptionEvent";
|
|
73
76
|
const _VL = "VoiceList";
|
|
74
77
|
const _VP = "VoicePronunciation";
|
|
75
|
-
const
|
|
78
|
+
const _VPC = "VoicePlayCommand";
|
|
76
79
|
const _VPE = "VoicePlaybackEvent";
|
|
77
80
|
const _VPL = "VoicePronunciationList";
|
|
78
81
|
const _VRE = "VoiceReplyEvent";
|
|
82
|
+
const _VSC = "VoiceSayCommand";
|
|
79
83
|
const _VSCAO = "VoiceSayCommandAudioOptions";
|
|
80
|
-
const
|
|
81
|
-
const _VSCDo = "VoiceStopCommandData";
|
|
84
|
+
const _VSCo = "VoiceStopCommand";
|
|
82
85
|
const _VSEE = "VoiceSessionEndedEvent";
|
|
83
86
|
const _VSP = "VoiceSpeechPayload";
|
|
84
87
|
const _VSSE = "VoiceSessionStartedEvent";
|
|
85
|
-
const
|
|
88
|
+
const _VTC = "VoiceTransferCommand";
|
|
89
|
+
const _VTCF = "VoiceTextClientFrames";
|
|
86
90
|
const _VTE = "VoiceTranscriptionEvent";
|
|
91
|
+
const _VTPF = "VoiceTextProtocolFrames";
|
|
92
|
+
const _VTSF = "VoiceTextServerFrames";
|
|
87
93
|
const _a = "audio/mpeg";
|
|
88
94
|
const _aB = "audioBegin";
|
|
89
95
|
const _aD = "autoDetect";
|
|
@@ -93,7 +99,6 @@ const _aI = "agentId";
|
|
|
93
99
|
const _aM = "atMs";
|
|
94
100
|
const _aN = "agentName";
|
|
95
101
|
const _aT = "agentTranscription";
|
|
96
|
-
const _aTE = "agentTranscriptionEvent";
|
|
97
102
|
const _aV = "agentVersion";
|
|
98
103
|
const _ag = "agent";
|
|
99
104
|
const _as = "as";
|
|
@@ -101,9 +106,8 @@ const _au = "audio";
|
|
|
101
106
|
const _bS = "backgroundSound";
|
|
102
107
|
const _c = "client";
|
|
103
108
|
const _cC = "callerCompany";
|
|
104
|
-
const _cE = "
|
|
105
|
-
const _cEa = "
|
|
106
|
-
const _cEal = "callerEmail";
|
|
109
|
+
const _cE = "callEvent";
|
|
110
|
+
const _cEa = "callerEmail";
|
|
107
111
|
const _cI = "callId";
|
|
108
112
|
const _cIo = "connectionId";
|
|
109
113
|
const _cN = "callerName";
|
|
@@ -128,7 +132,6 @@ const _dt = "dtmf";
|
|
|
128
132
|
const _du = "duck";
|
|
129
133
|
const _e = "error";
|
|
130
134
|
const _eD = "energyDb";
|
|
131
|
-
const _eE = "errorEvent";
|
|
132
135
|
const _eM = "endMs";
|
|
133
136
|
const _eT = "endTime";
|
|
134
137
|
const _em = "email";
|
|
@@ -145,14 +148,12 @@ const _fI = "flowIndex";
|
|
|
145
148
|
const _fr = "from";
|
|
146
149
|
const _gI = "groupId";
|
|
147
150
|
const _h = "hangup";
|
|
148
|
-
const _hC = "hangupCommand";
|
|
149
151
|
const _hE = "httpError";
|
|
150
152
|
const _hH = "httpHeader";
|
|
151
153
|
const _hQ = "httpQuery";
|
|
152
|
-
const
|
|
154
|
+
const _he = "healthcheck";
|
|
153
155
|
const _ht = "http";
|
|
154
156
|
const _i = "id";
|
|
155
|
-
const _iE = "interruptionEvent";
|
|
156
157
|
const _iM = "initialMessage";
|
|
157
158
|
const _iMn = "inputMode";
|
|
158
159
|
const _in = "interruptible";
|
|
@@ -166,8 +167,6 @@ const _n = "name";
|
|
|
166
167
|
const _nu = "number";
|
|
167
168
|
const _oT = "originalText";
|
|
168
169
|
const _p = "phrase";
|
|
169
|
-
const _pC = "playCommand";
|
|
170
|
-
const _pE = "playbackEvent";
|
|
171
170
|
const _pL = "preferredLanguage";
|
|
172
171
|
const _pM = "playedMs";
|
|
173
172
|
const _pT = "playedText";
|
|
@@ -175,20 +174,17 @@ const _pV = "protocolVersion";
|
|
|
175
174
|
const _pa = "party";
|
|
176
175
|
const _ph = "phase";
|
|
177
176
|
const _pl = "playback";
|
|
177
|
+
const _pla = "play";
|
|
178
178
|
const _pr = "provider";
|
|
179
179
|
const _pro = "pronunciations";
|
|
180
180
|
const _r = "reason";
|
|
181
181
|
const _rAM = "resumeAtMs";
|
|
182
|
-
const _rE = "replyEvent";
|
|
183
182
|
const _rI = "replyId";
|
|
184
183
|
const _rM = "rampMs";
|
|
185
184
|
const _re = "retryable";
|
|
186
185
|
const _rep = "reply";
|
|
187
186
|
const _res = "resume";
|
|
188
187
|
const _s = "smithy.ts.sdk.synthetic.wildix.wilma.voice";
|
|
189
|
-
const _sC = "sayCommand";
|
|
190
|
-
const _sCt = "stopCommand";
|
|
191
|
-
const _sEE = "sessionEndedEvent";
|
|
192
188
|
const _sI = "streamId";
|
|
193
189
|
const _sIe = "sessionId";
|
|
194
190
|
const _sLD = "silenceLevelDb";
|
|
@@ -197,9 +193,9 @@ const _sM = "silenceMs";
|
|
|
197
193
|
const _sMt = "startMessage";
|
|
198
194
|
const _sMta = "startMs";
|
|
199
195
|
const _sR = "sampleRate";
|
|
200
|
-
const _sSE = "sessionStartedEvent";
|
|
201
196
|
const _sT = "startTime";
|
|
202
197
|
const _sa = "say";
|
|
198
|
+
const _se = "server";
|
|
203
199
|
const _sp = "speech";
|
|
204
200
|
const _spe = "speaking";
|
|
205
201
|
const _st = "streaming";
|
|
@@ -207,11 +203,10 @@ const _sta = "start";
|
|
|
207
203
|
const _star = "started";
|
|
208
204
|
const _sto = "stop";
|
|
209
205
|
const _t = "type";
|
|
210
|
-
const _tC = "transferCommand";
|
|
211
206
|
const _tCI = "toolCallId";
|
|
212
|
-
const _tE = "transcriptionEvent";
|
|
213
207
|
const _tI = "traceId";
|
|
214
208
|
const _tN = "toolName";
|
|
209
|
+
const _tS = "textSocket";
|
|
215
210
|
const _te = "text";
|
|
216
211
|
const _ti = "time";
|
|
217
212
|
const _to = "to";
|
|
@@ -287,12 +282,12 @@ export var VoiceErrorEvent$ = [3, n3, _VEE,
|
|
|
287
282
|
[_t, _cod, _m, _ti],
|
|
288
283
|
[0, 0, 0, 1], 4
|
|
289
284
|
];
|
|
290
|
-
export var
|
|
285
|
+
export var VoiceHangupCommand$ = [3, n3, _VHC,
|
|
291
286
|
0,
|
|
292
287
|
[_t, _r],
|
|
293
288
|
[0, 0], 1
|
|
294
289
|
];
|
|
295
|
-
export var
|
|
290
|
+
export var VoiceHealthcheckCommand$ = [3, n3, _VHCo,
|
|
296
291
|
0,
|
|
297
292
|
[_t],
|
|
298
293
|
[0], 1
|
|
@@ -307,7 +302,7 @@ export var VoicePlaybackEvent$ = [3, n3, _VPE,
|
|
|
307
302
|
[_t, _com, _rI, _te, _sT, _eT],
|
|
308
303
|
[0, 2, 0, 0, 1, 1], 2
|
|
309
304
|
];
|
|
310
|
-
export var
|
|
305
|
+
export var VoicePlayCommand$ = [3, n3, _VPC,
|
|
311
306
|
0,
|
|
312
307
|
[_rI, _sI, _d, _t],
|
|
313
308
|
[0, 0, 0, 0], 4
|
|
@@ -317,16 +312,16 @@ export var VoiceReplyEvent$ = [3, n3, _VRE,
|
|
|
317
312
|
[_t, _te, _i, _ti, _l, _co, _sT, _eT],
|
|
318
313
|
[0, 0, 0, 1, 0, 1, 1, 1], 2
|
|
319
314
|
];
|
|
315
|
+
export var VoiceSayCommand$ = [3, n3, _VSC,
|
|
316
|
+
0,
|
|
317
|
+
[_te, _rI, _t, _in, _au],
|
|
318
|
+
[0, 0, 0, 2, () => VoiceSayCommandAudioOptions$], 3
|
|
319
|
+
];
|
|
320
320
|
export var VoiceSayCommandAudioOptions$ = [3, n3, _VSCAO,
|
|
321
321
|
0,
|
|
322
322
|
[_sI, _sR],
|
|
323
323
|
[0, 1], 2
|
|
324
324
|
];
|
|
325
|
-
export var VoiceSayCommandData$ = [3, n3, _VSCD,
|
|
326
|
-
0,
|
|
327
|
-
[_te, _rI, _t, _in, _au],
|
|
328
|
-
[0, 0, 0, 2, () => VoiceSayCommandAudioOptions$], 3
|
|
329
|
-
];
|
|
330
325
|
export var VoiceSessionEndedEvent$ = [3, n3, _VSEE,
|
|
331
326
|
0,
|
|
332
327
|
[_t, _ti, _r, _e],
|
|
@@ -342,7 +337,7 @@ export var VoiceSpeechPayload$ = [3, n3, _VSP,
|
|
|
342
337
|
[_eng, _la, _pL, _aD],
|
|
343
338
|
[0, 64 | 0, 0, 2], 4
|
|
344
339
|
];
|
|
345
|
-
export var
|
|
340
|
+
export var VoiceStopCommand$ = [3, n3, _VSCo,
|
|
346
341
|
0,
|
|
347
342
|
[_t],
|
|
348
343
|
[0], 1
|
|
@@ -352,7 +347,7 @@ export var VoiceTranscriptionEvent$ = [3, n3, _VTE,
|
|
|
352
347
|
[_t, _te, _i, _co, _f, _l, _ti],
|
|
353
348
|
[0, 0, 0, 1, 2, 0, 1], 2
|
|
354
349
|
];
|
|
355
|
-
export var
|
|
350
|
+
export var VoiceTransferCommand$ = [3, n3, _VTC,
|
|
356
351
|
0,
|
|
357
352
|
[_con, _ex, _t],
|
|
358
353
|
[0, 0, 0], 3
|
|
@@ -364,8 +359,8 @@ export var DescribeVoiceProtocolInput$ = [3, n1, _DVPI,
|
|
|
364
359
|
];
|
|
365
360
|
export var DescribeVoiceProtocolOutput$ = [3, n1, _DVPO,
|
|
366
361
|
0,
|
|
367
|
-
[
|
|
368
|
-
[() =>
|
|
362
|
+
[_tS, _cS, _cE],
|
|
363
|
+
[() => VoiceTextProtocolFrames$, () => VoiceCallProtocolFrames$, () => VoiceCallEvent$]
|
|
369
364
|
];
|
|
370
365
|
export var ListVoicesInput$ = [3, n1, _LVI,
|
|
371
366
|
0,
|
|
@@ -467,6 +462,11 @@ export var VoiceCallAudioEndFrame$ = [3, n1, _VCAEF,
|
|
|
467
462
|
[_t, _sI],
|
|
468
463
|
[0, 0], 2
|
|
469
464
|
];
|
|
465
|
+
export var VoiceCallClientFrames$ = [3, n1, _VCCF,
|
|
466
|
+
0,
|
|
467
|
+
[_sta, _va, _dt, _pl, _end],
|
|
468
|
+
[() => VoiceCallStartFrame$, () => VoiceCallVadFrame$, () => VoiceCallDtmfFrame$, () => VoiceCallPlaybackFrame$, () => VoiceCallEndFrame$]
|
|
469
|
+
];
|
|
470
470
|
export var VoiceCallDtmfFrame$ = [3, n1, _VCDF,
|
|
471
471
|
0,
|
|
472
472
|
[_t, _i, _di],
|
|
@@ -529,8 +529,8 @@ export var VoiceCallPlaybackFrame$ = [3, n1, _VCPF,
|
|
|
529
529
|
];
|
|
530
530
|
export var VoiceCallProtocolFrames$ = [3, n1, _VCPFo,
|
|
531
531
|
0,
|
|
532
|
-
[
|
|
533
|
-
[() =>
|
|
532
|
+
[_c, _se],
|
|
533
|
+
[() => VoiceCallClientFrames$, () => VoiceCallServerFrames$]
|
|
534
534
|
];
|
|
535
535
|
export var VoiceCallReplyEvent$ = [3, n1, _VCRE,
|
|
536
536
|
0,
|
|
@@ -542,6 +542,11 @@ export var VoiceCallSayEvent$ = [3, n1, _VCSE,
|
|
|
542
542
|
[_rI, _te, _in],
|
|
543
543
|
[0, 0, 2], 3
|
|
544
544
|
];
|
|
545
|
+
export var VoiceCallServerFrames$ = [3, n1, _VCSF,
|
|
546
|
+
0,
|
|
547
|
+
[_star, _tr, _aB, _aE, _sto, _du, _l, _tra, _h, _e, _ende],
|
|
548
|
+
[() => VoiceCallStartedFrame$, () => VoiceCallTranscriptionFrame$, () => VoiceCallAudioBeginFrame$, () => VoiceCallAudioEndFrame$, () => VoiceCallStopFrame$, () => VoiceCallDuckFrame$, () => VoiceCallLanguageFrame$, () => VoiceCallTransferFrame$, () => VoiceCallHangupFrame$, () => VoiceCallErrorFrame$, () => VoiceCallEndedFrame$]
|
|
549
|
+
];
|
|
545
550
|
export var VoiceCallStartAgent$ = [3, n1, _VCSA,
|
|
546
551
|
0,
|
|
547
552
|
[_i, _dra, _ve],
|
|
@@ -552,22 +557,27 @@ export var VoiceCallStartCaller$ = [3, n1, _VCSC,
|
|
|
552
557
|
[_n, _nu, _em, _comp],
|
|
553
558
|
[0, 0, 0, 0]
|
|
554
559
|
];
|
|
560
|
+
export var VoiceCallStartedAgent$ = [3, n1, _VCSAo,
|
|
561
|
+
0,
|
|
562
|
+
[_i, _n, _gI],
|
|
563
|
+
[0, 0, 0], 2
|
|
564
|
+
];
|
|
555
565
|
export var VoiceCallStartedEvent$ = [3, n1, _VCSEo,
|
|
556
566
|
0,
|
|
557
567
|
[_sIe, _aI, _tI, _aN, _aV, _aDg, _l],
|
|
558
568
|
[0, 0, 0, 0, 1, 2, 0], 2
|
|
559
569
|
];
|
|
560
|
-
export var VoiceCallStartedFrame$ = [3, n1,
|
|
570
|
+
export var VoiceCallStartedFrame$ = [3, n1, _VCSFo,
|
|
561
571
|
0,
|
|
562
|
-
[_t, _cIo,
|
|
563
|
-
[0, 0,
|
|
572
|
+
[_t, _cIo, _ag, _bS, _vDo],
|
|
573
|
+
[0, 0, () => VoiceCallStartedAgent$, 0, () => VoiceDetectionSettings$], 3
|
|
564
574
|
];
|
|
565
|
-
export var VoiceCallStartFrame$ = [3, n1,
|
|
575
|
+
export var VoiceCallStartFrame$ = [3, n1, _VCSFoi,
|
|
566
576
|
0,
|
|
567
577
|
[_t, _cI, _fI, _sIe, _res, _rAM, _ag, _l, _cal, _dN, _var],
|
|
568
578
|
[0, 0, 1, 0, 2, 1, () => VoiceCallStartAgent$, 0, () => VoiceCallStartCaller$, 0, 0], 9
|
|
569
579
|
];
|
|
570
|
-
export var VoiceCallStopFrame$ = [3, n1,
|
|
580
|
+
export var VoiceCallStopFrame$ = [3, n1, _VCSFoic,
|
|
571
581
|
0,
|
|
572
582
|
[_t],
|
|
573
583
|
[0], 1
|
|
@@ -599,9 +609,24 @@ export var VoiceCallVadFrame$ = [3, n1, _VCVF,
|
|
|
599
609
|
];
|
|
600
610
|
export var VoiceConnectParams$ = [3, n1, _VCP,
|
|
601
611
|
0,
|
|
602
|
-
[_sIe, _aI, _pV, _res, _aV, _aDg, _cI, _fI, _dN, _l, _cN, _cNa,
|
|
612
|
+
[_sIe, _aI, _pV, _res, _aV, _aDg, _cI, _fI, _dN, _l, _cN, _cNa, _cEa, _cC, _vo, _iM, _var, _iMn, _us, _comp],
|
|
603
613
|
[0, 0, 1, 2, 1, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 2
|
|
604
614
|
];
|
|
615
|
+
export var VoiceTextClientFrames$ = [3, n1, _VTCF,
|
|
616
|
+
0,
|
|
617
|
+
[_he, _tr, _aT, _rep, _pl, _int, _com],
|
|
618
|
+
[() => VoiceHealthcheckCommand$, () => VoiceTranscriptionEvent$, () => VoiceAgentTranscriptionEvent$, () => VoiceReplyEvent$, () => VoicePlaybackEvent$, () => VoiceInterruptionEvent$, () => VoiceCompleteEvent$]
|
|
619
|
+
];
|
|
620
|
+
export var VoiceTextProtocolFrames$ = [3, n1, _VTPF,
|
|
621
|
+
0,
|
|
622
|
+
[_cP, _c, _se],
|
|
623
|
+
[() => VoiceConnectParams$, () => VoiceTextClientFrames$, () => VoiceTextServerFrames$]
|
|
624
|
+
];
|
|
625
|
+
export var VoiceTextServerFrames$ = [3, n1, _VTSF,
|
|
626
|
+
0,
|
|
627
|
+
[_star, _ende, _e, _sa, _pla, _sto, _h, _tra],
|
|
628
|
+
[() => VoiceSessionStartedEvent$, () => VoiceSessionEndedEvent$, () => VoiceErrorEvent$, () => VoiceSayCommand$, () => VoicePlayCommand$, () => VoiceStopCommand$, () => VoiceHangupCommand$, () => VoiceTransferCommand$]
|
|
629
|
+
];
|
|
605
630
|
var LanguageCodeList = 64 | 0;
|
|
606
631
|
var VoicePronunciationList = [1, n2, _VPL,
|
|
607
632
|
0, () => VoicePronunciation$
|