@wildix/wilma-voice-client 0.0.32 → 0.0.35

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.
@@ -5,4 +5,5 @@ export * from "./SendPlayCommand";
5
5
  export * from "./SendSayCommand";
6
6
  export * from "./SendStopCommand";
7
7
  export * from "./SendTransferCommand";
8
+ export * from "./StreamCallEventsCommand";
8
9
  export * from "./TextToSpeechCommand";
@@ -21,6 +21,7 @@ export type VoicePronunciationEncoding = (typeof VoicePronunciationEncoding)[key
21
21
  * @enum
22
22
  */
23
23
  export declare const VoiceEventType: {
24
+ readonly AGENT_TRANSCRIPTION: "agentTranscription";
24
25
  readonly AUDIO: "audio";
25
26
  readonly COMPLETE: "complete";
26
27
  readonly CONTROL: "control";
@@ -58,6 +59,33 @@ export declare const VoiceControlAction: {
58
59
  * @public
59
60
  */
60
61
  export type VoiceControlAction = (typeof VoiceControlAction)[keyof typeof VoiceControlAction];
62
+ /**
63
+ * @public
64
+ * @enum
65
+ */
66
+ export declare const VoiceCallEndReason: {
67
+ readonly COMPLETE: "complete";
68
+ readonly ERROR: "error";
69
+ readonly HANGUP: "hangup";
70
+ readonly TIMEOUT: "timeout";
71
+ readonly TRANSFER: "transfer";
72
+ };
73
+ /**
74
+ * @public
75
+ */
76
+ export type VoiceCallEndReason = (typeof VoiceCallEndReason)[keyof typeof VoiceCallEndReason];
77
+ /**
78
+ * @public
79
+ * @enum
80
+ */
81
+ export declare const VoiceCallToolPhase: {
82
+ readonly FINISHED: "finished";
83
+ readonly STARTED: "started";
84
+ };
85
+ /**
86
+ * @public
87
+ */
88
+ export type VoiceCallToolPhase = (typeof VoiceCallToolPhase)[keyof typeof VoiceCallToolPhase];
61
89
  /**
62
90
  * @public
63
91
  * @enum
@@ -117,3 +145,15 @@ export declare const VoiceCommandType: {
117
145
  * @public
118
146
  */
119
147
  export type VoiceCommandType = (typeof VoiceCommandType)[keyof typeof VoiceCommandType];
148
+ /**
149
+ * @public
150
+ * @enum
151
+ */
152
+ export declare const VoiceCallEventInclude: {
153
+ readonly COMMANDS: "commands";
154
+ readonly TOOLS: "tools";
155
+ };
156
+ /**
157
+ * @public
158
+ */
159
+ export type VoiceCallEventInclude = (typeof VoiceCallEventInclude)[keyof typeof VoiceCallEventInclude];
@@ -1,5 +1,5 @@
1
- import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { VoiceAudioEncoding, VoiceCommandType, VoiceControlAction, VoiceEventType, VoiceInputMode, VoicePronunciationEncoding } from "./enums";
1
+ import type { DocumentType as __DocumentType, StreamingBlobTypes } from "@smithy/types";
2
+ import type { VoiceAudioEncoding, VoiceCallEndReason, VoiceCallEventInclude, VoiceCallToolPhase, VoiceCommandType, VoiceControlAction, VoiceEventType, VoiceInputMode, VoicePronunciationEncoding } from "./enums";
3
3
  /**
4
4
  * A pronunciation rule for one phrase. Belongs to a LANGUAGE, not to the agent: 'Wildix' is
5
5
  * respelled differently for an Italian and a German voice, so one list shared ACROSS languages
@@ -24,6 +24,51 @@ export interface VoicePronunciation {
24
24
  */
25
25
  encoding?: VoicePronunciationEncoding | undefined;
26
26
  }
27
+ /**
28
+ * A recogniser result for the agent's own leg — what the caller hears. Sent by the PBX for new-stack agents only, from the same dual-channel stream that transcribes the caller. Never starts a turn.
29
+ * @public
30
+ */
31
+ export interface AgentTranscriptionEvent {
32
+ /**
33
+ * Discriminator for the inner payload of an `event` frame.
34
+ * @public
35
+ */
36
+ type: VoiceEventType;
37
+ /**
38
+ * Identifier of a transcription chunk within a session.
39
+ * @public
40
+ */
41
+ id: string;
42
+ text: string;
43
+ /**
44
+ * Transcription confidence score (accuracy level) in range from 0.0 to 1.0. Value -1.0 indicates confidence is unavailable.
45
+ * @public
46
+ */
47
+ confidence?: number | undefined;
48
+ /**
49
+ * True when this is the final transcript for the utterance rather than an interim hypothesis.
50
+ * @public
51
+ */
52
+ final?: boolean | undefined;
53
+ /**
54
+ * Language the recogniser identified for this chunk. Recorded in the trace only — it drives no behavior.
55
+ * @public
56
+ */
57
+ language?: string | undefined;
58
+ time: number;
59
+ }
60
+ /**
61
+ * Envelope of a WebSocket event frame: `\{ "type": "event", "event": \{ ... \} \}`.
62
+ * @public
63
+ */
64
+ export interface AgentTranscriptionWebsocketEvent {
65
+ type: string;
66
+ /**
67
+ * A recogniser result for the agent's own leg — what the caller hears. Sent by the PBX for new-stack agents only, from the same dual-channel stream that transcribes the caller. Never starts a turn.
68
+ * @public
69
+ */
70
+ event: AgentTranscriptionEvent;
71
+ }
27
72
  /**
28
73
  * A chunk of raw caller audio, base64-encoded in the session's negotiated input format
29
74
  * (inputAudio from the connect handshake). Used by web/app clients in AUDIO input mode; the
@@ -115,6 +160,411 @@ export interface ControlWebsocketEvent {
115
160
  */
116
161
  export interface DescribeVoiceProtocolInput {
117
162
  }
163
+ /**
164
+ * A recogniser result for the AGENT's own leg — what the caller actually heard. Same semantics as VoiceCallTranscriptionEvent; an interrupted reply simply stops.
165
+ * @public
166
+ */
167
+ export interface VoiceCallAgentTranscriptionEvent {
168
+ /**
169
+ * Identifier of a transcription chunk within a session.
170
+ * @public
171
+ */
172
+ id: string;
173
+ text: string;
174
+ final: boolean;
175
+ /**
176
+ * BCP-47 language tag, optionally with a region subtag: 'en', 'en-US', 'pt-BR'. Deliberately a
177
+ * constrained string rather than an enum: the offerable set is a property of the selected
178
+ * recogniser and changes with it, so an enumeration here would cap the set at whatever was known
179
+ * when the model was released.
180
+ * @public
181
+ */
182
+ language?: string | undefined;
183
+ time?: number | undefined;
184
+ }
185
+ /**
186
+ * The session ended. After `transfer` another session of the same call may follow with its own `started`.
187
+ * @public
188
+ */
189
+ export interface VoiceCallEndedEvent {
190
+ /**
191
+ * Caller-facing voice session identifier, unique per connection. Supplied by the client at connect (the PBX call/session id, or a client-generated id for web sessions).
192
+ * @public
193
+ */
194
+ sessionId: string;
195
+ reason: VoiceCallEndReason;
196
+ }
197
+ /**
198
+ * The caller talked over the agent. `playedText` is what they heard before the cut.
199
+ * @public
200
+ */
201
+ export interface VoiceCallInterruptionEvent {
202
+ /**
203
+ * Correlates a caller phrase, the agent reply it produced, and the playback/interruption of that reply.
204
+ * @public
205
+ */
206
+ replyId?: string | undefined;
207
+ playedText?: string | undefined;
208
+ originalText?: string | undefined;
209
+ }
210
+ /**
211
+ * The conversation language changed on a recognised utterance.
212
+ * @public
213
+ */
214
+ export interface VoiceCallLanguageEvent {
215
+ /**
216
+ * BCP-47 language tag, optionally with a region subtag: 'en', 'en-US', 'pt-BR'. Deliberately a
217
+ * constrained string rather than an enum: the offerable set is a property of the selected
218
+ * recogniser and changes with it, so an enumeration here would cap the set at whatever was known
219
+ * when the model was released.
220
+ * @public
221
+ */
222
+ from?: string | undefined;
223
+ /**
224
+ * BCP-47 language tag, optionally with a region subtag: 'en', 'en-US', 'pt-BR'. Deliberately a
225
+ * constrained string rather than an enum: the offerable set is a property of the selected
226
+ * recogniser and changes with it, so an enumeration here would cap the set at whatever was known
227
+ * when the model was released.
228
+ * @public
229
+ */
230
+ to: string;
231
+ reason: string;
232
+ }
233
+ /**
234
+ * The PBX finished (or abandoned) playing a reply.
235
+ * @public
236
+ */
237
+ export interface VoiceCallPlaybackEvent {
238
+ /**
239
+ * Correlates a caller phrase, the agent reply it produced, and the playback/interruption of that reply.
240
+ * @public
241
+ */
242
+ replyId: string;
243
+ complete: boolean;
244
+ }
245
+ /**
246
+ * The caller's completed utterance that started a turn — after the runtime's filler and duplicate filter.
247
+ * @public
248
+ */
249
+ export interface VoiceCallReplyEvent {
250
+ /**
251
+ * Correlates a caller phrase, the agent reply it produced, and the playback/interruption of that reply.
252
+ * @public
253
+ */
254
+ id: string;
255
+ text: string;
256
+ /**
257
+ * BCP-47 language tag, optionally with a region subtag: 'en', 'en-US', 'pt-BR'. Deliberately a
258
+ * constrained string rather than an enum: the offerable set is a property of the selected
259
+ * recogniser and changes with it, so an enumeration here would cap the set at whatever was known
260
+ * when the model was released.
261
+ * @public
262
+ */
263
+ language?: string | undefined;
264
+ }
265
+ /**
266
+ * One sentence the agent speaks, as it is handed to the PBX (after playback sanitizing). Sentences of one reply share `replyId`.
267
+ * @public
268
+ */
269
+ export interface VoiceCallSayEvent {
270
+ /**
271
+ * Correlates a caller phrase, the agent reply it produced, and the playback/interruption of that reply.
272
+ * @public
273
+ */
274
+ replyId: string;
275
+ text: string;
276
+ interruptible: boolean;
277
+ }
278
+ /**
279
+ * The session that answered the call, sent once per session of the call (a transfer starts another).
280
+ * @public
281
+ */
282
+ export interface VoiceCallStartedEvent {
283
+ /**
284
+ * Caller-facing voice session identifier, unique per connection. Supplied by the client at connect (the PBX call/session id, or a client-generated id for web sessions).
285
+ * @public
286
+ */
287
+ sessionId: string;
288
+ /**
289
+ * The session's trace, for the LLM-level detail this stream deliberately omits. Absent for a built-in agent, whose trace is not the tenant's to read.
290
+ * @public
291
+ */
292
+ traceId?: string | undefined;
293
+ agentId: string;
294
+ agentName?: string | undefined;
295
+ /**
296
+ * Published agent version number. Monotonic within an agent's version history, starting at 1.
297
+ * @public
298
+ */
299
+ agentVersion?: number | undefined;
300
+ /**
301
+ * True when the session runs the agent's draft.
302
+ * @public
303
+ */
304
+ agentDraft?: boolean | undefined;
305
+ /**
306
+ * BCP-47 language the call started in.
307
+ * @public
308
+ */
309
+ language?: string | undefined;
310
+ }
311
+ /**
312
+ * A tool call the agent made during a turn. Name and phase only — arguments and results live in the trace. Sent only to management callers that asked for `include=tools`.
313
+ * @public
314
+ */
315
+ export interface VoiceCallToolEvent {
316
+ /**
317
+ * Identifies the tool call inside the turn — the model's own call id, not the PBX call this stream follows.
318
+ * @public
319
+ */
320
+ toolCallId: string;
321
+ toolName: string;
322
+ phase: VoiceCallToolPhase;
323
+ /**
324
+ * The phrase spoken while the tool runs, when the capability configures one.
325
+ * @public
326
+ */
327
+ startMessage?: string | undefined;
328
+ }
329
+ /**
330
+ * A recogniser result for the caller's speech. Interim results (`final: false`) are replaced by the final one with the same `id`.
331
+ * @public
332
+ */
333
+ export interface VoiceCallTranscriptionEvent {
334
+ /**
335
+ * Identifier of a transcription chunk within a session.
336
+ * @public
337
+ */
338
+ id: string;
339
+ text: string;
340
+ final: boolean;
341
+ /**
342
+ * BCP-47 language tag, optionally with a region subtag: 'en', 'en-US', 'pt-BR'. Deliberately a
343
+ * constrained string rather than an enum: the offerable set is a property of the selected
344
+ * recogniser and changes with it, so an enumeration here would cap the set at whatever was known
345
+ * when the model was released.
346
+ * @public
347
+ */
348
+ language?: string | undefined;
349
+ /**
350
+ * Milliseconds since the call started, as the PBX stamps it.
351
+ * @public
352
+ */
353
+ time?: number | undefined;
354
+ }
355
+ /**
356
+ * One event on a live call. The SSE frame's `event:` is the member name and `data:` the member's JSON.
357
+ * @public
358
+ */
359
+ export type VoiceCallEvent = VoiceCallEvent.AgentTranscriptionMember | VoiceCallEvent.EndedMember | VoiceCallEvent.InterruptionMember | VoiceCallEvent.LanguageMember | VoiceCallEvent.PlaybackMember | VoiceCallEvent.ReplyMember | VoiceCallEvent.SayMember | VoiceCallEvent.StartedMember | VoiceCallEvent.ToolMember | VoiceCallEvent.TranscriptionMember | VoiceCallEvent.$UnknownMember;
360
+ /**
361
+ * @public
362
+ */
363
+ export declare namespace VoiceCallEvent {
364
+ /**
365
+ * The session that answered the call, sent once per session of the call (a transfer starts another).
366
+ * @public
367
+ */
368
+ interface StartedMember {
369
+ started: VoiceCallStartedEvent;
370
+ transcription?: never;
371
+ agentTranscription?: never;
372
+ reply?: never;
373
+ say?: never;
374
+ playback?: never;
375
+ interruption?: never;
376
+ language?: never;
377
+ tool?: never;
378
+ ended?: never;
379
+ $unknown?: never;
380
+ }
381
+ /**
382
+ * A recogniser result for the caller's speech. Interim results (`final: false`) are replaced by the final one with the same `id`.
383
+ * @public
384
+ */
385
+ interface TranscriptionMember {
386
+ started?: never;
387
+ transcription: VoiceCallTranscriptionEvent;
388
+ agentTranscription?: never;
389
+ reply?: never;
390
+ say?: never;
391
+ playback?: never;
392
+ interruption?: never;
393
+ language?: never;
394
+ tool?: never;
395
+ ended?: never;
396
+ $unknown?: never;
397
+ }
398
+ /**
399
+ * A recogniser result for the AGENT's own leg — what the caller actually heard. Same semantics as VoiceCallTranscriptionEvent; an interrupted reply simply stops.
400
+ * @public
401
+ */
402
+ interface AgentTranscriptionMember {
403
+ started?: never;
404
+ transcription?: never;
405
+ agentTranscription: VoiceCallAgentTranscriptionEvent;
406
+ reply?: never;
407
+ say?: never;
408
+ playback?: never;
409
+ interruption?: never;
410
+ language?: never;
411
+ tool?: never;
412
+ ended?: never;
413
+ $unknown?: never;
414
+ }
415
+ /**
416
+ * The caller's completed utterance that started a turn — after the runtime's filler and duplicate filter.
417
+ * @public
418
+ */
419
+ interface ReplyMember {
420
+ started?: never;
421
+ transcription?: never;
422
+ agentTranscription?: never;
423
+ reply: VoiceCallReplyEvent;
424
+ say?: never;
425
+ playback?: never;
426
+ interruption?: never;
427
+ language?: never;
428
+ tool?: never;
429
+ ended?: never;
430
+ $unknown?: never;
431
+ }
432
+ /**
433
+ * One sentence the agent speaks, as it is handed to the PBX (after playback sanitizing). Sentences of one reply share `replyId`.
434
+ * @public
435
+ */
436
+ interface SayMember {
437
+ started?: never;
438
+ transcription?: never;
439
+ agentTranscription?: never;
440
+ reply?: never;
441
+ say: VoiceCallSayEvent;
442
+ playback?: never;
443
+ interruption?: never;
444
+ language?: never;
445
+ tool?: never;
446
+ ended?: never;
447
+ $unknown?: never;
448
+ }
449
+ /**
450
+ * The PBX finished (or abandoned) playing a reply.
451
+ * @public
452
+ */
453
+ interface PlaybackMember {
454
+ started?: never;
455
+ transcription?: never;
456
+ agentTranscription?: never;
457
+ reply?: never;
458
+ say?: never;
459
+ playback: VoiceCallPlaybackEvent;
460
+ interruption?: never;
461
+ language?: never;
462
+ tool?: never;
463
+ ended?: never;
464
+ $unknown?: never;
465
+ }
466
+ /**
467
+ * The caller talked over the agent. `playedText` is what they heard before the cut.
468
+ * @public
469
+ */
470
+ interface InterruptionMember {
471
+ started?: never;
472
+ transcription?: never;
473
+ agentTranscription?: never;
474
+ reply?: never;
475
+ say?: never;
476
+ playback?: never;
477
+ interruption: VoiceCallInterruptionEvent;
478
+ language?: never;
479
+ tool?: never;
480
+ ended?: never;
481
+ $unknown?: never;
482
+ }
483
+ /**
484
+ * The conversation language changed on a recognised utterance.
485
+ * @public
486
+ */
487
+ interface LanguageMember {
488
+ started?: never;
489
+ transcription?: never;
490
+ agentTranscription?: never;
491
+ reply?: never;
492
+ say?: never;
493
+ playback?: never;
494
+ interruption?: never;
495
+ language: VoiceCallLanguageEvent;
496
+ tool?: never;
497
+ ended?: never;
498
+ $unknown?: never;
499
+ }
500
+ /**
501
+ * A tool call the agent made during a turn. Name and phase only — arguments and results live in the trace. Sent only to management callers that asked for `include=tools`.
502
+ * @public
503
+ */
504
+ interface ToolMember {
505
+ started?: never;
506
+ transcription?: never;
507
+ agentTranscription?: never;
508
+ reply?: never;
509
+ say?: never;
510
+ playback?: never;
511
+ interruption?: never;
512
+ language?: never;
513
+ tool: VoiceCallToolEvent;
514
+ ended?: never;
515
+ $unknown?: never;
516
+ }
517
+ /**
518
+ * The session ended. After `transfer` another session of the same call may follow with its own `started`.
519
+ * @public
520
+ */
521
+ interface EndedMember {
522
+ started?: never;
523
+ transcription?: never;
524
+ agentTranscription?: never;
525
+ reply?: never;
526
+ say?: never;
527
+ playback?: never;
528
+ interruption?: never;
529
+ language?: never;
530
+ tool?: never;
531
+ ended: VoiceCallEndedEvent;
532
+ $unknown?: never;
533
+ }
534
+ /**
535
+ * @public
536
+ */
537
+ interface $UnknownMember {
538
+ started?: never;
539
+ transcription?: never;
540
+ agentTranscription?: never;
541
+ reply?: never;
542
+ say?: never;
543
+ playback?: never;
544
+ interruption?: never;
545
+ language?: never;
546
+ tool?: never;
547
+ ended?: never;
548
+ $unknown: [string, any];
549
+ }
550
+ /**
551
+ * @deprecated unused in schema-serde mode.
552
+ *
553
+ */
554
+ interface Visitor<T> {
555
+ started: (value: VoiceCallStartedEvent) => T;
556
+ transcription: (value: VoiceCallTranscriptionEvent) => T;
557
+ agentTranscription: (value: VoiceCallAgentTranscriptionEvent) => T;
558
+ reply: (value: VoiceCallReplyEvent) => T;
559
+ say: (value: VoiceCallSayEvent) => T;
560
+ playback: (value: VoiceCallPlaybackEvent) => T;
561
+ interruption: (value: VoiceCallInterruptionEvent) => T;
562
+ language: (value: VoiceCallLanguageEvent) => T;
563
+ tool: (value: VoiceCallToolEvent) => T;
564
+ ended: (value: VoiceCallEndedEvent) => T;
565
+ _: (name: string, value: any) => T;
566
+ }
567
+ }
118
568
  /**
119
569
  * A PCM/compressed audio format description.
120
570
  * @public
@@ -157,7 +607,7 @@ export interface VoiceConnectParams {
157
607
  */
158
608
  agentId: string;
159
609
  /**
160
- * Published agent version to run. Mutually exclusive with agentDraft. When neither is set, the agent's deployment configuration selects the version.
610
+ * Published agent version to run. Mutually exclusive with agentDraft. When neither is set, the agent's deployment configuration selects the version. The PBX sends it only for a preview number (`<agentId>-vN`, WMS-27502); a customer call never carries it.
161
611
  * @public
162
612
  */
163
613
  agentVersion?: number | undefined;
@@ -748,6 +1198,11 @@ export interface DescribeVoiceProtocolOutput {
748
1198
  * @public
749
1199
  */
750
1200
  transcriptionWebsocketEvent?: TranscriptionWebsocketEvent | undefined;
1201
+ /**
1202
+ * Envelope of a WebSocket event frame: `\{ "type": "event", "event": \{ ... \} \}`.
1203
+ * @public
1204
+ */
1205
+ agentTranscriptionWebsocketEvent?: AgentTranscriptionWebsocketEvent | undefined;
751
1206
  /**
752
1207
  * Envelope of a WebSocket event frame: `\{ "type": "event", "event": \{ ... \} \}`.
753
1208
  * @public
@@ -813,6 +1268,11 @@ export interface DescribeVoiceProtocolOutput {
813
1268
  * @public
814
1269
  */
815
1270
  transferWebsocketCommand?: TransferWebsocketCommand | undefined;
1271
+ /**
1272
+ * One event of the StreamCallEvents SSE stream (`event:` is the member name, `data:` its JSON). Listed here so the generated SDKs carry the union; the stream body itself is an opaque byte stream.
1273
+ * @public
1274
+ */
1275
+ callEvent?: VoiceCallEvent | undefined;
816
1276
  }
817
1277
  /**
818
1278
  * @public
@@ -996,6 +1456,33 @@ export interface SendTransferInput {
996
1456
  */
997
1457
  export interface SendTransferOutput {
998
1458
  }
1459
+ /**
1460
+ * @public
1461
+ */
1462
+ export interface StreamCallEventsInput {
1463
+ /**
1464
+ * The PBX call id (LinkedID) — `callId` of the voice session's connect query, and the SIP `X-Session-ID` header the caller's own leg received.
1465
+ * @public
1466
+ */
1467
+ callId: string;
1468
+ /**
1469
+ * Owning company. Only S2S callers may set it; every other token carries its company.
1470
+ * @public
1471
+ */
1472
+ company?: string | undefined;
1473
+ include?: VoiceCallEventInclude[] | undefined;
1474
+ }
1475
+ /**
1476
+ * @public
1477
+ */
1478
+ export interface StreamCallEventsOutput {
1479
+ /**
1480
+ * Raw Server-Sent Events byte stream (`text/event-stream`). Each frame carries one VoiceCallEvent: `id:` is a per-connection counter (there is no replay), `event:` the union member name, `data:` the JSON document of the union value, e.g. `\{"say": \{...\}\}`.
1481
+ * @public
1482
+ */
1483
+ events: StreamingBlobTypes;
1484
+ contentType: string;
1485
+ }
999
1486
  /**
1000
1487
  * @public
1001
1488
  */
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: WilmaVoiceClientConfig) => {
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -30,6 +30,7 @@ export declare const getRuntimeConfig: (config: WilmaVoiceClientConfig) => {
30
30
  profile?: string;
31
31
  logger: import("@smithy/types").Logger;
32
32
  extensions: import("./runtimeExtensions").RuntimeExtension[];
33
+ sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
33
34
  customUserAgent?: string | import("@smithy/types").UserAgent;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
35
36
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: WilmaVoiceClientConfig) => {
29
29
  logger: import("@smithy/types").Logger;
30
30
  extensions: import("./runtimeExtensions").RuntimeExtension[];
31
31
  defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
32
+ sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: WilmaVoiceClientConfig) => {
26
26
  [setting: string]: unknown;
27
27
  defaultNamespace?: string;
28
28
  };
29
+ sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
29
30
  urlParser: import("@smithy/types").UrlParser;
30
31
  utf8Decoder: import("@smithy/types").Decoder;
31
32
  utf8Encoder: (input: Uint8Array | string) => string;
@@ -1,5 +1,5 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
3
  export declare var WilmaVoiceServiceException$: StaticErrorSchema;
4
4
  export declare var ForbiddenException$: StaticErrorSchema;
5
5
  export declare var NotFoundException$: StaticErrorSchema;
@@ -11,6 +11,8 @@ export declare var ValidationException$: StaticErrorSchema;
11
11
  */
12
12
  export declare const errorTypeRegistries: TypeRegistry[];
13
13
  export declare var VoicePronunciation$: StaticStructureSchema;
14
+ export declare var AgentTranscriptionEvent$: StaticStructureSchema;
15
+ export declare var AgentTranscriptionWebsocketEvent$: StaticStructureSchema;
14
16
  export declare var AudioEvent$: StaticStructureSchema;
15
17
  export declare var AudioWebsocketEvent$: StaticStructureSchema;
16
18
  export declare var CompleteEvent$: StaticStructureSchema;
@@ -51,6 +53,8 @@ export declare var SessionStartedEvent$: StaticStructureSchema;
51
53
  export declare var SessionStartedWebsocketEvent$: StaticStructureSchema;
52
54
  export declare var StopCommandData$: StaticStructureSchema;
53
55
  export declare var StopWebsocketCommand$: StaticStructureSchema;
56
+ export declare var StreamCallEventsInput$: StaticStructureSchema;
57
+ export declare var StreamCallEventsOutput$: StaticStructureSchema;
54
58
  export declare var TextToSpeechInput$: StaticStructureSchema;
55
59
  export declare var TextToSpeechOutput$: StaticStructureSchema;
56
60
  export declare var TranscriptionEvent$: StaticStructureSchema;
@@ -59,9 +63,20 @@ export declare var TransferCommandData$: StaticStructureSchema;
59
63
  export declare var TransferWebsocketCommand$: StaticStructureSchema;
60
64
  export declare var Voice$: StaticStructureSchema;
61
65
  export declare var VoiceAudioFormat$: StaticStructureSchema;
66
+ export declare var VoiceCallAgentTranscriptionEvent$: StaticStructureSchema;
67
+ export declare var VoiceCallEndedEvent$: StaticStructureSchema;
68
+ export declare var VoiceCallInterruptionEvent$: StaticStructureSchema;
69
+ export declare var VoiceCallLanguageEvent$: StaticStructureSchema;
70
+ export declare var VoiceCallPlaybackEvent$: StaticStructureSchema;
71
+ export declare var VoiceCallReplyEvent$: StaticStructureSchema;
72
+ export declare var VoiceCallSayEvent$: StaticStructureSchema;
73
+ export declare var VoiceCallStartedEvent$: StaticStructureSchema;
74
+ export declare var VoiceCallToolEvent$: StaticStructureSchema;
75
+ export declare var VoiceCallTranscriptionEvent$: StaticStructureSchema;
62
76
  export declare var VoiceConnectParams$: StaticStructureSchema;
63
77
  export declare var VoiceErrorEvent$: StaticStructureSchema;
64
78
  export declare var VoiceSpeechPayload$: StaticStructureSchema;
79
+ export declare var VoiceCallEvent$: StaticUnionSchema;
65
80
  export declare var DescribeVoiceProtocol$: StaticOperationSchema;
66
81
  export declare var ListVoices$: StaticOperationSchema;
67
82
  export declare var SendHangup$: StaticOperationSchema;
@@ -69,4 +84,5 @@ export declare var SendPlay$: StaticOperationSchema;
69
84
  export declare var SendSay$: StaticOperationSchema;
70
85
  export declare var SendStop$: StaticOperationSchema;
71
86
  export declare var SendTransfer$: StaticOperationSchema;
87
+ export declare var StreamCallEvents$: StaticOperationSchema;
72
88
  export declare var TextToSpeech$: StaticOperationSchema;