@ovotech/genesys-web-messaging-tester
Version:
11 lines (10 loc) • 446 B
TypeScript
import { StructuredMessage, SessionResponse } from '../index';
/**
* Payloads taken from real interactions
*/
export declare const webMessagePayloads: {
sessionResponse: () => SessionResponse;
inboundStructuredMessage: (text: string, date: Date) => StructuredMessage;
outboundTextStructuredMessage: (text: string, date: Date) => StructuredMessage;
outboundDisconnectEventStructuredMessage: (date: Date) => StructuredMessage;
};