@thoughtspot/visual-embed-sdk 1.33.0-dc.1 → 1.33.0

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 (420) hide show
  1. package/cjs/package.json +6 -8
  2. package/cjs/src/auth.d.ts +1 -0
  3. package/cjs/src/auth.d.ts.map +1 -1
  4. package/cjs/src/auth.js +2 -1
  5. package/cjs/src/auth.js.map +1 -1
  6. package/cjs/src/auth.spec.d.ts +11 -1
  7. package/cjs/src/auth.spec.d.ts.map +1 -1
  8. package/cjs/src/auth.spec.js +14 -5
  9. package/cjs/src/auth.spec.js.map +1 -1
  10. package/cjs/src/authToken.d.ts +0 -4
  11. package/cjs/src/authToken.d.ts.map +1 -1
  12. package/cjs/src/authToken.js +0 -4
  13. package/cjs/src/authToken.js.map +1 -1
  14. package/cjs/src/embed/app.d.ts +0 -13
  15. package/cjs/src/embed/app.d.ts.map +1 -1
  16. package/cjs/src/embed/app.js.map +1 -1
  17. package/cjs/src/embed/liveboard.d.ts +0 -7
  18. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  19. package/cjs/src/embed/liveboard.js +2 -17
  20. package/cjs/src/embed/liveboard.js.map +1 -1
  21. package/cjs/src/embed/search.d.ts +0 -13
  22. package/cjs/src/embed/search.d.ts.map +1 -1
  23. package/cjs/src/embed/search.js.map +1 -1
  24. package/cjs/src/embed/ts-embed.d.ts +1 -3
  25. package/cjs/src/embed/ts-embed.d.ts.map +1 -1
  26. package/cjs/src/embed/ts-embed.js +1 -2
  27. package/cjs/src/embed/ts-embed.js.map +1 -1
  28. package/cjs/src/index.d.ts +1 -4
  29. package/cjs/src/index.d.ts.map +1 -1
  30. package/cjs/src/index.js +1 -7
  31. package/cjs/src/index.js.map +1 -1
  32. package/cjs/src/react/index.d.ts +1 -39
  33. package/cjs/src/react/index.d.ts.map +1 -1
  34. package/cjs/src/react/index.js +1 -37
  35. package/cjs/src/react/index.js.map +1 -1
  36. package/cjs/src/test/test-utils.d.ts +0 -13
  37. package/cjs/src/test/test-utils.d.ts.map +1 -1
  38. package/cjs/src/test/test-utils.js +4 -41
  39. package/cjs/src/test/test-utils.js.map +1 -1
  40. package/cjs/src/types.d.ts +13 -0
  41. package/cjs/src/types.d.ts.map +1 -1
  42. package/cjs/src/types.js.map +1 -1
  43. package/cjs/src/utils/authService/authService.spec.js +1 -8
  44. package/cjs/src/utils/authService/authService.spec.js.map +1 -1
  45. package/cjs/src/utils/authService/tokenizedAuthService.d.ts +2 -0
  46. package/cjs/src/utils/authService/tokenizedAuthService.d.ts.map +1 -1
  47. package/cjs/src/utils/authService/tokenizedAuthService.js +2 -0
  48. package/cjs/src/utils/authService/tokenizedAuthService.js.map +1 -1
  49. package/cjs/src/utils/graphql/answerService/answer-queries.d.ts +0 -1
  50. package/cjs/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
  51. package/cjs/src/utils/graphql/answerService/answer-queries.js +1 -24
  52. package/cjs/src/utils/graphql/answerService/answer-queries.js.map +1 -1
  53. package/cjs/src/utils/graphql/answerService/answerService.d.ts +1 -9
  54. package/cjs/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  55. package/cjs/src/utils/graphql/answerService/answerService.js +9 -52
  56. package/cjs/src/utils/graphql/answerService/answerService.js.map +1 -1
  57. package/cjs/src/utils/graphql/answerService/answerService.spec.js +18 -74
  58. package/cjs/src/utils/graphql/answerService/answerService.spec.js.map +1 -1
  59. package/cjs/src/utils/graphql/graphql-request.d.ts.map +1 -1
  60. package/cjs/src/utils/graphql/graphql-request.spec.js +1 -13
  61. package/cjs/src/utils/graphql/graphql-request.spec.js.map +1 -1
  62. package/cjs/src/utils/graphql/preview-service.d.ts +0 -6
  63. package/cjs/src/utils/graphql/preview-service.d.ts.map +1 -1
  64. package/cjs/src/utils/graphql/preview-service.js +0 -6
  65. package/cjs/src/utils/graphql/preview-service.js.map +1 -1
  66. package/cjs/src/utils/processData.spec.js +0 -1
  67. package/cjs/src/utils/processData.spec.js.map +1 -1
  68. package/dist/src/auth.d.ts +1 -0
  69. package/dist/src/auth.d.ts.map +1 -1
  70. package/dist/src/auth.spec.d.ts +11 -1
  71. package/dist/src/auth.spec.d.ts.map +1 -1
  72. package/dist/src/authToken.d.ts +0 -4
  73. package/dist/src/authToken.d.ts.map +1 -1
  74. package/dist/src/embed/app.d.ts +0 -13
  75. package/dist/src/embed/app.d.ts.map +1 -1
  76. package/dist/src/embed/liveboard.d.ts +0 -7
  77. package/dist/src/embed/liveboard.d.ts.map +1 -1
  78. package/dist/src/embed/search.d.ts +0 -13
  79. package/dist/src/embed/search.d.ts.map +1 -1
  80. package/dist/src/embed/searchEmbed-basic-auth.spec.d.ts +2 -0
  81. package/dist/src/embed/searchEmbed-basic-auth.spec.d.ts.map +1 -0
  82. package/dist/src/embed/ts-embed.d.ts +1 -3
  83. package/dist/src/embed/ts-embed.d.ts.map +1 -1
  84. package/dist/src/index.d.ts +1 -4
  85. package/dist/src/index.d.ts.map +1 -1
  86. package/dist/src/react/index.d.ts +1 -39
  87. package/dist/src/react/index.d.ts.map +1 -1
  88. package/dist/src/test/test-utils.d.ts +0 -13
  89. package/dist/src/test/test-utils.d.ts.map +1 -1
  90. package/dist/src/types.d.ts +13 -0
  91. package/dist/src/types.d.ts.map +1 -1
  92. package/dist/src/utils/authService/tokenizedAuthService.d.ts +2 -0
  93. package/dist/src/utils/authService/tokenizedAuthService.d.ts.map +1 -1
  94. package/dist/src/utils/graphql/answerService/answer-queries.d.ts +0 -1
  95. package/dist/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
  96. package/dist/src/utils/graphql/answerService/answerService.d.ts +1 -9
  97. package/dist/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  98. package/dist/src/utils/graphql/graphql-request.d.ts.map +1 -1
  99. package/dist/src/utils/graphql/preview-service.d.ts +0 -6
  100. package/dist/src/utils/graphql/preview-service.d.ts.map +1 -1
  101. package/dist/tsembed-react.es.js +63 -7640
  102. package/dist/tsembed-react.js +62 -7641
  103. package/dist/tsembed.es.js +65 -8507
  104. package/dist/tsembed.js +64 -8509
  105. package/dist/visual-embed-sdk-react-full.d.ts +26 -157
  106. package/dist/visual-embed-sdk-react.d.ts +26 -157
  107. package/dist/visual-embed-sdk.d.ts +25 -93
  108. package/lib/package.json +6 -8
  109. package/lib/src/auth.d.ts +1 -0
  110. package/lib/src/auth.d.ts.map +1 -1
  111. package/lib/src/auth.js +2 -1
  112. package/lib/src/auth.js.map +1 -1
  113. package/lib/src/auth.spec.d.ts +11 -1
  114. package/lib/src/auth.spec.d.ts.map +1 -1
  115. package/lib/src/auth.spec.js +12 -3
  116. package/lib/src/auth.spec.js.map +1 -1
  117. package/lib/src/authToken.d.ts +0 -4
  118. package/lib/src/authToken.d.ts.map +1 -1
  119. package/lib/src/authToken.js +0 -4
  120. package/lib/src/authToken.js.map +1 -1
  121. package/lib/src/embed/app.d.ts +0 -13
  122. package/lib/src/embed/app.d.ts.map +1 -1
  123. package/lib/src/embed/app.js.map +1 -1
  124. package/lib/src/embed/liveboard.d.ts +0 -7
  125. package/lib/src/embed/liveboard.d.ts.map +1 -1
  126. package/lib/src/embed/liveboard.js +2 -17
  127. package/lib/src/embed/liveboard.js.map +1 -1
  128. package/lib/src/embed/search.d.ts +0 -13
  129. package/lib/src/embed/search.d.ts.map +1 -1
  130. package/lib/src/embed/search.js.map +1 -1
  131. package/lib/src/embed/ts-embed.d.ts +1 -3
  132. package/lib/src/embed/ts-embed.d.ts.map +1 -1
  133. package/lib/src/embed/ts-embed.js +1 -2
  134. package/lib/src/embed/ts-embed.js.map +1 -1
  135. package/lib/src/index.d.ts +1 -4
  136. package/lib/src/index.d.ts.map +1 -1
  137. package/lib/src/index.js +1 -4
  138. package/lib/src/index.js.map +1 -1
  139. package/lib/src/react/index.d.ts +1 -39
  140. package/lib/src/react/index.d.ts.map +1 -1
  141. package/lib/src/react/index.js +0 -36
  142. package/lib/src/react/index.js.map +1 -1
  143. package/lib/src/test/test-utils.d.ts +0 -13
  144. package/lib/src/test/test-utils.d.ts.map +1 -1
  145. package/lib/src/test/test-utils.js +3 -38
  146. package/lib/src/test/test-utils.js.map +1 -1
  147. package/lib/src/types.d.ts +13 -0
  148. package/lib/src/types.d.ts.map +1 -1
  149. package/lib/src/types.js.map +1 -1
  150. package/lib/src/utils/authService/authService.spec.js +1 -8
  151. package/lib/src/utils/authService/authService.spec.js.map +1 -1
  152. package/lib/src/utils/authService/tokenizedAuthService.d.ts +2 -0
  153. package/lib/src/utils/authService/tokenizedAuthService.d.ts.map +1 -1
  154. package/lib/src/utils/authService/tokenizedAuthService.js +2 -0
  155. package/lib/src/utils/authService/tokenizedAuthService.js.map +1 -1
  156. package/lib/src/utils/graphql/answerService/answer-queries.d.ts +0 -1
  157. package/lib/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
  158. package/lib/src/utils/graphql/answerService/answer-queries.js +0 -23
  159. package/lib/src/utils/graphql/answerService/answer-queries.js.map +1 -1
  160. package/lib/src/utils/graphql/answerService/answerService.d.ts +1 -9
  161. package/lib/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  162. package/lib/src/utils/graphql/answerService/answerService.js +9 -52
  163. package/lib/src/utils/graphql/answerService/answerService.js.map +1 -1
  164. package/lib/src/utils/graphql/answerService/answerService.spec.js +18 -74
  165. package/lib/src/utils/graphql/answerService/answerService.spec.js.map +1 -1
  166. package/lib/src/utils/graphql/graphql-request.d.ts.map +1 -1
  167. package/lib/src/utils/graphql/graphql-request.spec.js +1 -13
  168. package/lib/src/utils/graphql/graphql-request.spec.js.map +1 -1
  169. package/lib/src/utils/graphql/preview-service.d.ts +0 -6
  170. package/lib/src/utils/graphql/preview-service.d.ts.map +1 -1
  171. package/lib/src/utils/graphql/preview-service.js +0 -6
  172. package/lib/src/utils/graphql/preview-service.js.map +1 -1
  173. package/lib/src/utils/processData.spec.js +0 -1
  174. package/lib/src/utils/processData.spec.js.map +1 -1
  175. package/lib/src/visual-embed-sdk.d.ts +25 -105
  176. package/package.json +6 -8
  177. package/src/auth.spec.ts +12 -3
  178. package/src/auth.ts +2 -1
  179. package/src/authToken.ts +0 -4
  180. package/src/embed/app.ts +0 -13
  181. package/src/embed/liveboard.ts +2 -19
  182. package/src/embed/search.ts +0 -13
  183. package/src/embed/searchEmbed-basic-auth.spec.ts +110 -0
  184. package/src/embed/ts-embed.ts +1 -4
  185. package/src/index.ts +0 -7
  186. package/src/react/index.tsx +41 -89
  187. package/src/test/test-utils.ts +3 -46
  188. package/src/types.ts +13 -0
  189. package/src/utils/authService/authService.spec.ts +1 -8
  190. package/src/utils/authService/tokenizedAuthService.ts +2 -0
  191. package/src/utils/graphql/answerService/answer-queries.ts +0 -24
  192. package/src/utils/graphql/answerService/answerService.spec.ts +24 -86
  193. package/src/utils/graphql/answerService/answerService.ts +11 -68
  194. package/src/utils/graphql/graphql-request.spec.ts +1 -14
  195. package/src/utils/graphql/graphql-request.ts +1 -1
  196. package/src/utils/graphql/preview-service.ts +0 -6
  197. package/src/utils/processData.spec.ts +0 -1
  198. package/cjs/src/embed/bodyless-conversation.d.ts +0 -26
  199. package/cjs/src/embed/bodyless-conversation.d.ts.map +0 -1
  200. package/cjs/src/embed/bodyless-conversation.js +0 -70
  201. package/cjs/src/embed/bodyless-conversation.js.map +0 -1
  202. package/cjs/src/embed/bodyless-conversation.spec.d.ts +0 -2
  203. package/cjs/src/embed/bodyless-conversation.spec.d.ts.map +0 -1
  204. package/cjs/src/embed/bodyless-conversation.spec.js +0 -125
  205. package/cjs/src/embed/bodyless-conversation.spec.js.map +0 -1
  206. package/cjs/src/embed/conversation.d.ts +0 -28
  207. package/cjs/src/embed/conversation.d.ts.map +0 -1
  208. package/cjs/src/embed/conversation.js +0 -34
  209. package/cjs/src/embed/conversation.js.map +0 -1
  210. package/cjs/src/embed/conversation.spec.d.ts +0 -2
  211. package/cjs/src/embed/conversation.spec.d.ts.map +0 -1
  212. package/cjs/src/embed/conversation.spec.js +0 -32
  213. package/cjs/src/embed/conversation.spec.js.map +0 -1
  214. package/cjs/src/utils/answerService/answerService.d.ts +0 -34
  215. package/cjs/src/utils/answerService/answerService.d.ts.map +0 -1
  216. package/cjs/src/utils/answerService/answerService.js +0 -142
  217. package/cjs/src/utils/answerService/answerService.js.map +0 -1
  218. package/cjs/src/utils/answerService/answerService.spec.d.ts +0 -1
  219. package/cjs/src/utils/answerService/answerService.spec.d.ts.map +0 -1
  220. package/cjs/src/utils/answerService/answerService.spec.js +0 -1
  221. package/cjs/src/utils/answerService/answerService.spec.js.map +0 -1
  222. package/cjs/src/utils/answerService/graphql-queries.d.ts +0 -6
  223. package/cjs/src/utils/answerService/graphql-queries.d.ts.map +0 -1
  224. package/cjs/src/utils/answerService/graphql-queries.js +0 -123
  225. package/cjs/src/utils/answerService/graphql-queries.js.map +0 -1
  226. package/cjs/src/utils/answerService.d.ts +0 -10
  227. package/cjs/src/utils/answerService.d.ts.map +0 -1
  228. package/cjs/src/utils/answerService.js +0 -61
  229. package/cjs/src/utils/answerService.js.map +0 -1
  230. package/cjs/src/utils/answerService.spec.d.ts +0 -2
  231. package/cjs/src/utils/answerService.spec.d.ts.map +0 -1
  232. package/cjs/src/utils/answerService.spec.js +0 -31
  233. package/cjs/src/utils/answerService.spec.js.map +0 -1
  234. package/cjs/src/utils/authService.d.ts +0 -37
  235. package/cjs/src/utils/authService.d.ts.map +0 -1
  236. package/cjs/src/utils/authService.js +0 -106
  237. package/cjs/src/utils/authService.js.map +0 -1
  238. package/cjs/src/utils/authService.spec.d.ts +0 -2
  239. package/cjs/src/utils/authService.spec.d.ts.map +0 -1
  240. package/cjs/src/utils/authService.spec.js +0 -72
  241. package/cjs/src/utils/authService.spec.js.map +0 -1
  242. package/cjs/src/utils/global-styles.spec.d.ts +0 -2
  243. package/cjs/src/utils/global-styles.spec.d.ts.map +0 -1
  244. package/cjs/src/utils/global-styles.spec.js +0 -21
  245. package/cjs/src/utils/global-styles.spec.js.map +0 -1
  246. package/cjs/src/utils/graphql/answerService/graphql-queries.d.ts +0 -5
  247. package/cjs/src/utils/graphql/answerService/graphql-queries.d.ts.map +0 -1
  248. package/cjs/src/utils/graphql/answerService/graphql-queries.js +0 -80
  249. package/cjs/src/utils/graphql/answerService/graphql-queries.js.map +0 -1
  250. package/cjs/src/utils/graphql/conversationService/conversation-queries.d.ts +0 -3
  251. package/cjs/src/utils/graphql/conversationService/conversation-queries.d.ts.map +0 -1
  252. package/cjs/src/utils/graphql/conversationService/conversation-queries.js +0 -318
  253. package/cjs/src/utils/graphql/conversationService/conversation-queries.js.map +0 -1
  254. package/cjs/src/utils/graphql/conversationService/conversation-service.d.ts +0 -12
  255. package/cjs/src/utils/graphql/conversationService/conversation-service.d.ts.map +0 -1
  256. package/cjs/src/utils/graphql/conversationService/conversation-service.js +0 -89
  257. package/cjs/src/utils/graphql/conversationService/conversation-service.js.map +0 -1
  258. package/cjs/src/utils/graphql/nlsService/conversation-queries.d.ts +0 -3
  259. package/cjs/src/utils/graphql/nlsService/conversation-queries.d.ts.map +0 -1
  260. package/cjs/src/utils/graphql/nlsService/conversation-queries.js +0 -313
  261. package/cjs/src/utils/graphql/nlsService/conversation-queries.js.map +0 -1
  262. package/cjs/src/utils/graphql/nlsService/conversation-service.d.ts +0 -12
  263. package/cjs/src/utils/graphql/nlsService/conversation-service.d.ts.map +0 -1
  264. package/cjs/src/utils/graphql/nlsService/conversation-service.js +0 -75
  265. package/cjs/src/utils/graphql/nlsService/conversation-service.js.map +0 -1
  266. package/cjs/src/utils/graphql/nlsService/nls-answer-queries.d.ts +0 -2
  267. package/cjs/src/utils/graphql/nlsService/nls-answer-queries.d.ts.map +0 -1
  268. package/cjs/src/utils/graphql/nlsService/nls-answer-queries.js +0 -403
  269. package/cjs/src/utils/graphql/nlsService/nls-answer-queries.js.map +0 -1
  270. package/cjs/src/utils/graphql/nlsService/nls-answer-service.d.ts +0 -12
  271. package/cjs/src/utils/graphql/nlsService/nls-answer-service.d.ts.map +0 -1
  272. package/cjs/src/utils/graphql/nlsService/nls-answer-service.js +0 -55
  273. package/cjs/src/utils/graphql/nlsService/nls-answer-service.js.map +0 -1
  274. package/cjs/src/utils/graphql/nlsService/nls-answer-service.spec.d.ts +0 -2
  275. package/cjs/src/utils/graphql/nlsService/nls-answer-service.spec.d.ts.map +0 -1
  276. package/cjs/src/utils/graphql/nlsService/nls-answer-service.spec.js +0 -33
  277. package/cjs/src/utils/graphql/nlsService/nls-answer-service.spec.js.map +0 -1
  278. package/cjs/src/utils/graphql/preview-service.spec.d.ts +0 -2
  279. package/cjs/src/utils/graphql/preview-service.spec.d.ts.map +0 -1
  280. package/cjs/src/utils/graphql/preview-service.spec.js +0 -20
  281. package/cjs/src/utils/graphql/preview-service.spec.js.map +0 -1
  282. package/cjs/src/utils/graphql/spotterService/conversation-queries.d.ts +0 -3
  283. package/cjs/src/utils/graphql/spotterService/conversation-queries.d.ts.map +0 -1
  284. package/cjs/src/utils/graphql/spotterService/conversation-queries.js +0 -318
  285. package/cjs/src/utils/graphql/spotterService/conversation-queries.js.map +0 -1
  286. package/cjs/src/utils/graphql/spotterService/conversation-service.d.ts +0 -12
  287. package/cjs/src/utils/graphql/spotterService/conversation-service.d.ts.map +0 -1
  288. package/cjs/src/utils/graphql/spotterService/conversation-service.js +0 -89
  289. package/cjs/src/utils/graphql/spotterService/conversation-service.js.map +0 -1
  290. package/cjs/src/utils/graphql/spotterService/nls-answer-queries.d.ts +0 -2
  291. package/cjs/src/utils/graphql/spotterService/nls-answer-queries.d.ts.map +0 -1
  292. package/cjs/src/utils/graphql/spotterService/nls-answer-queries.js +0 -403
  293. package/cjs/src/utils/graphql/spotterService/nls-answer-queries.js.map +0 -1
  294. package/cjs/src/utils/graphql/spotterService/nls-answer-service.d.ts +0 -12
  295. package/cjs/src/utils/graphql/spotterService/nls-answer-service.d.ts.map +0 -1
  296. package/cjs/src/utils/graphql/spotterService/nls-answer-service.js +0 -55
  297. package/cjs/src/utils/graphql/spotterService/nls-answer-service.js.map +0 -1
  298. package/cjs/src/utils/liveboardService/liveboardService.d.ts +0 -3
  299. package/cjs/src/utils/liveboardService/liveboardService.d.ts.map +0 -1
  300. package/cjs/src/utils/liveboardService/liveboardService.js +0 -50
  301. package/cjs/src/utils/liveboardService/liveboardService.js.map +0 -1
  302. package/cjs/src/utils/liveboardService/liveboardService.spec.d.ts +0 -2
  303. package/cjs/src/utils/liveboardService/liveboardService.spec.d.ts.map +0 -1
  304. package/cjs/src/utils/liveboardService/liveboardService.spec.js +0 -64
  305. package/cjs/src/utils/liveboardService/liveboardService.spec.js.map +0 -1
  306. package/dist/src/embed/bodyless-conversation.d.ts +0 -26
  307. package/dist/src/embed/bodyless-conversation.d.ts.map +0 -1
  308. package/dist/src/embed/bodyless-conversation.spec.d.ts +0 -2
  309. package/dist/src/embed/bodyless-conversation.spec.d.ts.map +0 -1
  310. package/dist/src/embed/conversation.d.ts +0 -28
  311. package/dist/src/embed/conversation.d.ts.map +0 -1
  312. package/dist/src/embed/conversation.spec.d.ts +0 -2
  313. package/dist/src/embed/conversation.spec.d.ts.map +0 -1
  314. package/dist/src/utils/global-styles.spec.d.ts +0 -2
  315. package/dist/src/utils/global-styles.spec.d.ts.map +0 -1
  316. package/dist/src/utils/graphql/nlsService/conversation-queries.d.ts +0 -3
  317. package/dist/src/utils/graphql/nlsService/conversation-queries.d.ts.map +0 -1
  318. package/dist/src/utils/graphql/nlsService/conversation-service.d.ts +0 -12
  319. package/dist/src/utils/graphql/nlsService/conversation-service.d.ts.map +0 -1
  320. package/dist/src/utils/graphql/nlsService/nls-answer-queries.d.ts +0 -2
  321. package/dist/src/utils/graphql/nlsService/nls-answer-queries.d.ts.map +0 -1
  322. package/dist/src/utils/graphql/nlsService/nls-answer-service.d.ts +0 -12
  323. package/dist/src/utils/graphql/nlsService/nls-answer-service.d.ts.map +0 -1
  324. package/dist/src/utils/graphql/nlsService/nls-answer-service.spec.d.ts +0 -2
  325. package/dist/src/utils/graphql/nlsService/nls-answer-service.spec.d.ts.map +0 -1
  326. package/dist/src/utils/graphql/preview-service.spec.d.ts +0 -2
  327. package/dist/src/utils/graphql/preview-service.spec.d.ts.map +0 -1
  328. package/dist/src/utils/liveboardService/liveboardService.d.ts +0 -3
  329. package/dist/src/utils/liveboardService/liveboardService.d.ts.map +0 -1
  330. package/dist/src/utils/liveboardService/liveboardService.spec.d.ts +0 -2
  331. package/dist/src/utils/liveboardService/liveboardService.spec.d.ts.map +0 -1
  332. package/lib/src/embed/bodyless-conversation.d.ts +0 -26
  333. package/lib/src/embed/bodyless-conversation.d.ts.map +0 -1
  334. package/lib/src/embed/bodyless-conversation.js +0 -66
  335. package/lib/src/embed/bodyless-conversation.js.map +0 -1
  336. package/lib/src/embed/bodyless-conversation.spec.d.ts +0 -2
  337. package/lib/src/embed/bodyless-conversation.spec.d.ts.map +0 -1
  338. package/lib/src/embed/bodyless-conversation.spec.js +0 -122
  339. package/lib/src/embed/bodyless-conversation.spec.js.map +0 -1
  340. package/lib/src/embed/conversation.d.ts +0 -28
  341. package/lib/src/embed/conversation.d.ts.map +0 -1
  342. package/lib/src/embed/conversation.js +0 -30
  343. package/lib/src/embed/conversation.js.map +0 -1
  344. package/lib/src/embed/conversation.spec.d.ts +0 -2
  345. package/lib/src/embed/conversation.spec.d.ts.map +0 -1
  346. package/lib/src/embed/conversation.spec.js +0 -29
  347. package/lib/src/embed/conversation.spec.js.map +0 -1
  348. package/lib/src/utils/global-styles.spec.d.ts +0 -2
  349. package/lib/src/utils/global-styles.spec.d.ts.map +0 -1
  350. package/lib/src/utils/global-styles.spec.js +0 -19
  351. package/lib/src/utils/global-styles.spec.js.map +0 -1
  352. package/lib/src/utils/graphql/conversationService/conversation-queries.d.ts +0 -3
  353. package/lib/src/utils/graphql/conversationService/conversation-queries.d.ts.map +0 -1
  354. package/lib/src/utils/graphql/conversationService/conversation-queries.js +0 -315
  355. package/lib/src/utils/graphql/conversationService/conversation-queries.js.map +0 -1
  356. package/lib/src/utils/graphql/conversationService/conversation-service.d.ts +0 -12
  357. package/lib/src/utils/graphql/conversationService/conversation-service.d.ts.map +0 -1
  358. package/lib/src/utils/graphql/conversationService/conversation-service.js +0 -84
  359. package/lib/src/utils/graphql/conversationService/conversation-service.js.map +0 -1
  360. package/lib/src/utils/graphql/nlsService/conversation-queries.d.ts +0 -3
  361. package/lib/src/utils/graphql/nlsService/conversation-queries.d.ts.map +0 -1
  362. package/lib/src/utils/graphql/nlsService/conversation-queries.js +0 -310
  363. package/lib/src/utils/graphql/nlsService/conversation-queries.js.map +0 -1
  364. package/lib/src/utils/graphql/nlsService/conversation-service.d.ts +0 -12
  365. package/lib/src/utils/graphql/nlsService/conversation-service.d.ts.map +0 -1
  366. package/lib/src/utils/graphql/nlsService/conversation-service.js +0 -70
  367. package/lib/src/utils/graphql/nlsService/conversation-service.js.map +0 -1
  368. package/lib/src/utils/graphql/nlsService/nls-answer-queries.d.ts +0 -2
  369. package/lib/src/utils/graphql/nlsService/nls-answer-queries.d.ts.map +0 -1
  370. package/lib/src/utils/graphql/nlsService/nls-answer-queries.js +0 -400
  371. package/lib/src/utils/graphql/nlsService/nls-answer-queries.js.map +0 -1
  372. package/lib/src/utils/graphql/nlsService/nls-answer-service.d.ts +0 -12
  373. package/lib/src/utils/graphql/nlsService/nls-answer-service.d.ts.map +0 -1
  374. package/lib/src/utils/graphql/nlsService/nls-answer-service.js +0 -50
  375. package/lib/src/utils/graphql/nlsService/nls-answer-service.js.map +0 -1
  376. package/lib/src/utils/graphql/nlsService/nls-answer-service.spec.d.ts +0 -2
  377. package/lib/src/utils/graphql/nlsService/nls-answer-service.spec.d.ts.map +0 -1
  378. package/lib/src/utils/graphql/nlsService/nls-answer-service.spec.js +0 -31
  379. package/lib/src/utils/graphql/nlsService/nls-answer-service.spec.js.map +0 -1
  380. package/lib/src/utils/graphql/preview-service.spec.d.ts +0 -2
  381. package/lib/src/utils/graphql/preview-service.spec.d.ts.map +0 -1
  382. package/lib/src/utils/graphql/preview-service.spec.js +0 -18
  383. package/lib/src/utils/graphql/preview-service.spec.js.map +0 -1
  384. package/lib/src/utils/graphql/spotterService/conversation-queries.d.ts +0 -3
  385. package/lib/src/utils/graphql/spotterService/conversation-queries.d.ts.map +0 -1
  386. package/lib/src/utils/graphql/spotterService/conversation-queries.js +0 -315
  387. package/lib/src/utils/graphql/spotterService/conversation-queries.js.map +0 -1
  388. package/lib/src/utils/graphql/spotterService/conversation-service.d.ts +0 -12
  389. package/lib/src/utils/graphql/spotterService/conversation-service.d.ts.map +0 -1
  390. package/lib/src/utils/graphql/spotterService/conversation-service.js +0 -84
  391. package/lib/src/utils/graphql/spotterService/conversation-service.js.map +0 -1
  392. package/lib/src/utils/graphql/spotterService/nls-answer-queries.d.ts +0 -2
  393. package/lib/src/utils/graphql/spotterService/nls-answer-queries.d.ts.map +0 -1
  394. package/lib/src/utils/graphql/spotterService/nls-answer-queries.js +0 -400
  395. package/lib/src/utils/graphql/spotterService/nls-answer-queries.js.map +0 -1
  396. package/lib/src/utils/graphql/spotterService/nls-answer-service.d.ts +0 -12
  397. package/lib/src/utils/graphql/spotterService/nls-answer-service.d.ts.map +0 -1
  398. package/lib/src/utils/graphql/spotterService/nls-answer-service.js +0 -50
  399. package/lib/src/utils/graphql/spotterService/nls-answer-service.js.map +0 -1
  400. package/lib/src/utils/liveboardService/liveboardService.d.ts +0 -3
  401. package/lib/src/utils/liveboardService/liveboardService.d.ts.map +0 -1
  402. package/lib/src/utils/liveboardService/liveboardService.js +0 -46
  403. package/lib/src/utils/liveboardService/liveboardService.js.map +0 -1
  404. package/lib/src/utils/liveboardService/liveboardService.spec.d.ts +0 -2
  405. package/lib/src/utils/liveboardService/liveboardService.spec.d.ts.map +0 -1
  406. package/lib/src/utils/liveboardService/liveboardService.spec.js +0 -61
  407. package/lib/src/utils/liveboardService/liveboardService.spec.js.map +0 -1
  408. package/src/embed/bodyless-conversation.spec.ts +0 -141
  409. package/src/embed/bodyless-conversation.ts +0 -95
  410. package/src/embed/conversation.spec.ts +0 -46
  411. package/src/embed/conversation.ts +0 -58
  412. package/src/utils/global-styles.spec.ts +0 -20
  413. package/src/utils/graphql/nlsService/conversation-queries.ts +0 -310
  414. package/src/utils/graphql/nlsService/conversation-service.ts +0 -81
  415. package/src/utils/graphql/nlsService/nls-answer-queries.ts +0 -399
  416. package/src/utils/graphql/nlsService/nls-answer-service.spec.ts +0 -35
  417. package/src/utils/graphql/nlsService/nls-answer-service.ts +0 -58
  418. package/src/utils/graphql/preview-service.spec.ts +0 -20
  419. package/src/utils/liveboardService/liveboardService.spec.ts +0 -63
  420. package/src/utils/liveboardService/liveboardService.ts +0 -55
@@ -195,44 +195,7 @@ export const SageEmbed: React.ForwardRefExoticComponent<SageEmbedProps & React.R
195
195
  * ```
196
196
  */
197
197
  export const PreRenderedSageEmbed: React.ForwardRefExoticComponent<SageEmbedProps & PreRenderProps & React.RefAttributes<_SageEmbed>>;
198
- interface ConversationEmbedProps extends EmbedProps, ConversationViewConfig {
199
- }
200
- /**
201
- * React component for LLM based conversation BI.
202
- * @example
203
- * ```tsx
204
- * function Sage() {
205
- * return <ConversationEmbed
206
- * worksheetId="<worksheet-id-here>"
207
- * searchOptions={{
208
- * searchQuery: "<search query to start with>"
209
- * }}
210
- * ... other view config props or event listeners.
211
- * />
212
- * }
213
- * ```
214
- */
215
- export const ConversationEmbed: React.ForwardRefExoticComponent<ConversationEmbedProps & React.RefAttributes<_ConversationEmbed>>;
216
- /**
217
- * React component for PreRendered Conversation embed.
218
- *
219
- * PreRenderedConversationEmbed will preRender the ConversationEmbed and will be hidden by
220
- * default.
221
- *
222
- * SageEmbed with preRenderId passed will call showPreRender on the embed.
223
- * @example
224
- * ```tsx
225
- * function LandingPageComponent() {
226
- * return <PreRenderedConversationEmbed preRenderId="someId" worksheetId={"id-"} />
227
- * }
228
- * ```
229
- * function MyComponent() {
230
- * return <ConversationEmbed preRenderId="someId" worksheetId="id" />
231
- * }
232
- * ```
233
- */
234
- export const PreRenderedConversationEmbed: React.ForwardRefExoticComponent<SageEmbedProps & PreRenderProps & React.RefAttributes<_ConversationEmbed>>;
235
- type EmbedComponent = typeof SearchEmbed | typeof AppEmbed | typeof LiveboardEmbed | typeof SearchBarEmbed | typeof SageEmbed | typeof ConversationEmbed;
198
+ type EmbedComponent = typeof SearchEmbed | typeof AppEmbed | typeof LiveboardEmbed | typeof SearchBarEmbed | typeof SageEmbed;
236
199
  /**
237
200
  * Get a reference to the embed component to trigger events on the component.
238
201
  * @example
@@ -259,7 +222,7 @@ export function useEmbedRef<T extends EmbedComponent>(): React.MutableRefObject<
259
222
  * @summary ThoughtSpot Visual Embed SDK
260
223
  * @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
261
224
  */
262
- export { init, logout, prefetch, executeTML, exportTML, executeTMLInput, exportTMLInput, getEmbedConfig as getInitConfig, getSessionInfo, tokenizedFetch, getAnswerFromQuery, createLiveboardWithAnswers, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, BodylessConversation, BodylessConversationViewConfig, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, AnswerService, SessionInterface, UnderlyingDataPoint, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, SageViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, HomeLeftNavItem, HomepageModule, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, RuntimeParameter, LogLevel, uploadMixpanelEvent, MIXPANEL_EVENT, VizPoint, CustomActionPayload, };
225
+ export { init, logout, prefetch, executeTML, exportTML, executeTMLInput, exportTMLInput, getEmbedConfig as getInitConfig, getSessionInfo, tokenizedFetch, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, AnswerService, SessionInterface, UnderlyingDataPoint, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, SageViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, HomeLeftNavItem, HomepageModule, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, RuntimeParameter, LogLevel, uploadMixpanelEvent, MIXPANEL_EVENT, VizPoint, CustomActionPayload, };
263
226
 
264
227
  /**
265
228
  * @group Embed components
@@ -702,19 +665,6 @@ export interface SearchViewConfig extends Omit<ViewConfig, 'hiddenHomepageModule
702
665
  * @deprecated Use {@link collapseSearchBar} instead
703
666
  */
704
667
  collapseSearchBarInitially?: boolean;
705
- /**
706
- * To enable custom column groups in data panel v2
707
- * @version SDK: 1.32.0 | Thoughtspot: 10.0.0.cl
708
- * @default false
709
- * @example
710
- * ```js
711
- * const embed = new SearchEmbed('#tsEmbed', {
712
- * ... // other options
713
- * enableCustomColumnGroups: true,
714
- * });
715
- * ```
716
- */
717
- enableCustomColumnGroups?: boolean;
718
668
  /**
719
669
  * Flag to enable onBeforeSearchExecute Embed Event
720
670
  * @version: SDK: 1.29.0 | Thoughtspot: 10.1.0.cl
@@ -1111,19 +1061,6 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
1111
1061
  * @deprecated Use {@link collapseSearchBar} instead
1112
1062
  */
1113
1063
  collapseSearchBarInitially?: boolean;
1114
- /**
1115
- * To enable custom column groups in data panel v2.
1116
- * @version SDK: 1.32.0 | Thoughtspot: 10.0.0.cl
1117
- * @default false
1118
- * @example
1119
- * ```js
1120
- * const embed = new AppEmbed('#embed', {
1121
- * ... // other app view config
1122
- * enableCustomColumnGroups: true,
1123
- * });
1124
- * ```
1125
- */
1126
- enableCustomColumnGroups?: boolean;
1127
1064
  /**
1128
1065
  * This controls the initial behaviour of custom column groups accordion.
1129
1066
  * It takes DataPanelCustomColumnGroupsAccordionState enum values as input.
@@ -1599,13 +1536,6 @@ export declare class LiveboardEmbed extends V1Embed {
1599
1536
  */
1600
1537
  render(): Promise<LiveboardEmbed>;
1601
1538
  navigateToLiveboard(liveboardId: string, vizId?: string, activeTabId?: string): void;
1602
- /**
1603
- * Returns the full url of the liveboard/viz which can be used to open
1604
- * this liveboard inside the full Thoughtspot application in a new tab.
1605
- *
1606
- * @returns url string
1607
- */
1608
- getLiveboardUrl(): string;
1609
1539
  }
1610
1540
  /**
1611
1541
  * @hidden
@@ -1631,32 +1561,6 @@ export interface ViewConfigAndListeners<T extends ViewConfig> {
1631
1561
  */
1632
1562
  export function getViewPropsAndListeners<T extends EmbedProps, U extends ViewConfig>(props: T): ViewConfigAndListeners<U>;
1633
1563
 
1634
- /**
1635
- * Configuration for search options
1636
- */
1637
- export interface SearchOptions {
1638
- /**
1639
- * The query string to pass to start the Conversation.
1640
- */
1641
- searchQuery: string;
1642
- }
1643
- export interface ConversationViewConfig extends ViewConfig {
1644
- /**
1645
- * The ID of the worksheet to use for the conversation.
1646
- */
1647
- worksheetId: string;
1648
- /**
1649
- * Ability to pass a starting search query to the conversation.
1650
- */
1651
- searchOptions?: SearchOptions;
1652
- }
1653
- export declare class ConversationEmbed extends TsEmbed {
1654
- protected viewConfig: ConversationViewConfig;
1655
- constructor(container: HTMLElement, viewConfig: ConversationViewConfig);
1656
- getIframeSrc(): string;
1657
- render(): Promise<ConversationEmbed>;
1658
- }
1659
-
1660
1564
  export interface executeTMLInput {
1661
1565
  metadata_tmls: string[];
1662
1566
  import_policy?: 'PARTIAL' | 'ALL_OR_NONE' | 'VALIDATE_ONLY';
@@ -1791,29 +1695,6 @@ export declare const exportTML: (data: exportTMLInput) => Promise<any>;
1791
1695
  */
1792
1696
  export declare function reset(): void;
1793
1697
 
1794
- export interface BodylessConversationViewConfig extends ViewConfig {
1795
- /**
1796
- * The ID of the worksheet to use for the conversation.
1797
- */
1798
- worksheetId: string;
1799
- }
1800
- /**
1801
- * Create a conversation embed, which can be integrated inside
1802
- * chatbots or other conversational interfaces.
1803
- * @group Embed components
1804
- * @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
1805
- */
1806
- export declare class BodylessConversation {
1807
- constructor(viewConfig: BodylessConversationViewConfig);
1808
- sendMessage(userMessage: string): Promise<{
1809
- error: any;
1810
- container?: undefined;
1811
- } | {
1812
- container: HTMLDivElement;
1813
- error?: undefined;
1814
- }>;
1815
- }
1816
-
1817
1698
  export declare let loggedInStatus: boolean;
1818
1699
  export declare let samlAuthWindow: Window;
1819
1700
  export declare let samlCompletionPromise: Promise<void>;
@@ -1939,6 +1820,7 @@ export declare function notifyLogout(): void;
1939
1820
  * Services to be called after the login is successful,
1940
1821
  * This should be called after the cookie is set for cookie auth or
1941
1822
  * after the token is set for cookieless.
1823
+ *
1942
1824
  * @return {Promise<void>}
1943
1825
  * @example
1944
1826
  * ```js
@@ -3071,6 +2953,19 @@ export interface ViewConfig {
3071
2953
  * ```
3072
2954
  */
3073
2955
  dataPanelV2?: boolean;
2956
+ /**
2957
+ * To enable custom column groups in data panel v2
2958
+ * @version SDK: 1.32.0 | Thoughtspot: 10.0.0.cl
2959
+ * @default false
2960
+ * @example
2961
+ * ```js
2962
+ * const embed = new SearchEmbed('#tsEmbed', {
2963
+ * ... // other options
2964
+ * enableCustomColumnGroups: true,
2965
+ * });
2966
+ * ```
2967
+ */
2968
+ enableCustomColumnGroups?: boolean;
3074
2969
  }
3075
2970
  /**
3076
2971
  * MessagePayload: Embed event payload: message type, data and status (start/end)
@@ -6927,12 +6822,11 @@ export declare class AnswerService {
6927
6822
  * Fetch the data for the answer as a PNG blob. This might be
6928
6823
  * quicker for larger data.
6929
6824
  * @param userLocale
6930
- * @param includeInfo
6931
6825
  * @param omitBackground Omit the background in the PNG
6932
6826
  * @param deviceScaleFactor The scale factor for the PNG
6933
6827
  * @return Response
6934
6828
  */
6935
- fetchPNGBlob(userLocale?: string, includeInfo?: boolean, omitBackground?: boolean, deviceScaleFactor?: number): Promise<Response>;
6829
+ fetchPNGBlob(userLocale?: string, omitBackground?: boolean, deviceScaleFactor?: number): Promise<Response>;
6936
6830
  /**
6937
6831
  * Just get the internal URL for this answer's data
6938
6832
  * as a CSV blob.
@@ -6944,9 +6838,6 @@ export declare class AnswerService {
6944
6838
  /**
6945
6839
  * Just get the internal URL for this answer's data
6946
6840
  * as a PNG blob.
6947
- * @param userLocale
6948
- * @param omitBackground
6949
- * @param deviceScaleFactor
6950
6841
  */
6951
6842
  getFetchPNGBlobUrl(userLocale?: string, omitBackground?: boolean, deviceScaleFactor?: number): string;
6952
6843
  /**
@@ -6980,9 +6871,6 @@ export declare class AnswerService {
6980
6871
  */
6981
6872
  getSession(): SessionInterface;
6982
6873
  getAnswer(): Promise<any>;
6983
- getTML(): Promise<any>;
6984
- addDisplayedVizToLiveboard(liveboardId: string): Promise<any>;
6985
- setTMLOverride(override: any): void;
6986
6874
  }
6987
6875
 
6988
6876
  /**
@@ -7053,33 +6941,16 @@ export declare function testResetMixpanel(): void;
7053
6941
  */
7054
6942
  export declare const tokenizedFetch: typeof fetch;
7055
6943
 
7056
- /**
7057
- *
7058
- * @param query string
7059
- * @param worksheetId string
7060
- * @returns answerService AnswerService
7061
- */
7062
- export declare const getAnswerFromQuery: (query: string, worksheetId: string) => Promise<{
7063
- answer: AnswerService;
7064
- suggestion: any;
7065
- }>;
7066
-
7067
- export declare const createLiveboardWithAnswers: (answers: AnswerService[], name: string) => Promise<any>;
7068
-
7069
- /**
7070
- *
7071
- * @param embedConfig
7072
- */
7073
6944
  export declare function getAuthenticationToken(embedConfig: EmbedConfig): Promise<string>;
7074
6945
  /**
7075
- * Resets the auth token and a new token will be fetched on the next request.
7076
- * @example
7077
- * ```js
7078
- * resetCachedAuthToken();
7079
- * ```
7080
- * @version SDK: 1.28.0 | ThoughtSpot: *
7081
- * @group Authentication / Init
7082
- */
6946
+ * Resets the auth token and a new token will be fetched on the next request.
6947
+ * @example
6948
+ * ```js
6949
+ * resetCachedAuthToken();
6950
+ * ```
6951
+ * @version SDK: 1.28.0 | ThoughtSpot: *
6952
+ * @group Authentication / Init
6953
+ */
7083
6954
  export declare const resetCachedAuthToken: () => void;
7084
6955
 
7085
6956
  /**
@@ -7274,9 +7145,7 @@ export declare class TsEmbed {
7274
7145
  * THOUGHTSPOT URL params starts with a prefix "ts-"
7275
7146
  * @version SDK: 1.14.0 | ThoughtSpot: 8.4.0.cl, 8.4.1-sw
7276
7147
  */
7277
- getThoughtSpotPostUrlParams(additionalParams?: {
7278
- [key: string]: string | number;
7279
- }): string;
7148
+ getThoughtSpotPostUrlParams(): string;
7280
7149
  /**
7281
7150
  * Destroys the ThoughtSpot embed, and remove any nodes from the DOM.
7282
7151
  * @version SDK: 1.19.1 | ThoughtSpot: *
@@ -195,44 +195,7 @@ export const SageEmbed: React.ForwardRefExoticComponent<SageEmbedProps & React.R
195
195
  * ```
196
196
  */
197
197
  export const PreRenderedSageEmbed: React.ForwardRefExoticComponent<SageEmbedProps & PreRenderProps & React.RefAttributes<_SageEmbed>>;
198
- interface ConversationEmbedProps extends EmbedProps, ConversationViewConfig {
199
- }
200
- /**
201
- * React component for LLM based conversation BI.
202
- * @example
203
- * ```tsx
204
- * function Sage() {
205
- * return <ConversationEmbed
206
- * worksheetId="<worksheet-id-here>"
207
- * searchOptions={{
208
- * searchQuery: "<search query to start with>"
209
- * }}
210
- * ... other view config props or event listeners.
211
- * />
212
- * }
213
- * ```
214
- */
215
- export const ConversationEmbed: React.ForwardRefExoticComponent<ConversationEmbedProps & React.RefAttributes<_ConversationEmbed>>;
216
- /**
217
- * React component for PreRendered Conversation embed.
218
- *
219
- * PreRenderedConversationEmbed will preRender the ConversationEmbed and will be hidden by
220
- * default.
221
- *
222
- * SageEmbed with preRenderId passed will call showPreRender on the embed.
223
- * @example
224
- * ```tsx
225
- * function LandingPageComponent() {
226
- * return <PreRenderedConversationEmbed preRenderId="someId" worksheetId={"id-"} />
227
- * }
228
- * ```
229
- * function MyComponent() {
230
- * return <ConversationEmbed preRenderId="someId" worksheetId="id" />
231
- * }
232
- * ```
233
- */
234
- export const PreRenderedConversationEmbed: React.ForwardRefExoticComponent<SageEmbedProps & PreRenderProps & React.RefAttributes<_ConversationEmbed>>;
235
- type EmbedComponent = typeof SearchEmbed | typeof AppEmbed | typeof LiveboardEmbed | typeof SearchBarEmbed | typeof SageEmbed | typeof ConversationEmbed;
198
+ type EmbedComponent = typeof SearchEmbed | typeof AppEmbed | typeof LiveboardEmbed | typeof SearchBarEmbed | typeof SageEmbed;
236
199
  /**
237
200
  * Get a reference to the embed component to trigger events on the component.
238
201
  * @example
@@ -692,19 +655,6 @@ export interface SearchViewConfig extends Omit<ViewConfig, 'hiddenHomepageModule
692
655
  * @deprecated Use {@link collapseSearchBar} instead
693
656
  */
694
657
  collapseSearchBarInitially?: boolean;
695
- /**
696
- * To enable custom column groups in data panel v2
697
- * @version SDK: 1.32.0 | Thoughtspot: 10.0.0.cl
698
- * @default false
699
- * @example
700
- * ```js
701
- * const embed = new SearchEmbed('#tsEmbed', {
702
- * ... // other options
703
- * enableCustomColumnGroups: true,
704
- * });
705
- * ```
706
- */
707
- enableCustomColumnGroups?: boolean;
708
658
  /**
709
659
  * Flag to enable onBeforeSearchExecute Embed Event
710
660
  * @version: SDK: 1.29.0 | Thoughtspot: 10.1.0.cl
@@ -1101,19 +1051,6 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
1101
1051
  * @deprecated Use {@link collapseSearchBar} instead
1102
1052
  */
1103
1053
  collapseSearchBarInitially?: boolean;
1104
- /**
1105
- * To enable custom column groups in data panel v2.
1106
- * @version SDK: 1.32.0 | Thoughtspot: 10.0.0.cl
1107
- * @default false
1108
- * @example
1109
- * ```js
1110
- * const embed = new AppEmbed('#embed', {
1111
- * ... // other app view config
1112
- * enableCustomColumnGroups: true,
1113
- * });
1114
- * ```
1115
- */
1116
- enableCustomColumnGroups?: boolean;
1117
1054
  /**
1118
1055
  * This controls the initial behaviour of custom column groups accordion.
1119
1056
  * It takes DataPanelCustomColumnGroupsAccordionState enum values as input.
@@ -1589,13 +1526,6 @@ export declare class LiveboardEmbed extends V1Embed {
1589
1526
  */
1590
1527
  render(): Promise<LiveboardEmbed>;
1591
1528
  navigateToLiveboard(liveboardId: string, vizId?: string, activeTabId?: string): void;
1592
- /**
1593
- * Returns the full url of the liveboard/viz which can be used to open
1594
- * this liveboard inside the full Thoughtspot application in a new tab.
1595
- *
1596
- * @returns url string
1597
- */
1598
- getLiveboardUrl(): string;
1599
1529
  }
1600
1530
  /**
1601
1531
  * @hidden
@@ -1621,32 +1551,6 @@ export interface ViewConfigAndListeners<T extends ViewConfig> {
1621
1551
  */
1622
1552
  export function getViewPropsAndListeners<T extends EmbedProps, U extends ViewConfig>(props: T): ViewConfigAndListeners<U>;
1623
1553
 
1624
- /**
1625
- * Configuration for search options
1626
- */
1627
- export interface SearchOptions {
1628
- /**
1629
- * The query string to pass to start the Conversation.
1630
- */
1631
- searchQuery: string;
1632
- }
1633
- export interface ConversationViewConfig extends ViewConfig {
1634
- /**
1635
- * The ID of the worksheet to use for the conversation.
1636
- */
1637
- worksheetId: string;
1638
- /**
1639
- * Ability to pass a starting search query to the conversation.
1640
- */
1641
- searchOptions?: SearchOptions;
1642
- }
1643
- export declare class ConversationEmbed extends TsEmbed {
1644
- protected viewConfig: ConversationViewConfig;
1645
- constructor(container: HTMLElement, viewConfig: ConversationViewConfig);
1646
- getIframeSrc(): string;
1647
- render(): Promise<ConversationEmbed>;
1648
- }
1649
-
1650
1554
  /**
1651
1555
  * Copyright (c) 2023
1652
1556
  *
@@ -1655,7 +1559,7 @@ export declare class ConversationEmbed extends TsEmbed {
1655
1559
  * @summary ThoughtSpot Visual Embed SDK
1656
1560
  * @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
1657
1561
  */
1658
- export { init, logout, prefetch, executeTML, exportTML, executeTMLInput, exportTMLInput, getEmbedConfig as getInitConfig, getSessionInfo, tokenizedFetch, getAnswerFromQuery, createLiveboardWithAnswers, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, BodylessConversation, BodylessConversationViewConfig, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, AnswerService, SessionInterface, UnderlyingDataPoint, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, SageViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, HomeLeftNavItem, HomepageModule, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, RuntimeParameter, LogLevel, uploadMixpanelEvent, MIXPANEL_EVENT, VizPoint, CustomActionPayload, };
1562
+ export { init, logout, prefetch, executeTML, exportTML, executeTMLInput, exportTMLInput, getEmbedConfig as getInitConfig, getSessionInfo, tokenizedFetch, SearchEmbed, SearchBarEmbed, PinboardEmbed, LiveboardEmbed, SageEmbed, AppEmbed, AuthFailureType, AuthStatus, AuthEvent, AuthEventEmitter, AnswerService, SessionInterface, UnderlyingDataPoint, Page, AuthType, RuntimeFilter, RuntimeFilterOp, EmbedEvent, HostEvent, DataSourceVisualMode, Action, ContextMenuTriggerOptions, EmbedConfig, SearchViewConfig, SearchBarViewConfig, LiveboardViewConfig, SageViewConfig, AppViewConfig, PrefetchFeatures, FrameParams, HomeLeftNavItem, HomepageModule, DOMSelector, MessageOptions, MessageCallback, MessagePayload, CustomisationsInterface, CustomStyles, customCssInterface, CustomCssVariables, RuntimeParameter, LogLevel, uploadMixpanelEvent, MIXPANEL_EVENT, VizPoint, CustomActionPayload, };
1659
1563
 
1660
1564
  /**
1661
1565
  * Copyright (c) 2023
@@ -2679,6 +2583,19 @@ export interface ViewConfig {
2679
2583
  * ```
2680
2584
  */
2681
2585
  dataPanelV2?: boolean;
2586
+ /**
2587
+ * To enable custom column groups in data panel v2
2588
+ * @version SDK: 1.32.0 | Thoughtspot: 10.0.0.cl
2589
+ * @default false
2590
+ * @example
2591
+ * ```js
2592
+ * const embed = new SearchEmbed('#tsEmbed', {
2593
+ * ... // other options
2594
+ * enableCustomColumnGroups: true,
2595
+ * });
2596
+ * ```
2597
+ */
2598
+ enableCustomColumnGroups?: boolean;
2682
2599
  }
2683
2600
  /**
2684
2601
  * MessagePayload: Embed event payload: message type, data and status (start/end)
@@ -6227,9 +6144,7 @@ export declare class TsEmbed {
6227
6144
  * THOUGHTSPOT URL params starts with a prefix "ts-"
6228
6145
  * @version SDK: 1.14.0 | ThoughtSpot: 8.4.0.cl, 8.4.1-sw
6229
6146
  */
6230
- getThoughtSpotPostUrlParams(additionalParams?: {
6231
- [key: string]: string | number;
6232
- }): string;
6147
+ getThoughtSpotPostUrlParams(): string;
6233
6148
  /**
6234
6149
  * Destroys the ThoughtSpot embed, and remove any nodes from the DOM.
6235
6150
  * @version SDK: 1.19.1 | ThoughtSpot: *
@@ -6459,29 +6374,6 @@ export declare const exportTML: (data: exportTMLInput) => Promise<any>;
6459
6374
  */
6460
6375
  export declare function reset(): void;
6461
6376
 
6462
- export interface BodylessConversationViewConfig extends ViewConfig {
6463
- /**
6464
- * The ID of the worksheet to use for the conversation.
6465
- */
6466
- worksheetId: string;
6467
- }
6468
- /**
6469
- * Create a conversation embed, which can be integrated inside
6470
- * chatbots or other conversational interfaces.
6471
- * @group Embed components
6472
- * @version SDK: 1.34.0 | ThoughtSpot: 10.3.0.cl
6473
- */
6474
- export declare class BodylessConversation {
6475
- constructor(viewConfig: BodylessConversationViewConfig);
6476
- sendMessage(userMessage: string): Promise<{
6477
- error: any;
6478
- container?: undefined;
6479
- } | {
6480
- container: HTMLDivElement;
6481
- error?: undefined;
6482
- }>;
6483
- }
6484
-
6485
6377
  export declare let loggedInStatus: boolean;
6486
6378
  export declare let samlAuthWindow: Window;
6487
6379
  export declare let samlCompletionPromise: Promise<void>;
@@ -6607,6 +6499,7 @@ export declare function notifyLogout(): void;
6607
6499
  * Services to be called after the login is successful,
6608
6500
  * This should be called after the cookie is set for cookie auth or
6609
6501
  * after the token is set for cookieless.
6502
+ *
6610
6503
  * @return {Promise<void>}
6611
6504
  * @example
6612
6505
  * ```js
@@ -7217,12 +7110,11 @@ export declare class AnswerService {
7217
7110
  * Fetch the data for the answer as a PNG blob. This might be
7218
7111
  * quicker for larger data.
7219
7112
  * @param userLocale
7220
- * @param includeInfo
7221
7113
  * @param omitBackground Omit the background in the PNG
7222
7114
  * @param deviceScaleFactor The scale factor for the PNG
7223
7115
  * @return Response
7224
7116
  */
7225
- fetchPNGBlob(userLocale?: string, includeInfo?: boolean, omitBackground?: boolean, deviceScaleFactor?: number): Promise<Response>;
7117
+ fetchPNGBlob(userLocale?: string, omitBackground?: boolean, deviceScaleFactor?: number): Promise<Response>;
7226
7118
  /**
7227
7119
  * Just get the internal URL for this answer's data
7228
7120
  * as a CSV blob.
@@ -7234,9 +7126,6 @@ export declare class AnswerService {
7234
7126
  /**
7235
7127
  * Just get the internal URL for this answer's data
7236
7128
  * as a PNG blob.
7237
- * @param userLocale
7238
- * @param omitBackground
7239
- * @param deviceScaleFactor
7240
7129
  */
7241
7130
  getFetchPNGBlobUrl(userLocale?: string, omitBackground?: boolean, deviceScaleFactor?: number): string;
7242
7131
  /**
@@ -7270,9 +7159,6 @@ export declare class AnswerService {
7270
7159
  */
7271
7160
  getSession(): SessionInterface;
7272
7161
  getAnswer(): Promise<any>;
7273
- getTML(): Promise<any>;
7274
- addDisplayedVizToLiveboard(liveboardId: string): Promise<any>;
7275
- setTMLOverride(override: any): void;
7276
7162
  }
7277
7163
 
7278
7164
  /**
@@ -7343,32 +7229,15 @@ export declare function testResetMixpanel(): void;
7343
7229
  */
7344
7230
  export declare const tokenizedFetch: typeof fetch;
7345
7231
 
7346
- /**
7347
- *
7348
- * @param query string
7349
- * @param worksheetId string
7350
- * @returns answerService AnswerService
7351
- */
7352
- export declare const getAnswerFromQuery: (query: string, worksheetId: string) => Promise<{
7353
- answer: AnswerService;
7354
- suggestion: any;
7355
- }>;
7356
-
7357
- export declare const createLiveboardWithAnswers: (answers: AnswerService[], name: string) => Promise<any>;
7358
-
7359
- /**
7360
- *
7361
- * @param embedConfig
7362
- */
7363
7232
  export declare function getAuthenticationToken(embedConfig: EmbedConfig): Promise<string>;
7364
7233
  /**
7365
- * Resets the auth token and a new token will be fetched on the next request.
7366
- * @example
7367
- * ```js
7368
- * resetCachedAuthToken();
7369
- * ```
7370
- * @version SDK: 1.28.0 | ThoughtSpot: *
7371
- * @group Authentication / Init
7372
- */
7234
+ * Resets the auth token and a new token will be fetched on the next request.
7235
+ * @example
7236
+ * ```js
7237
+ * resetCachedAuthToken();
7238
+ * ```
7239
+ * @version SDK: 1.28.0 | ThoughtSpot: *
7240
+ * @group Authentication / Init
7241
+ */
7373
7242
  export declare const resetCachedAuthToken: () => void;
7374
7243