@wildix/wilma-agents-client 1.0.45 → 1.0.46
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/schemas/schemas_0.js +2 -2
- package/dist-es/schemas/schemas_0.js +2 -2
- package/dist-types/commands/CreateAgentCommand.d.ts +0 -2
- package/dist-types/commands/GetAgentCommand.d.ts +0 -1
- package/dist-types/commands/GetAgentVersionCommand.d.ts +0 -1
- package/dist-types/commands/ListAgentsCommand.d.ts +0 -1
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +0 -1
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +0 -1
- package/dist-types/commands/UpdateAgentCommand.d.ts +0 -2
- package/dist-types/models/models_0.d.ts +10 -10
- package/package.json +1 -1
|
@@ -158,7 +158,6 @@ declare const CreateAgentCommand_base: {
|
|
|
158
158
|
* ],
|
|
159
159
|
* transcription: { // AssistantTranscriptionSettings
|
|
160
160
|
* engine: "STRING_VALUE",
|
|
161
|
-
* autoDetect: true || false,
|
|
162
161
|
* },
|
|
163
162
|
* },
|
|
164
163
|
* },
|
|
@@ -1062,7 +1061,6 @@ declare const CreateAgentCommand_base: {
|
|
|
1062
1061
|
* // ],
|
|
1063
1062
|
* // transcription: { // AssistantTranscriptionSettings
|
|
1064
1063
|
* // engine: "STRING_VALUE",
|
|
1065
|
-
* // autoDetect: true || false,
|
|
1066
1064
|
* // },
|
|
1067
1065
|
* // },
|
|
1068
1066
|
* // },
|
|
@@ -158,7 +158,6 @@ declare const UpdateAgentCommand_base: {
|
|
|
158
158
|
* ],
|
|
159
159
|
* transcription: { // AssistantTranscriptionSettings
|
|
160
160
|
* engine: "STRING_VALUE",
|
|
161
|
-
* autoDetect: true || false,
|
|
162
161
|
* },
|
|
163
162
|
* },
|
|
164
163
|
* },
|
|
@@ -1064,7 +1063,6 @@ declare const UpdateAgentCommand_base: {
|
|
|
1064
1063
|
* // ],
|
|
1065
1064
|
* // transcription: { // AssistantTranscriptionSettings
|
|
1066
1065
|
* // engine: "STRING_VALUE",
|
|
1067
|
-
* // autoDetect: true || false,
|
|
1068
1066
|
* // },
|
|
1069
1067
|
* // },
|
|
1070
1068
|
* // },
|
|
@@ -91,7 +91,15 @@ export interface AssistantLanguage {
|
|
|
91
91
|
isDefault?: boolean | undefined;
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
|
-
* Speech-to-text configuration owned by the assistant channel, so changes to assistant
|
|
94
|
+
* Speech-to-text configuration owned by the assistant channel, so changes to assistant
|
|
95
|
+
* recognition policy cannot alter telephony calls.
|
|
96
|
+
*
|
|
97
|
+
* NO `autoDetect` HERE, unlike the voice channel: on this channel configuring a second language
|
|
98
|
+
* IS the request to recognise which one is being spoken — nobody lists two and then asks to be
|
|
99
|
+
* heard in only one — so the server derives identification from the language list and clamps it
|
|
100
|
+
* to false when the recogniser cannot identify among them, or there are too few to identify. The
|
|
101
|
+
* voice channel keeps the switch because a dialplan can hand a call its language, which is a
|
|
102
|
+
* choice an assistant conversation never has to make.
|
|
95
103
|
* @public
|
|
96
104
|
*/
|
|
97
105
|
export interface AssistantTranscriptionSettings {
|
|
@@ -100,14 +108,6 @@ export interface AssistantTranscriptionSettings {
|
|
|
100
108
|
* @public
|
|
101
109
|
*/
|
|
102
110
|
engine?: string | undefined;
|
|
103
|
-
/**
|
|
104
|
-
* Identify the caller's language per utterance and switch voice and reply language while the
|
|
105
|
-
* audio call is open. Absent means off. It requires at least two configured languages and a
|
|
106
|
-
* recogniser that can identify them; the server clamps it to false otherwise because passing
|
|
107
|
-
* one candidate to an identifying recogniser can make it reject the stream.
|
|
108
|
-
* @public
|
|
109
|
-
*/
|
|
110
|
-
autoDetect?: boolean | undefined;
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
113
|
* Recognition and synthesis policy for assistant audio. This is assistant-owned rather than a
|
|
@@ -125,7 +125,7 @@ export interface AssistantSpeechSettings {
|
|
|
125
125
|
*/
|
|
126
126
|
languages: AssistantLanguage[];
|
|
127
127
|
/**
|
|
128
|
-
* Which recogniser listens to assistant audio
|
|
128
|
+
* Which recogniser listens to assistant audio. Absent uses the platform default recogniser. Whether it identifies the spoken language is derived from `languages` rather than configured — see AssistantTranscriptionSettings.
|
|
129
129
|
* @public
|
|
130
130
|
*/
|
|
131
131
|
transcription?: AssistantTranscriptionSettings | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wilma-agents-client",
|
|
3
3
|
"description": "@wildix/wilma-agents-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.46",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|