ashish-sdk
Version:
ThoughtSpot Embed SDK
19 lines (18 loc) • 597 B
TypeScript
export declare const EndPoints: {
CONFIG: string;
};
export declare const MIXPANEL_EVENT: {
VISUAL_SDK_RENDER_START: string;
VISUAL_SDK_CALLED_INIT: string;
VISUAL_SDK_RENDER_COMPLETE: string;
VISUAL_SDK_RENDER_FAILED: string;
VISUAL_SDK_TRIGGER: string;
VISUAL_SDK_IFRAME_LOAD_PERFORMANCE: string;
};
/**
* Pushes the event with its Property key-value map to mixpanel.
* @param eventId
* @param eventProps
*/
export declare function uploadMixpanelEvent(eventId: string, eventProps?: {}): Promise<any>;
export declare function initMixpanel(sessionInfo: any): void;