@glance-networks/agent-plugin
Version:
Glance Networks Agent Plugin
38 lines (37 loc) • 1.06 kB
TypeScript
import { default as React } from 'react';
import { LanguageManager } from './Language.service';
interface GlanceProps {
groupid: string;
authurl?: string;
puid: string;
openlocation?: string;
iframeid?: string;
gicon?: boolean;
presence?: boolean;
glancebaseurl?: string;
visitorid?: string;
debugmode?: boolean;
custominvoke?: () => void;
customopenwindow: boolean;
presession?: () => void;
authheaders?: object;
authbody?: URLSearchParams;
authmethod: string;
openwindow?: (url: string) => void;
autojoin?: boolean;
errormessage?: string;
reportingcallback?: (sessionData: HistoricalReportingData) => void;
reportingorigin?: string;
reportingexternalid?: string;
uiversion?: number;
loginkey?: string;
languagemanager?: LanguageManager;
}
export interface HistoricalReportingData {
sessionId: string;
sessionStart: string;
sessionEnd: string;
duration: number;
}
export declare const Glance: (props: GlanceProps) => React.JSX.Element;
export {};