@thoughtspot/visual-embed-sdk
Version:
ThoughtSpot Embed SDK
30 lines • 2.73 kB
JavaScript
'use client';
/**
* Copyright (c) 2023
*
* ThoughtSpot Visual Embed SDK for embedding ThoughtSpot analytics
* in other web applications.
* @summary ThoughtSpot Visual Embed SDK
* @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
*/
import { AppEmbed, Page, HomePageSearchBarMode, PrimaryNavbarVersion, HomePage, ListPage, DataPanelCustomColumnGroupsAccordionState, } from './embed/app';
import { init, prefetch, logout, executeTML, exportTML, reloadIframe, } from './embed/base';
import { PinboardEmbed, LiveboardEmbed } from './embed/liveboard';
import { SearchEmbed } from './embed/search';
import { SearchBarEmbed } from './embed/search-bar';
import { SpotterAgentEmbed, BodylessConversation } from './embed/bodyless-conversation';
import { SpotterEmbed, ConversationEmbed } from './embed/conversation';
import { AuthFailureType, AuthStatus, AuthEvent, } from './auth';
import { getSessionInfo } from './utils/sessionInfoService';
import { AuthType, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, PrefetchFeatures, HomeLeftNavItem, HomepageModule, ContextMenuTriggerOptions, LogLevel, ListPageColumns, CustomActionsPosition, CustomActionTarget, InterceptedApiType, EmbedErrorCodes, ErrorDetailsTypes, } from './types';
import { SageEmbed } from './embed/sage';
import { AnswerService } from './utils/graphql/answerService/answerService';
import { getEmbedConfig } from './embed/embedConfig';
import { uploadMixpanelEvent, MIXPANEL_EVENT } from './mixpanel-service';
import { tokenizedFetch } from './tokenizedFetch';
import { getAnswerFromQuery } from './utils/graphql/nlsService/nls-answer-service';
import { createLiveboardWithAnswers } from './utils/liveboardService/liveboardService';
import { UIPassthroughEvent } from './embed/hostEventClient/contracts';
export { init, logout, prefetch, executeTML, exportTML, reloadIframe, getEmbedConfig as getInitConfig, getSessionInfo, tokenizedFetch, getAnswerFromQuery, createLiveboardWithAnswers, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, SpotterAgentEmbed, BodylessConversation, SpotterEmbed, ConversationEmbed, AuthFailureType, AuthStatus, AuthEvent, AnswerService, Page, AuthType, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, PrefetchFeatures, HomeLeftNavItem, HomepageModule, LogLevel, uploadMixpanelEvent, MIXPANEL_EVENT, HomePageSearchBarMode, PrimaryNavbarVersion, HomePage, ListPage, UIPassthroughEvent, ListPageColumns, DataPanelCustomColumnGroupsAccordionState, CustomActionsPosition, CustomActionTarget, InterceptedApiType, EmbedErrorCodes, ErrorDetailsTypes, };
export { resetCachedAuthToken } from './authToken';
//# sourceMappingURL=index.js.map