Diese Seite enthält die API-Dokumentation für alle benutzerdefinierten UI-Modulereignisse.
Termindetails
Ereignisname | Nutzlast | Beschreibung |
---|---|---|
active-conversation-selected | ActiveConversationSelectedPayload | Wird gesendet, wenn eine Unterhaltung ausgewählt wird. |
smart-reply-selected | SmartReplySelection | Wird gesendet, wenn ein Chip für intelligente Antworten ausgewählt wird. |
smart-reply-follow-up-suggestions-received | SmartReplyFollowUpSuggestionsReceivedPayload | Wird gesendet, wenn Vorschläge für intelligente Antworten eingegangen sind. |
conversation-details-received | ConversationDetailsReceivedPayload | Wird gesendet, wenn Details zur Unterhaltung vom SDK empfangen werden (einschließlich Kundenservicemitarbeiter- und Kundeninformationen). |
conversation-initialization-requested | ConversationInitializationRequestedPayload | Wird gesendet, wenn die Dialogflow-Unterhaltung initialisiert werden soll. |
conversation-initialized | ConversationInitializedPayload | Wird gesendet, wenn die Dialogflow-Unterhaltung initialisiert wurde. |
conversation-started | ConversationStartedPayload | Wird gesendet, wenn die Dialogflow-Unterhaltung gestartet wurde. |
conversation-completed | ConversationCompletedPayload | Wird gesendet, wenn die Dialogflow-Unterhaltung abgeschlossen ist. |
conversation-profile-requested | ConversationProfileRequestedPayload | Wird gesendet, wenn das Dialogflow-Unterhaltungsprofil abgerufen wird. |
conversation-profile-received | ConversationProfileReceivedPayload | Wird gesendet, wenn das Dialogflow-Unterhaltungsprofil empfangen wurde. |
conversation-model-requested | ConversationModelRequestedPayload | Wird gesendet, wenn das Dialogflow-Unterhaltungsmodell abgerufen wird. |
conversation-model-received | ConversationModelReceivedPayload | Wird gesendet, wenn das Dialogflow-Unterhaltungsmodell empfangen wurde. |
new-message-received | NewMessageReceivedPayload | Wird gesendet, wenn eine neue Transkriptnachricht eingegangen ist. |
analyze-content-requested | AnalyzeContentRequestDetails | Wird gesendet, wenn eine AnalyzeContent-Anfrage gesendet werden soll. |
analyze-content-response-received | AnalyzeContentResponseReceivedPayload | Wird gesendet, wenn eine neue AnalyzeContentResponse empfangen wurde. |
conversation-summarization-requested | ConversationSummarizationRequestedEventPayload | Zusammenfassung der Unterhaltung angefordert. |
stateless-conversation-summarization-requested | StatelessConversationSummarizationRequestedPayload | Zusammenfassung einer Unterhaltung ohne Status angefordert. |
stateless-conversation-summarization-response-received | StatelessConversationSummarizationResponseReceivedPayload | Antwort für die zusammenfassende Antwort auf Unterhaltungen ohne Status erhalten. |
conversation-summarization-received | ConversationSummarizationReceivedPayload | Zusammenfassung der Unterhaltung erhalten. |
dialogflow-api-error | DialogflowApiErrorPayload | Dialogflow API-Fehler aufgetreten |
dialogflow-api-authentication-error | void | Fehler bei der Dialogflow API-Authentifizierung (401). |
answer-record-requested | AnswerRecordRequestedPayload | Antworteintrag angefordert. |
answer-record-received | AnswerRecordReceivedPayload | Antwortdatensatz erhalten. |
patch-answer-record-requested | PatchAnswerRecordRequestedPayload | Patch-Antworteintrag angefordert. |
patch-answer-record-received | PatchAnswerRecordReceivedPayload | Anfrage für Patch-Antworteintrag erhalten. |
article-search-requested | ArticleSearchRequestedPayload | Artikelsuche angefordert. |
article-search-response-received | ArticleSearchResponseReceivedPayload | Suchergebnisse für Artikel wurden empfangen. |
dark-mode-toggled | DarkModeToggledPayload | Der dunkle Modus wird auf dem Computer des Kundenservicemitarbeiters aktiviert. |
snackbar-notification-requested | SnackbarNotificationPayload | Benachrichtigung in der Infofläche angefordert. |
live-person-connector-initialized | void | LivePerson-Connector wurde initialisiert. |
genesys-cloud-connector-initialized | void | Genesys Cloud-Connector initialisiert. |
api-connector-initialized | void | API-Connector initialisiert. |
event-based-connector-initialized | void | Ereignisbasierter Connector initialisiert. |
live-person-connector-initialization-failed | void | Die Initialisierung des LivePerson-Connectors ist fehlgeschlagen. |
genesys-cloud-connector-initialization-failed | void | Die Initialisierung des Genesys Cloud-Connectors ist fehlgeschlagen. |
genesys-cloud-connector-access-token-received | GenesysCloudConnectorAccessTokenReceivedPayload | Genesys Cloud-Connector-Zugriffstoken empfangen. |
api-connector-initialization-failed | void | Die Initialisierung des API-Connectors ist fehlgeschlagen. |
event-based-connector-initialization-failed | void | Die Initialisierung des ereignisbasierten Connectors ist fehlgeschlagen. |
event-based-connection-established | void | Wird gesendet, wenn eine WebSocket-Verbindung hergestellt wird. |
list-messages-requested | ListMessagesRequestedPayload | Anfrage zum Auflisten von Nachrichten für eine bestimmte Unterhaltung. |
list-messages-response-received | ListMessagesResponseReceivedPayload | Wird gesendet, wenn eine Antwort auf eine Nachrichtenliste empfangen wird. |
virtual-agent-assist-response-message-selected | VirtualAgentAssistResponseMessageSelectedPayload | Wird gesendet, wenn eine Antwortnachricht von Virtual Agent Assist ausgewählt wird. Damit wird das Eingabefeld des Kundenservicemitarbeiters mit der ausgewählten Nachricht ausgefüllt. |
human-agent-transfer-initiated | HumanAgentTransferInitiatedPayload | Wird gesendet, wenn ein Anruf von einem virtuellen Kundenservicemitarbeiter an einen menschlichen Kundenservicemitarbeiter weitergeleitet wird. |
search-knowledge-requested | SearchKnowledgeRequestedPayload | Suchwissen angefordert |
search-knowledge-response-received | SearchKnowledgeResponseReceivedPayload | Antwort der Wissensdatenbank für die Suche erhalten. |
knowledge-assist-v2-answer-pasted | String | Eine Knowledge Assist v2-Antwort, die in den Chat eingefügt werden soll. |
batch-create-messages-requested | BatchCreateMessagesRequestedPayload | Nachrichten in einer Unterhaltung im Batch erstellen Dadurch werden die Nachrichten der Unterhaltung hinzugefügt, ohne dass Vorschläge von Agent Assist für die Nachrichten generiert werden. |
batch-create-messages-response-received | BatchCreateMessagesResponseReceivedPayload | Antwort auf die Anfrage zum Batch-Erstellen von Nachrichten erhalten |
Ereignisnutzlasten
Alle Nutzlasten für benutzerdefinierte Ereignisse ansehen
ActiveConversationSelectedPayload
interface ActiveConversationSelectedPayload {
conversationName: string;
}
AnalyzeContentRequestDetails
interface AnalyzeContentRequestDetails {
type?: string;
conversationId: string;
participantRole:
| "ROLE_UNSPECIFIED"
| "HUMAN_AGENT"
| "AUTOMATED_AGENT"
| "END_USER";
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.locations.conversations.participants/analyzeContent#request-body
*/
request: AnalyzeContentRequest;
}
AnalyzeContentResponseReceivedPayload
interface AnalyzeContentResponseReceivedPayload {
conversationName: string;
payload: {
type?: string;
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.locations.conversations.participants#Participant
*/
participant?: Participant;
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.locations.conversations.participants/analyzeContent#request-body
*/
request?: AnalyzeContentRequest;
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/AnalyzeContentResponse
*/
response: AnalyzeContentResponse;
};
}
ArticleSearchRequestedPayload
interface ArticleSearchRequestedPayload {
queryText: string;
}
ArticleSearchResponseReceivedPayload
interface ArticleSearchResponseReceivedPayload {
conversationName: string;
/**
* @link
* https://cloud.google.com/dialogflow/priv/docs/reference/rest/v2beta1/projects.locations.conversations.suggestions/searchArticles#response-body
*/
payload: SearchArticlesResponse;
}
ConversationDetailsReceivedPayload
interface ConversationDetailsReceivedPayload {
conversationName: string;
payload: {
chatInfo: {
rtSessionId: string;
accountId: string;
chatRequestedTime: number;
chatStartTime: number;
sessionStartTime: number;
chatStartUrl: string;
spectatedEngagement: boolean;
chatSkill: string;
};
chattingAgentInfo: {
agentName: string;
agentNickname: string;
agentGroupName: string;
agentId: number;
};
agentInfo: {
accountId: string;
agentName: string;
agentNickname: string;
agentId: number;
agentEmail: string;
employeeId: string;
maxChats: number;
agentGroupName: string;
};
chatTranscript: { lines: TranscriptMessage[] };
surveyQuestions: {
preChat: {
email: { value: string; displayName: string };
phone: { value: string; displayName: string };
name: { value: string; displayName: string };
customizedQuestions: [];
};
postChat: [];
agentSurvey: [];
};
visitorInfo: {
visitorId: string;
visitorName: string;
visitorSso: boolean;
device: string;
browser: string;
operatingSystem: string;
country: string;
countryCode: string;
state: string;
city: string;
isp: string;
organization: string;
IpAddress: string;
visitStartTime: string;
chattingVisitorState: string;
chatRequestedTime: string;
chatStartUrl: string;
visitorTimezone: string;
visitorTyping: boolean;
};
campaignInfo: {
campaignName: string;
campaignId: string;
campaignDescription: string;
targetAudience: [];
goalName: string;
goalId: string;
goalDescription: string;
};
engagementInfo: {
VisitorBehavior: [];
skill: string;
engagementType: string;
engagementId: string;
engagementName: string;
agentNote: string;
engagementSkill: string;
};
visitorJourney: {
pages: [];
searchEngine: { searchProvider: string; searchKeywords: string };
};
SDE: {
customerDetails: [];
personalInfo: [];
marketingSource: [];
leadGeneration: [];
transaction: [];
viewedProducts: [];
shoppingCart: [];
serviceActivity: [];
error: [];
};
authenticatedData: { customerDetails: []; personalInfo: [] };
claimsAndAuthType: { claims: {}; acr: string };
applicationInfo: { theme: "light" | "dark" };
customVariables: [];
splitSession: { customVariables: [] };
};
}
ConversationInitializationRequestedPayload
interface ConversationInitializationRequestedPayload {
conversationName: string;
}
ConversationInitializedPayload
interface ConversationInitializedPayload {
conversation: Conversation;
participants: ParticipantsMap<Participant_ | null>;
}
ConversationProfileRequestedPayload
interface ConversationProfileRequestedPayload {
conversationProfileName: string;
}
ConversationProfileReceivedPayload
type ConversationProfileReceivedPayload =
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.locations.conversationProfiles#ConversationProfile
*/
ConversationProfile | null;
ConversationModelRequestedPayload
interface ConversationModelRequestedPayload {
modelName: string | null;
}
ConversationModelReceivedPayload
type ConversationModelReceivedPayload =
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.locations.conversationModels#ConversationModel
*/
ConversationModel | null;
ConversationSummarizationReceivedPayload
interface ConversationSummarizationReceivedPayload {
conversationName: string;
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/SuggestConversationSummaryResponse
*/
payload: SuggestConversationSummaryResponse;
}
ConversationSummarizationRequestedEventPayload
type ConversationSummarizationRequestedEventPayload = {
conversationName?: string;
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.locations.conversations.suggestions/suggestConversationSummary#request-body
*/
request?: SuggestConversationSummaryRequest;
} | void;
DarkModeToggledPayload
interface DarkModeToggledPayload {
on: boolean;
}
DialogflowApiErrorPayload
type DialogflowApiErrorPayload = {
conversationName: string;
source:
| "TYPE_UNSPECIFIED"
| "ARTICLE_SUGGESTION"
| "FAQ"
| "SMART_REPLY"
| "DIALOGFLOW_ASSIST"
| "SMART_COMPOSE"
| "ISSUE_SMART_COMPOSE"
| "SPELL_GRAMMAR_CORRECTION"
| "CONVERSATION_SUMMARIZATION"
| "KEY_MOMENT"
| "ARTICLE_SEARCH"
| "CONVERSATION_GUIDANCE"
| "ARTICLE_SUGGESTION_VOICE"
| "CONVERSATION_SUMMARIZATION_VOICE"
| "KNOWLEDGE_SEARCH"
| "KNOWLEDGE_ASSIST"
| "ENTITY_EXTRACTION"
| "ANALYZE_CONTENT"
| "INITIALIZATION"
| "AUTHORIZATION"
| "LIST_MESSAGES"
| "BATCH_CREATE_MESSAGES"
| "GET_CONVERSATION_PROFILE"
| "GET_CONVERSATION_MODEL"
| "SEARCH_KNOWLEDGE"
| "GENERATE_STATELESS_SUMMARY";
data?: Dictionary;
error: GoogleRpcStatus | null;
} | null;
SmartReplySelection
SuggestionFeatureSelection<SmartReplyAnswer>
SmartReplyFollowUpSuggestionsReceivedPayload
interface SmartReplyFollowUpSuggestionsReceivedPayload {
conversationName: string;
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/SuggestSmartRepliesResponse#smartreplyanswer
*/
payload: SmartReplyAnswer_[];
}
PatchAnswerRecordRequestedPayload
type PatchAnswerRecordRequestedPayload = PatchPayload<{
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.answerRecords#AnswerRecord
*/
answerRecord: AnswerRecord;
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.answerRecords#AnswerRecord
*/
previousAnswerRecord?: AnswerRecord | undefined;
}>;
PatchAnswerRecordReceivedPayload
interface PatchAnswerRecordReceivedPayload {
conversationName: string;
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.answerRecords#AnswerRecord
*/
payload: AnswerRecord;
}
SnackbarNotificationPayload
interface SnackbarNotificationPayload {
message: string;
actionMessage?: string | undefined;
actionHandler?: () => void;
}
AnswerRecordRequestedPayload
interface AnswerRecordRequestedPayload {
answerRecordName: string;
}
AnswerRecordReceivedPayload
interface AnswerRecordReceivedPayload {
conversationName: string;
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.answerRecords#AnswerRecord
*/
payload: AnswerRecord;
}
ConversationStartedPayload
interface ConversationStartedPayload {
conversationName: string;
}
ConversationCompletedPayload
interface ConversationCompletedPayload {
conversationName: string;
}
NewMessageReceivedPayload
type NewMessageReceivedPayload =
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/Message
*/
Message;
GenesysCloudConnectorAccessTokenReceivedPayload
export declare interface GenesysCloudConnectorAccessTokenReceivedPayload {
accessToken: string;
}
ListMessagesRequestedPayload
interface ListMessagesRequestedPayload {
conversationName: string;
}
ListMessagesResponseReceivedPayload
interface ListMessagesResponseReceivedPayload {
conversationName: string;
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/ListMessagesResponse
*/
payload: ListMessagesResponse;
}
VirtualAgentAssistResponseMessageSelectedPayload
interface VirtualAgentAssistResponseMessageSelectedPayload {
responseMessage: string;
}
HumanAgentTransferInitiatedPayload
interface HumanAgentTransferInitiatedPayload {
conversationName: string;
}
SearchKnowledgeRequestedPayload
interface SearchKnowledgeRequestedPayload {
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.locations.suggestions/searchKnowledge
*/
request: SearchKnowledgeRequest;
}
SearchKnowledgeResponseReceivedPayload
interface SearchKnowledgeResponseReceivedPayload {
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.locations.suggestions/searchKnowledge
*/
request: SearchKnowledgeRequest;
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/SearchKnowledgeResponse
*/
response: SearchKnowledgeResponse;
}
BatchCreateMessagesRequestedPayload
interface BatchCreateMessagesRequestedPayload {
conversationName: string;
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.locations.conversations.messages/batchCreate#request-body
*/
request: BatchCreateMessagesRequest;
}
BatchCreateMessagesResponseReceivedPayload
interface BatchCreateMessagesResponseReceivedPayload {
conversationName: string;
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/BatchCreateMessagesResponse
*/
response: BatchCreateMessagesResponse;
}
StatelessConversationSummarizationRequestedPayload
interface StatelessConversationSummarizationRequestedPayload {
conversationName?: string;
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.locations.suggestions/generateStatelessSummary#request-body
*/
request?: GenerateStatelessSummaryRequest;
}
StatelessConversationSummarizationResponseReceivedPayload
interface StatelessConversationSummarizationResponseReceivedPayload {
conversationName?: string;
/**
* @link
* https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GenerateStatelessSummaryResponse
*/
response?: GenerateStatelessSummaryResponse;
}