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.
@@ -45039,7 +45039,16 @@ class Call {
45039
45039
  dtmf,
45040
45040
  });
45041
45041
  }
45042
- async blindTransfer(destination) {
45042
+ async blindTransfer(destination, variables) {
45043
+ if (variables) {
45044
+ return this.client.request('call_blind_transfer_ext', {
45045
+ id: this.id,
45046
+ app_id: this.appId,
45047
+ destination,
45048
+ variables,
45049
+ });
45050
+ }
45051
+ // todo deprecated
45043
45052
  return this.client.request('call_blind_transfer', {
45044
45053
  id: this.id,
45045
45054
  app_id: this.appId,
@@ -45055,12 +45064,13 @@ class Call {
45055
45064
  this._muted = mute;
45056
45065
  return res;
45057
45066
  }
45058
- async bridgeTo(call) {
45067
+ async bridgeTo(call, variables) {
45059
45068
  return this.client.request('call_bridge', {
45060
45069
  from_id: this.id,
45061
45070
  from_app_id: this.appId,
45062
45071
  to_id: call.id,
45063
45072
  to_app_id: call.appId,
45073
+ variables,
45064
45074
  });
45065
45075
  }
45066
45076
  async reporting(reporting) {