webitel-sdk 0.1.96 → 0.1.97

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.
@@ -24001,6 +24001,20 @@ class Conversation {
24001
24001
  }
24002
24002
  return this.task.renew(sec);
24003
24003
  }
24004
+ async transferToPlan(planId) {
24005
+ return this.client.request(`blind_transfer_chat`, {
24006
+ conversation_id: this.conversationId,
24007
+ channel_id: this.channelId,
24008
+ plan_id: planId,
24009
+ });
24010
+ }
24011
+ async transferToUser(userId) {
24012
+ return this.client.request(`transfer_user_chat`, {
24013
+ conversation_id: this.conversationId,
24014
+ channel_id: this.channelId,
24015
+ user_id: userId,
24016
+ });
24017
+ }
24004
24018
  sendMessageTextChunk(text) {
24005
24019
  return this.client.request(`send_text_chat`, {
24006
24020
  channel_id: this.channelId,