@wildix/wilma-agents-client 1.0.47 → 1.0.48

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.
@@ -210,7 +210,7 @@ const _VTS = "VoiceTranscriptionSettings";
210
210
  const _VTT = "VoiceTransferTarget";
211
211
  const _WSUL = "WebSearchUserLocation";
212
212
  const _a = "access";
213
- const _aA = "assistantAudio";
213
+ const _aAE = "assistantAudioEnabled";
214
214
  const _aD = "allowedDomains";
215
215
  const _aDu = "autoDetect";
216
216
  const _aI = "agentId";
@@ -598,7 +598,7 @@ exports.AgentHangupPipeline$ = [3, n2, _AHPg,
598
598
  ];
599
599
  exports.AgentInfo$ = [3, n2, _AI,
600
600
  0,
601
- [_i, _n, _st, _ch, _p, _ca, _sC, _aA, _sI, _as, _lV],
601
+ [_i, _n, _st, _ch, _p, _ca, _sC, _aAE, _sI, _as, _lV],
602
602
  [0, 0, 0, 64 | 0, 0, 0, 2, 2, 64 | 0, () => exports.AssistantUiSettings$, 1], 4
603
603
  ];
604
604
  exports.AgentKnowledgeBase$ = [3, n2, _AKB,
@@ -204,7 +204,7 @@ const _VTS = "VoiceTranscriptionSettings";
204
204
  const _VTT = "VoiceTransferTarget";
205
205
  const _WSUL = "WebSearchUserLocation";
206
206
  const _a = "access";
207
- const _aA = "assistantAudio";
207
+ const _aAE = "assistantAudioEnabled";
208
208
  const _aD = "allowedDomains";
209
209
  const _aDu = "autoDetect";
210
210
  const _aI = "agentId";
@@ -592,7 +592,7 @@ export var AgentHangupPipeline$ = [3, n2, _AHPg,
592
592
  ];
593
593
  export var AgentInfo$ = [3, n2, _AI,
594
594
  0,
595
- [_i, _n, _st, _ch, _p, _ca, _sC, _aA, _sI, _as, _lV],
595
+ [_i, _n, _st, _ch, _p, _ca, _sC, _aAE, _sI, _as, _lV],
596
596
  [0, 0, 0, 64 | 0, 0, 0, 2, 2, 64 | 0, () => AssistantUiSettings$, 1], 4
597
597
  ];
598
598
  export var AgentKnowledgeBase$ = [3, n2, _AKB,
@@ -54,7 +54,7 @@ declare const ListAgentsNamesCommand_base: {
54
54
  * // "voice" || "chat" || "assistant",
55
55
  * // ],
56
56
  * // speechConfigured: true || false,
57
- * // assistantAudio: true || false,
57
+ * // assistantAudioEnabled: true || false,
58
58
  * // skillIds: [ // AgentSkillIdsList
59
59
  * // "STRING_VALUE",
60
60
  * // ],
@@ -98,13 +98,12 @@ export interface AssistantLanguage {
98
98
  * synthesis parameters have the same representation in every channel without coupling their
99
99
  * language rules.
100
100
  *
101
- * REQUIRED ONLY FOR THE 'voice' ENGINE, enforced in the service rather than here (the engine
102
- * that resolves an audio call is itself resolved there, at
103
- * `requireAssistantAudioEngine` — this contract has no view of it). 'gpt-live',
104
- * 'gemini-live' and 'gemini-live-thinking' hold the audio and speak with the gateway's own
105
- * voice (see AssistantAudioEngine); a language row for one of them carries no voice, and a
106
- * caller configuring a gateway agent must not have to invent a synthesis URI nobody will ever
107
- * hear just to satisfy this member.
101
+ * REQUIRED ONLY FOR THE 'voice' ENGINE, enforced in the service rather than here (at
102
+ * `validateAssistantSpeechSettings`, which reads the engine this contract has no view of).
103
+ * 'gpt-live', 'gemini-live' and 'gemini-live-thinking' hold the audio and speak with the
104
+ * gateway's own voice (see AssistantAudioEngine); a language row for one of them carries no
105
+ * voice, and a caller configuring a gateway agent must not have to invent a synthesis URI
106
+ * nobody will ever hear just to satisfy this member.
108
107
  * @public
109
108
  */
110
109
  voice?: string | undefined;
@@ -130,6 +129,11 @@ export interface AssistantLanguage {
130
129
  * does not apply here. Absent means no respellings for this language, distinct from the voice
131
130
  * channel's OWN configured rules for the same language: an agent's assistant audio does not
132
131
  * inherit them, so a name gets fixed once and read once, on whichever channel it is saved.
132
+ *
133
+ * READ ONLY BY THE 'voice' ENGINE, same conditionality as `voice` above and for the same
134
+ * reason: 'gpt-live', 'gemini-live' and 'gemini-live-thinking' hold the audio and speak with
135
+ * the gateway's own voice, never this service's synthesis path, so a rule saved here on a
136
+ * gateway agent configures a respelling nothing will ever apply.
133
137
  * @public
134
138
  */
135
139
  pronunciations?: VoicePronunciation[] | undefined;
@@ -581,9 +585,14 @@ export interface VoiceTranscriptionSettings {
581
585
  */
582
586
  export interface VoiceSpeechSettings {
583
587
  /**
584
- * Configured languages. The @length bound is a STORAGE ceiling, not the product rule: the real
585
- * cap is the recogniser's own candidate limit (five for Amazon Transcribe), enforced in the
586
- * service so a recogniser with a different limit needs no model change.
588
+ * Configured languages. The @length bound is a STORAGE ceiling, not a promise about what a
589
+ * recogniser accepts at once: automatic detection here is opt-in (`transcription.autoDetect`),
590
+ * and once a caller turns it on, the service does not clamp the resulting candidate list to a
591
+ * recogniser's own practical limit today (Amazon Transcribe's documented recommendation for
592
+ * streaming identification is five) — a caller who both opts in and configures more than a
593
+ * recogniser accepts should expect degraded identification or a rejected stream, not a refusal
594
+ * from this contract. With detection off, only the single resolved language is ever sent, so
595
+ * the ceiling never becomes a candidate-list problem at all.
587
596
  * @public
588
597
  */
589
598
  languages: VoiceLanguage[];
@@ -3573,10 +3582,10 @@ export interface AgentInfo {
3573
3582
  */
3574
3583
  speechConfigured?: boolean | undefined;
3575
3584
  /**
3576
- * Whether the assistant channel accepts audio calls, from `channels.assistant.audio.enabled`. `ChannelType.ASSISTANT` on `channels` says the assistant surface is served; this is the one bit end-user clients need to decide whether to offer a microphone on it at all, since `channels.assistant.audio` itself carries speech policy an end user must not see. Absent is read as false.
3585
+ * Whether the assistant channel accepts audio calls, from `channels.assistant.audio.enabled`. `ChannelType.ASSISTANT` on `channels` says the assistant surface is served; this is the one bit end-user clients need to decide whether to offer a microphone on it at all, since `channels.assistant.audio` itself carries speech policy an end user must not see. Named for the flag it carries rather than the block it is read from — `assistant` two members below is the whole `AssistantUiSettings` structure, and a name that read like another one of those would point a reader at the wrong shape. Absent is read as false.
3577
3586
  * @public
3578
3587
  */
3579
- assistantAudio?: boolean | undefined;
3588
+ assistantAudioEnabled?: boolean | undefined;
3580
3589
  /**
3581
3590
  * Ids of the skills attached to this agent. Always active in this agent's sessions; user skill preferences cannot disable them.
3582
3591
  * @public
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.47",
4
+ "version": "1.0.48",
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",