@wildix/wilma-voice-client 0.0.31 → 0.0.32
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.
|
@@ -97,6 +97,7 @@ const _con = "context";
|
|
|
97
97
|
const _conf = "confidence";
|
|
98
98
|
const _cr = "credential";
|
|
99
99
|
const _d = "data";
|
|
100
|
+
const _dN = "dialedNumber";
|
|
100
101
|
const _e = "error";
|
|
101
102
|
const _eT = "endTime";
|
|
102
103
|
const _eWE = "errorWebsocketEvent";
|
|
@@ -105,6 +106,7 @@ const _eng = "engine";
|
|
|
105
106
|
const _ev = "event";
|
|
106
107
|
const _ex = "extension";
|
|
107
108
|
const _f = "final";
|
|
109
|
+
const _fI = "flowIndex";
|
|
108
110
|
const _gI = "groupId";
|
|
109
111
|
const _h = "http";
|
|
110
112
|
const _hE = "httpError";
|
|
@@ -436,8 +438,8 @@ exports.VoiceAudioFormat$ = [3, n1, _VAF,
|
|
|
436
438
|
];
|
|
437
439
|
exports.VoiceConnectParams$ = [3, n1, _VCP,
|
|
438
440
|
0,
|
|
439
|
-
[_sIe, _aI, _pV, _aV, _aD, _cI, _l, _cN, _cNa, _cE, _cC, _vo, _iM, _va, _iMn, _iA, _oA],
|
|
440
|
-
[0, 0, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => exports.VoiceAudioFormat$, () => exports.VoiceAudioFormat$], 2
|
|
441
|
+
[_sIe, _aI, _pV, _aV, _aD, _cI, _fI, _dN, _l, _cN, _cNa, _cE, _cC, _vo, _iM, _va, _iMn, _iA, _oA],
|
|
442
|
+
[0, 0, 1, 1, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => exports.VoiceAudioFormat$, () => exports.VoiceAudioFormat$], 2
|
|
441
443
|
];
|
|
442
444
|
exports.VoiceErrorEvent$ = [3, n1, _VEE,
|
|
443
445
|
0,
|
|
@@ -93,6 +93,7 @@ const _con = "context";
|
|
|
93
93
|
const _conf = "confidence";
|
|
94
94
|
const _cr = "credential";
|
|
95
95
|
const _d = "data";
|
|
96
|
+
const _dN = "dialedNumber";
|
|
96
97
|
const _e = "error";
|
|
97
98
|
const _eT = "endTime";
|
|
98
99
|
const _eWE = "errorWebsocketEvent";
|
|
@@ -101,6 +102,7 @@ const _eng = "engine";
|
|
|
101
102
|
const _ev = "event";
|
|
102
103
|
const _ex = "extension";
|
|
103
104
|
const _f = "final";
|
|
105
|
+
const _fI = "flowIndex";
|
|
104
106
|
const _gI = "groupId";
|
|
105
107
|
const _h = "http";
|
|
106
108
|
const _hE = "httpError";
|
|
@@ -432,8 +434,8 @@ export var VoiceAudioFormat$ = [3, n1, _VAF,
|
|
|
432
434
|
];
|
|
433
435
|
export var VoiceConnectParams$ = [3, n1, _VCP,
|
|
434
436
|
0,
|
|
435
|
-
[_sIe, _aI, _pV, _aV, _aD, _cI, _l, _cN, _cNa, _cE, _cC, _vo, _iM, _va, _iMn, _iA, _oA],
|
|
436
|
-
[0, 0, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => VoiceAudioFormat$, () => VoiceAudioFormat$], 2
|
|
437
|
+
[_sIe, _aI, _pV, _aV, _aD, _cI, _fI, _dN, _l, _cN, _cNa, _cE, _cC, _vo, _iM, _va, _iMn, _iA, _oA],
|
|
438
|
+
[0, 0, 1, 1, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => VoiceAudioFormat$, () => VoiceAudioFormat$], 2
|
|
437
439
|
];
|
|
438
440
|
export var VoiceErrorEvent$ = [3, n1, _VEE,
|
|
439
441
|
0,
|
|
@@ -47,6 +47,8 @@ declare const DescribeVoiceProtocolCommand_base: {
|
|
|
47
47
|
* // agentVersion: Number("int"),
|
|
48
48
|
* // agentDraft: true || false,
|
|
49
49
|
* // callId: "STRING_VALUE",
|
|
50
|
+
* // flowIndex: Number("int"),
|
|
51
|
+
* // dialedNumber: "STRING_VALUE",
|
|
50
52
|
* // language: "STRING_VALUE",
|
|
51
53
|
* // callerName: "STRING_VALUE",
|
|
52
54
|
* // callerNumber: "STRING_VALUE",
|
|
@@ -171,6 +171,16 @@ export interface VoiceConnectParams {
|
|
|
171
171
|
* @public
|
|
172
172
|
*/
|
|
173
173
|
callId?: string | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* Leg of the PBX call inside `callId` (pbx-data-engine's flow index). Kept on the session as metadata beside `callId` and `dialedNumber`; never interpreted by the runtime.
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
flowIndex?: number | undefined;
|
|
179
|
+
/**
|
|
180
|
+
* The number the caller dialled to reach the agent. Kept on the session as metadata beside `callId` and `flowIndex`.
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
dialedNumber?: string | undefined;
|
|
174
184
|
/**
|
|
175
185
|
* BCP-47 language of the conversation, e.g. 'en-US'.
|
|
176
186
|
* @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.
|
|
4
|
+
"version": "0.0.32",
|
|
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",
|
|
@@ -56,4 +56,4 @@
|
|
|
56
56
|
"browser": {
|
|
57
57
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
58
58
|
}
|
|
59
|
-
}
|
|
59
|
+
}
|