@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.
@@ -927,8 +927,8 @@ exports.AssistantSpeechSettings$ = [3, n2, _ASS,
927
927
  ];
928
928
  exports.AssistantTranscriptionSettings$ = [3, n2, _ATS,
929
929
  0,
930
- [_en, _aDu],
931
- [0, 2]
930
+ [_en],
931
+ [0]
932
932
  ];
933
933
  exports.AssistantUiSettings$ = [3, n2, _AUS,
934
934
  0,
@@ -921,8 +921,8 @@ export var AssistantSpeechSettings$ = [3, n2, _ASS,
921
921
  ];
922
922
  export var AssistantTranscriptionSettings$ = [3, n2, _ATS,
923
923
  0,
924
- [_en, _aDu],
925
- [0, 2]
924
+ [_en],
925
+ [0]
926
926
  ];
927
927
  export var AssistantUiSettings$ = [3, n2, _AUS,
928
928
  0,
@@ -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
  * // },
@@ -165,7 +165,6 @@ declare const GetAgentCommand_base: {
165
165
  * // ],
166
166
  * // transcription: { // AssistantTranscriptionSettings
167
167
  * // engine: "STRING_VALUE",
168
- * // autoDetect: true || false,
169
168
  * // },
170
169
  * // },
171
170
  * // },
@@ -172,7 +172,6 @@ declare const GetAgentVersionCommand_base: {
172
172
  * // ],
173
173
  * // transcription: { // AssistantTranscriptionSettings
174
174
  * // engine: "STRING_VALUE",
175
- * // autoDetect: true || false,
176
175
  * // },
177
176
  * // },
178
177
  * // },
@@ -170,7 +170,6 @@ declare const ListAgentsCommand_base: {
170
170
  * // ],
171
171
  * // transcription: { // AssistantTranscriptionSettings
172
172
  * // engine: "STRING_VALUE",
173
- * // autoDetect: true || false,
174
173
  * // },
175
174
  * // },
176
175
  * // },
@@ -174,7 +174,6 @@ declare const PublishAgentVersionCommand_base: {
174
174
  * // ],
175
175
  * // transcription: { // AssistantTranscriptionSettings
176
176
  * // engine: "STRING_VALUE",
177
- * // autoDetect: true || false,
178
177
  * // },
179
178
  * // },
180
179
  * // },
@@ -167,7 +167,6 @@ declare const RestoreAgentVersionToDraftCommand_base: {
167
167
  * // ],
168
168
  * // transcription: { // AssistantTranscriptionSettings
169
169
  * // engine: "STRING_VALUE",
170
- * // autoDetect: true || false,
171
170
  * // },
172
171
  * // },
173
172
  * // },
@@ -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 recognition policy cannot alter telephony calls.
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 and whether it identifies the language. Absent uses the platform default recogniser without language identification.
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.45",
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",