@thoughtspot/visual-embed-sdk 1.29.0-alpha.fullH → 1.29.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 (351) hide show
  1. package/README.md +1 -1
  2. package/cjs/package.json +2 -1
  3. package/cjs/src/auth.d.ts +0 -15
  4. package/cjs/src/auth.d.ts.map +1 -1
  5. package/cjs/src/auth.js +2 -13
  6. package/cjs/src/auth.js.map +1 -1
  7. package/cjs/src/authToken.d.ts +1 -2
  8. package/cjs/src/authToken.d.ts.map +1 -1
  9. package/cjs/src/authToken.js +9 -3
  10. package/cjs/src/authToken.js.map +1 -1
  11. package/cjs/src/authToken.spec.d.ts +2 -0
  12. package/cjs/src/authToken.spec.d.ts.map +1 -0
  13. package/cjs/src/authToken.spec.js +29 -0
  14. package/cjs/src/authToken.spec.js.map +1 -0
  15. package/cjs/src/config.d.ts +0 -1
  16. package/cjs/src/config.d.ts.map +1 -1
  17. package/cjs/src/config.js +0 -2
  18. package/cjs/src/config.js.map +1 -1
  19. package/cjs/src/embed/app.d.ts +73 -43
  20. package/cjs/src/embed/app.d.ts.map +1 -1
  21. package/cjs/src/embed/app.js +45 -12
  22. package/cjs/src/embed/app.js.map +1 -1
  23. package/cjs/src/embed/app.spec.js +21 -0
  24. package/cjs/src/embed/app.spec.js.map +1 -1
  25. package/cjs/src/embed/base.d.ts +1 -7
  26. package/cjs/src/embed/base.d.ts.map +1 -1
  27. package/cjs/src/embed/base.js +7 -15
  28. package/cjs/src/embed/base.js.map +1 -1
  29. package/cjs/src/embed/base.spec.js +1 -1
  30. package/cjs/src/embed/base.spec.js.map +1 -1
  31. package/cjs/src/embed/embedConfig.d.ts +0 -2
  32. package/cjs/src/embed/embedConfig.d.ts.map +1 -1
  33. package/cjs/src/embed/embedConfig.js +0 -2
  34. package/cjs/src/embed/embedConfig.js.map +1 -1
  35. package/cjs/src/embed/liveboard.d.ts +14 -28
  36. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  37. package/cjs/src/embed/liveboard.js +9 -9
  38. package/cjs/src/embed/liveboard.js.map +1 -1
  39. package/cjs/src/embed/liveboard.spec.js +79 -4
  40. package/cjs/src/embed/liveboard.spec.js.map +1 -1
  41. package/cjs/src/embed/sage.d.ts +5 -21
  42. package/cjs/src/embed/sage.d.ts.map +1 -1
  43. package/cjs/src/embed/sage.js +2 -23
  44. package/cjs/src/embed/sage.js.map +1 -1
  45. package/cjs/src/embed/sage.spec.js +20 -31
  46. package/cjs/src/embed/sage.spec.js.map +1 -1
  47. package/cjs/src/embed/search-bar.d.ts +0 -11
  48. package/cjs/src/embed/search-bar.d.ts.map +1 -1
  49. package/cjs/src/embed/search-bar.js +0 -2
  50. package/cjs/src/embed/search-bar.js.map +1 -1
  51. package/cjs/src/embed/search.d.ts +60 -29
  52. package/cjs/src/embed/search.d.ts.map +1 -1
  53. package/cjs/src/embed/search.js +43 -9
  54. package/cjs/src/embed/search.js.map +1 -1
  55. package/cjs/src/embed/search.spec.js +34 -0
  56. package/cjs/src/embed/search.spec.js.map +1 -1
  57. package/cjs/src/embed/ts-embed.d.ts +1 -31
  58. package/cjs/src/embed/ts-embed.d.ts.map +1 -1
  59. package/cjs/src/embed/ts-embed.js +34 -43
  60. package/cjs/src/embed/ts-embed.js.map +1 -1
  61. package/cjs/src/embed/ts-embed.spec.js +83 -9
  62. package/cjs/src/embed/ts-embed.spec.js.map +1 -1
  63. package/cjs/src/errors.js +1 -1
  64. package/cjs/src/errors.js.map +1 -1
  65. package/cjs/src/index.d.ts +0 -1
  66. package/cjs/src/index.d.ts.map +1 -1
  67. package/cjs/src/index.js +0 -1
  68. package/cjs/src/index.js.map +1 -1
  69. package/cjs/src/mixpanel-service.d.ts +0 -1
  70. package/cjs/src/mixpanel-service.d.ts.map +1 -1
  71. package/cjs/src/mixpanel-service.js +0 -1
  72. package/cjs/src/mixpanel-service.js.map +1 -1
  73. package/cjs/src/react/index.d.ts +1 -12
  74. package/cjs/src/react/index.d.ts.map +1 -1
  75. package/cjs/src/react/index.js +1 -11
  76. package/cjs/src/react/index.js.map +1 -1
  77. package/cjs/src/react/index.spec.js +15 -3
  78. package/cjs/src/react/index.spec.js.map +1 -1
  79. package/cjs/src/test/test-utils.d.ts +0 -2
  80. package/cjs/src/test/test-utils.d.ts.map +1 -1
  81. package/cjs/src/test/test-utils.js +0 -2
  82. package/cjs/src/test/test-utils.js.map +1 -1
  83. package/cjs/src/tokenizedFetch.d.ts +0 -1
  84. package/cjs/src/tokenizedFetch.d.ts.map +1 -1
  85. package/cjs/src/tokenizedFetch.js +0 -1
  86. package/cjs/src/tokenizedFetch.js.map +1 -1
  87. package/cjs/src/types.d.ts +245 -366
  88. package/cjs/src/types.d.ts.map +1 -1
  89. package/cjs/src/types.js +196 -296
  90. package/cjs/src/types.js.map +1 -1
  91. package/cjs/src/utils/authService/authService.d.ts +0 -1
  92. package/cjs/src/utils/authService/authService.d.ts.map +1 -1
  93. package/cjs/src/utils/authService/authService.js +0 -1
  94. package/cjs/src/utils/authService/authService.js.map +1 -1
  95. package/cjs/src/utils/authService/tokenizedAuthService.spec.d.ts +2 -0
  96. package/cjs/src/utils/authService/tokenizedAuthService.spec.d.ts.map +1 -0
  97. package/cjs/src/utils/authService/tokenizedAuthService.spec.js +32 -0
  98. package/cjs/src/utils/authService/tokenizedAuthService.spec.js.map +1 -0
  99. package/cjs/src/utils/graphql/answerService/answer-queries.d.ts +2 -0
  100. package/cjs/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
  101. package/cjs/src/utils/graphql/answerService/answer-queries.js +57 -1
  102. package/cjs/src/utils/graphql/answerService/answer-queries.js.map +1 -1
  103. package/cjs/src/utils/graphql/answerService/answerService.d.ts +37 -12
  104. package/cjs/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  105. package/cjs/src/utils/graphql/answerService/answerService.js +70 -14
  106. package/cjs/src/utils/graphql/answerService/answerService.js.map +1 -1
  107. package/cjs/src/utils/graphql/answerService/answerService.spec.js +78 -0
  108. package/cjs/src/utils/graphql/answerService/answerService.spec.js.map +1 -1
  109. package/cjs/src/utils/logger.d.ts.map +1 -1
  110. package/cjs/src/utils/logger.js +3 -5
  111. package/cjs/src/utils/logger.js.map +1 -1
  112. package/cjs/src/utils/processData.js +1 -1
  113. package/cjs/src/utils/processData.js.map +1 -1
  114. package/cjs/src/utils/processData.spec.js +1 -1
  115. package/cjs/src/utils/processData.spec.js.map +1 -1
  116. package/cjs/src/utils/processTrigger.d.ts +0 -1
  117. package/cjs/src/utils/processTrigger.d.ts.map +1 -1
  118. package/cjs/src/utils/processTrigger.js +0 -2
  119. package/cjs/src/utils/processTrigger.js.map +1 -1
  120. package/cjs/src/utils/sessionInfoService.d.ts +2 -2
  121. package/cjs/src/utils/sessionInfoService.d.ts.map +1 -1
  122. package/cjs/src/utils/sessionInfoService.js +4 -4
  123. package/cjs/src/utils/sessionInfoService.js.map +1 -1
  124. package/cjs/src/utils.d.ts +2 -10
  125. package/cjs/src/utils.d.ts.map +1 -1
  126. package/cjs/src/utils.js +19 -13
  127. package/cjs/src/utils.js.map +1 -1
  128. package/dist/src/auth.d.ts +0 -15
  129. package/dist/src/auth.d.ts.map +1 -1
  130. package/dist/src/authToken.d.ts +1 -2
  131. package/dist/src/authToken.d.ts.map +1 -1
  132. package/dist/src/authToken.spec.d.ts +2 -0
  133. package/dist/src/authToken.spec.d.ts.map +1 -0
  134. package/dist/src/config.d.ts +0 -1
  135. package/dist/src/config.d.ts.map +1 -1
  136. package/dist/src/embed/app.d.ts +73 -43
  137. package/dist/src/embed/app.d.ts.map +1 -1
  138. package/dist/src/embed/base.d.ts +1 -7
  139. package/dist/src/embed/base.d.ts.map +1 -1
  140. package/dist/src/embed/embedConfig.d.ts +0 -2
  141. package/dist/src/embed/embedConfig.d.ts.map +1 -1
  142. package/dist/src/embed/liveboard.d.ts +14 -28
  143. package/dist/src/embed/liveboard.d.ts.map +1 -1
  144. package/dist/src/embed/sage.d.ts +5 -21
  145. package/dist/src/embed/sage.d.ts.map +1 -1
  146. package/dist/src/embed/search-bar.d.ts +0 -11
  147. package/dist/src/embed/search-bar.d.ts.map +1 -1
  148. package/dist/src/embed/search.d.ts +60 -29
  149. package/dist/src/embed/search.d.ts.map +1 -1
  150. package/dist/src/embed/ts-embed.d.ts +1 -31
  151. package/dist/src/embed/ts-embed.d.ts.map +1 -1
  152. package/dist/src/index.d.ts +0 -1
  153. package/dist/src/index.d.ts.map +1 -1
  154. package/dist/src/mixpanel-service.d.ts +0 -1
  155. package/dist/src/mixpanel-service.d.ts.map +1 -1
  156. package/dist/src/react/index.d.ts +1 -12
  157. package/dist/src/react/index.d.ts.map +1 -1
  158. package/dist/src/test/test-utils.d.ts +0 -2
  159. package/dist/src/test/test-utils.d.ts.map +1 -1
  160. package/dist/src/tokenizedFetch.d.ts +0 -1
  161. package/dist/src/tokenizedFetch.d.ts.map +1 -1
  162. package/dist/src/types.d.ts +245 -366
  163. package/dist/src/types.d.ts.map +1 -1
  164. package/dist/src/utils/authService/authService.d.ts +0 -1
  165. package/dist/src/utils/authService/authService.d.ts.map +1 -1
  166. package/dist/src/utils/authService/tokenizedAuthService.spec.d.ts +2 -0
  167. package/dist/src/utils/authService/tokenizedAuthService.spec.d.ts.map +1 -0
  168. package/dist/src/utils/graphql/answerService/answer-queries.d.ts +2 -0
  169. package/dist/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
  170. package/dist/src/utils/graphql/answerService/answerService.d.ts +37 -12
  171. package/dist/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  172. package/dist/src/utils/logger.d.ts.map +1 -1
  173. package/dist/src/utils/processTrigger.d.ts +0 -1
  174. package/dist/src/utils/processTrigger.d.ts.map +1 -1
  175. package/dist/src/utils/sessionInfoService.d.ts +66 -0
  176. package/dist/src/utils/sessionInfoService.d.ts.map +1 -0
  177. package/dist/src/utils.d.ts +2 -10
  178. package/dist/src/utils.d.ts.map +1 -1
  179. package/dist/tsembed-react.es.js +2331 -2358
  180. package/dist/tsembed-react.js +3475 -3498
  181. package/dist/tsembed.es.js +3688 -3922
  182. package/dist/tsembed.js +15216 -15442
  183. package/dist/visual-embed-sdk-react-full.d.ts +431 -564
  184. package/dist/visual-embed-sdk-react.d.ts +434 -567
  185. package/dist/visual-embed-sdk.d.ts +430 -552
  186. package/lib/package.json +2 -1
  187. package/lib/src/auth.d.ts +0 -15
  188. package/lib/src/auth.d.ts.map +1 -1
  189. package/lib/src/auth.js +3 -14
  190. package/lib/src/auth.js.map +1 -1
  191. package/lib/src/authToken.d.ts +1 -2
  192. package/lib/src/authToken.d.ts.map +1 -1
  193. package/lib/src/authToken.js +9 -3
  194. package/lib/src/authToken.js.map +1 -1
  195. package/lib/src/authToken.spec.d.ts +2 -0
  196. package/lib/src/authToken.spec.d.ts.map +1 -0
  197. package/lib/src/authToken.spec.js +26 -0
  198. package/lib/src/authToken.spec.js.map +1 -0
  199. package/lib/src/config.d.ts +0 -1
  200. package/lib/src/config.d.ts.map +1 -1
  201. package/lib/src/config.js +0 -2
  202. package/lib/src/config.js.map +1 -1
  203. package/lib/src/embed/app.d.ts +73 -43
  204. package/lib/src/embed/app.d.ts.map +1 -1
  205. package/lib/src/embed/app.js +44 -11
  206. package/lib/src/embed/app.js.map +1 -1
  207. package/lib/src/embed/app.spec.js +22 -1
  208. package/lib/src/embed/app.spec.js.map +1 -1
  209. package/lib/src/embed/base.d.ts +1 -7
  210. package/lib/src/embed/base.d.ts.map +1 -1
  211. package/lib/src/embed/base.js +6 -14
  212. package/lib/src/embed/base.js.map +1 -1
  213. package/lib/src/embed/base.spec.js +2 -2
  214. package/lib/src/embed/base.spec.js.map +1 -1
  215. package/lib/src/embed/embedConfig.d.ts +0 -2
  216. package/lib/src/embed/embedConfig.d.ts.map +1 -1
  217. package/lib/src/embed/embedConfig.js +0 -2
  218. package/lib/src/embed/embedConfig.js.map +1 -1
  219. package/lib/src/embed/liveboard.d.ts +14 -28
  220. package/lib/src/embed/liveboard.d.ts.map +1 -1
  221. package/lib/src/embed/liveboard.js +10 -10
  222. package/lib/src/embed/liveboard.js.map +1 -1
  223. package/lib/src/embed/liveboard.spec.js +79 -4
  224. package/lib/src/embed/liveboard.spec.js.map +1 -1
  225. package/lib/src/embed/sage.d.ts +5 -21
  226. package/lib/src/embed/sage.d.ts.map +1 -1
  227. package/lib/src/embed/sage.js +2 -23
  228. package/lib/src/embed/sage.js.map +1 -1
  229. package/lib/src/embed/sage.spec.js +20 -31
  230. package/lib/src/embed/sage.spec.js.map +1 -1
  231. package/lib/src/embed/search-bar.d.ts +0 -11
  232. package/lib/src/embed/search-bar.d.ts.map +1 -1
  233. package/lib/src/embed/search-bar.js +0 -2
  234. package/lib/src/embed/search-bar.js.map +1 -1
  235. package/lib/src/embed/search.d.ts +60 -29
  236. package/lib/src/embed/search.d.ts.map +1 -1
  237. package/lib/src/embed/search.js +43 -9
  238. package/lib/src/embed/search.js.map +1 -1
  239. package/lib/src/embed/search.spec.js +35 -1
  240. package/lib/src/embed/search.spec.js.map +1 -1
  241. package/lib/src/embed/ts-embed.d.ts +1 -31
  242. package/lib/src/embed/ts-embed.d.ts.map +1 -1
  243. package/lib/src/embed/ts-embed.js +37 -46
  244. package/lib/src/embed/ts-embed.js.map +1 -1
  245. package/lib/src/embed/ts-embed.spec.js +83 -9
  246. package/lib/src/embed/ts-embed.spec.js.map +1 -1
  247. package/lib/src/errors.js +1 -1
  248. package/lib/src/errors.js.map +1 -1
  249. package/lib/src/index.d.ts +0 -1
  250. package/lib/src/index.d.ts.map +1 -1
  251. package/lib/src/index.js +0 -1
  252. package/lib/src/index.js.map +1 -1
  253. package/lib/src/mixpanel-service.d.ts +0 -1
  254. package/lib/src/mixpanel-service.d.ts.map +1 -1
  255. package/lib/src/mixpanel-service.js +0 -1
  256. package/lib/src/mixpanel-service.js.map +1 -1
  257. package/lib/src/react/index.d.ts +1 -12
  258. package/lib/src/react/index.d.ts.map +1 -1
  259. package/lib/src/react/index.js +1 -11
  260. package/lib/src/react/index.js.map +1 -1
  261. package/lib/src/react/index.spec.js +16 -4
  262. package/lib/src/react/index.spec.js.map +1 -1
  263. package/lib/src/test/test-utils.d.ts +0 -2
  264. package/lib/src/test/test-utils.d.ts.map +1 -1
  265. package/lib/src/test/test-utils.js +0 -2
  266. package/lib/src/test/test-utils.js.map +1 -1
  267. package/lib/src/tokenizedFetch.d.ts +0 -1
  268. package/lib/src/tokenizedFetch.d.ts.map +1 -1
  269. package/lib/src/tokenizedFetch.js +0 -1
  270. package/lib/src/tokenizedFetch.js.map +1 -1
  271. package/lib/src/types.d.ts +245 -366
  272. package/lib/src/types.d.ts.map +1 -1
  273. package/lib/src/types.js +196 -296
  274. package/lib/src/types.js.map +1 -1
  275. package/lib/src/utils/authService/authService.d.ts +0 -1
  276. package/lib/src/utils/authService/authService.d.ts.map +1 -1
  277. package/lib/src/utils/authService/authService.js +0 -1
  278. package/lib/src/utils/authService/authService.js.map +1 -1
  279. package/lib/src/utils/authService/authService.spec.js +1 -1
  280. package/lib/src/utils/authService/authService.spec.js.map +1 -1
  281. package/lib/src/utils/authService/tokenizedAuthService.spec.d.ts +2 -0
  282. package/lib/src/utils/authService/tokenizedAuthService.spec.d.ts.map +1 -0
  283. package/lib/src/utils/authService/tokenizedAuthService.spec.js +29 -0
  284. package/lib/src/utils/authService/tokenizedAuthService.spec.js.map +1 -0
  285. package/lib/src/utils/graphql/answerService/answer-queries.d.ts +2 -0
  286. package/lib/src/utils/graphql/answerService/answer-queries.d.ts.map +1 -1
  287. package/lib/src/utils/graphql/answerService/answer-queries.js +56 -0
  288. package/lib/src/utils/graphql/answerService/answer-queries.js.map +1 -1
  289. package/lib/src/utils/graphql/answerService/answerService.d.ts +37 -12
  290. package/lib/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  291. package/lib/src/utils/graphql/answerService/answerService.js +71 -15
  292. package/lib/src/utils/graphql/answerService/answerService.js.map +1 -1
  293. package/lib/src/utils/graphql/answerService/answerService.spec.js +80 -2
  294. package/lib/src/utils/graphql/answerService/answerService.spec.js.map +1 -1
  295. package/lib/src/utils/logger.d.ts.map +1 -1
  296. package/lib/src/utils/logger.js +2 -3
  297. package/lib/src/utils/logger.js.map +1 -1
  298. package/lib/src/utils/processData.js +1 -1
  299. package/lib/src/utils/processData.js.map +1 -1
  300. package/lib/src/utils/processData.spec.js +1 -1
  301. package/lib/src/utils/processData.spec.js.map +1 -1
  302. package/lib/src/utils/processTrigger.d.ts +0 -1
  303. package/lib/src/utils/processTrigger.d.ts.map +1 -1
  304. package/lib/src/utils/processTrigger.js +0 -2
  305. package/lib/src/utils/processTrigger.js.map +1 -1
  306. package/lib/src/utils/sessionInfoService.d.ts +2 -2
  307. package/lib/src/utils/sessionInfoService.d.ts.map +1 -1
  308. package/lib/src/utils/sessionInfoService.js +2 -2
  309. package/lib/src/utils/sessionInfoService.js.map +1 -1
  310. package/lib/src/utils.d.ts +2 -10
  311. package/lib/src/utils.d.ts.map +1 -1
  312. package/lib/src/utils.js +17 -12
  313. package/lib/src/utils.js.map +1 -1
  314. package/lib/src/visual-embed-sdk.d.ts +436 -558
  315. package/package.json +2 -1
  316. package/src/auth.ts +6 -23
  317. package/src/authToken.spec.ts +31 -0
  318. package/src/authToken.ts +9 -3
  319. package/src/config.ts +0 -2
  320. package/src/embed/app.spec.ts +37 -1
  321. package/src/embed/app.ts +108 -50
  322. package/src/embed/base.spec.ts +3 -3
  323. package/src/embed/base.ts +15 -22
  324. package/src/embed/embedConfig.ts +0 -2
  325. package/src/embed/liveboard.spec.ts +104 -9
  326. package/src/embed/liveboard.ts +26 -39
  327. package/src/embed/sage.spec.ts +20 -35
  328. package/src/embed/sage.ts +5 -38
  329. package/src/embed/search-bar.tsx +0 -11
  330. package/src/embed/search.spec.ts +48 -1
  331. package/src/embed/search.ts +94 -38
  332. package/src/embed/ts-embed.spec.ts +109 -24
  333. package/src/embed/ts-embed.ts +68 -78
  334. package/src/errors.ts +1 -1
  335. package/src/index.ts +0 -1
  336. package/src/mixpanel-service.ts +0 -1
  337. package/src/react/index.spec.tsx +48 -60
  338. package/src/react/index.tsx +1 -12
  339. package/src/test/test-utils.ts +0 -2
  340. package/src/tokenizedFetch.ts +0 -1
  341. package/src/types.ts +245 -365
  342. package/src/utils/authService/authService.spec.ts +4 -4
  343. package/src/utils/authService/authService.ts +0 -1
  344. package/src/utils/graphql/answerService/answer-queries.ts +58 -0
  345. package/src/utils/graphql/answerService/answerService.spec.ts +88 -2
  346. package/src/utils/graphql/answerService/answerService.ts +87 -16
  347. package/src/utils/logger.ts +2 -3
  348. package/src/utils/processData.spec.ts +1 -1
  349. package/src/utils/processData.ts +1 -1
  350. package/src/utils/processTrigger.ts +0 -2
  351. package/src/utils.ts +21 -13
package/cjs/src/types.js CHANGED
@@ -3,7 +3,6 @@
3
3
  * Copyright (c) 2023
4
4
  *
5
5
  * TypeScript type definitions for ThoughtSpot Visual Embed SDK
6
- *
7
6
  * @summary Type definitions for Embed SDK
8
7
  * @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
9
8
  */
@@ -12,7 +11,6 @@ exports.LogLevel = exports.ContextMenuTriggerOptions = exports.PrefetchFeatures
12
11
  /**
13
12
  * The authentication mechanism for allowing access to the
14
13
  * the embedded app
15
- *
16
14
  * @group Authentication / Init
17
15
  */
18
16
  // eslint-disable-next-line no-shadow
@@ -21,7 +19,6 @@ var AuthType;
21
19
  /**
22
20
  * No authentication on the SDK. Passthrough to the embedded App. Alias for
23
21
  * `Passthrough`.
24
- *
25
22
  * @example
26
23
  * ```js
27
24
  * init({
@@ -39,7 +36,6 @@ var AuthType;
39
36
  * To use this:
40
37
  * Your SAML or OpenID provider must allow iframe redirects.
41
38
  * For example, if you are using Okta as IdP, you can enable iframe embedding.
42
- *
43
39
  * @example
44
40
  * ```js
45
41
  * init({
@@ -52,14 +48,12 @@ var AuthType;
52
48
  AuthType["EmbeddedSSO"] = "EmbeddedSSO";
53
49
  /**
54
50
  * SSO using SAML
55
- *
56
51
  * @deprecated Use {@link SAMLRedirect} instead
57
52
  * @hidden
58
53
  */
59
54
  AuthType["SSO"] = "SSO_SAML";
60
55
  /**
61
56
  * SSO using SAML
62
- *
63
57
  * @deprecated Use {@link SAMLRedirect} instead
64
58
  * @hidden
65
59
  */
@@ -71,7 +65,6 @@ var AuthType;
71
65
  *
72
66
  * This redirects the host application to the SAML IdP. The host application
73
67
  * will be redirected back to the ThoughtSpot app after authentication.
74
- *
75
68
  * @example
76
69
  * ```js
77
70
  * init({
@@ -112,7 +105,6 @@ var AuthType;
112
105
  AuthType["SAMLRedirect"] = "SSO_SAML";
113
106
  /**
114
107
  * SSO using OIDC
115
- *
116
108
  * @hidden
117
109
  * @deprecated Use {@link OIDCRedirect} instead
118
110
  */
@@ -125,7 +117,6 @@ var AuthType;
125
117
  AuthType["OIDCRedirect"] = "SSO_OIDC";
126
118
  /**
127
119
  * Trusted authentication server
128
- *
129
120
  * @hidden
130
121
  * @deprecated Use {@link TrustedAuth} instead
131
122
  */
@@ -134,7 +125,6 @@ var AuthType;
134
125
  * Trusted authentication server. Use your own authentication server
135
126
  * which returns a bearer token, generated using the `secret_key` obtained
136
127
  * from ThoughtSpot.
137
- *
138
128
  * @example
139
129
  * ```js
140
130
  * init({
@@ -146,6 +136,7 @@ var AuthType;
146
136
  * .then((data) => data.token);
147
137
  * }
148
138
  * });
139
+ * });
149
140
  * ```
150
141
  */
151
142
  AuthType["TrustedAuthToken"] = "AuthServer";
@@ -155,7 +146,6 @@ var AuthType;
155
146
  * obtained from ThoughtSpot. This uses a cookieless authentication
156
147
  * approach, recommended to bypass the third-party cookie-blocking restriction
157
148
  * implemented by some browsers.
158
- *
159
149
  * @example
160
150
  * ```js
161
151
  * init({
@@ -281,7 +271,6 @@ var RuntimeFilterOp;
281
271
  * **Note**: This option does not apply to the classic homepage.
282
272
  * To access the updated modular homepage, set
283
273
  * `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
284
- *
285
274
  * @version SDK: 1.28.0 | Thoughtspot: 9.12.5.cl
286
275
  */
287
276
  // eslint-disable-next-line no-shadow
@@ -317,7 +306,6 @@ var HomepageModule;
317
306
  *
318
307
  * To add an event listener use the corresponding
319
308
  * {@link LiveboardEmbed.on} or {@link AppEmbed.on} or {@link SearchEmbed.on} method.
320
- *
321
309
  * @example
322
310
  * ```js
323
311
  * import { EmbedEvent } from '@thoughtspot/visual-embed-sdk';
@@ -337,7 +325,6 @@ var EmbedEvent;
337
325
  (function (EmbedEvent) {
338
326
  /**
339
327
  * Rendering has initialized.
340
- *
341
328
  * @example
342
329
  *```js
343
330
  * liveboardEmbed.on(EmbedEvent.Init, showLoader)
@@ -351,7 +338,7 @@ var EmbedEvent;
351
338
  EmbedEvent["Init"] = "init";
352
339
  /**
353
340
  * Authentication has either succeeded or failed.
354
- *
341
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
355
342
  * @example
356
343
  *```js
357
344
  * appEmbed.on(EmbedEvent.AuthInit, payload => {
@@ -363,8 +350,8 @@ var EmbedEvent;
363
350
  EmbedEvent["AuthInit"] = "authInit";
364
351
  /**
365
352
  * The embed object container has loaded.
366
- *
367
353
  * @returns timestamp - The timestamp when the event was generated.
354
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
368
355
  * @example
369
356
  *```js
370
357
  * liveboardEmbed.on(EmbedEvent.Load, hideLoader)
@@ -377,8 +364,8 @@ var EmbedEvent;
377
364
  EmbedEvent["Load"] = "load";
378
365
  /**
379
366
  * Data pertaining to answer or Liveboard is received
380
- *
381
367
  * @return data - The answer or Liveboard data
368
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
382
369
  * @example
383
370
  *```js
384
371
  * liveboardEmbed.on(EmbedEvent.Data, payload => {
@@ -390,13 +377,12 @@ var EmbedEvent;
390
377
  EmbedEvent["Data"] = "data";
391
378
  /**
392
379
  * Search/Answer/Liveboard filters have been applied/updated by the user.
393
- *
394
380
  * @hidden
395
381
  */
396
382
  EmbedEvent["FiltersChanged"] = "filtersChanged";
397
383
  /**
398
384
  * Search query has been updated by the user.
399
- *
385
+ * @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 8.4.1.sw
400
386
  * @example
401
387
  *```js
402
388
  * searchEmbed.on(EmbedEvent.QueryChanged, payload => console.log('data', payload))
@@ -405,13 +391,13 @@ var EmbedEvent;
405
391
  EmbedEvent["QueryChanged"] = "queryChanged";
406
392
  /**
407
393
  * A drill-down operation has been performed.
408
- *
394
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
409
395
  * @returns additionalFilters - Any additional filters applied
410
396
  * @returns drillDownColumns - The columns on which drill down was performed
411
397
  * @returns nonFilteredColumns - The columns that were not filtered
412
398
  * @example
413
399
  *```js
414
- * searchEmbed.trigger(EmbedEvent.DrillDown, {
400
+ * searchEmbed.on(EmbedEvent.DrillDown, {
415
401
  * points: {
416
402
  * clickedPoint,
417
403
  * selectedPoints: selectedPoint
@@ -442,8 +428,8 @@ var EmbedEvent;
442
428
  EmbedEvent["Drilldown"] = "drillDown";
443
429
  /**
444
430
  * One or more data sources have been selected.
445
- *
446
431
  * @returns dataSourceIds - the list of data sources
432
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
447
433
  * @example
448
434
  * ```js
449
435
  * searchEmbed.on(EmbedEvent.DataSourceSelected, payload => {
@@ -454,7 +440,6 @@ var EmbedEvent;
454
440
  EmbedEvent["DataSourceSelected"] = "dataSourceSelected";
455
441
  /**
456
442
  * One or more data columns have been selected.
457
- *
458
443
  * @returns columnIds - the list of columns
459
444
  * @version SDK: 1.10.0 | ThoughtSpot: 8.2.0.cl, 8.4.1.sw
460
445
  * @example
@@ -467,10 +452,10 @@ var EmbedEvent;
467
452
  EmbedEvent["AddRemoveColumns"] = "addRemoveColumns";
468
453
  /**
469
454
  * A custom action has been triggered.
470
- *
471
455
  * @returns actionId - ID of the custom action
472
456
  * @returns payload {@link CustomActionPayload} - Response payload with the
473
457
  * Answer or Liveboard data
458
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
474
459
  * @example
475
460
  * ```js
476
461
  * appEmbed.on(EmbedEvent.customAction, payload => {
@@ -484,7 +469,6 @@ var EmbedEvent;
484
469
  EmbedEvent["CustomAction"] = "customAction";
485
470
  /**
486
471
  * Listen to double click actions on a visualization.
487
- *
488
472
  * @return ContextMenuInputPoints - Data point that is double-clicked
489
473
  * @version SDK: 1.5.0 | ThoughtSpot: ts7.oct.cl, 7.2.1
490
474
  * @example
@@ -497,7 +481,6 @@ var EmbedEvent;
497
481
  EmbedEvent["VizPointDoubleClick"] = "vizPointDoubleClick";
498
482
  /**
499
483
  * Listen to clicks on a visualization in a Liveboard or Search result.
500
- *
501
484
  * @return viz, clickedPoint - metadata about the point that is clicked
502
485
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
503
486
  * @important
@@ -518,21 +501,22 @@ var EmbedEvent;
518
501
  /**
519
502
  * An error has occurred. This event is fired for the following error types:
520
503
  *
521
- * API - API call failure error.
522
- *
523
- * FULLSCREEN - Error when presenting a Liveboard or visualization in full screen mode.
504
+ * `API`: API call failure error.
524
505
  *
525
- * SINGLE_VALUE_FILTER - Error due to multiple values in the single value filter.
506
+ * `FULLSCREEN`: Error when presenting a Liveboard or visualization in full screen
507
+ * mode.
526
508
  *
527
- * NON_EXIST_FILTER - Error due to a non-existent filter.
509
+ * `SINGLE_VALUE_FILTER`: Error due to multiple values in the single value filter.
528
510
  *
529
- * INVALID_DATE_VALUE - Invalid date value error.
511
+ * `NON_EXIST_FILTER`: Error due to a non-existent filter.
530
512
  *
531
- * INVALID_OPERATOR - Use of invalid operator during filter application.
513
+ * `INVALID_DATE_VALUE`: Invalid date value error.
532
514
  *
533
- * For more information, see [Developer Documentation](https://developers.thoughtspot.com/docs/events-app-integration#errorType)
515
+ * `INVALID_OPERATOR`: Use of invalid operator during filter application.
534
516
  *
517
+ * For more information, see https://developers.thoughtspot.com/docs/events-app-integration#errorType.
535
518
  * @returns error - An error object or message
519
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
536
520
  * @example
537
521
  * ```js
538
522
  * // API error
@@ -556,8 +540,8 @@ var EmbedEvent;
556
540
  EmbedEvent["Error"] = "Error";
557
541
  /**
558
542
  * The embedded object has sent an alert.
559
- *
560
543
  * @returns alert - An alert object
544
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
561
545
  * @example
562
546
  * ```js
563
547
  * searchEmbed.on(EmbedEvent.Alert)
@@ -566,7 +550,7 @@ var EmbedEvent;
566
550
  EmbedEvent["Alert"] = "alert";
567
551
  /**
568
552
  * The ThoughtSpot auth session has expired.
569
- *
553
+ * @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 8.4.1.sw
570
554
  * @example
571
555
  *```js
572
556
  * appEmbed.on(EmbedEvent.AuthExpire, showAuthExpired)
@@ -579,26 +563,22 @@ var EmbedEvent;
579
563
  EmbedEvent["AuthExpire"] = "ThoughtspotAuthExpired";
580
564
  /**
581
565
  * ThoughtSpot failed to validate the auth session.
582
- *
583
566
  * @hidden
584
567
  */
585
568
  EmbedEvent["AuthFailure"] = "ThoughtspotAuthFailure";
586
569
  /**
587
570
  * ThoughtSpot failed to validate the auth session.
588
- *
589
571
  * @hidden
590
572
  */
591
573
  EmbedEvent["AuthLogout"] = "ThoughtspotAuthLogout";
592
574
  /**
593
575
  * The height of the embedded Liveboard or visualization has been computed.
594
- *
595
576
  * @returns data - The height of the embedded Liveboard or visualization
596
577
  * @hidden
597
578
  */
598
579
  EmbedEvent["EmbedHeight"] = "EMBED_HEIGHT";
599
580
  /**
600
581
  * The center of visible iframe viewport is calculated.
601
- *
602
582
  * @returns data - The center of the visible Iframe viewport.
603
583
  * @hidden
604
584
  */
@@ -606,7 +586,6 @@ var EmbedEvent;
606
586
  /**
607
587
  * Emitted when the **Get Data** action is initiated.
608
588
  * Applicable to `SearchBarEmbed` only.
609
- *
610
589
  * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
611
590
  * @example
612
591
  *```js
@@ -619,7 +598,7 @@ var EmbedEvent;
619
598
  EmbedEvent["GetDataClick"] = "getDataClick";
620
599
  /**
621
600
  * Detects the route change.
622
- *
601
+ * @version SDK: 1.7.0 | ThoughtSpot: 8.0.0.cl, 8.4.1.sw
623
602
  * @example
624
603
  *```js
625
604
  * searchEmbed.on(EmbedEvent.RouteChange, payload =>
@@ -629,15 +608,13 @@ var EmbedEvent;
629
608
  EmbedEvent["RouteChange"] = "ROUTE_CHANGE";
630
609
  /**
631
610
  * The v1 event type for Data
632
- *
633
611
  * @hidden
634
612
  */
635
613
  EmbedEvent["V1Data"] = "exportVizDataToParent";
636
614
  /**
637
615
  * Emitted when the embed does not have cookie access. This happens
638
616
  * when Safari and other Web browsers block third-party cookies
639
- * are blocked by default. `NoCookieAccess` can trigger
640
- *
617
+ * are blocked by default.
641
618
  * @example
642
619
  *```js
643
620
  * appEmbed.on(EmbedEvent.NoCookieAccess)
@@ -647,14 +624,12 @@ var EmbedEvent;
647
624
  EmbedEvent["NoCookieAccess"] = "noCookieAccess";
648
625
  /**
649
626
  * Emitted when SAML is complete
650
- *
651
627
  * @private
652
628
  * @hidden
653
629
  */
654
630
  EmbedEvent["SAMLComplete"] = "samlComplete";
655
631
  /**
656
632
  * Emitted when any modal is opened in the app
657
- *
658
633
  * @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
659
634
  * @example
660
635
  *```js
@@ -666,7 +641,6 @@ var EmbedEvent;
666
641
  EmbedEvent["DialogOpen"] = "dialog-open";
667
642
  /**
668
643
  * Emitted when any modal is closed in the app
669
- *
670
644
  * @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
671
645
  * @example
672
646
  *```js
@@ -679,8 +653,7 @@ var EmbedEvent;
679
653
  /**
680
654
  * Emitted when the Liveboard shell loads.
681
655
  * You can use this event as a hook to trigger
682
- * other events on the rendered Liveboard.
683
- *
656
+ * actions on the rendered Liveboard.
684
657
  * @version SDK: 1.9.1 | ThoughtSpot: 8.1.0.cl, 8.4.1.sw
685
658
  * @example
686
659
  *```js
@@ -700,9 +673,7 @@ var EmbedEvent;
700
673
  */
701
674
  EmbedEvent["LiveboardRendered"] = "PinboardRendered";
702
675
  /**
703
- * This can be used to register an event listener which
704
- * is triggered on all events.
705
- *
676
+ * Emits all events.
706
677
  * @Version SDK: 1.10.0 | ThoughtSpot: 8.2.0.cl, 8.4.1.sw
707
678
  * @example
708
679
  *```js
@@ -714,17 +685,16 @@ var EmbedEvent;
714
685
  EmbedEvent["ALL"] = "*";
715
686
  /**
716
687
  * Emitted when an Answer is saved in the app
717
- *
718
688
  * @Version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
719
689
  * @example
720
690
  *```js
721
- * //trigger when action starts
691
+ * //Emit when action starts
722
692
  * searchEmbed.on(EmbedEvent.Save, payload => {
723
693
  * console.log('Save', payload)
724
694
  * }, {
725
695
  * start: true
726
696
  * })
727
- * //trigger when action ends
697
+ * //emit when action ends
728
698
  * searchEmbed.on(EmbedEvent.Save, payload => {
729
699
  * console.log('Save', payload)
730
700
  * })
@@ -734,15 +704,14 @@ var EmbedEvent;
734
704
  /**
735
705
  * Emitted when the download action is triggered on an answer
736
706
  *
737
- * **Note**: This event is deprecated in v1.21.0.
707
+ * **Note**: This event is deprecated in v1.21.0.
738
708
  * To fire an event when a download action is initiated on a chart or table,
739
709
  * use `EmbedEvent.DownloadAsPng`, `EmbedEvent.DownloadAsPDF`, `EmbedEvent.DownloadAsCSV`,
740
710
  * or `EmbedEvent.DownloadAsXLSX`
741
- *
742
711
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
743
712
  * @example
744
713
  *```js
745
- * liveboardEmbed.trigger(HostEvent.Download, {
714
+ * liveboardEmbed.on(EmbedEvent.Download, {
746
715
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'
747
716
  * })
748
717
  *```
@@ -750,14 +719,13 @@ var EmbedEvent;
750
719
  EmbedEvent["Download"] = "download";
751
720
  /**
752
721
  * Emitted when the download action is triggered on an answer
753
- *
754
722
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.0.sw
755
723
  * @example
756
724
  *```js
757
- * //trigger when action starts
725
+ * //emit when action starts
758
726
  * searchEmbed.on(EmbedEvent.DownloadAsPng, payload => {
759
727
  * console.log('download PNG', payload)}, {start: true })
760
- * //trigger when action ends
728
+ * //emit when action ends
761
729
  * searchEmbed.on(EmbedEvent.DownloadAsPng, payload => {
762
730
  * console.log('download PNG', payload)})
763
731
  *```
@@ -765,14 +733,13 @@ var EmbedEvent;
765
733
  EmbedEvent["DownloadAsPng"] = "downloadAsPng";
766
734
  /**
767
735
  * Emitted when the Download as PDF action is triggered on an answer
768
- *
769
736
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
770
737
  * @example
771
738
  *```js
772
- * //trigger when action starts
739
+ * //emit when action starts
773
740
  * searchEmbed.on(EmbedEvent.DownloadAsPdf, payload => {
774
741
  * console.log('download PDF', payload)}, {start: true })
775
- * //trigger when action ends
742
+ * //emit when action ends
776
743
  * searchEmbed.on(EmbedEvent.DownloadAsPdf, payload => {
777
744
  * console.log('download PDF', payload)})
778
745
  *```
@@ -780,14 +747,13 @@ var EmbedEvent;
780
747
  EmbedEvent["DownloadAsPdf"] = "downloadAsPdf";
781
748
  /**
782
749
  * Emitted when the Download as CSV action is triggered on an answer
783
- *
784
750
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
785
751
  * @example
786
752
  *```js
787
- * //trigger when action starts
753
+ * //emit when action starts
788
754
  * searchEmbed.on(EmbedEvent.DownloadAsCSV, payload => {
789
755
  * console.log('download CSV', payload)}, {start: true })
790
- * //trigger when action ends
756
+ * //emit when action ends
791
757
  * searchEmbed.on(EmbedEvent.DownloadAsCSV, payload => {
792
758
  * console.log('download CSV', payload)})
793
759
  *```
@@ -795,14 +761,13 @@ var EmbedEvent;
795
761
  EmbedEvent["DownloadAsCsv"] = "downloadAsCsv";
796
762
  /**
797
763
  * Emitted when the Download as XLSX action is triggered on an answer
798
- *
799
764
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
800
765
  * @example
801
766
  *```js
802
- * //trigger when action starts
767
+ * //emit when action starts
803
768
  * searchEmbed.on(EmbedEvent.DownloadAsXlsx, payload => {
804
769
  * console.log('download Xlsx', payload)}, { start: true })
805
- * //trigger when action ends
770
+ * //emit when action ends
806
771
  * searchEmbed.on(EmbedEvent.DownloadAsXlsx, payload => {
807
772
  * console.log('download Xlsx', payload)})
808
773
  *```
@@ -810,14 +775,13 @@ var EmbedEvent;
810
775
  EmbedEvent["DownloadAsXlsx"] = "downloadAsXlsx";
811
776
  /**
812
777
  * Emitted when an Answer is deleted in the app
813
- *
814
778
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
815
779
  * @example
816
780
  *```js
817
- * //trigger when action starts
781
+ * //emit when action starts
818
782
  * appEmbed.on(EmbedEvent.AnswerDelete, payload => {
819
783
  * console.log('delete answer', payload)}, {start: true })
820
- * //trigger when action is completed
784
+ * //emit when action is completed
821
785
  * appEmbed.on(EmbedEvent.AnswerDelete, payload => {
822
786
  * console.log('delete answer', payload)})
823
787
  *```
@@ -825,17 +789,16 @@ var EmbedEvent;
825
789
  EmbedEvent["AnswerDelete"] = "answerDelete";
826
790
  /**
827
791
  * Emitted when an answer is pinned to a Liveboard
828
- *
829
792
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
830
793
  * @example
831
794
  *```js
832
- * //trigger when action starts
795
+ * //emit when action starts
833
796
  * searchEmbed.on(EmbedEvent.Pin, payload => {
834
797
  * console.log('pin', payload)
835
798
  * }, {
836
799
  * start: true
837
800
  * })
838
- * //trigger when action ends
801
+ * //emit when action ends
839
802
  * searchEmbed.on(EmbedEvent.Pin, payload => {
840
803
  * console.log('pin', payload)
841
804
  * })
@@ -844,17 +807,16 @@ var EmbedEvent;
844
807
  EmbedEvent["Pin"] = "pin";
845
808
  /**
846
809
  * Emitted when SpotIQ analysis is triggered
847
- *
848
810
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
849
811
  * @example
850
812
  *```js
851
- * //trigger when action starts
813
+ * //emit when action starts
852
814
  * searchEmbed.on(EmbedEvent.SpotIQAnalyze, payload => {
853
815
  * console.log('SpotIQAnalyze', payload)
854
816
  * }, {
855
817
  * start: true
856
818
  * })
857
- * //trigger when action ends
819
+ * //emit when action ends
858
820
  * searchEmbed.on(EmbedEvent.SpotIQAnalyze, payload => {
859
821
  * console.log('SpotIQ analyze', payload)
860
822
  * })
@@ -863,17 +825,16 @@ var EmbedEvent;
863
825
  EmbedEvent["SpotIQAnalyze"] = "spotIQAnalyze";
864
826
  /**
865
827
  * Emitted when a user shares an object with another user or group
866
- *
867
828
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
868
829
  * @example
869
830
  *```js
870
- * //trigger when action starts
831
+ * //emit when action starts
871
832
  * searchEmbed.on(EmbedEvent.Share, payload => {
872
833
  * console.log('Share', payload)
873
834
  * }, {
874
835
  * start: true
875
836
  * })
876
- * //trigger when action ends
837
+ * //emit when action ends
877
838
  * searchEmbed.on(EmbedEvent.Share, payload => {
878
839
  * console.log('Share', payload)
879
840
  * })
@@ -883,7 +844,6 @@ var EmbedEvent;
883
844
  /**
884
845
  * Emitted when a user clicks the **Include** action to include a specific value or
885
846
  * data on a chart or table.
886
- *
887
847
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
888
848
  * @example
889
849
  *```js
@@ -896,7 +856,6 @@ var EmbedEvent;
896
856
  /**
897
857
  * Emitted when a user clicks the **Exclude** action to exclude a specific value or
898
858
  * data on a chart or table
899
- *
900
859
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
901
860
  * @example
902
861
  *```js
@@ -908,7 +867,6 @@ var EmbedEvent;
908
867
  EmbedEvent["DrillExclude"] = "context-menu-item-exclude";
909
868
  /**
910
869
  * Emitted when a column value is copied in the embedded app.
911
- *
912
870
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
913
871
  * @example
914
872
  *```js
@@ -920,7 +878,6 @@ var EmbedEvent;
920
878
  EmbedEvent["CopyToClipboard"] = "context-menu-item-copy-to-clipboard";
921
879
  /**
922
880
  * Emitted when a user clicks the **Update TML** action
923
- *
924
881
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
925
882
  * @example
926
883
  *```js
@@ -931,7 +888,6 @@ var EmbedEvent;
931
888
  EmbedEvent["UpdateTML"] = "updateTSL";
932
889
  /**
933
890
  * Emitted when a user clicks the **Edit TML** action
934
- *
935
891
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
936
892
  * @example
937
893
  *```js
@@ -944,14 +900,13 @@ var EmbedEvent;
944
900
  /**
945
901
  * Emitted when the **Export TML** action is triggered on an
946
902
  * an embedded object in the app
947
- *
948
903
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
949
904
  * @example
950
905
  *```js
951
- * //trigger when action starts
906
+ * //emit when action starts
952
907
  * searchEmbed.on(EmbedEvent.ExportTML, payload => {
953
908
  * console.log('Export TML', payload)}, { start: true })
954
- * //trigger when action ends
909
+ * //emit when action ends
955
910
  * searchEmbed.on(EmbedEvent.ExportTML, payload => {
956
911
  * console.log('Export TML', payload)})
957
912
  *```
@@ -959,7 +914,6 @@ var EmbedEvent;
959
914
  EmbedEvent["ExportTML"] = "exportTSL";
960
915
  /**
961
916
  * Emitted when an Answer is saved as a View.
962
- *
963
917
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
964
918
  * @example
965
919
  *```js
@@ -971,14 +925,13 @@ var EmbedEvent;
971
925
  EmbedEvent["SaveAsView"] = "saveAsView";
972
926
  /**
973
927
  * Emitted when the user creates a copy of an Answer
974
- *
975
928
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
976
929
  * @example
977
930
  *```js
978
- * //trigger when action starts
931
+ * //emit when action starts
979
932
  * appEmbed.on(EmbedEvent.CopyAEdit, payload => {
980
933
  * console.log('Copy and edit', payload)}, {start: true })
981
- * //trigger when action ends
934
+ * //emit when action ends
982
935
  * appEmbed.on(EmbedEvent.CopyAEdit, payload => {
983
936
  * console.log('Copy and edit', payload)})
984
937
  *```
@@ -986,7 +939,6 @@ var EmbedEvent;
986
939
  EmbedEvent["CopyAEdit"] = "copyAEdit";
987
940
  /**
988
941
  * Emitted when a user clicks Show underlying data on an Answer
989
- *
990
942
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
991
943
  * @example
992
944
  *```js
@@ -998,7 +950,6 @@ var EmbedEvent;
998
950
  EmbedEvent["ShowUnderlyingData"] = "showUnderlyingData";
999
951
  /**
1000
952
  * Emitted when an answer is switched to a chart or table view.
1001
- *
1002
953
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
1003
954
  * @example
1004
955
  *```js
@@ -1010,13 +961,11 @@ var EmbedEvent;
1010
961
  EmbedEvent["AnswerChartSwitcher"] = "answerChartSwitcher";
1011
962
  /**
1012
963
  * Internal event to communicate the initial settings back to the ThoughtSpot app
1013
- *
1014
964
  * @hidden
1015
965
  */
1016
966
  EmbedEvent["APP_INIT"] = "appInit";
1017
967
  /**
1018
968
  * Emitted when a user clicks **Show Liveboard details** on a Liveboard
1019
- *
1020
969
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1021
970
  * @example
1022
971
  *```js
@@ -1028,7 +977,6 @@ var EmbedEvent;
1028
977
  EmbedEvent["LiveboardInfo"] = "pinboardInfo";
1029
978
  /**
1030
979
  * Emitted when a user clicks on the Favorite icon on a Liveboard
1031
- *
1032
980
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1033
981
  * @example
1034
982
  *```js
@@ -1040,7 +988,6 @@ var EmbedEvent;
1040
988
  EmbedEvent["AddToFavorites"] = "addToFavorites";
1041
989
  /**
1042
990
  * Emitted when a user clicks **Schedule** on a Liveboard
1043
- *
1044
991
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1045
992
  * @example
1046
993
  *```js
@@ -1052,7 +999,6 @@ var EmbedEvent;
1052
999
  EmbedEvent["Schedule"] = "subscription";
1053
1000
  /**
1054
1001
  * Emitted when a user clicks **Edit** on a Liveboard or visualization
1055
- *
1056
1002
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1057
1003
  * @example
1058
1004
  *```js
@@ -1064,7 +1010,6 @@ var EmbedEvent;
1064
1010
  EmbedEvent["Edit"] = "edit";
1065
1011
  /**
1066
1012
  * Emitted when a user clicks *Make a copy* on a Liveboard
1067
- *
1068
1013
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1069
1014
  * @example
1070
1015
  *```js
@@ -1076,11 +1021,10 @@ var EmbedEvent;
1076
1021
  EmbedEvent["MakeACopy"] = "makeACopy";
1077
1022
  /**
1078
1023
  * Emitted when a user clicks **Present** on a Liveboard or visualization
1079
- *
1080
1024
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1081
1025
  * @example
1082
1026
  *```js
1083
- * liveboardEmbed.trigger(HostEvent.Present)
1027
+ * liveboardEmbed.on(EmbedEvent.Present)
1084
1028
  *```
1085
1029
  * @example
1086
1030
  *```js
@@ -1092,71 +1036,64 @@ var EmbedEvent;
1092
1036
  EmbedEvent["Present"] = "present";
1093
1037
  /**
1094
1038
  * Emitted when a user clicks **Delete** on a visualization
1095
- *
1096
1039
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1097
1040
  * @example
1098
1041
  *```js
1099
- * liveboardEmbed.trigger(EmbedEvent.Delete,
1042
+ * liveboardEmbed.on(EmbedEvent.Delete,
1100
1043
  * {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
1101
1044
  *```
1102
1045
  */
1103
1046
  EmbedEvent["Delete"] = "delete";
1104
1047
  /**
1105
1048
  * Emitted when a user clicks Manage schedules on a Liveboard
1106
- *
1107
1049
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1108
1050
  * @example
1109
1051
  *```js
1110
- * liveboardEmbed.trigger(EmbedEvent.SchedulesList)
1052
+ * liveboardEmbed.on(EmbedEvent.SchedulesList)
1111
1053
  *```
1112
1054
  */
1113
1055
  EmbedEvent["SchedulesList"] = "schedule-list";
1114
1056
  /**
1115
1057
  * Emitted when a user clicks **Cancel** in edit mode on a Liveboard
1116
- *
1117
1058
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1118
1059
  * @example
1119
1060
  *```js
1120
- * liveboardEmbed.trigger(EmbedEvent.Cancel)
1061
+ * liveboardEmbed.on(EmbedEvent.Cancel)
1121
1062
  *```
1122
1063
  */
1123
1064
  EmbedEvent["Cancel"] = "cancel";
1124
1065
  /**
1125
1066
  * Emitted when a user clicks **Explore** on a visualization
1126
- *
1127
1067
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1128
1068
  * @example
1129
1069
  *```js
1130
- * liveboardEmbed.trigger(EmbedEvent.Explore, {
1070
+ * liveboardEmbed.on(EmbedEvent.Explore, {
1131
1071
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
1132
1072
  *```
1133
1073
  */
1134
1074
  EmbedEvent["Explore"] = "explore";
1135
1075
  /**
1136
1076
  * Emitted when a user clicks **Copy link** action on a visualization
1137
- *
1138
1077
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1139
1078
  * @example
1140
1079
  *```js
1141
- * liveboardEmbed.trigger(EmbedEvent.CopyLink, {
1080
+ * liveboardEmbed.on(EmbedEvent.CopyLink, {
1142
1081
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
1143
1082
  *```
1144
1083
  */
1145
1084
  EmbedEvent["CopyLink"] = "embedDocument";
1146
1085
  /**
1147
1086
  * Emitted when a user interacts with cross filters on a visualization or Liveboard
1148
- *
1149
1087
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
1150
1088
  * @example
1151
1089
  *```js
1152
- * liveboardEmbed.trigger(HostEvent.CrossFilterChanged, {
1090
+ * liveboardEmbed.on(EmbedEvent.CrossFilterChanged, {
1153
1091
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
1154
1092
  *```
1155
1093
  */
1156
1094
  EmbedEvent["CrossFilterChanged"] = "cross-filter-changed";
1157
1095
  /**
1158
1096
  * Emitted when a user right clicks on a visualization (chart or table)
1159
- *
1160
1097
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
1161
1098
  * @example
1162
1099
  *```js
@@ -1168,44 +1105,53 @@ var EmbedEvent;
1168
1105
  EmbedEvent["VizPointRightClick"] = "vizPointRightClick";
1169
1106
  /**
1170
1107
  * Emitted when a user clicks **Insert to slide** on a visualization
1171
- *
1172
1108
  * @hidden
1173
1109
  */
1174
1110
  EmbedEvent["InsertIntoSlide"] = "insertInToSlide";
1175
1111
  /**
1176
- * @hidden
1177
1112
  * Emitted when a user changes any filter on a Liveboard.
1113
+ * Returns filter type and name, column name and ID, and runtime
1114
+ * filter details.
1115
+ * @example
1116
+ *
1117
+ *```js
1118
+ * LiveboardEmbed.on(EmbedEvent.FilterChanged, (payload) => {
1119
+ * console.log('payload', payload);
1120
+ * })
1121
+ *
1178
1122
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl, 9.5.0.sw
1123
+ * @example
1124
+ *
1125
+ *```js
1126
+ * LiveboardEmbed.on(EmbedEvent.FilterChanged, (payload) => {
1127
+ * console.log('payload', payload);
1128
+ * })
1129
+ *```
1179
1130
  */
1180
1131
  EmbedEvent["FilterChanged"] = "filterChanged";
1181
1132
  /**
1182
1133
  * Emitted when a user clicks the **Go** button on the Search page
1183
- *
1184
1134
  * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
1185
1135
  */
1186
1136
  EmbedEvent["SageEmbedQuery"] = "sageEmbedQuery";
1187
1137
  /**
1188
1138
  * Emitted when a user selects a data source.
1189
- *
1190
1139
  * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
1191
1140
  */
1192
1141
  EmbedEvent["SageWorksheetUpdated"] = "sageWorksheetUpdated";
1193
1142
  /**
1194
1143
  * Emitted when a user updates a connection on the **Data** page
1195
- *
1196
1144
  * @version SDK : 1.27.0 | Thoughtspot: 9.8.0.cl, 9.8.0.sw
1197
1145
  */
1198
1146
  EmbedEvent["UpdateConnection"] = "updateConnection";
1199
1147
  /**
1200
1148
  * Emitted when a user updates a connection on the **Data** page
1201
- *
1202
1149
  * @version SDK : 1.27.0 | Thoughtspot: 9.8.0.cl, 9.8.0.sw
1203
1150
  */
1204
1151
  EmbedEvent["CreateConnection"] = "createConnection";
1205
1152
  /**
1206
1153
  * Emitted when name, status (private or public) or filter values of a
1207
1154
  * Personalised view is updated.
1208
- *
1209
1155
  * @returns viewName: string
1210
1156
  * @returns viewId: string
1211
1157
  * @returns liveboardId: string
@@ -1215,7 +1161,6 @@ var EmbedEvent;
1215
1161
  EmbedEvent["UpdatePersonalisedView"] = "updatePersonalisedView";
1216
1162
  /**
1217
1163
  * Emitted when a Personalised view is saved.
1218
- *
1219
1164
  * @returns viewName: string
1220
1165
  * @returns viewId: string
1221
1166
  * @returns liveboardId: string
@@ -1225,7 +1170,6 @@ var EmbedEvent;
1225
1170
  EmbedEvent["SavePersonalisedView"] = "savePersonalisedView";
1226
1171
  /**
1227
1172
  * Emitted when a Liveboard is reset.
1228
- *
1229
1173
  * @returns viewName: string
1230
1174
  * @returns viewId: string
1231
1175
  * @returns liveboardId: string
@@ -1235,7 +1179,6 @@ var EmbedEvent;
1235
1179
  EmbedEvent["ResetLiveboard"] = "resetLiveboard";
1236
1180
  /**
1237
1181
  * Emitted when a PersonalisedView is deleted.
1238
- *
1239
1182
  * @returns views: string[]
1240
1183
  * @returns liveboardId: string
1241
1184
  * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
@@ -1243,13 +1186,11 @@ var EmbedEvent;
1243
1186
  EmbedEvent["DeletePersonalisedView"] = "deletePersonalisedView";
1244
1187
  /**
1245
1188
  * Emitted when a user creates a new worksheet
1246
- *
1247
1189
  * @version SDK : 1.27.0 | Thoughtspot: 9.8.0.cl
1248
1190
  */
1249
1191
  EmbedEvent["CreateWorksheet"] = "createWorksheet";
1250
1192
  /**
1251
1193
  * Emitted when Ask Sage is initialized.
1252
- *
1253
1194
  * @returns viewName: string
1254
1195
  * @returns viewId: string
1255
1196
  * @returns liveboardId: string
@@ -1259,10 +1200,32 @@ var EmbedEvent;
1259
1200
  EmbedEvent["AskSageInit"] = "AskSageInit";
1260
1201
  /**
1261
1202
  * Emitted when a LB/viz is renamed
1262
- *
1263
1203
  * @version SDK : 1.28.0 | ThoughtSpot: 9.10.5.cl
1264
1204
  */
1265
1205
  EmbedEvent["Rename"] = "rename";
1206
+ /**
1207
+ * Emitted when user wants to intercept the search execution
1208
+ *
1209
+ * Make isOnBeforeGetVizDataEnabled : true to use this embed
1210
+ * event
1211
+ *
1212
+ *```js
1213
+ * searchEmbed.on(EmbedEvent.OnBeforeGetVizData, (payload, responder) => {
1214
+ * responder({
1215
+ * data: {
1216
+ * execute: true,
1217
+ * error: {errorText: "My own customised error"}
1218
+ * }})
1219
+ * })
1220
+ *```
1221
+ * @version SDK : 1.29.0 | Thoughtspot : 10.1.0.cl
1222
+ */
1223
+ EmbedEvent["OnBeforeGetVizDataIntercept"] = "onBeforeGetVizDataIntercept";
1224
+ /**
1225
+ * Emitted when runtime parameters changes
1226
+ * @version SDK : 1.29.0 | Thoughtspot : 10.1.0.cl
1227
+ */
1228
+ EmbedEvent["ParameterChanged"] = "ParameterChanged";
1266
1229
  })(EmbedEvent = exports.EmbedEvent || (exports.EmbedEvent = {}));
1267
1230
  /**
1268
1231
  * Event types that can be triggered by the host application
@@ -1271,7 +1234,6 @@ var EmbedEvent;
1271
1234
  * To trigger an event use the corresponding
1272
1235
  * {@link LiveboardEmbed.trigger} or {@link AppEmbed.trigger} or {@link
1273
1236
  * SearchEmbed.trigger} method.
1274
- *
1275
1237
  * @example
1276
1238
  * ```js
1277
1239
  * import { HostEvent } from '@thoughtspot/visual-embed-sdk';
@@ -1294,7 +1256,6 @@ var HostEvent;
1294
1256
  * the search query string.
1295
1257
  * Supported in `AppEmbed` and `SearchEmbed` deployments.
1296
1258
  * Includes the following properties:
1297
- *
1298
1259
  * @param - `searchQuery` - query string with search tokens
1299
1260
  * @param - `dataSources` - Data source GUID to Search on
1300
1261
  * - Although an array, only a single source
@@ -1313,7 +1274,6 @@ var HostEvent;
1313
1274
  /**
1314
1275
  * Triggers a drill on certain points of the specified column
1315
1276
  * Includes the following properties:
1316
- *
1317
1277
  * @param - points - an object containing selectedPoints/clickedPoints
1318
1278
  * to drill to. For example, { selectedPoints: []}
1319
1279
  * @param - columnGuid - Optional. GUID of the column to drill
@@ -1363,19 +1323,16 @@ var HostEvent;
1363
1323
  HostEvent["DrillDown"] = "triggerDrillDown";
1364
1324
  /**
1365
1325
  * Apply filters
1366
- *
1367
1326
  * @hidden
1368
1327
  */
1369
1328
  HostEvent["Filter"] = "filter";
1370
1329
  /**
1371
1330
  * Reload the answer or visualization
1372
- *
1373
1331
  * @hidden
1374
1332
  */
1375
1333
  HostEvent["Reload"] = "reload";
1376
1334
  /**
1377
1335
  * Display specific visualizations on a Liveboard.
1378
- *
1379
1336
  * @param - An array of GUIDs of the visualization to show. The visualization IDs not passed
1380
1337
  * in this parameter will be hidden.
1381
1338
  * @example
@@ -1389,7 +1346,6 @@ var HostEvent;
1389
1346
  HostEvent["SetVisibleVizs"] = "SetPinboardVisibleVizs";
1390
1347
  /**
1391
1348
  * Set a Liveboard tab as an active tab.
1392
- *
1393
1349
  * @param - tabId - string of id of Tab to show
1394
1350
  * @example
1395
1351
  * ```js
@@ -1405,18 +1361,21 @@ var HostEvent;
1405
1361
  * runtime filters passed here are appended to the existing runtime
1406
1362
  * filters.
1407
1363
  * Pass an array of runtime filters with the following attributes:
1364
+ *
1408
1365
  * `columnName`
1409
1366
  * _String_. The name of the column to filter on.
1367
+ *
1410
1368
  * `operator`
1411
- * Runtime filter operator to apply. For information,
1412
- * see https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator.
1369
+ * Runtime filter operator to apply. For information,
1370
+ * see [Developer Documentation](https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator).
1371
+ *
1413
1372
  * `values`
1414
- * List of operands. Some operators such as EQ, LE allow a single value, whereas
1415
- * operators such as BW and IN accept multiple operands.
1416
- * **Note**: `HostEvent.UpdateRuntimeFilters` is not supported in
1417
- * Search embedding (SearchEmbed) and Natural Language Search
1418
- * embedding (SageEmbed).
1373
+ * List of operands. Some operators such as EQ, LE allow a single value, whereas
1374
+ * operators such as BW and IN accept multiple operands.
1419
1375
  *
1376
+ * **Note**: `HostEvent.UpdateRuntimeFilters` is not supported in
1377
+ * Search embedding (SearchEmbed) and Natural Language Search
1378
+ * embedding (SageEmbed).
1420
1379
  * @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
1421
1380
  * @example
1422
1381
  * ```js
@@ -1432,7 +1391,6 @@ var HostEvent;
1432
1391
  /**
1433
1392
  * Navigate to a specific page in the embedded ThoughtSpot application.
1434
1393
  * This is the same as calling `appEmbed.navigateToPage(path, true)`
1435
- *
1436
1394
  * @param - `path` - the path to navigate to to go forward or back. The path value can
1437
1395
  * be a number; for example, `1`, `-1`.
1438
1396
  * @example
@@ -1445,7 +1403,6 @@ var HostEvent;
1445
1403
  /**
1446
1404
  * Open the filter panel for a particular column.
1447
1405
  * Works with Search and Liveboard embed.
1448
- *
1449
1406
  * @param - { columnId: string,
1450
1407
  * name: string,
1451
1408
  * type: INT64/CHAR/DATE,
@@ -1462,7 +1419,6 @@ var HostEvent;
1462
1419
  HostEvent["OpenFilter"] = "openFilter";
1463
1420
  /**
1464
1421
  * Add columns to the current search query.
1465
- *
1466
1422
  * @param - { columnIds: string[] }
1467
1423
  * @example
1468
1424
  * ```js
@@ -1473,7 +1429,6 @@ var HostEvent;
1473
1429
  HostEvent["AddColumns"] = "addColumns";
1474
1430
  /**
1475
1431
  * Remove a column from the current search query.
1476
- *
1477
1432
  * @param - { columnId: string }
1478
1433
  * @example
1479
1434
  * ```js
@@ -1488,7 +1443,6 @@ var HostEvent;
1488
1443
  * Liveboard filters, runtime filters applied on visualizations on a
1489
1444
  * Liveboard, and Liveboard layout, changes to visualizations such as
1490
1445
  * sorting, toggling of legends, and data drill down.
1491
- *
1492
1446
  * @example
1493
1447
  * ```js
1494
1448
  * liveboardEmbed.trigger(HostEvent.getexportrequestforcurrentpinboard).then(
@@ -1499,7 +1453,6 @@ var HostEvent;
1499
1453
  HostEvent["getExportRequestForCurrentPinboard"] = "getExportRequestForCurrentPinboard";
1500
1454
  /**
1501
1455
  * Trigger the **Pin** action on an embedded object
1502
- *
1503
1456
  * @param - Liveboard embed takes the `vizId` as a
1504
1457
  * key. Can be left undefined when embedding Search, full app, or
1505
1458
  * a visualization.
@@ -1516,7 +1469,6 @@ var HostEvent;
1516
1469
  /**
1517
1470
  * Trigger the **Show Liveboard details** action
1518
1471
  * on an embedded Liveboard.
1519
- *
1520
1472
  * @example
1521
1473
  *```js
1522
1474
  * liveboardEmbed.trigger(HostEvent.LiveboardInfo)
@@ -1526,7 +1478,6 @@ var HostEvent;
1526
1478
  HostEvent["LiveboardInfo"] = "pinboardInfo";
1527
1479
  /**
1528
1480
  * Trigger the **Schedule** action on an embedded Liveboard.
1529
- *
1530
1481
  * @example
1531
1482
  * ```js
1532
1483
  * liveboardEmbed.trigger(HostEvent.Schedule)
@@ -1536,7 +1487,6 @@ var HostEvent;
1536
1487
  HostEvent["Schedule"] = "subscription";
1537
1488
  /**
1538
1489
  * Trigger the **Manage schedule** action on an embedded Liveboard
1539
- *
1540
1490
  * @example
1541
1491
  * ```js
1542
1492
  * liveboardEmbed.trigger(HostEvent.ScheduleList)
@@ -1546,7 +1496,6 @@ var HostEvent;
1546
1496
  HostEvent["SchedulesList"] = "schedule-list";
1547
1497
  /**
1548
1498
  * Trigger the **Export TML** action on an embedded Liveboard.
1549
- *
1550
1499
  * @example
1551
1500
  * ```js
1552
1501
  * liveboardEmbed.trigger(HostEvent.ExportTML)
@@ -1556,7 +1505,6 @@ var HostEvent;
1556
1505
  HostEvent["ExportTML"] = "exportTSL";
1557
1506
  /**
1558
1507
  * Trigger the **Edit TML** action on an embedded Liveboard.
1559
- *
1560
1508
  * @example
1561
1509
  * ```js
1562
1510
  * liveboardEmbed.trigger(HostEvent.EditTML)
@@ -1566,7 +1514,6 @@ var HostEvent;
1566
1514
  HostEvent["EditTML"] = "editTSL";
1567
1515
  /**
1568
1516
  * Trigger the **Update TML** action on an embedded Liveboard.
1569
- *
1570
1517
  * @example
1571
1518
  * ```js
1572
1519
  * liveboardEmbed.trigger(HostEvent.UpdateTML)
@@ -1576,7 +1523,6 @@ var HostEvent;
1576
1523
  HostEvent["UpdateTML"] = "updateTSL";
1577
1524
  /**
1578
1525
  * Trigger the **Download PDF** action on an embedded Liveboard.
1579
- *
1580
1526
  * @example
1581
1527
  * ```js
1582
1528
  * liveboardEmbed.trigger(HostEvent.DownloadAsPdf)
@@ -1587,7 +1533,6 @@ var HostEvent;
1587
1533
  /**
1588
1534
  * Trigger the **Make a copy** action on a Liveboard, Search, or
1589
1535
  * visualization page.
1590
- *
1591
1536
  * @example
1592
1537
  * ```js
1593
1538
  * liveboardEmbed.trigger(HostEvent.MakeACopy, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
@@ -1603,7 +1548,6 @@ var HostEvent;
1603
1548
  HostEvent["MakeACopy"] = "makeACopy";
1604
1549
  /**
1605
1550
  * Trigger the **Delete** action for a Liveboard.
1606
- *
1607
1551
  * @example
1608
1552
  * ```js
1609
1553
  * appEmbed.trigger(HostEvent.Remove)
@@ -1613,7 +1557,6 @@ var HostEvent;
1613
1557
  HostEvent["Remove"] = "delete";
1614
1558
  /**
1615
1559
  * Trigger the **Explore** action on a visualization.
1616
- *
1617
1560
  * @param - an object with `vizId` as a key
1618
1561
  * @example
1619
1562
  * ```js
@@ -1624,7 +1567,6 @@ var HostEvent;
1624
1567
  HostEvent["Explore"] = "explore";
1625
1568
  /**
1626
1569
  * Trigger the **Create alert** action on a visualization
1627
- *
1628
1570
  * @param - an object with `vizId` as a key
1629
1571
  * @example
1630
1572
  * ```js
@@ -1637,7 +1579,6 @@ var HostEvent;
1637
1579
  HostEvent["CreateMonitor"] = "createMonitor";
1638
1580
  /**
1639
1581
  * Trigger the **Manage alerts** action on a visualization
1640
- *
1641
1582
  * @param - an object with `vizId` as a key
1642
1583
  * @example
1643
1584
  * ```js
@@ -1650,7 +1591,6 @@ var HostEvent;
1650
1591
  HostEvent["ManageMonitor"] = "manageMonitor";
1651
1592
  /**
1652
1593
  * Trigger the **Edit** action on a Liveboard or visualization
1653
- *
1654
1594
  * @param - object - To trigger the action for a specific visualization
1655
1595
  * in Liveboard embed, pass in `vizId` as a key.
1656
1596
  * Can be left undefined when embedding Search, full app, or
@@ -1671,7 +1611,6 @@ var HostEvent;
1671
1611
  HostEvent["Edit"] = "edit";
1672
1612
  /**
1673
1613
  * Trigger the **Copy link** action on a Liveboard or visualization
1674
- *
1675
1614
  * @param - object - to trigger the action for a
1676
1615
  * specific visualization in Liveboard embed, pass in `vizId` as a key
1677
1616
  * @example
@@ -1689,7 +1628,6 @@ var HostEvent;
1689
1628
  HostEvent["CopyLink"] = "embedDocument";
1690
1629
  /**
1691
1630
  * Trigger the **Present** action on a Liveboard or visualization
1692
- *
1693
1631
  * @param - object - to trigger the action for a specific visualization
1694
1632
  * in Liveboard embed, pass in `vizId` as a key
1695
1633
  * @example
@@ -1707,12 +1645,11 @@ var HostEvent;
1707
1645
  HostEvent["Present"] = "present";
1708
1646
  /**
1709
1647
  * Get TML for the current search.
1710
- *
1711
1648
  * @example
1712
1649
  * ```js
1713
1650
  * searchEmbed.trigger(HostEvent.GetTML).then((tml) => {
1714
1651
  * console.log(
1715
- * tml.search_query // TML representation of the search query
1652
+ * tml.answer.search_query // TML representation of the search query
1716
1653
  * );
1717
1654
  * })
1718
1655
  * ```
@@ -1722,7 +1659,6 @@ var HostEvent;
1722
1659
  HostEvent["GetTML"] = "getTML";
1723
1660
  /**
1724
1661
  * Trigger the **Show underlying data** action on visualization or search
1725
- *
1726
1662
  * @param - an object with vizId as a key
1727
1663
  * @example
1728
1664
  * ```js
@@ -1742,7 +1678,6 @@ var HostEvent;
1742
1678
  * Trigger the **Delete** action for a visualization
1743
1679
  * in an embedded Liveboard, or a chart or table
1744
1680
  * generated from Search.
1745
- *
1746
1681
  * @param - Liveboard embed takes an object with `vizId` as a key.
1747
1682
  * Can be left empty if embedding Search or visualization.
1748
1683
  * @example
@@ -1759,7 +1694,6 @@ var HostEvent;
1759
1694
  /**
1760
1695
  * Trigger the **SpotIQ analyze** action on visualization
1761
1696
  * or search.
1762
- *
1763
1697
  * @param - Liveboard embed takes `vizId` as a
1764
1698
  * key. Can be left undefined when embedding Search or
1765
1699
  * visualization.
@@ -1780,7 +1714,6 @@ var HostEvent;
1780
1714
  /**
1781
1715
  * Trigger the **Download** action on charts in
1782
1716
  * the embedded view.
1783
- *
1784
1717
  * @example
1785
1718
  * ```js
1786
1719
  * liveboardEmbed.trigger(HostEvent.Download, {vizId:
@@ -1797,7 +1730,6 @@ var HostEvent;
1797
1730
  /**
1798
1731
  * Trigger the **Download** > **PNG** action on
1799
1732
  * charts in the embedded view.
1800
- *
1801
1733
  * @example
1802
1734
  * ```js
1803
1735
  * liveboardEmbed.trigger(HostEvent.DownloadAsPng,
@@ -1813,7 +1745,6 @@ var HostEvent;
1813
1745
  /**
1814
1746
  * Trigger the **Download** > **CSV** action on tables in
1815
1747
  * the embedded view.
1816
- *
1817
1748
  * @example
1818
1749
  * ```js
1819
1750
  * liveboardEmbed.trigger(HostEvent.DownloadAsCsv, {vizId:
@@ -1831,7 +1762,6 @@ var HostEvent;
1831
1762
  /**
1832
1763
  * Trigger the **Download** > **XLSX** action on tables
1833
1764
  * in the embedded view.
1834
- *
1835
1765
  * @example
1836
1766
  * ```js
1837
1767
  * liveboardEmbed.trigger(HostEvent.DownloadAsXlsx, {vizId:
@@ -1849,7 +1779,6 @@ var HostEvent;
1849
1779
  /**
1850
1780
  * Trigger the **Share** action on an embedded
1851
1781
  * Liveboard or Answer.
1852
- *
1853
1782
  * @example
1854
1783
  * ```js
1855
1784
  * liveboardEmbed.trigger(HostEvent.Share)
@@ -1863,7 +1792,6 @@ var HostEvent;
1863
1792
  /**
1864
1793
  * Trigger the **Save** action on a Liveboard or Answer.
1865
1794
  * Saves the changes.
1866
- *
1867
1795
  * @example
1868
1796
  * ```js
1869
1797
  * liveboardEmbed.trigger(HostEvent.Save)
@@ -1877,7 +1805,6 @@ var HostEvent;
1877
1805
  /**
1878
1806
  * Trigger the **Sync to Sheets** action on an embedded visualization or Answer
1879
1807
  * Sends data from an Answer or Liveboard visualization to a Google sheet.
1880
- *
1881
1808
  * @param - an object with `vizId` as a key
1882
1809
  * @example
1883
1810
  * ```js
@@ -1894,7 +1821,6 @@ var HostEvent;
1894
1821
  * Trigger the **Sync to Other Apps** action on an embedded visualization or Answer
1895
1822
  * Sends data from an Answer or Liveboard visualization to third-party apps such
1896
1823
  * as Slack, Salesforce, Microsoft Teams, ServiceNow and so on.
1897
- *
1898
1824
  * @param - an object with vizId as a key
1899
1825
  * @example
1900
1826
  * ```js
@@ -1911,7 +1837,6 @@ var HostEvent;
1911
1837
  * Trigger the **Manage pipelines** action on an embedded
1912
1838
  * visualization or Answer.
1913
1839
  * Allows users to manage ThoughtSpot Sync pipelines.
1914
- *
1915
1840
  * @param - an object with `vizId` as a key
1916
1841
  * @example
1917
1842
  * ```js
@@ -1926,7 +1851,6 @@ var HostEvent;
1926
1851
  HostEvent["ManagePipelines"] = "manage-pipeline";
1927
1852
  /**
1928
1853
  * Reset search operation on the Search or Answer page.
1929
- *
1930
1854
  * @example
1931
1855
  * ```js
1932
1856
  * searchEmbed.trigger(HostEvent.ResetSearch)
@@ -1938,32 +1862,70 @@ var HostEvent;
1938
1862
  */
1939
1863
  HostEvent["ResetSearch"] = "resetSearch";
1940
1864
  /**
1941
- *
1942
- * Get the currents visible and runtime filters applied on a Liveboard
1943
- *
1865
+ * Get details of the visible and runtime filters applied on Liveboard.
1944
1866
  * @example
1945
- * liveboardEmbed.trigger(HostEvent.GetFilters)
1867
+ * ```js
1868
+ * const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
1869
+ * console.log('data', data);
1870
+ * ```
1946
1871
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
1947
1872
  */
1948
1873
  HostEvent["GetFilters"] = "getFilters";
1949
1874
  /**
1875
+ * Update one or several filters applied on a Liveboard.
1876
+ * @param - `filter`: a single filter object containing column name,
1877
+ * filter operator, and values.
1878
+ * @param - `filters`: multiple filter objects with column name, filter operator,
1879
+ * and values for each.
1950
1880
  *
1951
- * Update the visible filters on the Liveboard.
1881
+ * Each filter object must include the following attributes:
1882
+ *
1883
+ * `column` - Name of the column to filter on.
1884
+ *
1885
+ * `oper` - Filter operator, for example, EQ, IN, CONTAINS.
1886
+ * For information about the supported filter operators,
1887
+ * see [Developer Documentation](https://developers.thoughtspot.com/docs/runtime-filters#rtOperator).
1888
+ *
1889
+ * `values` - An array of one or several values. The value definition on the
1890
+ * data type you choose to filter on. For a complete list of supported data types,
1891
+ * see [Developer Documentation](https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types).
1892
+ * @example
1893
+ * ```js
1952
1894
  *
1953
- * @param - filter: filter object containing column name and filter operation and values
1895
+ * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
1896
+ * filter: {
1897
+ * column: "item type",
1898
+ * oper: "IN",
1899
+ * values: ["bags","shirts"],
1900
+ * }
1901
+ * });
1902
+ * ```
1954
1903
  * @example
1955
1904
  *
1956
1905
  * ```js
1957
1906
  * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
1958
- * filter: { column: 'column name', oper: 'IN', values: [1,2,3], is_mandatory: false }
1959
- * })
1907
+ * filters: [{
1908
+ * column: "Item Type",
1909
+ * oper: 'IN',
1910
+ * values: ["bags","shirts"]
1911
+ * },
1912
+ * {
1913
+ * column: "Region",
1914
+ * oper: 'IN',
1915
+ * values: ["West","Midwest"]
1916
+ * },
1917
+ * {
1918
+ * column: "Date",
1919
+ * oper: 'EQ',
1920
+ * values: ["1656680400"]
1921
+ * }]
1922
+ * });
1960
1923
  * ```
1961
1924
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
1962
1925
  */
1963
1926
  HostEvent["UpdateFilters"] = "updateFilters";
1964
1927
  /**
1965
1928
  * Get tab details for the current Liveboard.
1966
- *
1967
1929
  * @example
1968
1930
  * ```js
1969
1931
  * liveboardEmbed.trigger(HostEvent.GetTabs).then((tabDetails) => {
@@ -1977,7 +1939,6 @@ var HostEvent;
1977
1939
  HostEvent["GetTabs"] = "getTabs";
1978
1940
  /**
1979
1941
  * Set the visible tabs on a Liveboard.
1980
- *
1981
1942
  * @param - an array of ids of tabs to show, the IDs not passed
1982
1943
  * will be hidden.
1983
1944
  * @example
@@ -1991,7 +1952,6 @@ var HostEvent;
1991
1952
  HostEvent["SetVisibleTabs"] = "SetPinboardVisibleTabs";
1992
1953
  /**
1993
1954
  * Set the hidden tabs on a Liveboard.
1994
- *
1995
1955
  * @param - an array of the IDs of the tabs to hide.
1996
1956
  * The IDs not passed will be shown.
1997
1957
  * @example
@@ -2005,7 +1965,6 @@ var HostEvent;
2005
1965
  HostEvent["SetHiddenTabs"] = "SetPinboardHiddenTabs";
2006
1966
  /**
2007
1967
  * Updates the search query string for Natural Language Search operations.
2008
- *
2009
1968
  * @param - `queryString`: Text string in Natural Language format
2010
1969
  * @param - `executeSearch`: Boolean to execute search and update search query
2011
1970
  * @example
@@ -2020,7 +1979,6 @@ var HostEvent;
2020
1979
  HostEvent["UpdateSageQuery"] = "updateSageQuery";
2021
1980
  /**
2022
1981
  * Get the answer session for a Search / Visualization.
2023
- *
2024
1982
  * @example
2025
1983
  * ```js
2026
1984
  * const {session} = await embed.trigger(
@@ -2033,7 +1991,6 @@ var HostEvent;
2033
1991
  HostEvent["GetAnswerSession"] = "getAnswerSession";
2034
1992
  /**
2035
1993
  * Trigger Ask Sage for viz
2036
- *
2037
1994
  * @example
2038
1995
  * ```js
2039
1996
  * liveboardEmbed.trigger(HostEvent.AskSage,
@@ -2044,7 +2001,6 @@ var HostEvent;
2044
2001
  HostEvent["AskSage"] = "AskSage";
2045
2002
  /**
2046
2003
  * Trigger UpdateCrossFilter for Liveboard
2047
- *
2048
2004
  * @example
2049
2005
  * ```js
2050
2006
  * liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
@@ -2060,7 +2016,6 @@ var HostEvent;
2060
2016
  HostEvent["UpdateCrossFilter"] = "UpdateCrossFilter";
2061
2017
  /**
2062
2018
  * Trigger ResetLiveboardPersonalisedView for Liveboard
2063
- *
2064
2019
  * @example
2065
2020
  * ```js
2066
2021
  * liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
@@ -2068,6 +2023,35 @@ var HostEvent;
2068
2023
  * @version SDK: 1.29.0 | Thoughtspot: 10.1.0.cl
2069
2024
  */
2070
2025
  HostEvent["ResetLiveboardPersonalisedView"] = "ResetLiveboardPersonalisedView";
2026
+ /**
2027
+ * Trigger CreateLiveboard for liveboard list page & Pin Modal
2028
+ * @example
2029
+ * ```js
2030
+ * liveboardEmbed.trigger(HostEvent.CreateLiveboard);
2031
+ *
2032
+ * @version SDK: 1.29.0 | Thoughtspot: 10.1.0.cl
2033
+ */
2034
+ HostEvent["CreateLiveboard"] = "CreateLiveboard";
2035
+ /**
2036
+ * Triggers Update RuntimeParameters for answers and liveboard
2037
+ * @example
2038
+ * ```js
2039
+ * liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
2040
+ * name: "Color",
2041
+ * value: "almond"
2042
+ * }])
2043
+ *
2044
+ * @version SDK: 1.29.0 | Thoughtspot: 10.1.0.cl
2045
+ */
2046
+ HostEvent["UpdateParameters"] = "UpdateParameters";
2047
+ /**
2048
+ * Triggers GetParameters to fetch the runtime parameters
2049
+ * ```js
2050
+ * liveboardEmbed.trigger(HostEvent.GetParameters);
2051
+ *
2052
+ * @version SDK: 1.29.0 | Thoughtspot: 10.1.0.cl
2053
+ */
2054
+ HostEvent["GetParameters"] = "GetParameters";
2071
2055
  })(HostEvent = exports.HostEvent || (exports.HostEvent = {}));
2072
2056
  /**
2073
2057
  * The different visual modes that the data sources panel within
@@ -2170,6 +2154,14 @@ var Param;
2170
2154
  Param["OverrideNativeConsole"] = "overrideConsoleLogs";
2171
2155
  Param["enableAskSage"] = "enableAskSage";
2172
2156
  Param["CollapseSearchBarInitially"] = "collapseSearchBarInitially";
2157
+ Param["DataPanelCustomGroupsAccordionInitialState"] = "dataPanelCustomGroupsAccordionInitialState";
2158
+ Param["EnableCustomColumnGroups"] = "enableCustomColumnGroups";
2159
+ Param["DateFormatLocale"] = "dateFormatLocale";
2160
+ Param["NumberFormatLocale"] = "numberFormatLocale";
2161
+ Param["CurrencyFormat"] = "currencyFormat";
2162
+ Param["Enable2ColumnLayout"] = "enable2ColumnLayout";
2163
+ Param["IsFullAppEmbed"] = "isFullAppEmbed";
2164
+ Param["IsOnBeforeGetVizDataInterceptEnabled"] = "isOnBeforeGetVizDataInterceptEnabled";
2173
2165
  })(Param = exports.Param || (exports.Param = {}));
2174
2166
  /**
2175
2167
  * ThoughtSpot application pages include actions and menu commands
@@ -2178,7 +2170,6 @@ var Param;
2178
2170
  * specific actions in the embedded view, define the Action
2179
2171
  * enumeration members in the `disabledActions`, `visibleActions`,
2180
2172
  * or `hiddenActions` array.
2181
- *
2182
2173
  * @example
2183
2174
  * ```js
2184
2175
  * const embed = new LiveboardEmbed('#embed-container', {
@@ -2204,10 +2195,9 @@ var Action;
2204
2195
  /**
2205
2196
  * The **Save** action on an Answer or Liveboard.
2206
2197
  * Allows users to save the changes.
2207
- *
2208
2198
  * @example
2209
2199
  * ```js
2210
- * disabledActions: [Action.SaveAsView]
2200
+ * disabledActions: [Action.Save]
2211
2201
  * ```
2212
2202
  */
2213
2203
  Action["Save"] = "save";
@@ -2222,7 +2212,6 @@ var Action;
2222
2212
  /**
2223
2213
  * The **Save as View** action on the Answer
2224
2214
  * page. Saves an Answer as a View object.
2225
- *
2226
2215
  * @example
2227
2216
  * ```js
2228
2217
  * disabledActions: [Action.SaveAsView]
@@ -2236,7 +2225,6 @@ var Action;
2236
2225
  * visualizations in the embedded Liveboard view.
2237
2226
  * In AppEmbed, the **Make a copy** action is available on both
2238
2227
  * Liveboards and visualizations.
2239
- *
2240
2228
  * @example
2241
2229
  * ```js
2242
2230
  * disabledActions: [Action.MakeACopy]
@@ -2246,7 +2234,6 @@ var Action;
2246
2234
  /**
2247
2235
  * The **Copy and Edit** action on a Liveboard.
2248
2236
  * This action is now replaced with `Action.MakeACopy`.
2249
- *
2250
2237
  * @example
2251
2238
  * ```js
2252
2239
  * disabledActions: [Action.EditACopy]
@@ -2256,7 +2243,6 @@ var Action;
2256
2243
  /**
2257
2244
  * The **Copy link** menu action on a Liveboard visualization.
2258
2245
  * Copies the visualization URL
2259
- *
2260
2246
  * @example
2261
2247
  * ```js
2262
2248
  * disabledActions: [Action.CopyLink]
@@ -2270,7 +2256,6 @@ var Action;
2270
2256
  /**
2271
2257
  * The **Schedule** menu action on a Liveboard.
2272
2258
  * Allows scheduling a Liveboard notification.
2273
- *
2274
2259
  * @example
2275
2260
  * ```js
2276
2261
  * disabledActions: [Action.Schedule]
@@ -2280,7 +2265,6 @@ var Action;
2280
2265
  /**
2281
2266
  * The **Manage schedules** menu action on a Liveboard.
2282
2267
  * Allows users to manage scheduled Liveboard jobs.
2283
- *
2284
2268
  * @example
2285
2269
  * ```js
2286
2270
  * disabledActions: [Action.SchedulesList]
@@ -2290,7 +2274,6 @@ var Action;
2290
2274
  /**
2291
2275
  * The **Share** action on a Liveboard, Answer, or Worksheet.
2292
2276
  * Allows users to share an object with other users and groups.
2293
- *
2294
2277
  * @example
2295
2278
  * ```js
2296
2279
  * disabledActions: [Action.Share]
@@ -2300,7 +2283,6 @@ var Action;
2300
2283
  /**
2301
2284
  * The **Add filter** action on a Liveboard and Search page.
2302
2285
  * Allows adding filters to Answers and visualizations on a Liveboard.
2303
- *
2304
2286
  * @example
2305
2287
  * ```js
2306
2288
  * disabledActions: [Action.AddFilter]
@@ -2311,7 +2293,6 @@ var Action;
2311
2293
  * The **Add Data Panel Objects** action on the data panel v2.
2312
2294
  * Allows to show action menu to add different objects (like
2313
2295
  * formulas, parameters) in data panel v2.
2314
- *
2315
2296
  * @example
2316
2297
  * ```js
2317
2298
  * disabledActions: [Action.AddDataPanelObjects]
@@ -2323,7 +2304,6 @@ var Action;
2323
2304
  * Filter configuration options on a Liveboard and Search page.
2324
2305
  * Allows configuring filter options when adding filters to a
2325
2306
  * Liveboard or Answer.
2326
- *
2327
2307
  * @example
2328
2308
  * ```js
2329
2309
  * disabledActions: [Action.ConfigureFilter]
@@ -2334,7 +2314,6 @@ var Action;
2334
2314
  /**
2335
2315
  * The **Choose sources** button on Search page.
2336
2316
  * Allows selecting data sources for search queries.
2337
- *
2338
2317
  * @example
2339
2318
  * ```js
2340
2319
  * disabledActions: [Action.ChooseDataSources]
@@ -2344,7 +2323,6 @@ var Action;
2344
2323
  /**
2345
2324
  * The **Create formula** action on a Search or Answer page.
2346
2325
  * Allows adding formulas to an Answer.
2347
- *
2348
2326
  * @example
2349
2327
  * ```js
2350
2328
  * disabledActions: [Action.AddFormula]
@@ -2354,7 +2332,6 @@ var Action;
2354
2332
  /**
2355
2333
  * The **Add parameter** action on a Liveboard or Answer.
2356
2334
  * Allows adding Parameters to a Liveboard or Answer.
2357
- *
2358
2335
  * @example
2359
2336
  * ```js
2360
2337
  * disabledActions: [Action.AddParameter]
@@ -2364,7 +2341,6 @@ var Action;
2364
2341
  /**
2365
2342
  * The **Add Column Set** action on a Answer.
2366
2343
  * Allows adding column sets to a Answer.
2367
- *
2368
2344
  * @example
2369
2345
  * ```js
2370
2346
  * disabledActions: [Action.AddColumnSet]
@@ -2375,7 +2351,6 @@ var Action;
2375
2351
  /**
2376
2352
  * The **Add Query Set** action on a Answer.
2377
2353
  * Allows adding query sets to a Answer.
2378
- *
2379
2354
  * @example
2380
2355
  * ```js
2381
2356
  * disabledActions: [Action.AddQuerySet]
@@ -2390,7 +2365,6 @@ var Action;
2390
2365
  /**
2391
2366
  * The **SpotIQ analyze** menu action on a visualization or
2392
2367
  * Answer page.
2393
- *
2394
2368
  * @example
2395
2369
  * ```js
2396
2370
  * disabledActions: [Action.SpotIQAnalyze]
@@ -2413,7 +2387,6 @@ var Action;
2413
2387
  /**
2414
2388
  * The **Show underlying data** menu action on a visualization or
2415
2389
  * Answer page.
2416
- *
2417
2390
  * @example
2418
2391
  * ```js
2419
2392
  * disabledActions: [Action.ShowUnderlyingData]
@@ -2424,7 +2397,6 @@ var Action;
2424
2397
  * The **Download** menu action on Liveboard visualizations
2425
2398
  * and Answers.
2426
2399
  * Allows downloading a visualization or Answer.
2427
- *
2428
2400
  * @example
2429
2401
  * ```js
2430
2402
  * disabledActions: [Action.DownloadAsPng]
@@ -2435,7 +2407,6 @@ var Action;
2435
2407
  * The **Download** > **PNG** menu action for charts on a Liveboard
2436
2408
  * or Answer page.
2437
2409
  * Downloads a visualization or Answer as a PNG file.
2438
- *
2439
2410
  * @example
2440
2411
  * ```js
2441
2412
  * disabledActions: [Action.DownloadAsPng]
@@ -2443,9 +2414,12 @@ var Action;
2443
2414
  */
2444
2415
  Action["DownloadAsPng"] = "downloadAsPng";
2445
2416
  /**
2446
- * The **Download** > **PDF** menu action on a Liveboard.
2447
- * Downloads a visualization or Answer as a PDF file.
2448
2417
  *
2418
+ *The **Download PDF** action that downloads a Liveboard,
2419
+ *visualization, or Answer as a PDF file.
2420
+ *
2421
+ ***NOTE**: The **Download** > **PDF** action is available on
2422
+ *visualizations and Answers if the data is in tabular format.
2449
2423
  * @example
2450
2424
  * ```js
2451
2425
  * disabledActions: [Action.DownloadAsPdf]
@@ -2456,7 +2430,6 @@ var Action;
2456
2430
  * The **Download** > **CSV** menu action for tables on a Liveboard
2457
2431
  * or Answer page.
2458
2432
  * Downloads a visualization or Answer in the XLSX format.
2459
- *
2460
2433
  * @example
2461
2434
  * ```js
2462
2435
  * disabledActions: [Action.DownloadAsCsv]
@@ -2467,7 +2440,6 @@ var Action;
2467
2440
  * The **Download** > **XLSX** menu action for tables on a Liveboard
2468
2441
  * or Answer page.
2469
2442
  * Downloads a visualization or Answer in the XLSX format.
2470
- *
2471
2443
  * @example
2472
2444
  * ```js
2473
2445
  * disabledActions: [Action.DownloadAsXlsx]
@@ -2482,7 +2454,6 @@ var Action;
2482
2454
  * The **Export TML** menu action on Liveboard, Answers
2483
2455
  * Worksheets and Data Connections page.
2484
2456
  * Exports an object as a TML file.
2485
- *
2486
2457
  * @example
2487
2458
  * ```js
2488
2459
  * disabledActions: [Action.ExportTML]
@@ -2492,7 +2463,6 @@ var Action;
2492
2463
  /**
2493
2464
  * The **Import TML** menu action for Liveboards and Answers.
2494
2465
  * Imports TML representation of ThoughtSpot objects.
2495
- *
2496
2466
  * @example
2497
2467
  * ```js
2498
2468
  * disabledActions: [Action.ImportTML]
@@ -2502,7 +2472,6 @@ var Action;
2502
2472
  /**
2503
2473
  * The **Update TML** menu action for Liveboards and Answers.
2504
2474
  * Update TML representation of ThoughtSpot objects.
2505
- *
2506
2475
  * @example
2507
2476
  * ```js
2508
2477
  * disabledActions: [Action.UpdateTML]
@@ -2512,7 +2481,6 @@ var Action;
2512
2481
  /**
2513
2482
  * The **Edit TML** menu action for Liveboards and Answers.
2514
2483
  * Opens the TML editor.
2515
- *
2516
2484
  * @example
2517
2485
  * ```js
2518
2486
  * disabledActions: [Action.EditTML]
@@ -2523,7 +2491,6 @@ var Action;
2523
2491
  * The **Present** menu action for Liveboards and Answers.
2524
2492
  * Allows presenting a Liveboard or visualization in
2525
2493
  * slideshow mode.
2526
- *
2527
2494
  * @example
2528
2495
  * ```js
2529
2496
  * disabledActions: [Action.Present]
@@ -2533,7 +2500,6 @@ var Action;
2533
2500
  /**
2534
2501
  * The tile resize options in the visualization menu.
2535
2502
  * Allows switching between different preset layouts.
2536
- *
2537
2503
  * @example
2538
2504
  * ```js
2539
2505
  * disabledActions: [Action.ToggleSize]
@@ -2544,7 +2510,6 @@ var Action;
2544
2510
  * The *Edit* action on the Liveboard page and in the
2545
2511
  * visualization menu.
2546
2512
  * Opens a Liveboard or visualization in edit mode.
2547
- *
2548
2513
  * @example
2549
2514
  * ```js
2550
2515
  * disabledActions: [Action.Edit]
@@ -2553,7 +2518,6 @@ var Action;
2553
2518
  Action["Edit"] = "edit";
2554
2519
  /**
2555
2520
  * The text edit option for Liveboard and visualization titles.
2556
- *
2557
2521
  * @example
2558
2522
  * ```js
2559
2523
  * disabledActions: [Action.EditTitle]
@@ -2563,7 +2527,6 @@ var Action;
2563
2527
  /**
2564
2528
  * The **Delete** menu action on Liveboards and visualizations.
2565
2529
  * Deletes a Liveboard or a visualization from a Liveboard.
2566
- *
2567
2530
  * @example
2568
2531
  * ```js
2569
2532
  * disabledActions: [Action.Remove]
@@ -2595,7 +2558,6 @@ var Action;
2595
2558
  * Displays details such as the name, description, and
2596
2559
  * author of the Liveboard, and timestamp of Liveboard creation
2597
2560
  * and update.
2598
- *
2599
2561
  * @example
2600
2562
  * ```js
2601
2563
  * disabledActions: [Action.LiveboardInfo]
@@ -2613,7 +2575,6 @@ var Action;
2613
2575
  /**
2614
2576
  * The **Pin** menu action on an Answer or
2615
2577
  * Search results page.
2616
- *
2617
2578
  * @example
2618
2579
  * ```js
2619
2580
  * disabledActions: [Action.Pin]
@@ -2626,7 +2587,6 @@ var Action;
2626
2587
  Action["AnalysisInfo"] = "analysisInfo";
2627
2588
  /**
2628
2589
  * The **Schedule** menu action on a Liveboard.
2629
- *
2630
2590
  * @example
2631
2591
  * ```js
2632
2592
  * disabledActions: [Action.Subscription]
@@ -2635,7 +2595,6 @@ var Action;
2635
2595
  Action["Subscription"] = "subscription";
2636
2596
  /**
2637
2597
  * The **Explore** action on Liveboard visualizations
2638
- *
2639
2598
  * @example
2640
2599
  * ```js
2641
2600
  * disabledActions: [Action.Explore]
@@ -2645,7 +2604,6 @@ var Action;
2645
2604
  /**
2646
2605
  * The action to include data points on a drilled-down Answer
2647
2606
  * or visualization
2648
- *
2649
2607
  * @example
2650
2608
  * ```js
2651
2609
  * disabledActions: [Action.DrillInclude]
@@ -2655,7 +2613,6 @@ var Action;
2655
2613
  /**
2656
2614
  * The action to exclude data points on a drilled-down Answer
2657
2615
  * or visualization
2658
- *
2659
2616
  * @example
2660
2617
  * ```js
2661
2618
  * disabledActions: [Action.DrillInclude]
@@ -2666,7 +2623,6 @@ var Action;
2666
2623
  * The **Copy to clipboard** menu action on tables in an Answer
2667
2624
  * or Liveboard.
2668
2625
  * Copies the selected data point.
2669
- *
2670
2626
  * @example
2671
2627
  * ```js
2672
2628
  * disabledActions: [Action.CopyToClipboard]
@@ -2684,7 +2640,6 @@ var Action;
2684
2640
  * The **Drill down** menu action on Answers and Liveboard
2685
2641
  * visualizations.
2686
2642
  * Allows drilling down to a specific data point on a chart or table.
2687
- *
2688
2643
  * @example
2689
2644
  * ```js
2690
2645
  * disabledActions: [Action.DrillDown]
@@ -2694,7 +2649,6 @@ var Action;
2694
2649
  /**
2695
2650
  * The request access action on Liveboards.
2696
2651
  * Allows users with view permissions to request edit access to a Liveboard.
2697
- *
2698
2652
  * @example
2699
2653
  * ```js
2700
2654
  * disabledActions: [Action.RequestAccess]
@@ -2704,7 +2658,6 @@ var Action;
2704
2658
  /**
2705
2659
  * The **Query visualizer** and **Query SQL** buttons in Query details panel
2706
2660
  * of the Answer page
2707
- *
2708
2661
  * @example
2709
2662
  * ```js
2710
2663
  * disabledActions: [Action.QueryDetailsButtons]
@@ -2713,7 +2666,6 @@ var Action;
2713
2666
  Action["QueryDetailsButtons"] = "queryDetailsButtons";
2714
2667
  /**
2715
2668
  * The **Delete** action for Answers.
2716
- *
2717
2669
  * @example
2718
2670
  * ```js
2719
2671
  * disabledActions: [Action.AnswerDelete]
@@ -2723,7 +2675,6 @@ var Action;
2723
2675
  Action["AnswerDelete"] = "onDeleteAnswer";
2724
2676
  /**
2725
2677
  * The Chart switcher icon on Answer and visualization pages.
2726
- *
2727
2678
  * @example
2728
2679
  * ```js
2729
2680
  * disabledActions: [Action.AnswerChartSwitcher]
@@ -2733,7 +2684,6 @@ var Action;
2733
2684
  Action["AnswerChartSwitcher"] = "answerChartSwitcher";
2734
2685
  /**
2735
2686
  * Favorites icon (*) on Answers, Liveboard, and Data pages
2736
- *
2737
2687
  * @example
2738
2688
  * ```js
2739
2689
  * disabledActions: [Action.AddToFavorites]
@@ -2743,7 +2693,6 @@ var Action;
2743
2693
  Action["AddToFavorites"] = "addToFavorites";
2744
2694
  /**
2745
2695
  * The edit icon on Liveboards (Classic experience).
2746
- *
2747
2696
  * @example
2748
2697
  * ```js
2749
2698
  * disabledActions: [Action.EditDetails]
@@ -2753,7 +2702,6 @@ var Action;
2753
2702
  Action["EditDetails"] = "editDetails";
2754
2703
  /**
2755
2704
  * The Create alert action on KPI charts.
2756
- *
2757
2705
  * @example
2758
2706
  * ```js
2759
2707
  * disabledActions: [Action.CreateMonitor ]
@@ -2772,7 +2720,6 @@ var Action;
2772
2720
  /**
2773
2721
  * The **Sync to sheets** action on Answers and Liveboard visualizations.
2774
2722
  * Allows sending data to a Google Sheet.
2775
- *
2776
2723
  * @example
2777
2724
  * ```js
2778
2725
  * disabledActions: [Action.SyncToSheets]
@@ -2784,7 +2731,6 @@ var Action;
2784
2731
  * The **Sync to other apps** action on Answers and Liveboard visualizations.
2785
2732
  * Allows sending data to third-party apps like Slack, Salesforce,
2786
2733
  * Microsoft Teams, and so on.
2787
- *
2788
2734
  * @example
2789
2735
  * ```js
2790
2736
  * disabledActions: [Action.SyncToOtherApps]
@@ -2795,7 +2741,6 @@ var Action;
2795
2741
  /**
2796
2742
  * The **Manage pipelines** action on Answers and Liveboard visualizations.
2797
2743
  * Allows users to manage data sync pipelines to third-party apps.
2798
- *
2799
2744
  * @example
2800
2745
  * ```js
2801
2746
  * disabledActions: [Action.SyncToOtherApps]
@@ -2806,7 +2751,6 @@ var Action;
2806
2751
  /**
2807
2752
  * The **Filter** action on Liveboard visualizations.
2808
2753
  * Allows users to apply cross-filters on a Liveboard.
2809
- *
2810
2754
  * @example
2811
2755
  * ```js
2812
2756
  * disabledActions: [Action.CrossFilter]
@@ -2817,7 +2761,6 @@ var Action;
2817
2761
  /**
2818
2762
  * The **Sync to Slack** action on Liveboard visualizations.
2819
2763
  * Allows sending data to third-party apps Slack
2820
- *
2821
2764
  * @example
2822
2765
  * ```js
2823
2766
  * disabledActions: [Action.SyncToSlack]
@@ -2828,7 +2771,6 @@ var Action;
2828
2771
  /**
2829
2772
  * The **Sync to Teams** action on Liveboard visualizations.
2830
2773
  * Allows sending data to third-party apps Team
2831
- *
2832
2774
  * @example
2833
2775
  * ```js
2834
2776
  * disabledActions: [Action.SyncToTeams]
@@ -2840,7 +2782,6 @@ var Action;
2840
2782
  * The **Remove** action that appears when cross filters are applied
2841
2783
  * on a Liveboard.
2842
2784
  * Removes filters applied o a visualization.
2843
- *
2844
2785
  * @example
2845
2786
  * ```js
2846
2787
  * disabledActions: [Action.RemoveCrossFilter]
@@ -2852,7 +2793,6 @@ var Action;
2852
2793
  * The **Aggregate** option in the chart axis or the
2853
2794
  * table column customization menu.
2854
2795
  * Provides aggregation options to analyze the data on a chart or table.
2855
- *
2856
2796
  * @example
2857
2797
  * ```js
2858
2798
  * disabledActions: [Action.AxisMenuAggregate]
@@ -2864,7 +2804,6 @@ var Action;
2864
2804
  * The **Time bucket** option in the chart axis or table column
2865
2805
  * customization menu.
2866
2806
  * Allows defining time metric for date comparison.
2867
- *
2868
2807
  * @example
2869
2808
  * ```js
2870
2809
  * disabledActions: [Action.AxisMenuTimeBucket]
@@ -2875,7 +2814,6 @@ var Action;
2875
2814
  /**
2876
2815
  * The **Filter** action in the chart axis or table column
2877
2816
  * customization menu.
2878
- *
2879
2817
  * @example
2880
2818
  * ```js
2881
2819
  * disabledActions: [Action.AxisMenuFilter]
@@ -2887,7 +2825,6 @@ var Action;
2887
2825
  * The **Conditional formatting** action on chart or table.
2888
2826
  * Allows adding rules for conditional formatting of data
2889
2827
  * points on a chart or table.
2890
- *
2891
2828
  * @example
2892
2829
  * ```js
2893
2830
  * disabledActions: [Action.AxisMenuConditionalFormat]
@@ -2899,7 +2836,6 @@ var Action;
2899
2836
  * The **Sort** menu action on a table or chart axis
2900
2837
  * Sorts data in ascending or descending order.
2901
2838
  * Allows adding, editing, or removing filters.
2902
- *
2903
2839
  * @example
2904
2840
  * ```js
2905
2841
  * disabledActions: [Action.AxisMenuConditionalFormat]
@@ -2912,7 +2848,6 @@ var Action;
2912
2848
  * customization menu.
2913
2849
  * Allows grouping data points if the axes use the same
2914
2850
  * unit of measurement and a similar scale.
2915
- *
2916
2851
  * @example
2917
2852
  * ```js
2918
2853
  * disabledActions: [Action.AxisMenuGroup]
@@ -2924,7 +2859,6 @@ var Action;
2924
2859
  * The **Position** option in the axis customization menu.
2925
2860
  * Allows changing the position of the axis to the
2926
2861
  * left or right side of the chart.
2927
- *
2928
2862
  * @example
2929
2863
  * ```js
2930
2864
  * disabledActions: [Action.AxisMenuPosition]
@@ -2935,7 +2869,6 @@ var Action;
2935
2869
  /**
2936
2870
  * The **Rename** option in the chart axis or table column customization menu.
2937
2871
  * Renames the axis label on a chart or the column header on a table.
2938
- *
2939
2872
  * @example
2940
2873
  * ```js
2941
2874
  * disabledActions: [Action.AxisMenuRename]
@@ -2947,7 +2880,6 @@ var Action;
2947
2880
  * The **Edit** action in the axis customization menu.
2948
2881
  * Allows editing the axis name, position, minimum and maximum values,
2949
2882
  * and format of a column.
2950
- *
2951
2883
  * @example
2952
2884
  * ```js
2953
2885
  * disabledActions: [Action.AxisMenuEdit]
@@ -2958,7 +2890,6 @@ var Action;
2958
2890
  /**
2959
2891
  * The **Number format** action to customize the format of
2960
2892
  * the data labels on a chart or table.
2961
- *
2962
2893
  * @example
2963
2894
  * ```js
2964
2895
  * disabledActions: [Action.AxisMenuNumberFormat]
@@ -2969,7 +2900,6 @@ var Action;
2969
2900
  /**
2970
2901
  * The **Text wrapping** action on a table.
2971
2902
  * Wraps or clips column text on a table.
2972
- *
2973
2903
  * @example
2974
2904
  * ```js
2975
2905
  * disabledActions: [Action.AxisMenuTextWrapping]
@@ -2982,7 +2912,6 @@ var Action;
2982
2912
  * customization menu.
2983
2913
  * Removes the data labels from a chart or the column of a
2984
2914
  * table visualization.
2985
- *
2986
2915
  * @example
2987
2916
  * ```js
2988
2917
  * disabledActions: [Action.AxisMenuRemove]
@@ -2997,7 +2926,6 @@ var Action;
2997
2926
  /**
2998
2927
  * The **Rename** menu action on Liveboards and visualizations.
2999
2928
  * Allows renaming a Liveboard or visualization.
3000
- *
3001
2929
  * @example
3002
2930
  * ```js
3003
2931
  * disabledActions: [Action.RenameModalTitleDescription]
@@ -3041,7 +2969,6 @@ var Action;
3041
2969
  /**
3042
2970
  * The **Move to Tab** menu action on visualizations in liveboard edit mode.
3043
2971
  * Allows moving a visualization to a different tab.
3044
- *
3045
2972
  * @example
3046
2973
  * ```js
3047
2974
  * disabledActions: [Action.MoveToTab]
@@ -3050,7 +2977,6 @@ var Action;
3050
2977
  Action["MoveToTab"] = "onContainerMove";
3051
2978
  /**
3052
2979
  * The **Manage Alertsb** menu action on KPI visualizations.
3053
- *
3054
2980
  * @example
3055
2981
  * ```js
3056
2982
  * disabledActions: [Action.ManageMonitor]
@@ -3059,7 +2985,6 @@ var Action;
3059
2985
  Action["ManageMonitor"] = "ManageMonitor";
3060
2986
  /**
3061
2987
  * Action ID for Liveboard Personalised Views dropdown
3062
- *
3063
2988
  * @example
3064
2989
  * ```js
3065
2990
  * disabledActions: [Action.PersonalisedViewsDropdown]
@@ -3069,7 +2994,6 @@ var Action;
3069
2994
  Action["PersonalisedViewsDropdown"] = "personalisedViewsDropdown";
3070
2995
  /**
3071
2996
  * Action ID for Liveboard Users ( Recently Visited / social proof )
3072
- *
3073
2997
  * @example
3074
2998
  * ```js
3075
2999
  * disabledActions: [Action.LiveboardUsers]
@@ -3081,7 +3005,6 @@ var Action;
3081
3005
  * Action ID for the Parent TML action
3082
3006
  * The parent action **TML** must be included to access TML-related options
3083
3007
  * within the cascading menu (specific to the answer page)
3084
- *
3085
3008
  * @example
3086
3009
  * ```js
3087
3010
  * // to include specific TML actions
@@ -3093,13 +3016,11 @@ var Action;
3093
3016
  * hiddenAction: [Action.TML] // hide all TML actions
3094
3017
  * disabledActions: [Action.TML] // to disable all TML actions
3095
3018
  * ```
3096
- *
3097
- * @version SDK : 1.28.2 | Thoughtspot: 9.10.5.cl
3019
+ * @version SDK : 1.28.3 | Thoughtspot: 9.12.0.cl
3098
3020
  */
3099
3021
  Action["TML"] = "tml";
3100
3022
  /**
3101
3023
  * Action ID for to hide Verified Liveboard Banner
3102
- *
3103
3024
  * @example
3104
3025
  * ```js
3105
3026
  * hiddenAction: [Action.VerifiedLiveboard]
@@ -3109,7 +3030,6 @@ var Action;
3109
3030
  Action["VerifiedLiveboard"] = "verifiedLiveboard";
3110
3031
  /**
3111
3032
  * Action ID for ask sage button
3112
- *
3113
3033
  * @example
3114
3034
  * ```js
3115
3035
  * hiddenAction: [Action.AskAi]
@@ -3119,7 +3039,6 @@ var Action;
3119
3039
  Action["AskAi"] = "AskAi";
3120
3040
  /**
3121
3041
  * The **Add KPI to Watchlist** action on Home page watchlist.
3122
- *
3123
3042
  * @example
3124
3043
  * ```js
3125
3044
  * disabledActions: [Action.AddToWatchlist]
@@ -3129,7 +3048,6 @@ var Action;
3129
3048
  Action["AddToWatchlist"] = "addToWatchlist";
3130
3049
  /**
3131
3050
  * The **Remove from watchlist** menu action on KPI watchlist.
3132
- *
3133
3051
  * @example
3134
3052
  * ```js
3135
3053
  * disabledActions: [Action.RemoveFromWatchlist]
@@ -3137,19 +3055,8 @@ var Action;
3137
3055
  * @version SDK : 1.27.9 | Thoughtspot: 9.12.5.cl
3138
3056
  */
3139
3057
  Action["RemoveFromWatchlist"] = "removeFromWatchlist";
3140
- /**
3141
- * The **Copy KPI Link** menu action on KPI watchlist.
3142
- *
3143
- * @example
3144
- * ```js
3145
- * disabledActions: [Action.CopyKpiLink]
3146
- * ```
3147
- * @version SDK : 1.27.9 | Thoughtspot: 9.12.5.cl
3148
- */
3149
- Action["CopyKpiLink"] = "copyKpiLink";
3150
3058
  /**
3151
3059
  * The **Organise Favourites** action on Homepage Favourite Module.
3152
- *
3153
3060
  * @example
3154
3061
  * ```js
3155
3062
  * disabledActions: [Action.OrganiseFavourites]
@@ -3159,7 +3066,6 @@ var Action;
3159
3066
  Action["OrganiseFavourites"] = "organiseFavourites";
3160
3067
  /**
3161
3068
  * Action ID for AI Highlights button
3162
- *
3163
3069
  * @example
3164
3070
  * ```js
3165
3071
  * hiddenAction: [Action.AIHighlights]
@@ -3187,7 +3093,6 @@ var LogLevel;
3187
3093
  (function (LogLevel) {
3188
3094
  /**
3189
3095
  * No logs will be logged in the console.
3190
- *
3191
3096
  * @example
3192
3097
  * ```js
3193
3098
  * init({
@@ -3200,7 +3105,6 @@ var LogLevel;
3200
3105
  LogLevel["SILENT"] = "SILENT";
3201
3106
  /**
3202
3107
  * Only ERROR logs will be logged in the console.
3203
- *
3204
3108
  * @example
3205
3109
  * ```js
3206
3110
  * init({
@@ -3213,7 +3117,6 @@ var LogLevel;
3213
3117
  LogLevel["ERROR"] = "ERROR";
3214
3118
  /**
3215
3119
  * Only WARN and ERROR logs will be logged in the console.
3216
- *
3217
3120
  * @example
3218
3121
  * ```js
3219
3122
  * init({
@@ -3226,7 +3129,6 @@ var LogLevel;
3226
3129
  LogLevel["WARN"] = "WARN";
3227
3130
  /**
3228
3131
  * Only INFO, WARN, and ERROR logs will be logged in the console.
3229
- *
3230
3132
  * @example
3231
3133
  * ```js
3232
3134
  * init({
@@ -3239,7 +3141,6 @@ var LogLevel;
3239
3141
  LogLevel["INFO"] = "INFO";
3240
3142
  /**
3241
3143
  * Only DEBUG, INFO, WARN, and ERROR logs will be logged in the console.
3242
- *
3243
3144
  * @example
3244
3145
  * ```js
3245
3146
  * init({
@@ -3252,7 +3153,6 @@ var LogLevel;
3252
3153
  LogLevel["DEBUG"] = "DEBUG";
3253
3154
  /**
3254
3155
  * All logs will be logged in the console.
3255
- *
3256
3156
  * @example
3257
3157
  * ```js
3258
3158
  * init({