Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support basic Livechat features #122

Closed
renatobecker-zz opened this issue May 14, 2019 · 3 comments · Fixed by RocketChat/Rocket.Chat#14626
Closed

Support basic Livechat features #122

renatobecker-zz opened this issue May 14, 2019 · 3 comments · Fixed by RocketChat/Rocket.Chat#14626
Assignees
Labels
🆕 enhancement An enhancement which can be a new feature.

Comments

@renatobecker-zz
Copy link

renatobecker-zz commented May 14, 2019

We need to extend the Apps/Engine, allowing to support basic Livechat features, such as:

Methods from Livechat library:

  • Livechat.sendMessage(msgObj)
  • Livechat.registerGuest(guestObj)
  • Find Livechat Guests by a specific field(phone, id, token.. -> LivechatVisitors)
  • Find (one) Livechat Room(s) by guest token(Rooms.findOpenByVisitorToken, findOpenByVisitorTokenAndDepartmentId);
  • Livechat.transfer(room, guest, { roomId: rid, departmentId: department }))
  • Livechat.closeRoom({ visitor, room, comment }));

Improve the interfaces, adding new specific Livechat fields:

IRoom:

  • { v, ServedBy, closed, responseBy }

IMessage:

  • { file, token, t }

In addition, we're facing an issue related to HTTP requests: We need to be able to pass the following props when sending an HTTP request:

  • strictSSL
  • rejectUnauthorized
@renatobecker-zz renatobecker-zz added the 🆕 enhancement An enhancement which can be a new feature. label May 14, 2019
@renatobecker-zz renatobecker-zz added this to To do in Omnichannel Roadmap via automation May 14, 2019
@renatobecker-zz renatobecker-zz changed the title Support Livechat features Support basic Livechat features May 14, 2019
@d-gubert
Copy link
Member

We identified the need to access the Upload model through the engine, also

@renatobecker-zz
Copy link
Author

We identified the need to access the Upload model through the engine, also

The same for Departments.. :P

@renatobecker-zz
Copy link
Author

renatobecker-zz commented Jun 12, 2019

We need to support the livechat.closeRoom callback as well.

@d-gubert d-gubert moved this from To do to In progress in Omnichannel Roadmap Jun 12, 2019
Omnichannel Roadmap automation moved this from In progress to Done Sep 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 enhancement An enhancement which can be a new feature.
Projects
Development

Successfully merging a pull request may close this issue.

2 participants