@wildix/wilma-voice-client 0.0.50 → 0.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/enums.js +25 -81
- package/dist-cjs/schemas/schemas_0.js +235 -384
- package/dist-es/models/enums.js +24 -80
- package/dist-es/schemas/schemas_0.js +233 -381
- package/dist-types/WilmaVoice.d.ts +5 -6
- package/dist-types/WilmaVoiceClient.d.ts +5 -6
- package/dist-types/commands/DescribeVoiceProtocolCommand.d.ts +203 -297
- package/dist-types/commands/SendSayCommand.d.ts +1 -2
- package/dist-types/index.d.ts +5 -6
- package/dist-types/models/enums.d.ts +36 -294
- package/dist-types/models/models_0.d.ts +852 -1144
- package/dist-types/schemas/schemas_0.d.ts +37 -60
- package/package.json +1 -1
package/dist-es/models/enums.js
CHANGED
|
@@ -4,30 +4,25 @@ export const VoicePronunciationEncoding = {
|
|
|
4
4
|
};
|
|
5
5
|
export const VoiceEventType = {
|
|
6
6
|
AGENT_TRANSCRIPTION: "agentTranscription",
|
|
7
|
-
AUDIO: "audio",
|
|
8
7
|
COMPLETE: "complete",
|
|
9
|
-
CONTROL: "control",
|
|
10
8
|
ENDED: "ended",
|
|
11
9
|
ERROR: "error",
|
|
12
10
|
INTERRUPTION: "interruption",
|
|
13
11
|
PLAYBACK: "playback",
|
|
14
12
|
REPLY: "reply",
|
|
15
13
|
STARTED: "started",
|
|
14
|
+
THINKING: "thinking",
|
|
15
|
+
TOOL: "tool",
|
|
16
16
|
TRANSCRIPTION: "transcription",
|
|
17
17
|
};
|
|
18
|
-
export const
|
|
19
|
-
CLEAR: "clear",
|
|
20
|
-
END_OF_TURN: "end_of_turn",
|
|
21
|
-
KEEPALIVE: "keepalive",
|
|
22
|
-
};
|
|
23
|
-
export const VoiceCallEndReason = {
|
|
24
|
-
COMPLETE: "complete",
|
|
25
|
-
ERROR: "error",
|
|
18
|
+
export const VoiceCommandType = {
|
|
26
19
|
HANGUP: "hangup",
|
|
27
|
-
|
|
20
|
+
PLAY: "play",
|
|
21
|
+
SAY: "say",
|
|
22
|
+
STOP: "stop",
|
|
28
23
|
TRANSFER: "transfer",
|
|
29
24
|
};
|
|
30
|
-
export const
|
|
25
|
+
export const VoiceToolPhase = {
|
|
31
26
|
FINISHED: "finished",
|
|
32
27
|
STARTED: "started",
|
|
33
28
|
};
|
|
@@ -35,99 +30,48 @@ export const VoiceTranscriptionDropReason = {
|
|
|
35
30
|
LOW_CONFIDENCE: "low_confidence",
|
|
36
31
|
OTHER_SPEAKER: "other_speaker",
|
|
37
32
|
};
|
|
38
|
-
export const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
OPUS: "opus",
|
|
42
|
-
PCM_S16LE: "pcm_s16le",
|
|
43
|
-
};
|
|
44
|
-
export const VoiceInputMode = {
|
|
45
|
-
AUDIO: "audio",
|
|
46
|
-
TRANSCRIPTION: "transcription",
|
|
47
|
-
};
|
|
48
|
-
export const VoiceCommandType = {
|
|
33
|
+
export const VoiceCallEndReason = {
|
|
34
|
+
COMPLETE: "complete",
|
|
35
|
+
ERROR: "error",
|
|
49
36
|
HANGUP: "hangup",
|
|
50
|
-
|
|
51
|
-
SAY: "say",
|
|
52
|
-
STOP: "stop",
|
|
37
|
+
TIMEOUT: "timeout",
|
|
53
38
|
TRANSFER: "transfer",
|
|
54
39
|
};
|
|
55
|
-
export const
|
|
40
|
+
export const VoiceCallServerFrameType = {
|
|
56
41
|
AUDIO_BEGIN: "audio.begin",
|
|
57
|
-
};
|
|
58
|
-
export const MediaAudioEndFrameType = {
|
|
59
42
|
AUDIO_END: "audio.end",
|
|
60
|
-
};
|
|
61
|
-
export const MediaDuckFrameType = {
|
|
62
43
|
DUCK: "duck",
|
|
63
|
-
|
|
64
|
-
export const MediaErrorFrameType = {
|
|
44
|
+
ENDED: "ended",
|
|
65
45
|
ERROR: "error",
|
|
66
|
-
};
|
|
67
|
-
export const MediaFinishedFrameType = {
|
|
68
|
-
FINISHED: "finished",
|
|
69
|
-
};
|
|
70
|
-
export const MediaHangupFrameType = {
|
|
71
46
|
HANGUP: "hangup",
|
|
72
|
-
};
|
|
73
|
-
export const MediaLanguageFrameType = {
|
|
74
47
|
LANGUAGE: "language",
|
|
75
|
-
};
|
|
76
|
-
export const MediaRestoreFrameType = {
|
|
77
|
-
RESTORE: "restore",
|
|
78
|
-
};
|
|
79
|
-
export const MediaStartedFrameType = {
|
|
80
48
|
STARTED: "started",
|
|
81
|
-
};
|
|
82
|
-
export const MediaStopFrameType = {
|
|
83
49
|
STOP: "stop",
|
|
84
|
-
};
|
|
85
|
-
export const MediaParty = {
|
|
86
|
-
CALLEE: "callee",
|
|
87
|
-
CALLER: "caller",
|
|
88
|
-
};
|
|
89
|
-
export const MediaTranscriptionFrameType = {
|
|
90
50
|
TRANSCRIPTION: "transcription",
|
|
91
|
-
};
|
|
92
|
-
export const MediaTransferFrameType = {
|
|
93
51
|
TRANSFER: "transfer",
|
|
94
52
|
};
|
|
95
|
-
export const
|
|
53
|
+
export const VoiceCallClientFrameType = {
|
|
96
54
|
DTMF: "dtmf",
|
|
55
|
+
END: "end",
|
|
56
|
+
PLAYBACK: "playback",
|
|
57
|
+
START: "start",
|
|
58
|
+
VAD: "vad",
|
|
97
59
|
};
|
|
98
|
-
export const
|
|
60
|
+
export const VoiceCallClientEndReason = {
|
|
99
61
|
AGENT_HANGUP: "agent-hangup",
|
|
100
62
|
AGENT_TRANSFER: "agent-transfer",
|
|
101
|
-
CALLEE_HANGUP: "callee-hangup",
|
|
102
63
|
CALLER_HANGUP: "caller-hangup",
|
|
103
64
|
TIMEOUT: "timeout",
|
|
104
65
|
};
|
|
105
|
-
export const
|
|
106
|
-
FINISH: "finish",
|
|
107
|
-
};
|
|
108
|
-
export const MediaPlaybackStopCause = {
|
|
109
|
-
CALLER: "caller",
|
|
110
|
-
CLOUD: "cloud",
|
|
111
|
-
DROP: "drop",
|
|
112
|
-
};
|
|
113
|
-
export const MediaPlaybackEvent = {
|
|
66
|
+
export const VoiceCallPlaybackPhase = {
|
|
114
67
|
FINISHED: "finished",
|
|
115
68
|
STARTED: "started",
|
|
116
69
|
STOPPED: "stopped",
|
|
117
70
|
};
|
|
118
|
-
export const
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
export const MediaAudioEncoding = {
|
|
122
|
-
PCM_S16LE: "pcm_s16le",
|
|
71
|
+
export const VoiceCallParty = {
|
|
72
|
+
CALLEE: "callee",
|
|
73
|
+
CALLER: "caller",
|
|
123
74
|
};
|
|
124
|
-
export const
|
|
125
|
-
AGENT: "agent",
|
|
75
|
+
export const VoiceInputMode = {
|
|
126
76
|
TRANSCRIPTION: "transcription",
|
|
127
77
|
};
|
|
128
|
-
export const MediaStartFrameType = {
|
|
129
|
-
START: "start",
|
|
130
|
-
};
|
|
131
|
-
export const MediaVadFrameType = {
|
|
132
|
-
VAD: "vad",
|
|
133
|
-
};
|