@wildix/wilma-voice-client 0.0.7 → 0.0.9

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.
@@ -119,6 +119,7 @@ const _sWC = "sayWebsocketCommand";
119
119
  const _sWCt = "stopWebsocketCommand";
120
120
  const _se = "seq";
121
121
  const _t = "type";
122
+ const _tI = "traceId";
122
123
  const _tWC = "transferWebsocketCommand";
123
124
  const _tWE = "transcriptionWebsocketEvent";
124
125
  const _te = "text";
@@ -328,8 +329,8 @@ exports.SessionEndedWebsocketEvent$ = [3, n1, _SEWE,
328
329
  ];
329
330
  exports.SessionStartedEvent$ = [3, n1, _SSE,
330
331
  0,
331
- [_t, _ti, _sIe, _aI, _aV, _aN, _ca, _gI, _iA, _oA],
332
- [0, 1, 0, 0, 1, 0, 0, 0, () => exports.VoiceAudioFormat$, () => exports.VoiceAudioFormat$], 4
332
+ [_t, _ti, _sIe, _aI, _aV, _tI, _aN, _ca, _gI, _iA, _oA],
333
+ [0, 1, 0, 0, 1, 0, 0, 0, 0, () => exports.VoiceAudioFormat$, () => exports.VoiceAudioFormat$], 4
333
334
  ];
334
335
  exports.SessionStartedWebsocketEvent$ = [3, n1, _SSWE,
335
336
  0,
@@ -115,6 +115,7 @@ const _sWC = "sayWebsocketCommand";
115
115
  const _sWCt = "stopWebsocketCommand";
116
116
  const _se = "seq";
117
117
  const _t = "type";
118
+ const _tI = "traceId";
118
119
  const _tWC = "transferWebsocketCommand";
119
120
  const _tWE = "transcriptionWebsocketEvent";
120
121
  const _te = "text";
@@ -324,8 +325,8 @@ export var SessionEndedWebsocketEvent$ = [3, n1, _SEWE,
324
325
  ];
325
326
  export var SessionStartedEvent$ = [3, n1, _SSE,
326
327
  0,
327
- [_t, _ti, _sIe, _aI, _aV, _aN, _ca, _gI, _iA, _oA],
328
- [0, 1, 0, 0, 1, 0, 0, 0, () => VoiceAudioFormat$, () => VoiceAudioFormat$], 4
328
+ [_t, _ti, _sIe, _aI, _aV, _tI, _aN, _ca, _gI, _iA, _oA],
329
+ [0, 1, 0, 0, 1, 0, 0, 0, 0, () => VoiceAudioFormat$, () => VoiceAudioFormat$], 4
329
330
  ];
330
331
  export var SessionStartedWebsocketEvent$ = [3, n1, _SSWE,
331
332
  0,
@@ -140,6 +140,7 @@ declare const DescribeVoiceProtocolCommand_base: {
140
140
  * // sessionId: "STRING_VALUE", // required
141
141
  * // agentId: "STRING_VALUE", // required
142
142
  * // agentVersion: Number("int"),
143
+ * // traceId: "STRING_VALUE",
143
144
  * // agentName: "STRING_VALUE",
144
145
  * // category: "STRING_VALUE",
145
146
  * // groupId: "STRING_VALUE",
@@ -483,6 +483,17 @@ export interface SessionStartedEvent {
483
483
  * @public
484
484
  */
485
485
  agentVersion?: number | undefined;
486
+ /**
487
+ * Trace recording this voice session in wilma-traces — the caller's transcribed phrases, the
488
+ * model calls they drove and the tools the agent ran. Read it with the wilma-traces GetTrace
489
+ * operation, or tail it live with StreamTrace to follow a call while it is in progress.
490
+ *
491
+ * Sent once at handshake and stable for the connection: a call is one trace. A caller who
492
+ * redials gets a new session and therefore a new trace, since the trace is keyed on the session
493
+ * id supplied at connect.
494
+ * @public
495
+ */
496
+ traceId?: string | undefined;
486
497
  /**
487
498
  * Agent display name.
488
499
  * @public
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.7",
4
+ "version": "0.0.9",
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",