@wildix/wilma-voice-client 0.0.48 → 0.0.49

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.
@@ -217,6 +217,7 @@ const _pu = "purpose";
217
217
  const _r = "reason";
218
218
  const _rAM = "resumeAtMs";
219
219
  const _rI = "replyId";
220
+ const _rIu = "runId";
220
221
  const _rM = "rampMs";
221
222
  const _rWE = "replyWebsocketEvent";
222
223
  const _re = "restore";
@@ -486,8 +487,8 @@ exports.MediaStartedFrame$ = [3, n1, _MSF,
486
487
  ];
487
488
  exports.MediaStartFrame$ = [3, n1, _MSFe,
488
489
  0,
489
- [_t, _pu, _cI, _fI, _sIe, _res, _rAM, _au, _cal, _ag, _la, _pL, _aD, _dN, _var],
490
- [0, 0, 0, 1, 0, 2, 1, () => exports.MediaAudioFormat$, () => exports.MediaStartCaller$, () => exports.MediaStartAgent$, 64 | 0, 0, 2, 0, 0], 9
490
+ [_t, _pu, _cI, _fI, _sIe, _res, _rAM, _au, _cal, _rIu, _ag, _la, _pL, _aD, _dN, _var],
491
+ [0, 0, 0, 1, 0, 2, 1, () => exports.MediaAudioFormat$, () => exports.MediaStartCaller$, 0, () => exports.MediaStartAgent$, 64 | 0, 0, 2, 0, 0], 9
491
492
  ];
492
493
  exports.MediaStopFrame$ = [3, n1, _MSFed,
493
494
  0,
@@ -212,6 +212,7 @@ const _pu = "purpose";
212
212
  const _r = "reason";
213
213
  const _rAM = "resumeAtMs";
214
214
  const _rI = "replyId";
215
+ const _rIu = "runId";
215
216
  const _rM = "rampMs";
216
217
  const _rWE = "replyWebsocketEvent";
217
218
  const _re = "restore";
@@ -481,8 +482,8 @@ export var MediaStartedFrame$ = [3, n1, _MSF,
481
482
  ];
482
483
  export var MediaStartFrame$ = [3, n1, _MSFe,
483
484
  0,
484
- [_t, _pu, _cI, _fI, _sIe, _res, _rAM, _au, _cal, _ag, _la, _pL, _aD, _dN, _var],
485
- [0, 0, 0, 1, 0, 2, 1, () => MediaAudioFormat$, () => MediaStartCaller$, () => MediaStartAgent$, 64 | 0, 0, 2, 0, 0], 9
485
+ [_t, _pu, _cI, _fI, _sIe, _res, _rAM, _au, _cal, _rIu, _ag, _la, _pL, _aD, _dN, _var],
486
+ [0, 0, 0, 1, 0, 2, 1, () => MediaAudioFormat$, () => MediaStartCaller$, 0, () => MediaStartAgent$, 64 | 0, 0, 2, 0, 0], 9
486
487
  ];
487
488
  export var MediaStopFrame$ = [3, n1, _MSFed,
488
489
  0,
@@ -313,6 +313,7 @@ declare const DescribeVoiceProtocolCommand_base: {
313
313
  * // sessionId: "STRING_VALUE", // required
314
314
  * // resume: true || false, // required
315
315
  * // resumeAtMs: Number("int"), // required
316
+ * // runId: "STRING_VALUE",
316
317
  * // audio: { // MediaAudioFormat
317
318
  * // encoding: "pcm_s16le", // required
318
319
  * // sampleRate: Number("int"), // required
@@ -1229,6 +1229,11 @@ export interface MediaStartFrame {
1229
1229
  * @public
1230
1230
  */
1231
1231
  resumeAtMs: number;
1232
+ /**
1233
+ * Id of this run on the PBX. The same on every connection of the run; a later run with the same `sessionId` has another `runId`. Absent: every connection with this `sessionId` belongs to one run.
1234
+ * @public
1235
+ */
1236
+ runId?: string | undefined;
1232
1237
  /**
1233
1238
  * Format of the binary PBX audio (`MediaPbxAudio`). Channel 0 is the caller; channel 1, when present, is the callee. Samples interleave. The cloud accepts only 8000 Hz and one channel at this time; another format closes the socket with 4400.
1234
1239
  * @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.48",
4
+ "version": "0.0.49",
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",