webitel-sdk 23.9.6 → 23.9.7
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.
- package/bundles/index.esm.js +12 -2
- package/bundles/index.esm.js.map +1 -1
- package/bundles/index.esm.min.js +1 -1
- package/bundles/index.esm.min.js.map +1 -1
- package/bundles/index.umd.js +12 -2
- package/bundles/index.umd.js.map +1 -1
- package/bundles/index.umd.min.js +1 -1
- package/bundles/index.umd.min.js.map +1 -1
- package/esm2015/socket/call.js +12 -2
- package/esm2015/socket/call.js.map +1 -1
- package/esm5/socket/call.js +12 -2
- package/esm5/socket/call.js.map +1 -1
- package/package.json +1 -1
- package/types/socket/call.d.ts +2 -2
- package/types/socket/call.d.ts.map +1 -1
package/bundles/index.umd.js
CHANGED
|
@@ -49752,9 +49752,18 @@
|
|
|
49752
49752
|
});
|
|
49753
49753
|
});
|
|
49754
49754
|
};
|
|
49755
|
-
Call.prototype.blindTransfer = function (destination) {
|
|
49755
|
+
Call.prototype.blindTransfer = function (destination, variables) {
|
|
49756
49756
|
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
49757
49757
|
return tslib.__generator(this, function (_a) {
|
|
49758
|
+
if (variables) {
|
|
49759
|
+
return [2 /*return*/, this.client.request('call_blind_transfer_ext', {
|
|
49760
|
+
id: this.id,
|
|
49761
|
+
app_id: this.appId,
|
|
49762
|
+
destination: destination,
|
|
49763
|
+
variables: variables,
|
|
49764
|
+
})];
|
|
49765
|
+
}
|
|
49766
|
+
// todo deprecated
|
|
49758
49767
|
return [2 /*return*/, this.client.request('call_blind_transfer', {
|
|
49759
49768
|
id: this.id,
|
|
49760
49769
|
app_id: this.appId,
|
|
@@ -49782,7 +49791,7 @@
|
|
|
49782
49791
|
});
|
|
49783
49792
|
});
|
|
49784
49793
|
};
|
|
49785
|
-
Call.prototype.bridgeTo = function (call) {
|
|
49794
|
+
Call.prototype.bridgeTo = function (call, variables) {
|
|
49786
49795
|
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
49787
49796
|
return tslib.__generator(this, function (_a) {
|
|
49788
49797
|
return [2 /*return*/, this.client.request('call_bridge', {
|
|
@@ -49790,6 +49799,7 @@
|
|
|
49790
49799
|
from_app_id: this.appId,
|
|
49791
49800
|
to_id: call.id,
|
|
49792
49801
|
to_app_id: call.appId,
|
|
49802
|
+
variables: variables,
|
|
49793
49803
|
})];
|
|
49794
49804
|
});
|
|
49795
49805
|
});
|