OlosRecordingRetrieve
OlosRecordingRetrieve permite a busca de informações de gravações das campanhas de texto.
getConversation
Solicita as mensagens de uma conversa derivada de uma campanha de texto.
import { OlosRecordingRetrieve } from "olosagentsdk";
const recordingRetrieve = new OlosRecordingRetrieve();
recordingRetrieve.getConversation(
conversatioId: string,
conversationDate: string,
max: number | null,
callbackSuccess: (response: Array<Conversation>) => void,
callbackError: (err: any) => void
);getAgentConversation
Solicita as mensagens de uma conversa derivada de uma campanha de texto para um Agente específico.
import { OlosRecordingRetrieve } from "olosagentsdk";
const recordingRetrieve = new OlosRecordingRetrieve();
recordingRetrieve.getAgentConversation(
agentId: string,
conversationDate: string,
max: number | null,
callbackSuccess: (response: Array<Conversation>) => void,
callbackError: (err: any) => void
);