@wildix/wilma-voice-client 0.0.37 → 0.0.38

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VoiceCommandType = exports.VoiceInputMode = exports.VoiceAudioEncoding = exports.VoiceCallToolPhase = exports.VoiceCallEndReason = exports.VoiceCallBackendTransport = exports.VoiceControlAction = exports.VoiceEventType = exports.VoicePronunciationEncoding = void 0;
3
+ exports.VoiceCommandType = exports.VoiceInputMode = exports.VoiceAudioEncoding = exports.VoiceCallToolPhase = exports.VoiceCallEndReason = exports.VoiceControlAction = exports.VoiceEventType = exports.VoicePronunciationEncoding = void 0;
4
4
  exports.VoicePronunciationEncoding = {
5
5
  ALIAS: "alias",
6
6
  IPA: "ipa",
@@ -23,10 +23,6 @@ exports.VoiceControlAction = {
23
23
  END_OF_TURN: "end_of_turn",
24
24
  KEEPALIVE: "keepalive",
25
25
  };
26
- exports.VoiceCallBackendTransport = {
27
- SQS: "sqs",
28
- WEBHOOK: "webhook",
29
- };
30
26
  exports.VoiceCallEndReason = {
31
27
  COMPLETE: "complete",
32
28
  ERROR: "error",
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StreamCallEventsOutput$ = exports.StreamCallEventsInput$ = exports.StopWebsocketCommand$ = exports.StopCommandData$ = exports.SessionStartedWebsocketEvent$ = exports.SessionStartedEvent$ = exports.SessionEndedWebsocketEvent$ = exports.SessionEndedEvent$ = exports.SendTransferOutput$ = exports.SendTransferInput$ = exports.SendStopOutput$ = exports.SendStopInput$ = exports.SendSayOutput$ = exports.SendSayInput$ = exports.SendPlayOutput$ = exports.SendPlayInput$ = exports.SendHangupOutput$ = exports.SendHangupInput$ = exports.SayWebsocketCommand$ = exports.SayCommandData$ = exports.SayCommandAudioOptions$ = exports.ReplyWebsocketEvent$ = exports.ReplyEvent$ = exports.PlayWebsocketCommand$ = exports.PlayCommandData$ = exports.PlaybackWebsocketEvent$ = exports.PlaybackEvent$ = exports.ListVoicesOutput$ = exports.ListVoicesInput$ = exports.InterruptionWebsocketEvent$ = exports.InterruptionEvent$ = exports.HangupWebsocketCommand$ = exports.HangupCommandData$ = exports.ErrorWebsocketEvent$ = exports.DescribeVoiceProtocolOutput$ = exports.DescribeVoiceProtocolInput$ = exports.ControlWebsocketEvent$ = exports.ControlEvent$ = exports.CompleteWebsocketEvent$ = exports.CompleteEvent$ = exports.AudioWebsocketEvent$ = exports.AudioEvent$ = exports.AgentTranscriptionWebsocketEvent$ = exports.AgentTranscriptionEvent$ = exports.VoicePronunciation$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.NotFoundException$ = exports.ForbiddenException$ = exports.WilmaVoiceServiceException$ = void 0;
4
- exports.TextToSpeech$ = exports.StreamCallEvents$ = exports.SendTransfer$ = exports.SendStop$ = exports.SendSay$ = exports.SendPlay$ = exports.SendHangup$ = exports.ListVoices$ = exports.DescribeVoiceProtocol$ = exports.VoiceCallEvent$ = exports.VoiceSpeechPayload$ = exports.VoiceErrorEvent$ = exports.VoiceConnectParams$ = exports.VoiceCallTranscriptionEvent$ = exports.VoiceCallToolEvent$ = exports.VoiceCallStartedEvent$ = exports.VoiceCallSayEvent$ = exports.VoiceCallReplyEvent$ = exports.VoiceCallPlaybackEvent$ = exports.VoiceCallLanguageEvent$ = exports.VoiceCallInterruptionEvent$ = exports.VoiceCallEndedEvent$ = exports.VoiceCallBackendEvent$ = exports.VoiceCallAgentTranscriptionEvent$ = exports.VoiceAudioFormat$ = exports.Voice$ = exports.TransferWebsocketCommand$ = exports.TransferCommandData$ = exports.TranscriptionWebsocketEvent$ = exports.TranscriptionEvent$ = exports.TextToSpeechOutput$ = exports.TextToSpeechInput$ = void 0;
4
+ exports.TextToSpeech$ = exports.StreamCallEvents$ = exports.SendTransfer$ = exports.SendStop$ = exports.SendSay$ = exports.SendPlay$ = exports.SendHangup$ = exports.ListVoices$ = exports.DescribeVoiceProtocol$ = exports.VoiceCallEvent$ = exports.VoiceSpeechPayload$ = exports.VoiceErrorEvent$ = exports.VoiceConnectParams$ = exports.VoiceCallTranscriptionEvent$ = exports.VoiceCallToolEvent$ = exports.VoiceCallStartedEvent$ = exports.VoiceCallSayEvent$ = exports.VoiceCallReplyEvent$ = exports.VoiceCallPlaybackEvent$ = exports.VoiceCallLanguageEvent$ = exports.VoiceCallInterruptionEvent$ = exports.VoiceCallEndedEvent$ = exports.VoiceCallAgentTranscriptionEvent$ = exports.VoiceAudioFormat$ = exports.Voice$ = exports.TransferWebsocketCommand$ = exports.TransferCommandData$ = exports.TranscriptionWebsocketEvent$ = exports.TranscriptionEvent$ = exports.TextToSpeechOutput$ = exports.TextToSpeechInput$ = void 0;
5
5
  const _AE = "AudioEvent";
6
6
  const _ATE = "AgentTranscriptionEvent";
7
7
  const _ATWE = "AgentTranscriptionWebsocketEvent";
@@ -68,7 +68,6 @@ const _TWE = "TranscriptionWebsocketEvent";
68
68
  const _V = "Voice";
69
69
  const _VAF = "VoiceAudioFormat";
70
70
  const _VCATE = "VoiceCallAgentTranscriptionEvent";
71
- const _VCBE = "VoiceCallBackendEvent";
72
71
  const _VCE = "VoiceCallEvent";
73
72
  const _VCEE = "VoiceCallEndedEvent";
74
73
  const _VCESB = "VoiceCallEventStreamBody";
@@ -99,7 +98,6 @@ const _aWE = "audioWebsocketEvent";
99
98
  const _ac = "action";
100
99
  const _as = "as";
101
100
  const _au = "audio";
102
- const _b = "backend";
103
101
  const _bS = "backgroundSound";
104
102
  const _c = "client";
105
103
  const _cC = "callerCompany";
@@ -122,9 +120,7 @@ const _compa = "company";
122
120
  const _con = "context";
123
121
  const _cr = "credential";
124
122
  const _d = "data";
125
- const _dM = "durationMs";
126
123
  const _dN = "dialedNumber";
127
- const _de = "delivered";
128
124
  const _e = "error";
129
125
  const _eT = "endTime";
130
126
  const _eWE = "errorWebsocketEvent";
@@ -186,8 +182,7 @@ const _sa = "say";
186
182
  const _se = "seq";
187
183
  const _sp = "speech";
188
184
  const _st = "streaming";
189
- const _sta = "status";
190
- const _star = "started";
185
+ const _sta = "started";
191
186
  const _t = "type";
192
187
  const _tCI = "toolCallId";
193
188
  const _tI = "traceId";
@@ -198,8 +193,7 @@ const _te = "text";
198
193
  const _ti = "time";
199
194
  const _to = "to";
200
195
  const _too = "tool";
201
- const _tr = "transport";
202
- const _tra = "transcription";
196
+ const _tr = "transcription";
203
197
  const _u = "uri";
204
198
  const _v = "voices";
205
199
  const _va = "variables";
@@ -508,11 +502,6 @@ exports.VoiceCallAgentTranscriptionEvent$ = [3, n1, _VCATE,
508
502
  [_i, _te, _f, _l, _ti],
509
503
  [0, 0, 2, 0, 1], 3
510
504
  ];
511
- exports.VoiceCallBackendEvent$ = [3, n1, _VCBE,
512
- 0,
513
- [_tr, _ev, _de, _sta, _dM, _e],
514
- [0, 0, 2, 1, 1, 0], 3
515
- ];
516
505
  exports.VoiceCallEndedEvent$ = [3, n1, _VCEE,
517
506
  0,
518
507
  [_sIe, _r],
@@ -582,8 +571,8 @@ var VoiceList = [1, n1, _VL,
582
571
  ];
583
572
  exports.VoiceCallEvent$ = [4, n1, _VCE,
584
573
  0,
585
- [_star, _tra, _aT, _re, _sa, _pl, _int, _l, _too, _b, _end],
586
- [() => exports.VoiceCallStartedEvent$, () => exports.VoiceCallTranscriptionEvent$, () => exports.VoiceCallAgentTranscriptionEvent$, () => exports.VoiceCallReplyEvent$, () => exports.VoiceCallSayEvent$, () => exports.VoiceCallPlaybackEvent$, () => exports.VoiceCallInterruptionEvent$, () => exports.VoiceCallLanguageEvent$, () => exports.VoiceCallToolEvent$, () => exports.VoiceCallBackendEvent$, () => exports.VoiceCallEndedEvent$]
574
+ [_sta, _tr, _aT, _re, _sa, _pl, _int, _l, _too, _end],
575
+ [() => exports.VoiceCallStartedEvent$, () => exports.VoiceCallTranscriptionEvent$, () => exports.VoiceCallAgentTranscriptionEvent$, () => exports.VoiceCallReplyEvent$, () => exports.VoiceCallSayEvent$, () => exports.VoiceCallPlaybackEvent$, () => exports.VoiceCallInterruptionEvent$, () => exports.VoiceCallLanguageEvent$, () => exports.VoiceCallToolEvent$, () => exports.VoiceCallEndedEvent$]
587
576
  ];
588
577
  exports.DescribeVoiceProtocol$ = [9, n1, _DVP,
589
578
  { [_h]: ["POST", "/v2/voice/describe", 200] }, () => exports.DescribeVoiceProtocolInput$, () => exports.DescribeVoiceProtocolOutput$
@@ -20,10 +20,6 @@ export const VoiceControlAction = {
20
20
  END_OF_TURN: "end_of_turn",
21
21
  KEEPALIVE: "keepalive",
22
22
  };
23
- export const VoiceCallBackendTransport = {
24
- SQS: "sqs",
25
- WEBHOOK: "webhook",
26
- };
27
23
  export const VoiceCallEndReason = {
28
24
  COMPLETE: "complete",
29
25
  ERROR: "error",
@@ -64,7 +64,6 @@ const _TWE = "TranscriptionWebsocketEvent";
64
64
  const _V = "Voice";
65
65
  const _VAF = "VoiceAudioFormat";
66
66
  const _VCATE = "VoiceCallAgentTranscriptionEvent";
67
- const _VCBE = "VoiceCallBackendEvent";
68
67
  const _VCE = "VoiceCallEvent";
69
68
  const _VCEE = "VoiceCallEndedEvent";
70
69
  const _VCESB = "VoiceCallEventStreamBody";
@@ -95,7 +94,6 @@ const _aWE = "audioWebsocketEvent";
95
94
  const _ac = "action";
96
95
  const _as = "as";
97
96
  const _au = "audio";
98
- const _b = "backend";
99
97
  const _bS = "backgroundSound";
100
98
  const _c = "client";
101
99
  const _cC = "callerCompany";
@@ -118,9 +116,7 @@ const _compa = "company";
118
116
  const _con = "context";
119
117
  const _cr = "credential";
120
118
  const _d = "data";
121
- const _dM = "durationMs";
122
119
  const _dN = "dialedNumber";
123
- const _de = "delivered";
124
120
  const _e = "error";
125
121
  const _eT = "endTime";
126
122
  const _eWE = "errorWebsocketEvent";
@@ -182,8 +178,7 @@ const _sa = "say";
182
178
  const _se = "seq";
183
179
  const _sp = "speech";
184
180
  const _st = "streaming";
185
- const _sta = "status";
186
- const _star = "started";
181
+ const _sta = "started";
187
182
  const _t = "type";
188
183
  const _tCI = "toolCallId";
189
184
  const _tI = "traceId";
@@ -194,8 +189,7 @@ const _te = "text";
194
189
  const _ti = "time";
195
190
  const _to = "to";
196
191
  const _too = "tool";
197
- const _tr = "transport";
198
- const _tra = "transcription";
192
+ const _tr = "transcription";
199
193
  const _u = "uri";
200
194
  const _v = "voices";
201
195
  const _va = "variables";
@@ -504,11 +498,6 @@ export var VoiceCallAgentTranscriptionEvent$ = [3, n1, _VCATE,
504
498
  [_i, _te, _f, _l, _ti],
505
499
  [0, 0, 2, 0, 1], 3
506
500
  ];
507
- export var VoiceCallBackendEvent$ = [3, n1, _VCBE,
508
- 0,
509
- [_tr, _ev, _de, _sta, _dM, _e],
510
- [0, 0, 2, 1, 1, 0], 3
511
- ];
512
501
  export var VoiceCallEndedEvent$ = [3, n1, _VCEE,
513
502
  0,
514
503
  [_sIe, _r],
@@ -578,8 +567,8 @@ var VoiceList = [1, n1, _VL,
578
567
  ];
579
568
  export var VoiceCallEvent$ = [4, n1, _VCE,
580
569
  0,
581
- [_star, _tra, _aT, _re, _sa, _pl, _int, _l, _too, _b, _end],
582
- [() => VoiceCallStartedEvent$, () => VoiceCallTranscriptionEvent$, () => VoiceCallAgentTranscriptionEvent$, () => VoiceCallReplyEvent$, () => VoiceCallSayEvent$, () => VoiceCallPlaybackEvent$, () => VoiceCallInterruptionEvent$, () => VoiceCallLanguageEvent$, () => VoiceCallToolEvent$, () => VoiceCallBackendEvent$, () => VoiceCallEndedEvent$]
570
+ [_sta, _tr, _aT, _re, _sa, _pl, _int, _l, _too, _end],
571
+ [() => VoiceCallStartedEvent$, () => VoiceCallTranscriptionEvent$, () => VoiceCallAgentTranscriptionEvent$, () => VoiceCallReplyEvent$, () => VoiceCallSayEvent$, () => VoiceCallPlaybackEvent$, () => VoiceCallInterruptionEvent$, () => VoiceCallLanguageEvent$, () => VoiceCallToolEvent$, () => VoiceCallEndedEvent$]
583
572
  ];
584
573
  export var DescribeVoiceProtocol$ = [9, n1, _DVP,
585
574
  { [_h]: ["POST", "/v2/voice/describe", 200] }, () => DescribeVoiceProtocolInput$, () => DescribeVoiceProtocolOutput$
@@ -297,14 +297,6 @@ declare const DescribeVoiceProtocolCommand_base: {
297
297
  * // phase: "started" || "finished", // required
298
298
  * // startMessage: "STRING_VALUE",
299
299
  * // },
300
- * // backend: { // VoiceCallBackendEvent
301
- * // transport: "webhook" || "sqs", // required
302
- * // event: "STRING_VALUE", // required
303
- * // delivered: true || false, // required
304
- * // status: Number("int"),
305
- * // durationMs: Number("int"),
306
- * // error: "STRING_VALUE",
307
- * // },
308
300
  * // ended: { // VoiceCallEndedEvent
309
301
  * // sessionId: "STRING_VALUE", // required
310
302
  * // reason: "hangup" || "transfer" || "timeout" || "error" || "complete", // required
@@ -59,18 +59,6 @@ export declare const VoiceControlAction: {
59
59
  * @public
60
60
  */
61
61
  export type VoiceControlAction = (typeof VoiceControlAction)[keyof typeof VoiceControlAction];
62
- /**
63
- * @public
64
- * @enum
65
- */
66
- export declare const VoiceCallBackendTransport: {
67
- readonly SQS: "sqs";
68
- readonly WEBHOOK: "webhook";
69
- };
70
- /**
71
- * @public
72
- */
73
- export type VoiceCallBackendTransport = (typeof VoiceCallBackendTransport)[keyof typeof VoiceCallBackendTransport];
74
62
  /**
75
63
  * @public
76
64
  * @enum
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType, StreamingBlobTypes } from "@smithy/types";
2
- import type { VoiceAudioEncoding, VoiceCallBackendTransport, VoiceCallEndReason, VoiceCallToolPhase, VoiceCommandType, VoiceControlAction, VoiceEventType, VoiceInputMode, VoicePronunciationEncoding } from "./enums";
2
+ import type { VoiceAudioEncoding, VoiceCallEndReason, 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
@@ -182,48 +182,6 @@ export interface VoiceCallAgentTranscriptionEvent {
182
182
  language?: string | undefined;
183
183
  time?: number | undefined;
184
184
  }
185
- /**
186
- * One delivery to the agent's external backend, for a call whose replies this platform does not
187
- * produce.
188
- *
189
- * Without it such a call reads as a call where nothing happens: the transcript shows the greeting
190
- * and then silence, and a backend that is unreachable, one that refuses, and one that answers 200
191
- * and then says nothing are the same empty panel. Diagnosing that is one of the reasons the
192
- * preview exists, so the delivery has to be visible where the call is watched rather than only in
193
- * a service log.
194
- *
195
- * Carries no request body, no signature and no credential: the envelope holds the caller's words,
196
- * and this stream is read by anyone who may watch the call.
197
- * @public
198
- */
199
- export interface VoiceCallBackendEvent {
200
- /**
201
- * Which transport carries an external backend's events.
202
- * @public
203
- */
204
- transport: VoiceCallBackendTransport;
205
- /**
206
- * The event delivered, by its name in the backend contract — `started`, `reply`, `playback`, `ended`.
207
- * @public
208
- */
209
- event: string;
210
- delivered: boolean;
211
- /**
212
- * HTTP status for the webhook transport; absent for a queue send, which has none.
213
- * @public
214
- */
215
- status?: number | undefined;
216
- /**
217
- * How long the delivery took, in milliseconds.
218
- * @public
219
- */
220
- durationMs?: number | undefined;
221
- /**
222
- * Why the backend did not receive it, truncated. Absent when it did.
223
- * @public
224
- */
225
- error?: string | undefined;
226
- }
227
185
  /**
228
186
  * The session ended. After `transfer` another session of the same call may follow with its own `started`.
229
187
  * @public
@@ -398,7 +356,7 @@ export interface VoiceCallTranscriptionEvent {
398
356
  * One event on a live call. The SSE frame's `event:` is the member name and `data:` this whole union document, so a frame reads `data: \{"say": \{...\}\}` — never the member's payload on its own.
399
357
  * @public
400
358
  */
401
- export type VoiceCallEvent = VoiceCallEvent.AgentTranscriptionMember | VoiceCallEvent.BackendMember | VoiceCallEvent.EndedMember | VoiceCallEvent.InterruptionMember | VoiceCallEvent.LanguageMember | VoiceCallEvent.PlaybackMember | VoiceCallEvent.ReplyMember | VoiceCallEvent.SayMember | VoiceCallEvent.StartedMember | VoiceCallEvent.ToolMember | VoiceCallEvent.TranscriptionMember | VoiceCallEvent.$UnknownMember;
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;
402
360
  /**
403
361
  * @public
404
362
  */
@@ -417,7 +375,6 @@ export declare namespace VoiceCallEvent {
417
375
  interruption?: never;
418
376
  language?: never;
419
377
  tool?: never;
420
- backend?: never;
421
378
  ended?: never;
422
379
  $unknown?: never;
423
380
  }
@@ -435,7 +392,6 @@ export declare namespace VoiceCallEvent {
435
392
  interruption?: never;
436
393
  language?: never;
437
394
  tool?: never;
438
- backend?: never;
439
395
  ended?: never;
440
396
  $unknown?: never;
441
397
  }
@@ -453,7 +409,6 @@ export declare namespace VoiceCallEvent {
453
409
  interruption?: never;
454
410
  language?: never;
455
411
  tool?: never;
456
- backend?: never;
457
412
  ended?: never;
458
413
  $unknown?: never;
459
414
  }
@@ -471,7 +426,6 @@ export declare namespace VoiceCallEvent {
471
426
  interruption?: never;
472
427
  language?: never;
473
428
  tool?: never;
474
- backend?: never;
475
429
  ended?: never;
476
430
  $unknown?: never;
477
431
  }
@@ -489,7 +443,6 @@ export declare namespace VoiceCallEvent {
489
443
  interruption?: never;
490
444
  language?: never;
491
445
  tool?: never;
492
- backend?: never;
493
446
  ended?: never;
494
447
  $unknown?: never;
495
448
  }
@@ -507,7 +460,6 @@ export declare namespace VoiceCallEvent {
507
460
  interruption?: never;
508
461
  language?: never;
509
462
  tool?: never;
510
- backend?: never;
511
463
  ended?: never;
512
464
  $unknown?: never;
513
465
  }
@@ -525,7 +477,6 @@ export declare namespace VoiceCallEvent {
525
477
  interruption: VoiceCallInterruptionEvent;
526
478
  language?: never;
527
479
  tool?: never;
528
- backend?: never;
529
480
  ended?: never;
530
481
  $unknown?: never;
531
482
  }
@@ -543,7 +494,6 @@ export declare namespace VoiceCallEvent {
543
494
  interruption?: never;
544
495
  language: VoiceCallLanguageEvent;
545
496
  tool?: never;
546
- backend?: never;
547
497
  ended?: never;
548
498
  $unknown?: never;
549
499
  }
@@ -561,35 +511,6 @@ export declare namespace VoiceCallEvent {
561
511
  interruption?: never;
562
512
  language?: never;
563
513
  tool: VoiceCallToolEvent;
564
- backend?: never;
565
- ended?: never;
566
- $unknown?: never;
567
- }
568
- /**
569
- * One delivery to the agent's external backend, for a call whose replies this platform does not
570
- * produce.
571
- *
572
- * Without it such a call reads as a call where nothing happens: the transcript shows the greeting
573
- * and then silence, and a backend that is unreachable, one that refuses, and one that answers 200
574
- * and then says nothing are the same empty panel. Diagnosing that is one of the reasons the
575
- * preview exists, so the delivery has to be visible where the call is watched rather than only in
576
- * a service log.
577
- *
578
- * Carries no request body, no signature and no credential: the envelope holds the caller's words,
579
- * and this stream is read by anyone who may watch the call.
580
- * @public
581
- */
582
- interface BackendMember {
583
- started?: never;
584
- transcription?: never;
585
- agentTranscription?: never;
586
- reply?: never;
587
- say?: never;
588
- playback?: never;
589
- interruption?: never;
590
- language?: never;
591
- tool?: never;
592
- backend: VoiceCallBackendEvent;
593
514
  ended?: never;
594
515
  $unknown?: never;
595
516
  }
@@ -607,7 +528,6 @@ export declare namespace VoiceCallEvent {
607
528
  interruption?: never;
608
529
  language?: never;
609
530
  tool?: never;
610
- backend?: never;
611
531
  ended: VoiceCallEndedEvent;
612
532
  $unknown?: never;
613
533
  }
@@ -624,7 +544,6 @@ export declare namespace VoiceCallEvent {
624
544
  interruption?: never;
625
545
  language?: never;
626
546
  tool?: never;
627
- backend?: never;
628
547
  ended?: never;
629
548
  $unknown: [string, any];
630
549
  }
@@ -642,7 +561,6 @@ export declare namespace VoiceCallEvent {
642
561
  interruption: (value: VoiceCallInterruptionEvent) => T;
643
562
  language: (value: VoiceCallLanguageEvent) => T;
644
563
  tool: (value: VoiceCallToolEvent) => T;
645
- backend: (value: VoiceCallBackendEvent) => T;
646
564
  ended: (value: VoiceCallEndedEvent) => T;
647
565
  _: (name: string, value: any) => T;
648
566
  }
@@ -64,7 +64,6 @@ export declare var TransferWebsocketCommand$: StaticStructureSchema;
64
64
  export declare var Voice$: StaticStructureSchema;
65
65
  export declare var VoiceAudioFormat$: StaticStructureSchema;
66
66
  export declare var VoiceCallAgentTranscriptionEvent$: StaticStructureSchema;
67
- export declare var VoiceCallBackendEvent$: StaticStructureSchema;
68
67
  export declare var VoiceCallEndedEvent$: StaticStructureSchema;
69
68
  export declare var VoiceCallInterruptionEvent$: StaticStructureSchema;
70
69
  export declare var VoiceCallLanguageEvent$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wilma-voice-client",
3
3
  "description": "@wildix/wilma-voice-client client",
4
- "version": "0.0.37",
4
+ "version": "0.0.38",
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",