@thoughtspot/visual-embed-sdk 1.45.2 → 1.45.3-mcp.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/cjs/package.json +2 -2
  2. package/cjs/src/css-variables.d.ts +48 -0
  3. package/cjs/src/css-variables.d.ts.map +1 -1
  4. package/cjs/src/embed/app.d.ts +37 -0
  5. package/cjs/src/embed/app.d.ts.map +1 -1
  6. package/cjs/src/embed/app.js +37 -1
  7. package/cjs/src/embed/app.js.map +1 -1
  8. package/cjs/src/embed/app.spec.js +24 -0
  9. package/cjs/src/embed/app.spec.js.map +1 -1
  10. package/cjs/src/embed/auto-frame-renderer.d.ts +3 -0
  11. package/cjs/src/embed/auto-frame-renderer.d.ts.map +1 -0
  12. package/cjs/src/embed/auto-frame-renderer.js +70 -0
  13. package/cjs/src/embed/auto-frame-renderer.js.map +1 -0
  14. package/cjs/src/embed/base.d.ts.map +1 -1
  15. package/cjs/src/embed/base.js.map +1 -1
  16. package/cjs/src/embed/conversation.d.ts +128 -10
  17. package/cjs/src/embed/conversation.d.ts.map +1 -1
  18. package/cjs/src/embed/conversation.js +41 -18
  19. package/cjs/src/embed/conversation.js.map +1 -1
  20. package/cjs/src/embed/conversation.spec.js +96 -3
  21. package/cjs/src/embed/conversation.spec.js.map +1 -1
  22. package/cjs/src/embed/liveboard.d.ts +38 -1
  23. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  24. package/cjs/src/embed/liveboard.js +38 -10
  25. package/cjs/src/embed/liveboard.js.map +1 -1
  26. package/cjs/src/embed/liveboard.spec.js +179 -7
  27. package/cjs/src/embed/liveboard.spec.js.map +1 -1
  28. package/cjs/src/embed/searchEmbed-basic-auth.spec.d.ts +2 -0
  29. package/cjs/src/embed/searchEmbed-basic-auth.spec.d.ts.map +1 -0
  30. package/cjs/src/embed/searchEmbed-basic-auth.spec.js +104 -0
  31. package/cjs/src/embed/searchEmbed-basic-auth.spec.js.map +1 -0
  32. package/cjs/src/errors.d.ts +1 -0
  33. package/cjs/src/errors.d.ts.map +1 -1
  34. package/cjs/src/errors.js +1 -0
  35. package/cjs/src/errors.js.map +1 -1
  36. package/cjs/src/index.d.ts +4 -3
  37. package/cjs/src/index.d.ts.map +1 -1
  38. package/cjs/src/index.js +3 -1
  39. package/cjs/src/index.js.map +1 -1
  40. package/cjs/src/types.d.ts +196 -41
  41. package/cjs/src/types.d.ts.map +1 -1
  42. package/cjs/src/types.js +185 -19
  43. package/cjs/src/types.js.map +1 -1
  44. package/cjs/src/utils/answerService/answerService.d.ts +34 -0
  45. package/cjs/src/utils/answerService/answerService.d.ts.map +1 -0
  46. package/cjs/src/utils/answerService/answerService.js +142 -0
  47. package/cjs/src/utils/answerService/answerService.js.map +1 -0
  48. package/cjs/src/utils/answerService/answerService.spec.d.ts +1 -0
  49. package/cjs/src/utils/answerService/answerService.spec.d.ts.map +1 -0
  50. package/cjs/src/utils/answerService/answerService.spec.js +1 -0
  51. package/cjs/src/utils/answerService/answerService.spec.js.map +1 -0
  52. package/cjs/src/utils/answerService/graphql-queries.d.ts +6 -0
  53. package/cjs/src/utils/answerService/graphql-queries.d.ts.map +1 -0
  54. package/cjs/src/utils/answerService/graphql-queries.js +123 -0
  55. package/cjs/src/utils/answerService/graphql-queries.js.map +1 -0
  56. package/cjs/src/utils/answerService.d.ts +10 -0
  57. package/cjs/src/utils/answerService.d.ts.map +1 -0
  58. package/cjs/src/utils/answerService.js +61 -0
  59. package/cjs/src/utils/answerService.js.map +1 -0
  60. package/cjs/src/utils/answerService.spec.d.ts +2 -0
  61. package/cjs/src/utils/answerService.spec.d.ts.map +1 -0
  62. package/cjs/src/utils/answerService.spec.js +31 -0
  63. package/cjs/src/utils/answerService.spec.js.map +1 -0
  64. package/cjs/src/utils/authService.d.ts +37 -0
  65. package/cjs/src/utils/authService.d.ts.map +1 -0
  66. package/cjs/src/utils/authService.js +106 -0
  67. package/cjs/src/utils/authService.js.map +1 -0
  68. package/cjs/src/utils/authService.spec.d.ts +2 -0
  69. package/cjs/src/utils/authService.spec.d.ts.map +1 -0
  70. package/cjs/src/utils/authService.spec.js +72 -0
  71. package/cjs/src/utils/authService.spec.js.map +1 -0
  72. package/cjs/src/utils/graphql/answerService/answer-queries.d.ts +1 -0
  73. package/cjs/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
  74. package/cjs/src/utils/graphql/answerService/answer-queries.js +23 -1
  75. package/cjs/src/utils/graphql/answerService/answer-queries.js.map +1 -1
  76. package/cjs/src/utils/graphql/answerService/answerService.d.ts +2 -1
  77. package/cjs/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  78. package/cjs/src/utils/graphql/answerService/answerService.js +9 -1
  79. package/cjs/src/utils/graphql/answerService/answerService.js.map +1 -1
  80. package/cjs/src/utils/graphql/answerService/answerService.spec.js +73 -0
  81. package/cjs/src/utils/graphql/answerService/answerService.spec.js.map +1 -1
  82. package/cjs/src/utils/graphql/answerService/graphql-queries.d.ts +5 -0
  83. package/cjs/src/utils/graphql/answerService/graphql-queries.d.ts.map +1 -0
  84. package/cjs/src/utils/graphql/answerService/graphql-queries.js +80 -0
  85. package/cjs/src/utils/graphql/answerService/graphql-queries.js.map +1 -0
  86. package/cjs/src/utils/graphql/conversationService/conversation-queries.d.ts +3 -0
  87. package/cjs/src/utils/graphql/conversationService/conversation-queries.d.ts.map +1 -0
  88. package/cjs/src/utils/graphql/conversationService/conversation-queries.js +318 -0
  89. package/cjs/src/utils/graphql/conversationService/conversation-queries.js.map +1 -0
  90. package/cjs/src/utils/graphql/conversationService/conversation-service.d.ts +12 -0
  91. package/cjs/src/utils/graphql/conversationService/conversation-service.d.ts.map +1 -0
  92. package/cjs/src/utils/graphql/conversationService/conversation-service.js +89 -0
  93. package/cjs/src/utils/graphql/conversationService/conversation-service.js.map +1 -0
  94. package/cjs/src/utils/graphql/spotterService/conversation-queries.d.ts +3 -0
  95. package/cjs/src/utils/graphql/spotterService/conversation-queries.d.ts.map +1 -0
  96. package/cjs/src/utils/graphql/spotterService/conversation-queries.js +318 -0
  97. package/cjs/src/utils/graphql/spotterService/conversation-queries.js.map +1 -0
  98. package/cjs/src/utils/graphql/spotterService/conversation-service.d.ts +12 -0
  99. package/cjs/src/utils/graphql/spotterService/conversation-service.d.ts.map +1 -0
  100. package/cjs/src/utils/graphql/spotterService/conversation-service.js +89 -0
  101. package/cjs/src/utils/graphql/spotterService/conversation-service.js.map +1 -0
  102. package/cjs/src/utils/graphql/spotterService/nls-answer-queries.d.ts +2 -0
  103. package/cjs/src/utils/graphql/spotterService/nls-answer-queries.d.ts.map +1 -0
  104. package/cjs/src/utils/graphql/spotterService/nls-answer-queries.js +403 -0
  105. package/cjs/src/utils/graphql/spotterService/nls-answer-queries.js.map +1 -0
  106. package/cjs/src/utils/graphql/spotterService/nls-answer-service.d.ts +12 -0
  107. package/cjs/src/utils/graphql/spotterService/nls-answer-service.d.ts.map +1 -0
  108. package/cjs/src/utils/graphql/spotterService/nls-answer-service.js +55 -0
  109. package/cjs/src/utils/graphql/spotterService/nls-answer-service.js.map +1 -0
  110. package/cjs/src/utils.d.ts +15 -0
  111. package/cjs/src/utils.d.ts.map +1 -1
  112. package/cjs/src/utils.js +33 -1
  113. package/cjs/src/utils.js.map +1 -1
  114. package/cjs/src/utils.spec.js +49 -0
  115. package/cjs/src/utils.spec.js.map +1 -1
  116. package/dist/{index-BdkKLLo1.js → index-0serzuii.js} +1 -1
  117. package/dist/index-CqrIh3Vj.js +7370 -0
  118. package/dist/index-aFN9fe8V.js +7371 -0
  119. package/dist/src/css-variables.d.ts +48 -0
  120. package/dist/src/css-variables.d.ts.map +1 -1
  121. package/dist/src/embed/app.d.ts +37 -0
  122. package/dist/src/embed/app.d.ts.map +1 -1
  123. package/dist/src/embed/auto-frame-renderer.d.ts +3 -0
  124. package/dist/src/embed/auto-frame-renderer.d.ts.map +1 -0
  125. package/dist/src/embed/base.d.ts.map +1 -1
  126. package/dist/src/embed/conversation.d.ts +128 -10
  127. package/dist/src/embed/conversation.d.ts.map +1 -1
  128. package/dist/src/embed/liveboard.d.ts +38 -1
  129. package/dist/src/embed/liveboard.d.ts.map +1 -1
  130. package/dist/src/errors.d.ts +1 -0
  131. package/dist/src/errors.d.ts.map +1 -1
  132. package/dist/src/index.d.ts +4 -3
  133. package/dist/src/index.d.ts.map +1 -1
  134. package/dist/src/types.d.ts +196 -41
  135. package/dist/src/types.d.ts.map +1 -1
  136. package/dist/src/utils/graphql/answerService/answer-queries.d.ts +1 -0
  137. package/dist/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
  138. package/dist/src/utils/graphql/answerService/answerService.d.ts +2 -1
  139. package/dist/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  140. package/dist/src/utils.d.ts +15 -0
  141. package/dist/src/utils.d.ts.map +1 -1
  142. package/dist/tsembed-react.es.js +365 -52
  143. package/dist/tsembed-react.js +364 -51
  144. package/dist/tsembed.es.js +429 -53
  145. package/dist/tsembed.js +428 -51
  146. package/dist/visual-embed-sdk-react-full.d.ts +697 -343
  147. package/dist/visual-embed-sdk-react.d.ts +686 -332
  148. package/dist/visual-embed-sdk.d.ts +761 -380
  149. package/lib/package.json +2 -2
  150. package/lib/src/css-variables.d.ts +48 -0
  151. package/lib/src/css-variables.d.ts.map +1 -1
  152. package/lib/src/embed/app.d.ts +37 -0
  153. package/lib/src/embed/app.d.ts.map +1 -1
  154. package/lib/src/embed/app.js +39 -3
  155. package/lib/src/embed/app.js.map +1 -1
  156. package/lib/src/embed/app.spec.js +24 -0
  157. package/lib/src/embed/app.spec.js.map +1 -1
  158. package/lib/src/embed/auto-frame-renderer.d.ts +3 -0
  159. package/lib/src/embed/auto-frame-renderer.d.ts.map +1 -0
  160. package/lib/src/embed/auto-frame-renderer.js +66 -0
  161. package/lib/src/embed/auto-frame-renderer.js.map +1 -0
  162. package/lib/src/embed/base.d.ts.map +1 -1
  163. package/lib/src/embed/base.js.map +1 -1
  164. package/lib/src/embed/conversation.d.ts +128 -10
  165. package/lib/src/embed/conversation.d.ts.map +1 -1
  166. package/lib/src/embed/conversation.js +42 -19
  167. package/lib/src/embed/conversation.js.map +1 -1
  168. package/lib/src/embed/conversation.spec.js +96 -3
  169. package/lib/src/embed/conversation.spec.js.map +1 -1
  170. package/lib/src/embed/liveboard.d.ts +38 -1
  171. package/lib/src/embed/liveboard.d.ts.map +1 -1
  172. package/lib/src/embed/liveboard.js +39 -11
  173. package/lib/src/embed/liveboard.js.map +1 -1
  174. package/lib/src/embed/liveboard.spec.js +179 -7
  175. package/lib/src/embed/liveboard.spec.js.map +1 -1
  176. package/lib/src/embed/searchEmbed-basic-auth.spec.d.ts +2 -0
  177. package/lib/src/embed/searchEmbed-basic-auth.spec.d.ts.map +1 -0
  178. package/lib/src/embed/searchEmbed-basic-auth.spec.js +101 -0
  179. package/lib/src/embed/searchEmbed-basic-auth.spec.js.map +1 -0
  180. package/lib/src/errors.d.ts +1 -0
  181. package/lib/src/errors.d.ts.map +1 -1
  182. package/lib/src/errors.js +1 -0
  183. package/lib/src/errors.js.map +1 -1
  184. package/lib/src/index.d.ts +4 -3
  185. package/lib/src/index.d.ts.map +1 -1
  186. package/lib/src/index.js +1 -0
  187. package/lib/src/index.js.map +1 -1
  188. package/lib/src/types.d.ts +196 -41
  189. package/lib/src/types.d.ts.map +1 -1
  190. package/lib/src/types.js +185 -19
  191. package/lib/src/types.js.map +1 -1
  192. package/lib/src/utils/graphql/answerService/answer-queries.d.ts +1 -0
  193. package/lib/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
  194. package/lib/src/utils/graphql/answerService/answer-queries.js +22 -0
  195. package/lib/src/utils/graphql/answerService/answer-queries.js.map +1 -1
  196. package/lib/src/utils/graphql/answerService/answerService.d.ts +2 -1
  197. package/lib/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  198. package/lib/src/utils/graphql/answerService/answerService.js +9 -1
  199. package/lib/src/utils/graphql/answerService/answerService.js.map +1 -1
  200. package/lib/src/utils/graphql/answerService/answerService.spec.js +73 -0
  201. package/lib/src/utils/graphql/answerService/answerService.spec.js.map +1 -1
  202. package/lib/src/utils/graphql/conversationService/conversation-queries.d.ts +3 -0
  203. package/lib/src/utils/graphql/conversationService/conversation-queries.d.ts.map +1 -0
  204. package/lib/src/utils/graphql/conversationService/conversation-queries.js +315 -0
  205. package/lib/src/utils/graphql/conversationService/conversation-queries.js.map +1 -0
  206. package/lib/src/utils/graphql/conversationService/conversation-service.d.ts +12 -0
  207. package/lib/src/utils/graphql/conversationService/conversation-service.d.ts.map +1 -0
  208. package/lib/src/utils/graphql/conversationService/conversation-service.js +84 -0
  209. package/lib/src/utils/graphql/conversationService/conversation-service.js.map +1 -0
  210. package/lib/src/utils/graphql/spotterService/conversation-queries.d.ts +3 -0
  211. package/lib/src/utils/graphql/spotterService/conversation-queries.d.ts.map +1 -0
  212. package/lib/src/utils/graphql/spotterService/conversation-queries.js +315 -0
  213. package/lib/src/utils/graphql/spotterService/conversation-queries.js.map +1 -0
  214. package/lib/src/utils/graphql/spotterService/conversation-service.d.ts +12 -0
  215. package/lib/src/utils/graphql/spotterService/conversation-service.d.ts.map +1 -0
  216. package/lib/src/utils/graphql/spotterService/conversation-service.js +84 -0
  217. package/lib/src/utils/graphql/spotterService/conversation-service.js.map +1 -0
  218. package/lib/src/utils/graphql/spotterService/nls-answer-queries.d.ts +2 -0
  219. package/lib/src/utils/graphql/spotterService/nls-answer-queries.d.ts.map +1 -0
  220. package/lib/src/utils/graphql/spotterService/nls-answer-queries.js +400 -0
  221. package/lib/src/utils/graphql/spotterService/nls-answer-queries.js.map +1 -0
  222. package/lib/src/utils/graphql/spotterService/nls-answer-service.d.ts +12 -0
  223. package/lib/src/utils/graphql/spotterService/nls-answer-service.d.ts.map +1 -0
  224. package/lib/src/utils/graphql/spotterService/nls-answer-service.js +50 -0
  225. package/lib/src/utils/graphql/spotterService/nls-answer-service.js.map +1 -0
  226. package/lib/src/utils.d.ts +15 -0
  227. package/lib/src/utils.d.ts.map +1 -1
  228. package/lib/src/utils.js +30 -0
  229. package/lib/src/utils.js.map +1 -1
  230. package/lib/src/utils.spec.js +50 -1
  231. package/lib/src/utils.spec.js.map +1 -1
  232. package/lib/src/visual-embed-sdk.d.ts +7186 -0
  233. package/package.json +3 -3
  234. package/src/css-variables.ts +60 -0
  235. package/src/embed/app.spec.ts +32 -0
  236. package/src/embed/app.ts +97 -1
  237. package/src/embed/auto-frame-renderer.ts +78 -0
  238. package/src/embed/base.ts +1 -0
  239. package/src/embed/conversation.spec.ts +117 -3
  240. package/src/embed/conversation.ts +189 -30
  241. package/src/embed/liveboard.spec.ts +264 -10
  242. package/src/embed/liveboard.ts +100 -11
  243. package/src/errors.ts +1 -0
  244. package/src/index.ts +8 -1
  245. package/src/types.ts +198 -42
  246. package/src/utils/graphql/answerService/answer-queries.ts +23 -0
  247. package/src/utils/graphql/answerService/answerService.spec.ts +87 -0
  248. package/src/utils/graphql/answerService/answerService.ts +13 -1
  249. package/src/utils.spec.ts +56 -0
  250. package/src/utils.ts +36 -0
@@ -701,6 +701,54 @@ export interface CustomCssVariables {
701
701
  * Width of the Spotter chat window.
702
702
  */
703
703
  "--ts-var-spotter-chat-width"?: string;
704
+ /**
705
+ * Border color for the saved chats sidebar container.
706
+ */
707
+ "--ts-var-saved-chats-border-color"?: string;
708
+ /**
709
+ * Background color for the saved chats sidebar container.
710
+ */
711
+ "--ts-var-saved-chats-bg"?: string;
712
+ /**
713
+ * Text color for the saved chats sidebar container.
714
+ */
715
+ "--ts-var-saved-chats-text-color"?: string;
716
+ /**
717
+ * Border color for the saved chats sidebar header.
718
+ */
719
+ "--ts-var-saved-chats-header-border"?: string;
720
+ /**
721
+ * Color for the saved chats sidebar title text.
722
+ */
723
+ "--ts-var-saved-chats-title-color"?: string;
724
+ /**
725
+ * Background color for buttons (new chat, toggle, footer) in the saved chats sidebar.
726
+ */
727
+ "--ts-var-saved-chats-btn-bg"?: string;
728
+ /**
729
+ * Hover background color for buttons in the saved chats sidebar.
730
+ */
731
+ "--ts-var-saved-chats-btn-hover-bg"?: string;
732
+ /**
733
+ * Text color for conversation items in the saved chats sidebar.
734
+ */
735
+ "--ts-var-saved-chats-conv-text-color"?: string;
736
+ /**
737
+ * Background color for conversation items on hover in the saved chats sidebar.
738
+ */
739
+ "--ts-var-saved-chats-conv-hover-bg"?: string;
740
+ /**
741
+ * Background color for the active/selected conversation in the saved chats sidebar.
742
+ */
743
+ "--ts-var-saved-chats-conv-active-bg"?: string;
744
+ /**
745
+ * Border color for the saved chats sidebar footer.
746
+ */
747
+ "--ts-var-saved-chats-footer-border"?: string;
748
+ /**
749
+ * Color for section title text (e.g., "Recent", "Older") in the saved chats sidebar.
750
+ */
751
+ "--ts-var-saved-chats-section-title-color"?: string;
704
752
  }
705
753
  export interface SessionInterface {
706
754
  sessionId: string;
@@ -817,7 +865,8 @@ export declare class AnswerService {
817
865
  * @returns
818
866
  */
819
867
  addFilter(columnName: string, operator: RuntimeFilterOp, values: RuntimeFilter["values"]): Promise<any>;
820
- getSQLQuery(): Promise<string>;
868
+ updateDisplayMode(displayMode?: string): Promise<any>;
869
+ getSQLQuery(fetchSQLWithAllColumns?: boolean): Promise<string>;
821
870
  /**
822
871
  * Fetch data from the answer.
823
872
  * @param offset
@@ -2015,6 +2064,8 @@ export interface BaseViewConfig extends ApiInterceptFlags {
2015
2064
  */
2016
2065
  useHostEventsV2?: boolean;
2017
2066
  }
2067
+ export interface AutoMCPFrameRendererViewConfig extends BaseViewConfig {
2068
+ }
2018
2069
  /**
2019
2070
  * The configuration object for Home page embeds configs.
2020
2071
  */
@@ -2212,7 +2263,7 @@ export interface SearchLiveboardCommonViewConfig {
2212
2263
  *
2213
2264
  * Supported embed types: `SageEmbed`, `AppEmbed`, `SearchBarEmbed`, `LiveboardEmbed`, `SearchEmbed`
2214
2265
  * @default true
2215
- * @version SDK: 1.41.1 | ThoughtSpot Cloud: 10.14.0.cl
2266
+ * @deprecated from SDK 1.46.0 | ThoughtSpot Cloud: 26.3.0.cl
2216
2267
  * @example
2217
2268
  * ```js
2218
2269
  * // Replace <EmbedComponent> with embed component name. For example, SageEmbed, AppEmbed, or SearchBarEmbed
@@ -2449,7 +2500,7 @@ export interface LiveboardAppEmbedViewConfig {
2449
2500
  * To enable this feature on your instance, contact ThoughtSpot Support.
2450
2501
  *
2451
2502
  * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2452
- * @version SDK: 1.42.0 | ThoughtSpot: 10.15.0.cl
2503
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.4.0.cl
2453
2504
  * @example
2454
2505
  * ```js
2455
2506
  * // Replace <EmbedComponent> with embed component name. For example, AppEmbed or LiveboardEmbed
@@ -4012,6 +4063,42 @@ export declare enum EmbedEvent {
4012
4063
  * @version SDK: 1.43.0 | ThoughtSpot: 10.15.0.cl
4013
4064
  */
4014
4065
  ApiIntercept = "ApiIntercept",
4066
+ /**
4067
+ * Emitted when a Spotter conversation is renamed.
4068
+ * @example
4069
+ * ```js
4070
+ * spotterEmbed.on(EmbedEvent.SpotterConversationRenamed, (payload) => {
4071
+ * console.log('Conversation renamed', payload);
4072
+ * // payload: { convId: string, oldTitle: string, newTitle: string }
4073
+ * })
4074
+ * ```
4075
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
4076
+ */
4077
+ SpotterConversationRenamed = "spotterConversationRenamed",
4078
+ /**
4079
+ * Emitted when a Spotter conversation is deleted.
4080
+ * @example
4081
+ * ```js
4082
+ * spotterEmbed.on(EmbedEvent.SpotterConversationDeleted, (payload) => {
4083
+ * console.log('Conversation deleted', payload);
4084
+ * // payload: { convId: string, title: string }
4085
+ * })
4086
+ * ```
4087
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
4088
+ */
4089
+ SpotterConversationDeleted = "spotterConversationDeleted",
4090
+ /**
4091
+ * Emitted when a Spotter conversation is selected/clicked.
4092
+ * @example
4093
+ * ```js
4094
+ * spotterEmbed.on(EmbedEvent.SpotterConversationSelected, (payload) => {
4095
+ * console.log('Conversation selected', payload);
4096
+ * // payload: { convId: string, title: string, worksheetId: string }
4097
+ * })
4098
+ * ```
4099
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
4100
+ */
4101
+ SpotterConversationSelected = "spotterConversationSelected",
4015
4102
  /**
4016
4103
  * @hidden
4017
4104
  * Emitted when the auth token is about to get expired and needs to be refreshed.
@@ -6859,6 +6946,96 @@ export declare enum Action {
6859
6946
  * @version SDK: 1.44.0 | ThoughtSpot Cloud: 26.2.0.cl
6860
6947
  */
6861
6948
  UngroupLiveboardGroup = "ungroupLiveboardGroup",
6949
+ /**
6950
+ * Controls visibility of the sidebar header (title and toggle button)
6951
+ * in the Spotter past conversations sidebar.
6952
+ * @example
6953
+ * ```js
6954
+ * hiddenActions: [Action.SpotterSidebarHeader]
6955
+ * ```
6956
+ * @version SDK: 1.46.0 | ThoughtSpot Cloud: 26.3.0.cl
6957
+ */
6958
+ SpotterSidebarHeader = "spotterSidebarHeader",
6959
+ /**
6960
+ * Controls visibility of the sidebar footer (documentation link)
6961
+ * in the Spotter past conversations sidebar.
6962
+ * @example
6963
+ * ```js
6964
+ * hiddenActions: [Action.SpotterSidebarFooter]
6965
+ * ```
6966
+ * @version SDK: 1.46.0 | ThoughtSpot Cloud: 26.3.0.cl
6967
+ */
6968
+ SpotterSidebarFooter = "spotterSidebarFooter",
6969
+ /**
6970
+ * Controls visibility and disable state of the sidebar toggle/expand button
6971
+ * in the Spotter past conversations sidebar.
6972
+ * @example
6973
+ * ```js
6974
+ * disabledActions: [Action.SpotterSidebarToggle]
6975
+ * ```
6976
+ * @version SDK: 1.46.0 | ThoughtSpot Cloud: 26.3.0.cl
6977
+ */
6978
+ SpotterSidebarToggle = "spotterSidebarToggle",
6979
+ /**
6980
+ * Controls visibility and disable state of the "New Chat" button
6981
+ * in the Spotter past conversations sidebar.
6982
+ * @example
6983
+ * ```js
6984
+ * disabledActions: [Action.SpotterNewChat]
6985
+ * ```
6986
+ * @version SDK: 1.46.0 | ThoughtSpot Cloud: 26.3.0.cl
6987
+ */
6988
+ SpotterNewChat = "spotterNewChat",
6989
+ /**
6990
+ * Controls visibility of the past conversation banner alert
6991
+ * in the Spotter interface.
6992
+ * @example
6993
+ * ```js
6994
+ * hiddenActions: [Action.SpotterPastChatBanner]
6995
+ * ```
6996
+ * @version SDK: 1.46.0 | ThoughtSpot Cloud: 26.3.0.cl
6997
+ */
6998
+ SpotterPastChatBanner = "spotterPastChatBanner",
6999
+ /**
7000
+ * Controls visibility and disable state of the conversation edit menu
7001
+ * (three-dot menu) in the Spotter past conversations sidebar.
7002
+ * @example
7003
+ * ```js
7004
+ * disabledActions: [Action.SpotterChatMenu]
7005
+ * ```
7006
+ * @version SDK: 1.46.0 | ThoughtSpot Cloud: 26.3.0.cl
7007
+ */
7008
+ SpotterChatMenu = "spotterChatMenu",
7009
+ /**
7010
+ * Controls visibility and disable state of the rename action
7011
+ * in the Spotter conversation edit menu.
7012
+ * @example
7013
+ * ```js
7014
+ * disabledActions: [Action.SpotterChatRename]
7015
+ * ```
7016
+ * @version SDK: 1.46.0 | ThoughtSpot Cloud: 26.3.0.cl
7017
+ */
7018
+ SpotterChatRename = "spotterChatRename",
7019
+ /**
7020
+ * Controls visibility and disable state of the delete action
7021
+ * in the Spotter conversation edit menu.
7022
+ * @example
7023
+ * ```js
7024
+ * disabledActions: [Action.SpotterChatDelete]
7025
+ * ```
7026
+ * @version SDK: 1.46.0 | ThoughtSpot Cloud: 26.3.0.cl
7027
+ */
7028
+ SpotterChatDelete = "spotterChatDelete",
7029
+ /**
7030
+ * Controls visibility and disable state of the documentation/best practices
7031
+ * link in the Spotter sidebar footer.
7032
+ * @example
7033
+ * ```js
7034
+ * disabledActions: [Action.SpotterDocs]
7035
+ * ```
7036
+ * @version SDK: 1.46.0 | ThoughtSpot Cloud: 26.3.0.cl
7037
+ */
7038
+ SpotterDocs = "spotterDocs",
6862
7039
  /**
6863
7040
  * The **Include current period** checkbox for date filters.
6864
7041
  * Controls the visibility and availability of the option to include
@@ -7050,13 +7227,30 @@ export declare enum LogLevel {
7050
7227
  * Error types emitted by embedded components.
7051
7228
  *
7052
7229
  * These enum values categorize different types of errors that can occur during
7053
- * the lifecycle of an embedded ThoughtSpot component. Use these values to implement
7054
- * specific error handling logic based on the error category.
7055
- *
7056
- * @see {@link EmbedErrorDetailsEvent} - The error event object structure
7057
- * @see {@link EmbedEvent.Error} - The event that emits these errors
7230
+ * the lifecycle of an embedded ThoughtSpot component.
7231
+ * Use {@link EmbedErrorDetailsEvent} and {@link EmbedErrorCodes} to handle specific errors.
7058
7232
  * @version SDK: 1.44.2 | ThoughtSpot: 26.2.0.cl
7059
7233
  * @group Error Handling
7234
+ *
7235
+ * @example
7236
+ * Handle specific error types
7237
+ * ```js
7238
+ * embed.on(EmbedEvent.Error, (error) => {
7239
+ * switch (error.errorType) {
7240
+ * case ErrorDetailsTypes.API:
7241
+ * console.error('API error:', error.message);
7242
+ * break;
7243
+ * case ErrorDetailsTypes.VALIDATION_ERROR:
7244
+ * console.error('Validation error:', error.message);
7245
+ * break;
7246
+ * case ErrorDetailsTypes.NETWORK:
7247
+ * console.error('Network error:', error.message);
7248
+ * break;
7249
+ * default:
7250
+ * console.error('Unknown error:', error);
7251
+ * }
7252
+ * });
7253
+ * ```
7060
7254
  */
7061
7255
  export declare enum ErrorDetailsTypes {
7062
7256
  /** API call failure */
@@ -7067,34 +7261,42 @@ export declare enum ErrorDetailsTypes {
7067
7261
  NETWORK = "NETWORK"
7068
7262
  }
7069
7263
  /**
7070
- * Error codes for identifying specific issues in embedded ThoughtSpot components.
7071
- *
7072
- * Use these codes for precise error handling and debugging. Each code maps to a
7073
- * distinct failure scenario, enabling targeted recovery strategies.
7264
+ * Error codes for identifying specific issues in embedded ThoughtSpot components. Use {@link EmbedErrorDetailsEvent} and {@link ErrorDetailsTypes} codes for precise error handling and debugging.
7074
7265
  *
7075
7266
  * @version SDK: 1.44.2 | ThoughtSpot: 26.2.0.cl
7076
7267
  * @group Error Handling
7077
- *
7078
- * @see {@link EmbedErrorDetailsEvent} - The error event object that includes these codes
7079
- * @see {@link ErrorDetailsTypes} - General error type categories
7080
- *
7268
+
7081
7269
  * @example
7082
7270
  * Handle specific error codes in the error event handler
7083
- *
7271
+ * ```js
7084
7272
  * embed.on(EmbedEvent.Error, (error) => {
7085
- * if (error.code === EmbedErrorCodes.WORKSHEET_ID_NOT_FOUND) {
7086
- * console.error('Worksheet ID not found:', error.message);
7273
+ * switch (error.code) {
7274
+ * case EmbedErrorCodes.WORKSHEET_ID_NOT_FOUND:
7275
+ * console.error('Worksheet ID not found:', error.message);
7276
+ * break;
7277
+ * case EmbedErrorCodes.LIVEBOARD_ID_MISSING:
7278
+ * console.error('Liveboard ID is missing:', error.message);
7279
+ * break;
7280
+ * case EmbedErrorCodes.CONFLICTING_ACTIONS_CONFIG:
7281
+ * console.error('Conflicting actions configuration:', error.message);
7282
+ * break;
7283
+ * case EmbedErrorCodes.CONFLICTING_TABS_CONFIG:
7284
+ * console.error('Conflicting tabs configuration:', error.message);
7285
+ * break;
7286
+ * default:
7287
+ * console.error('Unknown error:', error);
7087
7288
  * }
7088
7289
  * });
7089
- * */
7290
+ * ```
7291
+ * */
7090
7292
  export declare enum EmbedErrorCodes {
7091
7293
  /** Worksheet ID not found or does not exist */
7092
7294
  WORKSHEET_ID_NOT_FOUND = "WORKSHEET_ID_NOT_FOUND",
7093
7295
  /** Required Liveboard ID is missing from configuration */
7094
7296
  LIVEBOARD_ID_MISSING = "LIVEBOARD_ID_MISSING",
7095
- /** Conflicting action configuration detected (e.g., both hiddenActions and visibleActions specified) */
7297
+ /** Conflicting action configuration detected */
7096
7298
  CONFLICTING_ACTIONS_CONFIG = "CONFLICTING_ACTIONS_CONFIG",
7097
- /** Conflicting tab configuration detected (e.g., both hiddenTabs and visibleTabs specified) */
7299
+ /** Conflicting tab configuration detected */
7098
7300
  CONFLICTING_TABS_CONFIG = "CONFLICTING_TABS_CONFIG",
7099
7301
  /** Error during component initialization */
7100
7302
  INIT_ERROR = "INIT_ERROR",
@@ -7111,7 +7313,9 @@ export declare enum EmbedErrorCodes {
7111
7313
  /** Error parsing api intercept body */
7112
7314
  PARSING_API_INTERCEPT_BODY_ERROR = "PARSING_API_INTERCEPT_BODY_ERROR",
7113
7315
  /** Failed to update embed parameters during pre-render */
7114
- UPDATE_PARAMS_FAILED = "UPDATE_PARAMS_FAILED"
7316
+ UPDATE_PARAMS_FAILED = "UPDATE_PARAMS_FAILED",
7317
+ /** Invalid URL provided in configuration */
7318
+ INVALID_URL = "INVALID_URL"
7115
7319
  }
7116
7320
  /**
7117
7321
  * Error event object emitted when an error occurs in an embedded component.
@@ -7124,7 +7328,7 @@ export declare enum EmbedErrorCodes {
7124
7328
  *
7125
7329
  * - **errorType**: One of the predefined {@link ErrorDetailsTypes} values
7126
7330
  * - **message**: Human-readable error description (string or array of strings for multiple errors)
7127
- * - **code**: Machine-readable error identifier for programmatic handling
7331
+ * - **code**: Machine-readable error identifier {@link EmbedErrorCodes} values
7128
7332
  * - **[key: string]**: Additional context-specific for backward compatibility
7129
7333
  *
7130
7334
  * ## Usage
@@ -7134,12 +7338,11 @@ export declare enum EmbedErrorCodes {
7134
7338
  *
7135
7339
  * @version SDK: 1.44.2 | ThoughtSpot: 26.2.0.cl
7136
7340
  * @group Error Handling
7137
- * @see {@link ErrorDetailsTypes} - Available error type values
7138
- * @see {@link EmbedEvent.Error} - The event that emits this object
7139
7341
  *
7140
7342
  * @example
7141
7343
  * Handle specific error types
7142
7344
  *
7345
+ * ```js
7143
7346
  * embed.on(EmbedEvent.Error, (error) => {
7144
7347
  * switch (error.code) {
7145
7348
  * case EmbedErrorCodes.WORKSHEET_ID_NOT_FOUND:
@@ -7149,30 +7352,18 @@ export declare enum EmbedErrorCodes {
7149
7352
  * console.error('Unknown error:', error);
7150
7353
  * }
7151
7354
  * });
7152
- * *
7355
+ * ```
7153
7356
  * @example
7154
7357
  * Handle multiple error messages
7155
7358
  *
7359
+ * ```js
7156
7360
  * embed.on(EmbedEvent.Error, (error) => {
7157
7361
  * const messages = Array.isArray(error.message)
7158
7362
  * ? error.message
7159
7363
  * : [error.message];
7160
- *
7161
7364
  * messages.forEach(msg => console.error(msg));
7162
7365
  * });
7163
- * *
7164
- * @example
7165
- * Access additional error context
7166
- *
7167
- * embed.on(EmbedEvent.Error, (error) => {
7168
- * console.error('Error Details:', {
7169
- * type: error.errorType,
7170
- * message: error.message,
7171
- * code: error.code,
7172
- * // Additional context fields vary by error type
7173
- * ...error
7174
- * });
7175
- * });
7366
+ * ```
7176
7367
  * */
7177
7368
  export interface EmbedErrorDetailsEvent {
7178
7369
  /** The type of error that occurred */
@@ -7941,128 +8132,492 @@ declare class V1Embed extends TsEmbed {
7941
8132
  test__executeCallbacks: (eventType: EmbedEvent, data: any, eventPort?: void | MessagePort) => void;
7942
8133
  }
7943
8134
  /**
7944
- * Pages within the ThoughtSpot app that can be embedded.
8135
+ * Configuration for search options
7945
8136
  */
7946
- export declare enum Page {
8137
+ export interface SearchOptions {
7947
8138
  /**
7948
- * Home page
8139
+ * The query string to pass to start the Conversation.
7949
8140
  */
7950
- Home = "home",
8141
+ searchQuery: string;
8142
+ }
8143
+ /**
8144
+ * Configuration for the Spotter sidebar.
8145
+ * Can be used in SpotterEmbed and AppEmbed.
8146
+ * @group Embed components
8147
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
8148
+ */
8149
+ export interface SpotterSidebarViewConfig {
7951
8150
  /**
7952
- * Search page
8151
+ * Controls the visibility of the past conversations sidebar.
8152
+ * @default false
8153
+ * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
7953
8154
  */
7954
- Search = "search",
8155
+ enablePastConversationsSidebar?: boolean;
7955
8156
  /**
7956
- * Saved answers listing page
8157
+ * Custom title text for the sidebar header.
8158
+ * Defaults to translated "Spotter" text.
8159
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
7957
8160
  */
7958
- Answers = "answers",
8161
+ spotterSidebarTitle?: string;
7959
8162
  /**
7960
- * Liveboards listing page
8163
+ * Boolean to set the default expanded state of the sidebar.
8164
+ * @default false
8165
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
7961
8166
  */
7962
- Liveboards = "liveboards",
8167
+ spotterSidebarDefaultExpanded?: boolean;
7963
8168
  /**
7964
- * @hidden
8169
+ * Custom label text for the rename action in the conversation edit menu.
8170
+ * Defaults to translated "Rename" text.
8171
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
7965
8172
  */
7966
- Pinboards = "pinboards",
8173
+ spotterChatRenameLabel?: string;
7967
8174
  /**
7968
- * Data management page
8175
+ * Custom label text for the delete action in the conversation edit menu.
8176
+ * Defaults to translated "DELETE" text.
8177
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
7969
8178
  */
7970
- Data = "data",
8179
+ spotterChatDeleteLabel?: string;
7971
8180
  /**
7972
- * SpotIQ listing page
8181
+ * Custom title text for the delete conversation confirmation modal.
8182
+ * Defaults to translated "Delete chat" text.
8183
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
7973
8184
  */
7974
- SpotIQ = "insights",
8185
+ spotterDeleteConversationModalTitle?: string;
7975
8186
  /**
7976
- * Monitor Alerts Page
8187
+ * Custom message text for the past conversation banner alert.
8188
+ * Defaults to translated alert message.
8189
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
7977
8190
  */
7978
- Monitor = "monitor"
7979
- }
7980
- /**
7981
- * Define the initial state os column custom group accordions
7982
- * in data panel v2.
7983
- */
7984
- export declare enum DataPanelCustomColumnGroupsAccordionState {
8191
+ spotterPastConversationAlertMessage?: string;
7985
8192
  /**
7986
- * Expand all the accordion initially in data panel v2.
8193
+ * Custom URL for the documentation/best practices link.
8194
+ * Defaults to ThoughtSpot docs URL based on release version.
8195
+ * Note: URL must include the protocol (e.g., `https://www.example.com`).
8196
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
7987
8197
  */
7988
- EXPAND_ALL = "EXPAND_ALL",
8198
+ spotterDocumentationUrl?: string;
7989
8199
  /**
7990
- * Collapse all the accordions initially in data panel v2.
8200
+ * Custom label text for the best practices button in the footer.
8201
+ * Defaults to translated "Best Practices" text.
8202
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
7991
8203
  */
7992
- COLLAPSE_ALL = "COLLAPSE_ALL",
8204
+ spotterBestPracticesLabel?: string;
7993
8205
  /**
7994
- * Expand the first accordion and collapse the rest.
8206
+ * Number of conversations to fetch per batch when loading conversation history.
8207
+ * @default 30
8208
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
7995
8209
  */
7996
- EXPAND_FIRST = "EXPAND_FIRST"
7997
- }
7998
- export declare enum HomePageSearchBarMode {
7999
- OBJECT_SEARCH = "objectSearch",
8000
- AI_ANSWER = "aiAnswer",
8001
- NONE = "none"
8002
- }
8003
- /**
8004
- * Define the version of the primary navbar
8005
- * @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
8006
- */
8007
- export declare enum PrimaryNavbarVersion {
8210
+ spotterConversationsBatchSize?: number;
8008
8211
  /**
8009
- * Sliding (v3) introduces a new left-side navigation hub featuring a tab switcher,
8010
- * along with updates to the top navigation bar.
8011
- * It serves as the foundational version of the PrimaryNavBar.
8212
+ * Custom title text for the "New Chat" button in the sidebar.
8213
+ * Defaults to translated "New Chat" text.
8214
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
8012
8215
  */
8013
- Sliding = "v3"
8216
+ spotterNewChatButtonTitle?: string;
8014
8217
  }
8015
8218
  /**
8016
- * Define the version of the home page
8017
- * @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
8219
+ * Configuration for customizing Spotter chat UI branding.
8220
+ * @group Embed components
8221
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.4.0.cl
8018
8222
  */
8019
- export declare enum HomePage {
8223
+ export interface SpotterChatViewConfig {
8020
8224
  /**
8021
- * Modular (v2) introduces the updated Modular Home Experience.
8022
- * It serves as the foundational version of the home page.
8225
+ * Hides the ThoughtSpot logo/icon in tool response
8226
+ * cards. The branding label prefix is controlled
8227
+ * separately via `toolResponseCardBrandingLabel`.
8228
+ * External MCP tool branding is not affected.
8229
+ * @default false
8023
8230
  */
8024
- Modular = "v2",
8231
+ hideToolResponseCardBranding?: boolean;
8025
8232
  /**
8026
- * ModularWithStylingChanges (v3) introduces Modular Home Experience
8027
- * with styling changes.
8233
+ * Custom label to replace the "ThoughtSpot" prefix
8234
+ * in tool response cards. Set to an empty string
8235
+ * `''` to hide the prefix entirely. Works
8236
+ * independently of `hideToolResponseCardBranding`.
8237
+ * External MCP tool branding is not affected.
8028
8238
  */
8029
- ModularWithStylingChanges = "v3"
8239
+ toolResponseCardBrandingLabel?: string;
8030
8240
  }
8031
8241
  /**
8032
- * Define the version of the list page
8033
- * @version SDK: 1.40.0 | ThoughtSpot: 10.12.0.cl
8242
+ * The configuration for the embedded spotterEmbed options.
8243
+ * @group Embed components
8034
8244
  */
8035
- export declare enum ListPage {
8036
- /**
8037
- * List (v2) is the traditional List Experience.
8038
- * It serves as the foundational version of the list page.
8039
- */
8040
- List = "v2",
8245
+ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, "primaryAction"> {
8041
8246
  /**
8042
- * ListWithUXChanges (v3) introduces the new updated list page with UX changes.
8247
+ * The ID of the data source object. For example, Model, View, or Table. Spotter uses
8248
+ * this object to query data and generate Answers.
8043
8249
  */
8044
- ListWithUXChanges = "v3"
8045
- }
8046
- /**
8047
- * Define the discovery experience
8048
- * @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
8049
- */
8050
- export interface DiscoveryExperience {
8250
+ worksheetId: string;
8051
8251
  /**
8052
- * primaryNavbarVersion determines the version of the navigation version.
8252
+ * Ability to pass a starting search query to the conversation.
8053
8253
  */
8054
- primaryNavbarVersion?: PrimaryNavbarVersion;
8254
+ searchOptions?: SearchOptions;
8055
8255
  /**
8056
- * homePage determines the version of the home page.
8256
+ * disableSourceSelection : Disables data source selection
8257
+ * but still display the selected data source.
8258
+ *
8259
+ * Supported embed types: `SpotterEmbed`
8260
+ * @example
8261
+ * ```js
8262
+ * const embed = new SpotterEmbed('#tsEmbed', {
8263
+ * ... //other embed view config
8264
+ * disableSourceSelection : true,
8265
+ * })
8266
+ * ```
8267
+ * @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
8057
8268
  */
8058
- homePage?: HomePage;
8269
+ disableSourceSelection?: boolean;
8059
8270
  /**
8060
- * listPageVersion determines the version of the list page.
8061
- */
8062
- listPageVersion?: ListPage;
8063
- }
8064
- /**
8065
- * The view configuration for full app embedding.
8271
+ * hideSourceSelection : Hide data source selection
8272
+ *
8273
+ * Supported embed types: `SpotterEmbed`
8274
+ * @example
8275
+ * ```js
8276
+ * const embed = new SpotterEmbed('#tsEmbed', {
8277
+ * ... //other embed view config
8278
+ * hideSourceSelection : true,
8279
+ * })
8280
+ * ```
8281
+ * @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
8282
+ */
8283
+ hideSourceSelection?: boolean;
8284
+ /**
8285
+ * Flag to control Data panel experience
8286
+ *
8287
+ * Supported embed types: `SageEmbed`, `AppEmbed`, `SearchBarEmbed`, `LiveboardEmbed`, `SearchEmbed`
8288
+ * @default true
8289
+ * @deprecated from SDK 1.46.0 | ThoughtSpot Cloud: 26.3.0.cl
8290
+ * @example
8291
+ * ```js
8292
+ * // Replace <EmbedComponent> with embed component name. For example, SageEmbed, AppEmbed, or SearchBarEmbed
8293
+ * const embed = new <EmbedComponent>('#tsEmbed', {
8294
+ * ... // other embed view config
8295
+ * dataPanelV2: true,
8296
+ * })
8297
+ * ```
8298
+ */
8299
+ dataPanelV2?: boolean;
8300
+ /**
8301
+ * showSpotterLimitations : show limitation text
8302
+ * of the spotter underneath the chat input.
8303
+ * default is false.
8304
+ *
8305
+ * Supported embed types: `SpotterEmbed`
8306
+ * @example
8307
+ * ```js
8308
+ * const embed = new SpotterEmbed('#tsEmbed', {
8309
+ * ... //other embed view config
8310
+ * showSpotterLimitations : true,
8311
+ * })
8312
+ * ```
8313
+ * @version SDK: 1.36.0 | ThoughtSpot: 10.5.0.cl
8314
+ */
8315
+ showSpotterLimitations?: boolean;
8316
+ /**
8317
+ * hideSampleQuestions : Hide sample questions on
8318
+ * the initial screen of the conversation.
8319
+ *
8320
+ * Supported embed types: `SpotterEmbed`
8321
+ * @example
8322
+ * ```js
8323
+ * const embed = new SpotterEmbed('#tsEmbed', {
8324
+ * ... //other embed view config
8325
+ * hideSampleQuestions : true,
8326
+ * })
8327
+ * ```
8328
+ * @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
8329
+ */
8330
+ hideSampleQuestions?: boolean;
8331
+ /**
8332
+ * The list of runtime filters to apply to a search Answer,
8333
+ * visualization, or Liveboard.
8334
+ *
8335
+ * Supported embed types: `SpotterEmbed`
8336
+ * @example
8337
+ * ```js
8338
+ * const embed = new SpotterEmbed('#tsEmbed', {
8339
+ * // other embed view config
8340
+ * runtimeFilters: [
8341
+ * {
8342
+ * columnName: 'color',
8343
+ * operator: RuntimeFilterOp.EQ,
8344
+ * values: ['red'],
8345
+ * },
8346
+ * ],
8347
+ * })
8348
+ * ```
8349
+ * @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
8350
+ */
8351
+ runtimeFilters?: RuntimeFilter[];
8352
+ /**
8353
+ * Flag to control whether runtime filters should be included in the URL.
8354
+ * If true, filters will be passed via app initialization payload
8355
+ * (default behavior from SDK 1.45.0).
8356
+ * If false/undefined, filters are appended to the iframe URL instead.
8357
+ * (default behavior before SDK 1.45.0).
8358
+ *
8359
+ * Supported embed types: `SpotterEmbed`
8360
+ * @default true
8361
+ * @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
8362
+ */
8363
+ excludeRuntimeFiltersfromURL?: boolean;
8364
+ /**
8365
+ * The list of runtime parameters to apply to the conversation.
8366
+ *
8367
+ * Supported embed types: `SpotterEmbed`
8368
+ * @example
8369
+ * ```js
8370
+ * const embed = new SpotterEmbed('#tsEmbed', {
8371
+ * // other embed view config
8372
+ * runtimeParameters: [
8373
+ * {
8374
+ * name: 'Integer Param',
8375
+ * value: 10,
8376
+ * },
8377
+ * ],
8378
+ * })
8379
+ * ```
8380
+ * @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
8381
+ */
8382
+ runtimeParameters?: RuntimeParameter[];
8383
+ /**
8384
+ * Flag to control whether runtime parameters should be included in the URL.
8385
+ * If true, parameters will be passed via app
8386
+ * initialization payload (default behavior from SDK 1.45.0).
8387
+ * If false/undefined, parameters are appended to
8388
+ * the iframe URL instead (default behavior before SDK 1.45.0).
8389
+ *
8390
+ * Supported embed types: `SpotterEmbed`
8391
+ * @default true
8392
+ * @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
8393
+ */
8394
+ excludeRuntimeParametersfromURL?: boolean;
8395
+ /**
8396
+ * updatedSpotterChatPrompt : Controls the updated spotter chat prompt.
8397
+ *
8398
+ * Supported embed types: `SpotterEmbed`
8399
+ * @default false
8400
+ * @example
8401
+ * ```js
8402
+ * const embed = new SpotterEmbed('#tsEmbed', {
8403
+ * ... //other embed view config
8404
+ * updatedSpotterChatPrompt : true,
8405
+ * })
8406
+ * ```
8407
+ * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
8408
+ */
8409
+ updatedSpotterChatPrompt?: boolean;
8410
+ /**
8411
+ * Configuration for the Spotter sidebar UI customization.
8412
+ *
8413
+ * Supported embed types: `SpotterEmbed`, `AppEmbed`
8414
+ * @example
8415
+ * ```js
8416
+ * const embed = new SpotterEmbed('#tsEmbed', {
8417
+ * ... //other embed view config
8418
+ * spotterSidebarConfig: {
8419
+ * enablePastConversationsSidebar: true,
8420
+ * spotterSidebarTitle: 'My Conversations',
8421
+ * spotterSidebarDefaultExpanded: true,
8422
+ * },
8423
+ * })
8424
+ * ```
8425
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
8426
+ */
8427
+ spotterSidebarConfig?: SpotterSidebarViewConfig;
8428
+ /**
8429
+ * Configuration for customizing Spotter chat UI
8430
+ * branding in tool response cards.
8431
+ *
8432
+ * Supported embed types: `SpotterEmbed`
8433
+ * @example
8434
+ * ```js
8435
+ * const embed = new SpotterEmbed('#tsEmbed', {
8436
+ * ... //other embed view config
8437
+ * spotterChatConfig: {
8438
+ * hideToolResponseCardBranding: true,
8439
+ * toolResponseCardBrandingLabel: 'MyBrand',
8440
+ * },
8441
+ * })
8442
+ * ```
8443
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.4.0.cl
8444
+ */
8445
+ spotterChatConfig?: SpotterChatViewConfig;
8446
+ }
8447
+ /**
8448
+ * The configuration for the embedded spotterEmbed options.
8449
+ * @deprecated from SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
8450
+ * Use {@link SpotterEmbedViewConfig} instead
8451
+ * @group Embed components
8452
+ */
8453
+ export interface ConversationViewConfig extends SpotterEmbedViewConfig {
8454
+ }
8455
+ /**
8456
+ * Embed ThoughtSpot AI Conversation.
8457
+ * @group Embed components
8458
+ * @example
8459
+ * ```js
8460
+ * const conversation = new SpotterEmbed('#tsEmbed', {
8461
+ * worksheetId: 'worksheetId',
8462
+ * searchOptions: {
8463
+ * searchQuery: 'searchQuery',
8464
+ * },
8465
+ * });
8466
+ * conversation.render();
8467
+ * ```
8468
+ * @version SDK: 1.37.0 | ThoughtSpot: 10.9.0.cl
8469
+ */
8470
+ export declare class SpotterEmbed extends TsEmbed {
8471
+ protected viewConfig: SpotterEmbedViewConfig;
8472
+ constructor(container: HTMLElement, viewConfig: SpotterEmbedViewConfig);
8473
+ protected getEmbedParamsObject(): Record<any, any>;
8474
+ getIframeSrc(): string;
8475
+ render(): Promise<SpotterEmbed>;
8476
+ }
8477
+ /**
8478
+ * Embed ThoughtSpot AI Conversation.
8479
+ * @deprecated from SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
8480
+ * Use {@link SpotterEmbed} instead
8481
+ * @group Embed components
8482
+ * @example
8483
+ * ```js
8484
+ * const conversation = new SpotterEmbed('#tsEmbed', {
8485
+ * worksheetId: 'worksheetId',
8486
+ * searchOptions: {
8487
+ * searchQuery: 'searchQuery',
8488
+ * },
8489
+ * });
8490
+ * conversation.render();
8491
+ * ```
8492
+ * @version SDK: 1.37.0 | ThoughtSpot: 10.9.0.cl
8493
+ */
8494
+ export declare class ConversationEmbed extends SpotterEmbed {
8495
+ protected viewConfig: ConversationViewConfig;
8496
+ constructor(container: HTMLElement, viewConfig: ConversationViewConfig);
8497
+ }
8498
+ /**
8499
+ * Pages within the ThoughtSpot app that can be embedded.
8500
+ */
8501
+ export declare enum Page {
8502
+ /**
8503
+ * Home page
8504
+ */
8505
+ Home = "home",
8506
+ /**
8507
+ * Search page
8508
+ */
8509
+ Search = "search",
8510
+ /**
8511
+ * Saved answers listing page
8512
+ */
8513
+ Answers = "answers",
8514
+ /**
8515
+ * Liveboards listing page
8516
+ */
8517
+ Liveboards = "liveboards",
8518
+ /**
8519
+ * @hidden
8520
+ */
8521
+ Pinboards = "pinboards",
8522
+ /**
8523
+ * Data management page
8524
+ */
8525
+ Data = "data",
8526
+ /**
8527
+ * SpotIQ listing page
8528
+ */
8529
+ SpotIQ = "insights",
8530
+ /**
8531
+ * Monitor Alerts Page
8532
+ */
8533
+ Monitor = "monitor"
8534
+ }
8535
+ /**
8536
+ * Define the initial state os column custom group accordions
8537
+ * in data panel v2.
8538
+ */
8539
+ export declare enum DataPanelCustomColumnGroupsAccordionState {
8540
+ /**
8541
+ * Expand all the accordion initially in data panel v2.
8542
+ */
8543
+ EXPAND_ALL = "EXPAND_ALL",
8544
+ /**
8545
+ * Collapse all the accordions initially in data panel v2.
8546
+ */
8547
+ COLLAPSE_ALL = "COLLAPSE_ALL",
8548
+ /**
8549
+ * Expand the first accordion and collapse the rest.
8550
+ */
8551
+ EXPAND_FIRST = "EXPAND_FIRST"
8552
+ }
8553
+ export declare enum HomePageSearchBarMode {
8554
+ OBJECT_SEARCH = "objectSearch",
8555
+ AI_ANSWER = "aiAnswer",
8556
+ NONE = "none"
8557
+ }
8558
+ /**
8559
+ * Define the version of the primary navbar
8560
+ * @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
8561
+ */
8562
+ export declare enum PrimaryNavbarVersion {
8563
+ /**
8564
+ * Sliding (v3) introduces a new left-side navigation hub featuring a tab switcher,
8565
+ * along with updates to the top navigation bar.
8566
+ * It serves as the foundational version of the PrimaryNavBar.
8567
+ */
8568
+ Sliding = "v3"
8569
+ }
8570
+ /**
8571
+ * Define the version of the home page
8572
+ * @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
8573
+ */
8574
+ export declare enum HomePage {
8575
+ /**
8576
+ * Modular (v2) introduces the updated Modular Home Experience.
8577
+ * It serves as the foundational version of the home page.
8578
+ */
8579
+ Modular = "v2",
8580
+ /**
8581
+ * ModularWithStylingChanges (v3) introduces Modular Home Experience
8582
+ * with styling changes.
8583
+ */
8584
+ ModularWithStylingChanges = "v3"
8585
+ }
8586
+ /**
8587
+ * Define the version of the list page
8588
+ * @version SDK: 1.40.0 | ThoughtSpot: 10.12.0.cl
8589
+ */
8590
+ export declare enum ListPage {
8591
+ /**
8592
+ * List (v2) is the traditional List Experience.
8593
+ * It serves as the foundational version of the list page.
8594
+ */
8595
+ List = "v2",
8596
+ /**
8597
+ * ListWithUXChanges (v3) introduces the new updated list page with UX changes.
8598
+ */
8599
+ ListWithUXChanges = "v3"
8600
+ }
8601
+ /**
8602
+ * Define the discovery experience
8603
+ * @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
8604
+ */
8605
+ export interface DiscoveryExperience {
8606
+ /**
8607
+ * primaryNavbarVersion determines the version of the navigation version.
8608
+ */
8609
+ primaryNavbarVersion?: PrimaryNavbarVersion;
8610
+ /**
8611
+ * homePage determines the version of the home page.
8612
+ */
8613
+ homePage?: HomePage;
8614
+ /**
8615
+ * listPageVersion determines the version of the list page.
8616
+ */
8617
+ listPageVersion?: ListPage;
8618
+ }
8619
+ /**
8620
+ * The view configuration for full app embedding.
8066
8621
  * @group Embed components
8067
8622
  */
8068
8623
  export interface AppViewConfig extends AllEmbedViewConfig {
@@ -8577,6 +9132,42 @@ export interface AppViewConfig extends AllEmbedViewConfig {
8577
9132
  * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
8578
9133
  */
8579
9134
  updatedSpotterChatPrompt?: boolean;
9135
+ /**
9136
+ * Configuration for the Spotter sidebar UI customization.
9137
+ * Only applicable when navigating to Spotter within the app.
9138
+ *
9139
+ * Supported embed types: `AppEmbed`
9140
+ * @example
9141
+ * ```js
9142
+ * const embed = new AppEmbed('#tsEmbed', {
9143
+ * ... //other embed view config
9144
+ * spotterSidebarConfig: {
9145
+ * enablePastConversationsSidebar: true,
9146
+ * spotterSidebarTitle: 'My Conversations',
9147
+ * },
9148
+ * })
9149
+ * ```
9150
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
9151
+ */
9152
+ spotterSidebarConfig?: SpotterSidebarViewConfig;
9153
+ /**
9154
+ * Configuration for customizing Spotter chat UI
9155
+ * branding in tool response cards.
9156
+ *
9157
+ * Supported embed types: `AppEmbed`
9158
+ * @example
9159
+ * ```js
9160
+ * const embed = new AppEmbed('#tsEmbed', {
9161
+ * ... //other embed view config
9162
+ * spotterChatConfig: {
9163
+ * hideToolResponseCardBranding: true,
9164
+ * toolResponseCardBrandingLabel: 'MyBrand',
9165
+ * },
9166
+ * })
9167
+ * ```
9168
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.4.0.cl
9169
+ */
9170
+ spotterChatConfig?: SpotterChatViewConfig;
8580
9171
  /**
8581
9172
  * This is the minimum height (in pixels) for a full-height App.
8582
9173
  * Setting this height helps resolve issues with empty Apps and
@@ -9069,6 +9660,23 @@ export interface LiveboardViewConfig extends BaseViewConfig, SearchLiveboardComm
9069
9660
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
9070
9661
  */
9071
9662
  activeTabId?: string;
9663
+ /**
9664
+ * The GUID of a saved personalized view to load.
9665
+ * A personalized view is a saved configuration of a Liveboard
9666
+ * that includes specific filter selections.
9667
+ *
9668
+ * Supported embed types: `LiveboardEmbed`
9669
+ * @example
9670
+ * ```js
9671
+ * const embed = new LiveboardEmbed('#tsEmbed', {
9672
+ * liveboardId: 'liveboard-guid',
9673
+ * personalizedViewId: 'view-guid',
9674
+ * activeTabId: 'tab-guid',
9675
+ * })
9676
+ * ```
9677
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.4.0.cl
9678
+ */
9679
+ personalizedViewId?: string;
9072
9680
  /**
9073
9681
  * Show or hide the tab panel of the embedded Liveboard.
9074
9682
  *
@@ -9308,20 +9916,38 @@ export interface LiveboardViewConfig extends BaseViewConfig, SearchLiveboardComm
9308
9916
  */
9309
9917
  showSpotterLimitations?: boolean;
9310
9918
  /**
9311
- * updatedSpotterChatPrompt : Controls the updated spotter chat prompt.
9919
+ * updatedSpotterChatPrompt : Controls the updated spotter chat prompt.
9920
+ *
9921
+ * Supported embed types: `LiveboardEmbed`
9922
+ * @default false
9923
+ * @example
9924
+ * ```js
9925
+ * const embed = new LiveboardEmbed('#tsEmbed', {
9926
+ * ... //other embed view config
9927
+ * updatedSpotterChatPrompt : true,
9928
+ * })
9929
+ * ```
9930
+ * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
9931
+ */
9932
+ updatedSpotterChatPrompt?: boolean;
9933
+ /**
9934
+ * Configuration for customizing Spotter chat UI
9935
+ * branding in tool response cards.
9312
9936
  *
9313
9937
  * Supported embed types: `LiveboardEmbed`
9314
- * @default false
9315
9938
  * @example
9316
9939
  * ```js
9317
9940
  * const embed = new LiveboardEmbed('#tsEmbed', {
9318
9941
  * ... //other embed view config
9319
- * updatedSpotterChatPrompt : true,
9942
+ * spotterChatConfig: {
9943
+ * hideToolResponseCardBranding: true,
9944
+ * toolResponseCardBrandingLabel: 'MyBrand',
9945
+ * },
9320
9946
  * })
9321
9947
  * ```
9322
- * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
9948
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.4.0.cl
9323
9949
  */
9324
- updatedSpotterChatPrompt?: boolean;
9950
+ spotterChatConfig?: SpotterChatViewConfig;
9325
9951
  }
9326
9952
  /**
9327
9953
  * Embed a ThoughtSpot Liveboard or visualization. When rendered it already
@@ -9381,6 +10007,7 @@ export declare class LiveboardEmbed extends V1Embed {
9381
10007
  liveboardId: string;
9382
10008
  vizId: string;
9383
10009
  activeTabId: string;
10010
+ personalizedViewId: string;
9384
10011
  };
9385
10012
  protected beforePrerenderVisible(): void;
9386
10013
  protected handleRenderForPrerender(): Promise<TsEmbed>;
@@ -9405,7 +10032,7 @@ export declare class LiveboardEmbed extends V1Embed {
9405
10032
  * visualization ID and the runtime filters.
9406
10033
  */
9407
10034
  render(): Promise<LiveboardEmbed>;
9408
- navigateToLiveboard(liveboardId: string, vizId?: string, activeTabId?: string): void;
10035
+ navigateToLiveboard(liveboardId: string, vizId?: string, activeTabId?: string, personalizedViewId?: string): void;
9409
10036
  /**
9410
10037
  * Returns the full url of the Liveboard/visualization which can be used to open
9411
10038
  * this Liveboard inside the full ThoughtSpot application in a new tab.
@@ -9418,11 +10045,7 @@ export declare class LiveboardEmbed extends V1Embed {
9418
10045
  */
9419
10046
  export declare class PinboardEmbed extends LiveboardEmbed {
9420
10047
  }
9421
- /**
9422
- * Configuration for search options.
9423
- *
9424
- */
9425
- export interface SearchOptions {
10048
+ interface SearchOptions$1 {
9426
10049
  /**
9427
10050
  * Search tokens to pass in the query.
9428
10051
  */
@@ -9599,7 +10222,7 @@ export interface SearchViewConfig extends SearchLiveboardCommonViewConfig, Omit<
9599
10222
  * }
9600
10223
  * ```
9601
10224
  */
9602
- searchOptions?: SearchOptions;
10225
+ searchOptions?: SearchOptions$1;
9603
10226
  /**
9604
10227
  * Exclude the search token string from the URL.
9605
10228
  * If set to true, the search token string is not appended to the URL.
@@ -9700,7 +10323,7 @@ export interface SearchViewConfig extends SearchLiveboardCommonViewConfig, Omit<
9700
10323
  focusSearchBarOnRender?: boolean;
9701
10324
  }
9702
10325
  export interface SearchAppInitData extends DefaultAppInitData {
9703
- searchOptions?: SearchOptions;
10326
+ searchOptions?: SearchOptions$1;
9704
10327
  }
9705
10328
  /**
9706
10329
  * Embed ThoughtSpot search
@@ -9809,7 +10432,7 @@ export interface SearchBarViewConfig extends BaseViewConfig, SearchLiveboardComm
9809
10432
  * })
9810
10433
  * ```
9811
10434
  */
9812
- searchOptions?: SearchOptions;
10435
+ searchOptions?: SearchOptions$1;
9813
10436
  /**
9814
10437
  * Exclude the search token string from the URL.
9815
10438
  * If set to true, the search token string is not appended to the URL.
@@ -9830,7 +10453,7 @@ export interface SearchBarViewConfig extends BaseViewConfig, SearchLiveboardComm
9830
10453
  excludeSearchTokenStringFromURL?: boolean;
9831
10454
  }
9832
10455
  interface SearchAppInitData$1 extends DefaultAppInitData {
9833
- searchOptions: SearchOptions;
10456
+ searchOptions: SearchOptions$1;
9834
10457
  }
9835
10458
  /**
9836
10459
  * Embed ThoughtSpot search bar
@@ -9856,7 +10479,7 @@ export declare class SearchBarEmbed extends TsEmbed {
9856
10479
  */
9857
10480
  render(): Promise<SearchBarEmbed>;
9858
10481
  protected getSearchInitData(): {
9859
- searchOptions: SearchOptions;
10482
+ searchOptions: SearchOptions$1;
9860
10483
  };
9861
10484
  protected getAppInitData(): Promise<SearchAppInitData$1>;
9862
10485
  }
@@ -9968,249 +10591,6 @@ export declare class SpotterAgentEmbed {
9968
10591
  export declare class BodylessConversation extends SpotterAgentEmbed {
9969
10592
  constructor(viewConfig: BodylessConversationViewConfig);
9970
10593
  }
9971
- interface SearchOptions$1 {
9972
- /**
9973
- * The query string to pass to start the Conversation.
9974
- */
9975
- searchQuery: string;
9976
- }
9977
- /**
9978
- * The configuration for the embedded spotterEmbed options.
9979
- * @group Embed components
9980
- */
9981
- export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, "primaryAction"> {
9982
- /**
9983
- * The ID of the data source object. For example, Model, View, or Table. Spotter uses
9984
- * this object to query data and generate Answers.
9985
- */
9986
- worksheetId: string;
9987
- /**
9988
- * Ability to pass a starting search query to the conversation.
9989
- */
9990
- searchOptions?: SearchOptions$1;
9991
- /**
9992
- * disableSourceSelection : Disables data source selection
9993
- * but still display the selected data source.
9994
- *
9995
- * Supported embed types: `SpotterEmbed`
9996
- * @example
9997
- * ```js
9998
- * const embed = new SpotterEmbed('#tsEmbed', {
9999
- * ... //other embed view config
10000
- * disableSourceSelection : true,
10001
- * })
10002
- * ```
10003
- * @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
10004
- */
10005
- disableSourceSelection?: boolean;
10006
- /**
10007
- * hideSourceSelection : Hide data source selection
10008
- *
10009
- * Supported embed types: `SpotterEmbed`
10010
- * @example
10011
- * ```js
10012
- * const embed = new SpotterEmbed('#tsEmbed', {
10013
- * ... //other embed view config
10014
- * hideSourceSelection : true,
10015
- * })
10016
- * ```
10017
- * @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
10018
- */
10019
- hideSourceSelection?: boolean;
10020
- /**
10021
- * Flag to control Data panel experience
10022
- *
10023
- * Supported embed types: `SageEmbed`, `AppEmbed`, `SearchBarEmbed`, `LiveboardEmbed`, `SearchEmbed`
10024
- * @default true
10025
- * @version SDK: 1.41.1 | ThoughtSpot Cloud: 10.14.0.cl
10026
- * @example
10027
- * ```js
10028
- * // Replace <EmbedComponent> with embed component name. For example, SageEmbed, AppEmbed, or SearchBarEmbed
10029
- * const embed = new <EmbedComponent>('#tsEmbed', {
10030
- * ... // other embed view config
10031
- * dataPanelV2: true,
10032
- * })
10033
- * ```
10034
- */
10035
- dataPanelV2?: boolean;
10036
- /**
10037
- * showSpotterLimitations : show limitation text
10038
- * of the spotter underneath the chat input.
10039
- * default is false.
10040
- *
10041
- * Supported embed types: `SpotterEmbed`
10042
- * @example
10043
- * ```js
10044
- * const embed = new SpotterEmbed('#tsEmbed', {
10045
- * ... //other embed view config
10046
- * showSpotterLimitations : true,
10047
- * })
10048
- * ```
10049
- * @version SDK: 1.36.0 | ThoughtSpot: 10.5.0.cl
10050
- */
10051
- showSpotterLimitations?: boolean;
10052
- /**
10053
- * hideSampleQuestions : Hide sample questions on
10054
- * the initial screen of the conversation.
10055
- *
10056
- * Supported embed types: `SpotterEmbed`
10057
- * @example
10058
- * ```js
10059
- * const embed = new SpotterEmbed('#tsEmbed', {
10060
- * ... //other embed view config
10061
- * hideSampleQuestions : true,
10062
- * })
10063
- * ```
10064
- * @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
10065
- */
10066
- hideSampleQuestions?: boolean;
10067
- /**
10068
- * The list of runtime filters to apply to a search Answer,
10069
- * visualization, or Liveboard.
10070
- *
10071
- * Supported embed types: `SpotterEmbed`
10072
- * @example
10073
- * ```js
10074
- * const embed = new SpotterEmbed('#tsEmbed', {
10075
- * // other embed view config
10076
- * runtimeFilters: [
10077
- * {
10078
- * columnName: 'color',
10079
- * operator: RuntimeFilterOp.EQ,
10080
- * values: ['red'],
10081
- * },
10082
- * ],
10083
- * })
10084
- * ```
10085
- * @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
10086
- */
10087
- runtimeFilters?: RuntimeFilter[];
10088
- /**
10089
- * Flag to control whether runtime filters should be included in the URL.
10090
- * If true, filters will be passed via app initialization payload
10091
- * (default behavior from SDK 1.45.0).
10092
- * If false/undefined, filters are appended to the iframe URL instead.
10093
- * (default behavior before SDK 1.45.0).
10094
- *
10095
- * Supported embed types: `SpotterEmbed`
10096
- * @default true
10097
- * @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
10098
- */
10099
- excludeRuntimeFiltersfromURL?: boolean;
10100
- /**
10101
- * The list of runtime parameters to apply to the conversation.
10102
- *
10103
- * Supported embed types: `SpotterEmbed`
10104
- * @example
10105
- * ```js
10106
- * const embed = new SpotterEmbed('#tsEmbed', {
10107
- * // other embed view config
10108
- * runtimeParameters: [
10109
- * {
10110
- * name: 'Integer Param',
10111
- * value: 10,
10112
- * },
10113
- * ],
10114
- * })
10115
- * ```
10116
- * @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
10117
- */
10118
- runtimeParameters?: RuntimeParameter[];
10119
- /**
10120
- * Flag to control whether runtime parameters should be included in the URL.
10121
- * If true, parameters will be passed via app
10122
- * initialization payload (default behavior from SDK 1.45.0).
10123
- * If false/undefined, parameters are appended to
10124
- * the iframe URL instead (default behavior before SDK 1.45.0).
10125
- *
10126
- * Supported embed types: `SpotterEmbed`
10127
- * @default true
10128
- * @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
10129
- */
10130
- excludeRuntimeParametersfromURL?: boolean;
10131
- /**
10132
- * enablePastConversationsSidebar : Controls the visibility of the past conversations
10133
- * sidebar.
10134
- *
10135
- * Supported embed types: `SpotterEmbed`
10136
- * @default false
10137
- * @example
10138
- * ```js
10139
- * const embed = new SpotterEmbed('#tsEmbed', {
10140
- * ... //other embed view config
10141
- * enablePastConversationsSidebar : true,
10142
- * })
10143
- * ```
10144
- * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
10145
- */
10146
- enablePastConversationsSidebar?: boolean;
10147
- /**
10148
- * updatedSpotterChatPrompt : Controls the updated spotter chat prompt.
10149
- *
10150
- * Supported embed types: `SpotterEmbed`
10151
- * @default false
10152
- * @example
10153
- * ```js
10154
- * const embed = new SpotterEmbed('#tsEmbed', {
10155
- * ... //other embed view config
10156
- * updatedSpotterChatPrompt : true,
10157
- * })
10158
- * ```
10159
- * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
10160
- */
10161
- updatedSpotterChatPrompt?: boolean;
10162
- }
10163
- /**
10164
- * The configuration for the embedded spotterEmbed options.
10165
- * @deprecated from SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
10166
- * Use {@link SpotterEmbedViewConfig} instead
10167
- * @group Embed components
10168
- */
10169
- export interface ConversationViewConfig extends SpotterEmbedViewConfig {
10170
- }
10171
- /**
10172
- * Embed ThoughtSpot AI Conversation.
10173
- * @group Embed components
10174
- * @example
10175
- * ```js
10176
- * const conversation = new SpotterEmbed('#tsEmbed', {
10177
- * worksheetId: 'worksheetId',
10178
- * searchOptions: {
10179
- * searchQuery: 'searchQuery',
10180
- * },
10181
- * });
10182
- * conversation.render();
10183
- * ```
10184
- * @version SDK: 1.37.0 | ThoughtSpot: 10.9.0.cl
10185
- */
10186
- export declare class SpotterEmbed extends TsEmbed {
10187
- protected viewConfig: SpotterEmbedViewConfig;
10188
- constructor(container: HTMLElement, viewConfig: SpotterEmbedViewConfig);
10189
- protected getEmbedParamsObject(): Record<any, any>;
10190
- getIframeSrc(): string;
10191
- render(): Promise<SpotterEmbed>;
10192
- }
10193
- /**
10194
- * Embed ThoughtSpot AI Conversation.
10195
- * @deprecated from SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
10196
- * Use {@link SpotterEmbed} instead
10197
- * @group Embed components
10198
- * @example
10199
- * ```js
10200
- * const conversation = new SpotterEmbed('#tsEmbed', {
10201
- * worksheetId: 'worksheetId',
10202
- * searchOptions: {
10203
- * searchQuery: 'searchQuery',
10204
- * },
10205
- * });
10206
- * conversation.render();
10207
- * ```
10208
- * @version SDK: 1.37.0 | ThoughtSpot: 10.9.0.cl
10209
- */
10210
- export declare class ConversationEmbed extends SpotterEmbed {
10211
- protected viewConfig: ConversationViewConfig;
10212
- constructor(container: HTMLElement, viewConfig: ConversationViewConfig);
10213
- }
10214
10594
  export type SessionInfo = {
10215
10595
  releaseVersion: string;
10216
10596
  userGUID: string;
@@ -10529,6 +10909,7 @@ export declare const createLiveboardWithAnswers: (answers: AnswerService[], name
10529
10909
  * @group Authentication / Init
10530
10910
  */
10531
10911
  export declare const resetCachedAuthToken: () => void;
10912
+ export declare function startAutoMCPFrameRenderer(viewConfig?: AutoMCPFrameRendererViewConfig): MutationObserver;
10532
10913
 
10533
10914
  export {
10534
10915
  getEmbedConfig as getInitConfig,