public interface DeskService
Modifier and Type | Method and Description |
---|---|
String |
getDigitalAssistantUserId() |
void |
handleUnassignedTicketMessage(String deskConversationId,
String ticketConversationId,
Message message) |
void |
initializeDeskConversation(String deskConversationId)
Invoked by the generic conversation listener to initialize the given desk conversation.
|
void |
initializeTicketConversation(String deskConversationId,
String ticketConversationId)
Invoked by the generic conversation listener to initialize the given ticket conversation.
|
Conversation |
startTicketConversation(String deskConversationId,
Collection<String> participantIds,
String name,
Map<String,Object> variables,
String userIdForPermissionChecks)
Starts a new ticket conversation as part of a desk.
|
void |
switchToDeskTeam(String deskConversationId,
String ticketConversationId,
boolean isNewTicket) |
void |
switchToDeskTeamMember(String deskConversationId,
String ticketConversationId,
String deskMemberId,
boolean isNewTicket) |
Conversation startTicketConversation(String deskConversationId, Collection<String> participantIds, String name, Map<String,Object> variables, String userIdForPermissionChecks)
deskConversationId
- the id of the desk conversation where a new ticket should be started forparticipantIds
- the collection of participants for the ticketname
- the name of the ticket, must be providedvariables
- the optional map of additional ticket informationuserIdForPermissionChecks
- optionally pass in a user id to check for permissions, if not provided, no permission check is donevoid initializeDeskConversation(String deskConversationId)
deskConversationId
- the id of the desk conversation newly created and in need for initializationvoid initializeTicketConversation(String deskConversationId, String ticketConversationId)
deskConversationId
- the id of the desk conversation the ticket belongs toticketConversationId
- the id of the ticket conversation newly created and in need for initializationvoid switchToDeskTeam(String deskConversationId, String ticketConversationId, boolean isNewTicket)
void switchToDeskTeamMember(String deskConversationId, String ticketConversationId, String deskMemberId, boolean isNewTicket)
void handleUnassignedTicketMessage(String deskConversationId, String ticketConversationId, Message message)
String getDigitalAssistantUserId()
Copyright © 2019. All rights reserved.