Create instance of CXoneAuth
@example
const copilotService = new CopilotService();
Used to put copilot redux slice data into indexdb
payload
Used to get AAH config for the contactIds from redis cache
list of contact Id
Used to get the copilot adaptive card schema by cardType
type of adaptive card
type of media channel
Used to get the copilot adaptive card schema by cardType
Used to get the draft email by contactId and uniqueEmailId
contact Id
unique email Id
list of topics
Used to get the copilot info by search text
Used to get AAH config for the contactId
contact Id
if the value fetched is object or not
Used to get first name of agent logged in
additional payload
basic http request for ACP backend
base url for ACP backend
Used to get copilot data by the agentId into indexdb
Used to get the draft email by contactId and uniqueEmailId
contact Id
unique email Id
Used to get the last generated list of topics for the contact id
contact Id
Used to get local storage data by the agentId
Used to get the copilot health
contact Id of current active contact
Used to remove caseId record from copilot indexdb data
Used to get AAH config for the contactId
contact Id
Used to get the copilot info by search text
Agent search query
contactId/caseId
Used to set AAH config of contactId in localStorage
contact Id for which AAH config needs to be stored
AAH config for contactId
Used to put copilot data by the agentId into indexdb
Used to set essential copilot data
contact id to fetch the data from
element to add to the local storage
Used to store AAH config for the contactId in browser memory by pulling from redis cache, if not already available
contact Id
Generated using TypeDoc
Class for copilot base service