@thoughtspot/visual-embed-sdk 1.52.0 → 1.52.2-beta

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 (385) hide show
  1. package/cjs/package.json +19 -4
  2. package/cjs/src/contracts/contracts.spec.d.ts +2 -0
  3. package/cjs/src/contracts/contracts.spec.d.ts.map +1 -0
  4. package/cjs/src/contracts/contracts.spec.js +345 -0
  5. package/cjs/src/contracts/contracts.spec.js.map +1 -0
  6. package/cjs/src/contracts/embed-event-payloads.d.ts +73 -0
  7. package/cjs/src/contracts/embed-event-payloads.d.ts.map +1 -0
  8. package/cjs/src/contracts/embed-event-payloads.js +3 -0
  9. package/cjs/src/contracts/embed-event-payloads.js.map +1 -0
  10. package/cjs/src/contracts/host-event-contracts.d.ts +416 -0
  11. package/cjs/src/contracts/host-event-contracts.d.ts.map +1 -0
  12. package/cjs/src/contracts/host-event-contracts.js +3 -0
  13. package/cjs/src/contracts/host-event-contracts.js.map +1 -0
  14. package/cjs/src/contracts/index.d.ts +22 -0
  15. package/cjs/src/contracts/index.d.ts.map +1 -0
  16. package/cjs/src/contracts/index.js +33 -0
  17. package/cjs/src/contracts/index.js.map +1 -0
  18. package/cjs/src/contracts/ui-passthrough-contracts.d.ts +277 -0
  19. package/cjs/src/contracts/ui-passthrough-contracts.d.ts.map +1 -0
  20. package/cjs/src/{embed/hostEventClient/contracts.js → contracts/ui-passthrough-contracts.js} +6 -2
  21. package/cjs/src/contracts/ui-passthrough-contracts.js.map +1 -0
  22. package/cjs/src/embed/app.d.ts +21 -143
  23. package/cjs/src/embed/app.d.ts.map +1 -1
  24. package/cjs/src/embed/app.js +21 -121
  25. package/cjs/src/embed/app.js.map +1 -1
  26. package/cjs/src/embed/app.spec.js +80 -26
  27. package/cjs/src/embed/app.spec.js.map +1 -1
  28. package/cjs/src/embed/auto-frame-renderer.js +1 -1
  29. package/cjs/src/embed/auto-frame-renderer.js.map +1 -1
  30. package/cjs/src/embed/auto-frame-renderer.spec.js +24 -13
  31. package/cjs/src/embed/auto-frame-renderer.spec.js.map +1 -1
  32. package/cjs/src/embed/bodyless-conversation.js +1 -1
  33. package/cjs/src/embed/bodyless-conversation.js.map +1 -1
  34. package/cjs/src/embed/conversation.d.ts +1 -0
  35. package/cjs/src/embed/conversation.d.ts.map +1 -1
  36. package/cjs/src/embed/conversation.js +4 -4
  37. package/cjs/src/embed/conversation.js.map +1 -1
  38. package/cjs/src/embed/conversation.spec.js +35 -24
  39. package/cjs/src/embed/conversation.spec.js.map +1 -1
  40. package/cjs/src/embed/embedConfig.spec.js +2 -1
  41. package/cjs/src/embed/embedConfig.spec.js.map +1 -1
  42. package/cjs/src/embed/events.spec.js +12 -2
  43. package/cjs/src/embed/events.spec.js.map +1 -1
  44. package/cjs/src/embed/hostEventClient/host-event-client.d.ts +5 -4
  45. package/cjs/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
  46. package/cjs/src/embed/hostEventClient/host-event-client.js +34 -23
  47. package/cjs/src/embed/hostEventClient/host-event-client.js.map +1 -1
  48. package/cjs/src/embed/hostEventClient/host-event-client.spec.js +50 -44
  49. package/cjs/src/embed/hostEventClient/host-event-client.spec.js.map +1 -1
  50. package/cjs/src/embed/hostEventClient/utils.d.ts +10 -1
  51. package/cjs/src/embed/hostEventClient/utils.d.ts.map +1 -1
  52. package/cjs/src/embed/hostEventClient/utils.js +52 -6
  53. package/cjs/src/embed/hostEventClient/utils.js.map +1 -1
  54. package/cjs/src/embed/hostEventClient/utils.spec.js +151 -0
  55. package/cjs/src/embed/hostEventClient/utils.spec.js.map +1 -1
  56. package/cjs/src/embed/liveboard.d.ts +13 -164
  57. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  58. package/cjs/src/embed/liveboard.js +72 -135
  59. package/cjs/src/embed/liveboard.js.map +1 -1
  60. package/cjs/src/embed/liveboard.spec.js +213 -29
  61. package/cjs/src/embed/liveboard.spec.js.map +1 -1
  62. package/cjs/src/embed/search-bar.js +1 -1
  63. package/cjs/src/embed/search-bar.js.map +1 -1
  64. package/cjs/src/embed/search.d.ts +14 -0
  65. package/cjs/src/embed/search.d.ts.map +1 -1
  66. package/cjs/src/embed/search.js +5 -2
  67. package/cjs/src/embed/search.js.map +1 -1
  68. package/cjs/src/embed/search.spec.js +85 -0
  69. package/cjs/src/embed/search.spec.js.map +1 -1
  70. package/cjs/src/embed/spotter-utils.d.ts +8 -1
  71. package/cjs/src/embed/spotter-utils.d.ts.map +1 -1
  72. package/cjs/src/embed/spotter-utils.js +14 -1
  73. package/cjs/src/embed/spotter-utils.js.map +1 -1
  74. package/cjs/src/embed/spotter-utils.spec.js +26 -0
  75. package/cjs/src/embed/spotter-utils.spec.js.map +1 -1
  76. package/cjs/src/embed/ts-embed.d.ts +20 -22
  77. package/cjs/src/embed/ts-embed.d.ts.map +1 -1
  78. package/cjs/src/embed/ts-embed.js +171 -66
  79. package/cjs/src/embed/ts-embed.js.map +1 -1
  80. package/cjs/src/embed/ts-embed.spec.js +486 -38
  81. package/cjs/src/embed/ts-embed.spec.js.map +1 -1
  82. package/cjs/src/errors.js +1 -1
  83. package/cjs/src/errors.js.map +1 -1
  84. package/cjs/src/full-height.d.ts +137 -0
  85. package/cjs/src/full-height.d.ts.map +1 -0
  86. package/cjs/src/full-height.js +272 -0
  87. package/cjs/src/full-height.js.map +1 -0
  88. package/cjs/src/full-height.spec.d.ts +2 -0
  89. package/cjs/src/full-height.spec.d.ts.map +1 -0
  90. package/cjs/src/full-height.spec.js +835 -0
  91. package/cjs/src/full-height.spec.js.map +1 -0
  92. package/cjs/src/index.d.ts +5 -3
  93. package/cjs/src/index.d.ts.map +1 -1
  94. package/cjs/src/index.js +6 -4
  95. package/cjs/src/index.js.map +1 -1
  96. package/cjs/src/react/all-types-export.d.ts +1 -1
  97. package/cjs/src/react/all-types-export.d.ts.map +1 -1
  98. package/cjs/src/react/all-types-export.js +2 -1
  99. package/cjs/src/react/all-types-export.js.map +1 -1
  100. package/cjs/src/react/all-types-export.parity.spec.js +55 -3
  101. package/cjs/src/react/all-types-export.parity.spec.js.map +1 -1
  102. package/cjs/src/types.d.ts +584 -24
  103. package/cjs/src/types.d.ts.map +1 -1
  104. package/cjs/src/types.js +370 -22
  105. package/cjs/src/types.js.map +1 -1
  106. package/cjs/src/utils/authService/tokenizedAuthService.spec.js +2 -1
  107. package/cjs/src/utils/authService/tokenizedAuthService.spec.js.map +1 -1
  108. package/cjs/src/utils/custom-actions.spec.js +4 -2
  109. package/cjs/src/utils/custom-actions.spec.js.map +1 -1
  110. package/cjs/src/utils/filterConverter.d.ts +106 -0
  111. package/cjs/src/utils/filterConverter.d.ts.map +1 -0
  112. package/cjs/src/utils/filterConverter.js +215 -0
  113. package/cjs/src/utils/filterConverter.js.map +1 -0
  114. package/cjs/src/utils/filterConverter.spec.d.ts +2 -0
  115. package/cjs/src/utils/filterConverter.spec.d.ts.map +1 -0
  116. package/cjs/src/utils/filterConverter.spec.js +709 -0
  117. package/cjs/src/utils/filterConverter.spec.js.map +1 -0
  118. package/cjs/src/utils/processData.spec.js +2 -1
  119. package/cjs/src/utils/processData.spec.js.map +1 -1
  120. package/cjs/src/utils/processTrigger.d.ts +3 -1
  121. package/cjs/src/utils/processTrigger.d.ts.map +1 -1
  122. package/cjs/src/utils/processTrigger.js +19 -51
  123. package/cjs/src/utils/processTrigger.js.map +1 -1
  124. package/cjs/src/utils/transport/iframe-transport.d.ts +55 -0
  125. package/cjs/src/utils/transport/iframe-transport.d.ts.map +1 -0
  126. package/cjs/src/utils/transport/iframe-transport.js +108 -0
  127. package/cjs/src/utils/transport/iframe-transport.js.map +1 -0
  128. package/cjs/src/utils/transport/iframe-transport.spec.d.ts +2 -0
  129. package/cjs/src/utils/transport/iframe-transport.spec.d.ts.map +1 -0
  130. package/cjs/src/utils/transport/iframe-transport.spec.js +140 -0
  131. package/cjs/src/utils/transport/iframe-transport.spec.js.map +1 -0
  132. package/cjs/src/utils.d.ts +18 -0
  133. package/cjs/src/utils.d.ts.map +1 -1
  134. package/cjs/src/utils.js +39 -1
  135. package/cjs/src/utils.js.map +1 -1
  136. package/cjs/src/utils.spec.js +62 -0
  137. package/cjs/src/utils.spec.js.map +1 -1
  138. package/dist/{index-BMppCU63.js → index-CcBYlGo9.js} +1 -1
  139. package/dist/src/contracts/contracts.spec.d.ts +2 -0
  140. package/dist/src/contracts/contracts.spec.d.ts.map +1 -0
  141. package/dist/src/contracts/embed-event-payloads.d.ts +73 -0
  142. package/dist/src/contracts/embed-event-payloads.d.ts.map +1 -0
  143. package/dist/src/contracts/host-event-contracts.d.ts +416 -0
  144. package/dist/src/contracts/host-event-contracts.d.ts.map +1 -0
  145. package/dist/src/contracts/index.d.ts +22 -0
  146. package/dist/src/contracts/index.d.ts.map +1 -0
  147. package/dist/src/contracts/ui-passthrough-contracts.d.ts +277 -0
  148. package/dist/src/contracts/ui-passthrough-contracts.d.ts.map +1 -0
  149. package/dist/src/embed/app.d.ts +21 -143
  150. package/dist/src/embed/app.d.ts.map +1 -1
  151. package/dist/src/embed/conversation.d.ts +1 -0
  152. package/dist/src/embed/conversation.d.ts.map +1 -1
  153. package/dist/src/embed/hostEventClient/host-event-client.d.ts +5 -4
  154. package/dist/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
  155. package/dist/src/embed/hostEventClient/utils.d.ts +10 -1
  156. package/dist/src/embed/hostEventClient/utils.d.ts.map +1 -1
  157. package/dist/src/embed/liveboard.d.ts +13 -164
  158. package/dist/src/embed/liveboard.d.ts.map +1 -1
  159. package/dist/src/embed/search.d.ts +14 -0
  160. package/dist/src/embed/search.d.ts.map +1 -1
  161. package/dist/src/embed/spotter-utils.d.ts +8 -1
  162. package/dist/src/embed/spotter-utils.d.ts.map +1 -1
  163. package/dist/src/embed/ts-embed.d.ts +20 -22
  164. package/dist/src/embed/ts-embed.d.ts.map +1 -1
  165. package/dist/src/full-height.d.ts +137 -0
  166. package/dist/src/full-height.d.ts.map +1 -0
  167. package/dist/src/full-height.spec.d.ts +2 -0
  168. package/dist/src/full-height.spec.d.ts.map +1 -0
  169. package/dist/src/index.d.ts +5 -3
  170. package/dist/src/index.d.ts.map +1 -1
  171. package/dist/src/react/all-types-export.d.ts +1 -1
  172. package/dist/src/react/all-types-export.d.ts.map +1 -1
  173. package/dist/src/types.d.ts +584 -24
  174. package/dist/src/types.d.ts.map +1 -1
  175. package/dist/src/utils/filterConverter.d.ts +106 -0
  176. package/dist/src/utils/filterConverter.d.ts.map +1 -0
  177. package/dist/src/utils/filterConverter.spec.d.ts +2 -0
  178. package/dist/src/utils/filterConverter.spec.d.ts.map +1 -0
  179. package/dist/src/utils/processTrigger.d.ts +3 -1
  180. package/dist/src/utils/processTrigger.d.ts.map +1 -1
  181. package/dist/src/utils/transport/iframe-transport.d.ts +55 -0
  182. package/dist/src/utils/transport/iframe-transport.d.ts.map +1 -0
  183. package/dist/src/utils/transport/iframe-transport.spec.d.ts +2 -0
  184. package/dist/src/utils/transport/iframe-transport.spec.d.ts.map +1 -0
  185. package/dist/src/utils.d.ts +18 -0
  186. package/dist/src/utils.d.ts.map +1 -1
  187. package/dist/tsembed-react.es.js +1144 -412
  188. package/dist/tsembed-react.js +1143 -411
  189. package/dist/tsembed.es.js +1357 -418
  190. package/dist/tsembed.js +1352 -412
  191. package/dist/visual-embed-sdk-react-full.d.ts +1514 -651
  192. package/dist/visual-embed-sdk-react.d.ts +1351 -632
  193. package/dist/visual-embed-sdk.d.ts +1508 -668
  194. package/lib/package.json +19 -4
  195. package/lib/src/contracts/contracts.spec.d.ts +2 -0
  196. package/lib/src/contracts/contracts.spec.d.ts.map +1 -0
  197. package/lib/src/contracts/contracts.spec.js +342 -0
  198. package/lib/src/contracts/contracts.spec.js.map +1 -0
  199. package/lib/src/contracts/embed-event-payloads.d.ts +73 -0
  200. package/lib/src/contracts/embed-event-payloads.d.ts.map +1 -0
  201. package/lib/src/contracts/embed-event-payloads.js +2 -0
  202. package/lib/src/contracts/embed-event-payloads.js.map +1 -0
  203. package/lib/src/contracts/host-event-contracts.d.ts +416 -0
  204. package/lib/src/contracts/host-event-contracts.d.ts.map +1 -0
  205. package/lib/src/contracts/host-event-contracts.js +2 -0
  206. package/lib/src/contracts/host-event-contracts.js.map +1 -0
  207. package/lib/src/contracts/index.d.ts +22 -0
  208. package/lib/src/contracts/index.d.ts.map +1 -0
  209. package/lib/src/contracts/index.js +22 -0
  210. package/lib/src/contracts/index.js.map +1 -0
  211. package/lib/src/contracts/ui-passthrough-contracts.d.ts +277 -0
  212. package/lib/src/contracts/ui-passthrough-contracts.d.ts.map +1 -0
  213. package/lib/src/{embed/hostEventClient/contracts.js → contracts/ui-passthrough-contracts.js} +6 -2
  214. package/lib/src/contracts/ui-passthrough-contracts.js.map +1 -0
  215. package/lib/src/embed/app.d.ts +21 -143
  216. package/lib/src/embed/app.d.ts.map +1 -1
  217. package/lib/src/embed/app.js +23 -123
  218. package/lib/src/embed/app.js.map +1 -1
  219. package/lib/src/embed/app.spec.js +80 -26
  220. package/lib/src/embed/app.spec.js.map +1 -1
  221. package/lib/src/embed/auto-frame-renderer.js +1 -1
  222. package/lib/src/embed/auto-frame-renderer.js.map +1 -1
  223. package/lib/src/embed/auto-frame-renderer.spec.js +24 -13
  224. package/lib/src/embed/auto-frame-renderer.spec.js.map +1 -1
  225. package/lib/src/embed/bodyless-conversation.js +1 -1
  226. package/lib/src/embed/bodyless-conversation.js.map +1 -1
  227. package/lib/src/embed/conversation.d.ts +1 -0
  228. package/lib/src/embed/conversation.d.ts.map +1 -1
  229. package/lib/src/embed/conversation.js +5 -5
  230. package/lib/src/embed/conversation.js.map +1 -1
  231. package/lib/src/embed/conversation.spec.js +35 -24
  232. package/lib/src/embed/conversation.spec.js.map +1 -1
  233. package/lib/src/embed/embedConfig.spec.js +2 -1
  234. package/lib/src/embed/embedConfig.spec.js.map +1 -1
  235. package/lib/src/embed/events.spec.js +12 -2
  236. package/lib/src/embed/events.spec.js.map +1 -1
  237. package/lib/src/embed/hostEventClient/host-event-client.d.ts +5 -4
  238. package/lib/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
  239. package/lib/src/embed/hostEventClient/host-event-client.js +19 -8
  240. package/lib/src/embed/hostEventClient/host-event-client.js.map +1 -1
  241. package/lib/src/embed/hostEventClient/host-event-client.spec.js +15 -9
  242. package/lib/src/embed/hostEventClient/host-event-client.spec.js.map +1 -1
  243. package/lib/src/embed/hostEventClient/utils.d.ts +10 -1
  244. package/lib/src/embed/hostEventClient/utils.d.ts.map +1 -1
  245. package/lib/src/embed/hostEventClient/utils.js +48 -3
  246. package/lib/src/embed/hostEventClient/utils.js.map +1 -1
  247. package/lib/src/embed/hostEventClient/utils.spec.js +152 -1
  248. package/lib/src/embed/hostEventClient/utils.spec.js.map +1 -1
  249. package/lib/src/embed/liveboard.d.ts +13 -164
  250. package/lib/src/embed/liveboard.d.ts.map +1 -1
  251. package/lib/src/embed/liveboard.js +73 -136
  252. package/lib/src/embed/liveboard.js.map +1 -1
  253. package/lib/src/embed/liveboard.spec.js +213 -29
  254. package/lib/src/embed/liveboard.spec.js.map +1 -1
  255. package/lib/src/embed/search-bar.js +1 -1
  256. package/lib/src/embed/search-bar.js.map +1 -1
  257. package/lib/src/embed/search.d.ts +14 -0
  258. package/lib/src/embed/search.d.ts.map +1 -1
  259. package/lib/src/embed/search.js +5 -2
  260. package/lib/src/embed/search.js.map +1 -1
  261. package/lib/src/embed/search.spec.js +85 -0
  262. package/lib/src/embed/search.spec.js.map +1 -1
  263. package/lib/src/embed/spotter-utils.d.ts +8 -1
  264. package/lib/src/embed/spotter-utils.d.ts.map +1 -1
  265. package/lib/src/embed/spotter-utils.js +12 -0
  266. package/lib/src/embed/spotter-utils.js.map +1 -1
  267. package/lib/src/embed/spotter-utils.spec.js +27 -1
  268. package/lib/src/embed/spotter-utils.spec.js.map +1 -1
  269. package/lib/src/embed/ts-embed.d.ts +20 -22
  270. package/lib/src/embed/ts-embed.d.ts.map +1 -1
  271. package/lib/src/embed/ts-embed.js +171 -66
  272. package/lib/src/embed/ts-embed.js.map +1 -1
  273. package/lib/src/embed/ts-embed.spec.js +484 -36
  274. package/lib/src/embed/ts-embed.spec.js.map +1 -1
  275. package/lib/src/errors.js +1 -1
  276. package/lib/src/errors.js.map +1 -1
  277. package/lib/src/full-height.d.ts +137 -0
  278. package/lib/src/full-height.d.ts.map +1 -0
  279. package/lib/src/full-height.js +268 -0
  280. package/lib/src/full-height.js.map +1 -0
  281. package/lib/src/full-height.spec.d.ts +2 -0
  282. package/lib/src/full-height.spec.d.ts.map +1 -0
  283. package/lib/src/full-height.spec.js +833 -0
  284. package/lib/src/full-height.spec.js.map +1 -0
  285. package/lib/src/index.d.ts +5 -3
  286. package/lib/src/index.d.ts.map +1 -1
  287. package/lib/src/index.js +3 -2
  288. package/lib/src/index.js.map +1 -1
  289. package/lib/src/react/all-types-export.d.ts +1 -1
  290. package/lib/src/react/all-types-export.d.ts.map +1 -1
  291. package/lib/src/react/all-types-export.js +1 -1
  292. package/lib/src/react/all-types-export.js.map +1 -1
  293. package/lib/src/react/all-types-export.parity.spec.js +55 -3
  294. package/lib/src/react/all-types-export.parity.spec.js.map +1 -1
  295. package/lib/src/types.d.ts +584 -24
  296. package/lib/src/types.d.ts.map +1 -1
  297. package/lib/src/types.js +370 -22
  298. package/lib/src/types.js.map +1 -1
  299. package/lib/src/utils/authService/tokenizedAuthService.spec.js +2 -1
  300. package/lib/src/utils/authService/tokenizedAuthService.spec.js.map +1 -1
  301. package/lib/src/utils/custom-actions.spec.js +4 -2
  302. package/lib/src/utils/custom-actions.spec.js.map +1 -1
  303. package/lib/src/utils/filterConverter.d.ts +106 -0
  304. package/lib/src/utils/filterConverter.d.ts.map +1 -0
  305. package/lib/src/utils/filterConverter.js +210 -0
  306. package/lib/src/utils/filterConverter.js.map +1 -0
  307. package/lib/src/utils/filterConverter.spec.d.ts +2 -0
  308. package/lib/src/utils/filterConverter.spec.d.ts.map +1 -0
  309. package/lib/src/utils/filterConverter.spec.js +707 -0
  310. package/lib/src/utils/filterConverter.spec.js.map +1 -0
  311. package/lib/src/utils/processData.spec.js +2 -1
  312. package/lib/src/utils/processData.spec.js.map +1 -1
  313. package/lib/src/utils/processTrigger.d.ts +3 -1
  314. package/lib/src/utils/processTrigger.d.ts.map +1 -1
  315. package/lib/src/utils/processTrigger.js +19 -51
  316. package/lib/src/utils/processTrigger.js.map +1 -1
  317. package/lib/src/utils/transport/iframe-transport.d.ts +55 -0
  318. package/lib/src/utils/transport/iframe-transport.d.ts.map +1 -0
  319. package/lib/src/utils/transport/iframe-transport.js +101 -0
  320. package/lib/src/utils/transport/iframe-transport.js.map +1 -0
  321. package/lib/src/utils/transport/iframe-transport.spec.d.ts +2 -0
  322. package/lib/src/utils/transport/iframe-transport.spec.d.ts.map +1 -0
  323. package/lib/src/utils/transport/iframe-transport.spec.js +138 -0
  324. package/lib/src/utils/transport/iframe-transport.spec.js.map +1 -0
  325. package/lib/src/utils.d.ts +18 -0
  326. package/lib/src/utils.d.ts.map +1 -1
  327. package/lib/src/utils.js +37 -0
  328. package/lib/src/utils.js.map +1 -1
  329. package/lib/src/utils.spec.js +63 -1
  330. package/lib/src/utils.spec.js.map +1 -1
  331. package/lib/src/visual-embed-sdk.d.ts +1508 -668
  332. package/package.json +19 -4
  333. package/src/contracts/contracts.spec.ts +392 -0
  334. package/src/contracts/embed-event-payloads.ts +83 -0
  335. package/src/contracts/host-event-contracts.ts +500 -0
  336. package/src/contracts/index.ts +53 -0
  337. package/src/contracts/ui-passthrough-contracts.ts +301 -0
  338. package/src/embed/app.spec.ts +101 -34
  339. package/src/embed/app.ts +42 -268
  340. package/src/embed/auto-frame-renderer.spec.ts +24 -13
  341. package/src/embed/auto-frame-renderer.ts +1 -1
  342. package/src/embed/bodyless-conversation.ts +1 -1
  343. package/src/embed/conversation.spec.ts +38 -27
  344. package/src/embed/conversation.ts +5 -5
  345. package/src/embed/embedConfig.spec.ts +2 -1
  346. package/src/embed/events.spec.ts +14 -2
  347. package/src/embed/hostEventClient/host-event-client.spec.ts +16 -10
  348. package/src/embed/hostEventClient/host-event-client.ts +31 -10
  349. package/src/embed/hostEventClient/utils.spec.ts +176 -1
  350. package/src/embed/hostEventClient/utils.ts +53 -3
  351. package/src/embed/liveboard.spec.ts +261 -41
  352. package/src/embed/liveboard.ts +85 -300
  353. package/src/embed/search-bar.tsx +1 -1
  354. package/src/embed/search.spec.ts +103 -0
  355. package/src/embed/search.ts +21 -1
  356. package/src/embed/spotter-utils.spec.ts +29 -0
  357. package/src/embed/spotter-utils.ts +16 -0
  358. package/src/embed/ts-embed.spec.ts +650 -36
  359. package/src/embed/ts-embed.ts +205 -76
  360. package/src/errors.ts +1 -1
  361. package/src/full-height.spec.ts +1008 -0
  362. package/src/full-height.ts +361 -0
  363. package/src/index.ts +103 -5
  364. package/src/react/all-types-export.parity.spec.ts +63 -3
  365. package/src/react/all-types-export.ts +49 -0
  366. package/src/types.ts +584 -22
  367. package/src/utils/authService/tokenizedAuthService.spec.ts +2 -1
  368. package/src/utils/custom-actions.spec.ts +4 -2
  369. package/src/utils/filterConverter.spec.ts +801 -0
  370. package/src/utils/filterConverter.ts +304 -0
  371. package/src/utils/processData.spec.ts +2 -1
  372. package/src/utils/processTrigger.ts +28 -58
  373. package/src/utils/transport/iframe-transport.spec.ts +177 -0
  374. package/src/utils/transport/iframe-transport.ts +122 -0
  375. package/src/utils.spec.ts +71 -0
  376. package/src/utils.ts +38 -0
  377. package/cjs/src/embed/hostEventClient/contracts.d.ts +0 -231
  378. package/cjs/src/embed/hostEventClient/contracts.d.ts.map +0 -1
  379. package/cjs/src/embed/hostEventClient/contracts.js.map +0 -1
  380. package/dist/src/embed/hostEventClient/contracts.d.ts +0 -231
  381. package/dist/src/embed/hostEventClient/contracts.d.ts.map +0 -1
  382. package/lib/src/embed/hostEventClient/contracts.d.ts +0 -231
  383. package/lib/src/embed/hostEventClient/contracts.d.ts.map +0 -1
  384. package/lib/src/embed/hostEventClient/contracts.js.map +0 -1
  385. package/src/embed/hostEventClient/contracts.ts +0 -262
package/lib/src/types.js CHANGED
@@ -841,6 +841,9 @@ export var EmbedEvent;
841
841
  EmbedEvent["Download"] = "download";
842
842
  /**
843
843
  * Emitted when the download action is triggered on an Answer.
844
+ * Payload varies by context: {@link VizScopedRequest} (Search, Answer,
845
+ * Liveboard), {@link RequiredVizRequest} (Spotter, vizId required). trigger()
846
+ * accepts the union now; per-context enforced next release.
844
847
  * Use start:true to subscribe to when download is initiated, or end:true to
845
848
  * subscribe to when download is completed. Default is end:true.
846
849
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.0.sw
@@ -857,6 +860,9 @@ export var EmbedEvent;
857
860
  EmbedEvent["DownloadAsPng"] = "downloadAsPng";
858
861
  /**
859
862
  * Emitted when the Download as PDF action is triggered on an Answer
863
+ * Payload varies by context: {@link VizScopedRequest} (Search, Answer; plus
864
+ * liveboardId on Liveboard), {@link RequiredVizRequest} (Spotter). trigger()
865
+ * accepts the union now; per-context enforced next release.
860
866
  * Use start:true to subscribe to when download as PDF is initiated, or end:true to
861
867
  * subscribe to when download as PDF is completed. Default is end:true.
862
868
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
@@ -873,6 +879,9 @@ export var EmbedEvent;
873
879
  EmbedEvent["DownloadAsPdf"] = "downloadAsPdf";
874
880
  /**
875
881
  * Emitted when the Download as CSV action is triggered on an Answer.
882
+ * Payload varies by context: {@link VizScopedRequest} (Search, Answer,
883
+ * Liveboard), {@link RequiredVizRequest} (Spotter, vizId required). trigger()
884
+ * accepts the union now; per-context enforced next release.
876
885
  * Use start:true to subscribe to when download as CSV is initiated, or end:true to
877
886
  * subscribe to when download as CSV is completed. Default is end:true.
878
887
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
@@ -889,6 +898,9 @@ export var EmbedEvent;
889
898
  EmbedEvent["DownloadAsCsv"] = "downloadAsCsv";
890
899
  /**
891
900
  * Emitted when the Download as XLSX action is triggered on an Answer.
901
+ * Payload varies by context: {@link VizScopedRequest} (Search, Answer,
902
+ * Liveboard), {@link RequiredVizRequest} (Spotter, vizId required). trigger()
903
+ * accepts the union now; per-context enforced next release.
892
904
  * Use start:true to subscribe to when download as XLSX is initiated, or end:true to
893
905
  * subscribe to when download as XLSX is completed. Default is end:true.
894
906
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
@@ -1167,6 +1179,9 @@ export var EmbedEvent;
1167
1179
  EmbedEvent["Schedule"] = "subscription";
1168
1180
  /**
1169
1181
  * Emitted when a user clicks **Edit** on a Liveboard or visualization
1182
+ * Payload varies by context: {@link VizScopedRequest} (Liveboard),
1183
+ * {@link RequiredVizRequest} (Spotter, vizId required). trigger() accepts the
1184
+ * union now; per-context enforced next release.
1170
1185
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1171
1186
  * @example
1172
1187
  * ```js
@@ -2246,6 +2261,7 @@ export var HostEvent;
2246
2261
  * the search query string.
2247
2262
  * Supported in `AppEmbed` and `SearchEmbed` deployments.
2248
2263
  * Includes the following properties:
2264
+ * Payload: {@link SearchRequest}.
2249
2265
  * @param - Includes the following keys:
2250
2266
  * - `searchQuery`: Query string with search tokens.
2251
2267
  * - `dataSources`: Data source GUID to search on.
@@ -2273,6 +2289,9 @@ export var HostEvent;
2273
2289
  HostEvent["Search"] = "search";
2274
2290
  /**
2275
2291
  * Triggers a drill on certain points of the specified column
2292
+ * Payload: {@link DrillDownRequest}; in Liveboard context vizId is required
2293
+ * ({@link RequiredVizRequest}). trigger() accepts the union now; per-context
2294
+ * enforced next release.
2276
2295
  * Includes the following properties:
2277
2296
  * @param - Includes the following keys:
2278
2297
  * - `points`: An object containing `selectedPoints` and/or `clickedPoint`
@@ -2352,6 +2371,8 @@ export var HostEvent;
2352
2371
  HostEvent["Reload"] = "reload";
2353
2372
  /**
2354
2373
  * Get iframe URL for the current embed view.
2374
+ * Payload: none.
2375
+ * Response: {@link GetIframeUrlResponse}.
2355
2376
  * @example
2356
2377
  * ```js
2357
2378
  * const url = embed.trigger(HostEvent.GetIframeUrl);
@@ -2370,6 +2391,7 @@ export var HostEvent;
2370
2391
  HostEvent["GetIframeUrl"] = "GetIframeUrl";
2371
2392
  /**
2372
2393
  * Display specific visualizations on a Liveboard.
2394
+ * Payload: `string[]`.
2373
2395
  * @param - An array of GUIDs of the visualization to show. The visualization IDs not passed
2374
2396
  * in this parameter will be hidden.
2375
2397
  * @example
@@ -2392,6 +2414,7 @@ export var HostEvent;
2392
2414
  HostEvent["SetVisibleVizs"] = "SetPinboardVisibleVizs";
2393
2415
  /**
2394
2416
  * Set a Liveboard tab as an active tab.
2417
+ * Payload: {@link SetActiveTabRequest}.
2395
2418
  * @param - tabId - string of id of Tab to show
2396
2419
  * @example
2397
2420
  * ```js
@@ -2419,6 +2442,7 @@ export var HostEvent;
2419
2442
  * and `AppEmbed` only. In full application embedding, this event updates
2420
2443
  * the runtime filters applied on the Liveboard and saved Answer objects.
2421
2444
  *
2445
+ * Payload: {@link RuntimeFilter}[].
2422
2446
  * @param - Array of {@link RuntimeFilter} objects. Each item includes:
2423
2447
  * - `columnName`: Name of the column to filter on.
2424
2448
  * - `operator`: {@link RuntimeFilterOp} to apply. For more information, see
@@ -2460,6 +2484,7 @@ export var HostEvent;
2460
2484
  * Accepts either a plain value or an object with `path`
2461
2485
  * and an optional `replace` flag.
2462
2486
  *
2487
+ * Payload: `string` | `number` | {@link NavigateRequest}.
2463
2488
  * @param data - A string path, a numeric history delta, or an object
2464
2489
  * `{ path: string | number, replace?: boolean }`.
2465
2490
  * - `path` — the route to navigate to, or a history delta such as `1`
@@ -2487,6 +2512,9 @@ export var HostEvent;
2487
2512
  /**
2488
2513
  * Open the filter panel for a particular column.
2489
2514
  * Works with Search and Liveboard embed.
2515
+ * Payload: {@link OpenFilterRequest} (the cross-context superset). The
2516
+ * accepted fields vary by context: {@link OpenFilterLiveboardRequest},
2517
+ * {@link OpenFilterSpotterRequest}, {@link OpenFilterSearchRequest}.
2490
2518
  * @param - { columnId: string,
2491
2519
  * name: string,
2492
2520
  * type: ATTRIBUTE/MEASURE,
@@ -2569,6 +2597,7 @@ export var HostEvent;
2569
2597
  /**
2570
2598
  * Open the parameter panel for a particular parameter on a Liveboard.
2571
2599
  * Mirrors {@link HostEvent.OpenFilter} for parameters.
2600
+ * Payload: {@link OpenParameterRequest}.
2572
2601
  * @param - Includes the following keys:
2573
2602
  * - `parameter`: An object identifying the parameter to open, for
2574
2603
  * example, `{ parameterId: '<parameter-GUID>' }`.
@@ -2600,6 +2629,7 @@ export var HostEvent;
2600
2629
  HostEvent["OpenParameter"] = "openParameter";
2601
2630
  /**
2602
2631
  * Add columns to the current search query.
2632
+ * Payload: `{ columnIds: string[] }`.
2603
2633
  * @param - { columnIds: string[] }
2604
2634
  * @example
2605
2635
  * ```js
@@ -2618,6 +2648,7 @@ export var HostEvent;
2618
2648
  HostEvent["AddColumns"] = "addColumns";
2619
2649
  /**
2620
2650
  * Remove a column from the current search query.
2651
+ * Payload: `{ columnId: string }`.
2621
2652
  * @param - { columnId: string }
2622
2653
  * @example
2623
2654
  * ```js
@@ -2642,6 +2673,8 @@ export var HostEvent;
2642
2673
  * sorting, toggling of legends, and data drill down.
2643
2674
  * For more information, see
2644
2675
  * link:https://developers.thoughtspot.com/docs/fetch-data-and-report-apis#transient-lb-content[Liveboard data with unsaved changes].
2676
+ * Payload: none.
2677
+ * Response: {@link GetExportRequestForCurrentPinboardResponse}.
2645
2678
  * @example
2646
2679
  * ```js
2647
2680
  * liveboardEmbed.trigger(HostEvent.getExportRequestForCurrentPinboard).then(
@@ -2663,6 +2696,8 @@ export var HostEvent;
2663
2696
  * requiring additional user input via the *Pin to Liveboard* modal, define
2664
2697
  * the following parameters:
2665
2698
  *
2699
+ * Payload: {@link PinAnswerToLiveboardRequest}.
2700
+ * Response: {@link PinAnswerToLiveboardResponse}.
2666
2701
  * @param - Includes the following keys:
2667
2702
  * - `vizId`: GUID of the saved Answer or Spotter visualization ID to pin to a
2668
2703
  * Liveboard.
@@ -2777,6 +2812,7 @@ export var HostEvent;
2777
2812
  HostEvent["LiveboardInfo"] = "pinboardInfo";
2778
2813
  /**
2779
2814
  * Trigger the **Schedule** action on an embedded Liveboard.
2815
+ * Payload: {@link VizScopedRequest}.
2780
2816
  * @example
2781
2817
  * ```js
2782
2818
  * liveboardEmbed.trigger(HostEvent.Schedule)
@@ -2792,6 +2828,7 @@ export var HostEvent;
2792
2828
  HostEvent["Schedule"] = "subscription";
2793
2829
  /**
2794
2830
  * Trigger the **Manage schedule** action on an embedded Liveboard
2831
+ * Payload: {@link VizScopedRequest}.
2795
2832
  * @example
2796
2833
  * ```js
2797
2834
  * liveboardEmbed.trigger(HostEvent.SchedulesList)
@@ -2808,6 +2845,7 @@ export var HostEvent;
2808
2845
  /**
2809
2846
  * Trigger the **Export TML** action on an embedded Liveboard or
2810
2847
  * Answer.
2848
+ * Payload: {@link VizScopedRequest}.
2811
2849
  * @example
2812
2850
  * ```js
2813
2851
  * liveboardEmbed.trigger(HostEvent.ExportTML)
@@ -2830,6 +2868,7 @@ export var HostEvent;
2830
2868
  /**
2831
2869
  * Trigger the **Edit TML** action on an embedded Liveboard or
2832
2870
  * saved Answers in the full application embedding.
2871
+ * Payload: {@link VizScopedRequest}.
2833
2872
  * @example
2834
2873
  * ```js
2835
2874
  * liveboardEmbed.trigger(HostEvent.EditTML)
@@ -2851,6 +2890,7 @@ export var HostEvent;
2851
2890
  HostEvent["EditTML"] = "editTSL";
2852
2891
  /**
2853
2892
  * Trigger the **Update TML** action on an embedded Liveboard.
2893
+ * Payload: {@link VizScopedRequest}.
2854
2894
  * @example
2855
2895
  * ```js
2856
2896
  * liveboardEmbed.trigger(HostEvent.UpdateTML)
@@ -2868,6 +2908,7 @@ export var HostEvent;
2868
2908
  * Trigger the **Download PDF** action on an embedded Liveboard,
2869
2909
  * visualization or Answer.
2870
2910
  *
2911
+ * Payload: {@link VizScopedRequest} plus optional `liveboardId`.
2871
2912
  * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
2872
2913
  *
2873
2914
  * **NOTE**: The **Download** > **PDF** action is available on
@@ -2918,6 +2959,7 @@ export var HostEvent;
2918
2959
  /**
2919
2960
  * Trigger the **AI Highlights** action on an embedded Liveboard
2920
2961
  *
2962
+ * Payload: none.
2921
2963
  * @example
2922
2964
  * ```js
2923
2965
  * liveboardEmbed.trigger(HostEvent.AIHighlights)
@@ -2972,6 +3014,9 @@ export var HostEvent;
2972
3014
  HostEvent["MakeACopy"] = "makeACopy";
2973
3015
  /**
2974
3016
  * Trigger the **Delete** action for a Liveboard.
3017
+ * Payload varies by context: {@link RequiredVizRequest} (Liveboard, vizId
3018
+ * required), {@link VizScopedRequest} (Search). trigger() accepts the union
3019
+ * now; per-context enforced next release.
2975
3020
  * @example
2976
3021
  * ```js
2977
3022
  * appEmbed.trigger(HostEvent.Remove)
@@ -2986,6 +3031,7 @@ export var HostEvent;
2986
3031
  HostEvent["Remove"] = "delete";
2987
3032
  /**
2988
3033
  * Trigger the **Explore** action on a visualization.
3034
+ * Payload: {@link RequiredVizRequest}.
2989
3035
  * @param - an object with `vizId` as a key
2990
3036
  * @example
2991
3037
  * ```js
@@ -3005,6 +3051,7 @@ export var HostEvent;
3005
3051
  /**
3006
3052
  * Trigger the **Create alert** action on a KPI chart
3007
3053
  * in a Liveboard or saved Answer.
3054
+ * Payload: {@link VizScopedRequest}.
3008
3055
  * @param - an object with `vizId` as a key
3009
3056
  * @example
3010
3057
  * ```js
@@ -3036,6 +3083,7 @@ export var HostEvent;
3036
3083
  /**
3037
3084
  * Trigger the **Manage alerts** action on a KPI chart
3038
3085
  * in a visualization or saved Answer.
3086
+ * Payload: {@link VizScopedRequest}.
3039
3087
  * @param - an object with `vizId` as a key
3040
3088
  * @example
3041
3089
  * ```js
@@ -3073,6 +3121,7 @@ export var HostEvent;
3073
3121
  * on a Liveboard.
3074
3122
  *
3075
3123
  * This event is not supported in visualization embed and search embed.
3124
+ * Payload: {@link VizScopedRequest}.
3076
3125
  * @param - Object parameter. Includes the following keys:
3077
3126
  * - `vizId`: To trigger the action for a specific visualization in Liveboard embed,
3078
3127
  * pass in `vizId` as a key. In Spotter embed, `vizId` refers to the Answer ID and
@@ -3115,6 +3164,7 @@ export var HostEvent;
3115
3164
  HostEvent["Edit"] = "edit";
3116
3165
  /**
3117
3166
  * Trigger the **Copy link** action on a Liveboard or visualization
3167
+ * Payload: {@link VizScopedRequest}.
3118
3168
  * @param - object - to trigger the action for a
3119
3169
  * specific visualization in Liveboard embed, pass in `vizId` as a key
3120
3170
  * @example
@@ -3160,6 +3210,7 @@ export var HostEvent;
3160
3210
  HostEvent["CopyLink"] = "embedDocument";
3161
3211
  /**
3162
3212
  * Trigger the **Present** action on a Liveboard or visualization
3213
+ * Payload: {@link VizScopedRequest}.
3163
3214
  * @param - object - to trigger the action for a specific visualization
3164
3215
  * in Liveboard embed, pass in `vizId` as a key
3165
3216
  * @example
@@ -3205,6 +3256,8 @@ export var HostEvent;
3205
3256
  HostEvent["Present"] = "present";
3206
3257
  /**
3207
3258
  * Get TML for the current search.
3259
+ * Payload: {@link GetTMLRequest}.
3260
+ * Response: `Record<string, any>`.
3208
3261
  * @example
3209
3262
  * ```js
3210
3263
  * searchEmbed.trigger(HostEvent.GetTML).then((tml) => {
@@ -3254,6 +3307,7 @@ export var HostEvent;
3254
3307
  * Trigger the **Show underlying data** action on a
3255
3308
  * chart or table.
3256
3309
  *
3310
+ * Payload: {@link VizScopedRequest}.
3257
3311
  * @param - an object with vizId as a key
3258
3312
  * @example
3259
3313
  * ```js
@@ -3287,6 +3341,7 @@ export var HostEvent;
3287
3341
  * Trigger the **Delete** action for a visualization
3288
3342
  * in an embedded Liveboard, or a chart or table
3289
3343
  * generated from Search.
3344
+ * Payload: {@link VizScopedRequest}.
3290
3345
  * @param - Liveboard embed takes an object with `vizId` as a key.
3291
3346
  * Can be left empty if embedding Search or visualization.
3292
3347
  * @example
@@ -3315,6 +3370,7 @@ export var HostEvent;
3315
3370
  /**
3316
3371
  * Trigger the **SpotIQ analyze** action on a
3317
3372
  * chart or table.
3373
+ * Payload: {@link VizScopedRequest}.
3318
3374
  * @param - Liveboard embed takes `vizId` as a
3319
3375
  * key. Can be left undefined when embedding Search or
3320
3376
  * visualization.
@@ -3377,6 +3433,7 @@ export var HostEvent;
3377
3433
  /**
3378
3434
  * Trigger the **Download** > **PNG** action on
3379
3435
  * charts in the embedded view.
3436
+ * Payload: {@link VizScopedRequest}.
3380
3437
  * @example
3381
3438
  * ```js
3382
3439
  * liveboardEmbed.trigger(HostEvent.DownloadAsPng,
@@ -3408,6 +3465,7 @@ export var HostEvent;
3408
3465
  /**
3409
3466
  * Trigger the **Download** > **CSV** action on tables in
3410
3467
  * the embedded view.
3468
+ * Payload: {@link VizScopedRequest}.
3411
3469
  * @param - `vizId` refers to the Visualization ID in Spotter embed and is required in Spotter embed.
3412
3470
  * @example
3413
3471
  * ```js
@@ -3447,6 +3505,7 @@ export var HostEvent;
3447
3505
  /**
3448
3506
  * Trigger the **Download** > **XLSX** action on tables
3449
3507
  * in the embedded view.
3508
+ * Payload: {@link VizScopedRequest}.
3450
3509
  * @param - `vizId` refers to the Visualization ID in Spotter embed and is required in Spotter embed.
3451
3510
  * @example
3452
3511
  * ```js
@@ -3486,6 +3545,7 @@ export var HostEvent;
3486
3545
  /**
3487
3546
  * Trigger the **Share** action on an embedded
3488
3547
  * Liveboard or Answer.
3548
+ * Payload: {@link VizScopedRequest}.
3489
3549
  * @example
3490
3550
  * ```js
3491
3551
  * liveboardEmbed.trigger(HostEvent.Share)
@@ -3512,6 +3572,7 @@ export var HostEvent;
3512
3572
  * Trigger the **Save** action on a Liveboard, Answer, or Spotter.
3513
3573
  * Saves the changes.
3514
3574
  *
3575
+ * Payload: {@link VizScopedRequest}.
3515
3576
  * @param - `vizId` refers to the Spotter Visualization Id used in Spotter embed.
3516
3577
  * It is required and can be retrieved from the data embed event.
3517
3578
  *
@@ -3563,6 +3624,7 @@ export var HostEvent;
3563
3624
  /**
3564
3625
  * Trigger the **Sync to Sheets** action on an embedded visualization or Answer
3565
3626
  * Sends data from an Answer or Liveboard visualization to a Google sheet.
3627
+ * Payload: {@link VizScopedRequest}.
3566
3628
  * @param - an object with `vizId` as a key
3567
3629
  * @example
3568
3630
  * ```js
@@ -3593,6 +3655,7 @@ export var HostEvent;
3593
3655
  * Trigger the **Sync to Other Apps** action on an embedded visualization or Answer
3594
3656
  * Sends data from an Answer or Liveboard visualization to third-party apps such
3595
3657
  * as Slack, Salesforce, Microsoft Teams, ServiceNow and so on.
3658
+ * Payload: {@link VizScopedRequest}.
3596
3659
  * @param - an object with vizId as a key
3597
3660
  * @example
3598
3661
  * ```js
@@ -3623,6 +3686,7 @@ export var HostEvent;
3623
3686
  * Trigger the **Manage pipelines** action on an embedded
3624
3687
  * visualization or Answer.
3625
3688
  * Allows users to manage ThoughtSpot Sync pipelines.
3689
+ * Payload: {@link VizScopedRequest}.
3626
3690
  * @param - an object with `vizId` as a key
3627
3691
  * @example
3628
3692
  * ```js
@@ -3651,6 +3715,7 @@ export var HostEvent;
3651
3715
  HostEvent["ManagePipelines"] = "manage-pipeline";
3652
3716
  /**
3653
3717
  * Reset search operation on the Search or Answer page.
3718
+ * Payload: none.
3654
3719
  * @example
3655
3720
  * ```js
3656
3721
  * searchEmbed.trigger(HostEvent.ResetSearch)
@@ -3678,10 +3743,18 @@ export var HostEvent;
3678
3743
  * whole Liveboard.
3679
3744
  * The `applicability` attribute is available from SDK: 1.53.0 |
3680
3745
  * ThoughtSpot: 26.10.0.cl.
3746
+ * Payload: {@link GetFiltersRequest}.
3747
+ * Response: {@link GetFiltersResponse}.
3681
3748
  * @example
3682
3749
  * ```js
3683
3750
  * const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
3684
3751
  * console.log('data', data);
3752
+ * // {
3753
+ * // liveboardFilters: [ ... ],
3754
+ * // runtimeFilters: [
3755
+ * // { columnName: "Region", operator: "IN", values: ["West"] }
3756
+ * // ]
3757
+ * // }
3685
3758
  * ```
3686
3759
  * @example
3687
3760
  * ```js
@@ -3697,6 +3770,7 @@ export var HostEvent;
3697
3770
  HostEvent["GetFilters"] = "getFilters";
3698
3771
  /**
3699
3772
  * Update one or several filters applied on a Liveboard.
3773
+ * Payload: {@link UpdateFiltersRequest}.
3700
3774
  * @param - Includes the following keys:
3701
3775
  * - `filter`: A single filter object containing column name, filter operator, and
3702
3776
  * values.
@@ -3705,9 +3779,9 @@ export var HostEvent;
3705
3779
  *
3706
3780
  * Each filter object must include the following attributes:
3707
3781
  *
3708
- * `column` - Name of the column to filter on.
3782
+ * `columnName` - Name of the column to filter on.
3709
3783
  *
3710
- * `oper` - Filter operator, for example, EQ, IN, CONTAINS.
3784
+ * `operator` - Filter operator, for example, EQ, IN, CONTAINS.
3711
3785
  * For information about the supported filter operators,
3712
3786
  * see link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
3713
3787
  *
@@ -3734,8 +3808,8 @@ export var HostEvent;
3734
3808
  *
3735
3809
  * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
3736
3810
  * filter: {
3737
- * column: "item type",
3738
- * oper: "IN",
3811
+ * columnName: "item type",
3812
+ * operator: "IN",
3739
3813
  * values: ["bags","shirts"]
3740
3814
  * }
3741
3815
  * });
@@ -3745,8 +3819,8 @@ export var HostEvent;
3745
3819
  *
3746
3820
  * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
3747
3821
  * filter: {
3748
- * column: "date",
3749
- * oper: "EQ",
3822
+ * columnName: "date",
3823
+ * operator: "EQ",
3750
3824
  * values: ["JULY","2023"],
3751
3825
  * type: "MONTH_YEAR"
3752
3826
  * }
@@ -3757,18 +3831,18 @@ export var HostEvent;
3757
3831
  * ```js
3758
3832
  * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
3759
3833
  * filters: [{
3760
- * column: "Item Type",
3761
- * oper: 'IN',
3834
+ * columnName: "Item Type",
3835
+ * operator: 'IN',
3762
3836
  * values: ["bags","shirts"]
3763
3837
  * },
3764
3838
  * {
3765
- * column: "Region",
3766
- * oper: 'IN',
3839
+ * columnName: "Region",
3840
+ * operator: 'IN',
3767
3841
  * values: ["West","Midwest"]
3768
3842
  * },
3769
3843
  * {
3770
- * column: "Date",
3771
- * oper: 'EQ',
3844
+ * columnName: "Date",
3845
+ * operator: 'EQ',
3772
3846
  * values: ["2023-07-31"],
3773
3847
  * type: "EXACT_DATE"
3774
3848
  * }]
@@ -3782,13 +3856,13 @@ export var HostEvent;
3782
3856
  * ```js
3783
3857
  * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
3784
3858
  * filters: [{
3785
- * column: "(Sample) Retail - Apparel::city",
3786
- * oper: 'IN',
3859
+ * columnName: "(Sample) Retail - Apparel::city",
3860
+ * operator: 'IN',
3787
3861
  * values: ["atlanta"]
3788
3862
  * },
3789
3863
  * {
3790
- * column: "(Sample) Retail - Apparel::Region",
3791
- * oper: 'IN',
3864
+ * columnName: "(Sample) Retail - Apparel::Region",
3865
+ * operator: 'IN',
3792
3866
  * values: ["West","Midwest"]
3793
3867
  * }]
3794
3868
  * });
@@ -3799,8 +3873,8 @@ export var HostEvent;
3799
3873
  * import { ContextType } from '@thoughtspot/visual-embed-sdk';
3800
3874
  * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
3801
3875
  * filter: {
3802
- * column: "item type",
3803
- * oper: "IN",
3876
+ * columnName: "item type",
3877
+ * operator: "IN",
3804
3878
  * values: ["shoes", "boots"]
3805
3879
  * }
3806
3880
  * }, ContextType.Liveboard);
@@ -3810,8 +3884,8 @@ export var HostEvent;
3810
3884
  * // Scope the filter to a specific Liveboard tab
3811
3885
  * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
3812
3886
  * filter: {
3813
- * column: "item type",
3814
- * oper: "IN",
3887
+ * columnName: "item type",
3888
+ * operator: "IN",
3815
3889
  * values: ["bags", "shirts"],
3816
3890
  * applicability: {
3817
3891
  * level: "TAB",
@@ -3820,11 +3894,19 @@ export var HostEvent;
3820
3894
  * }
3821
3895
  * });
3822
3896
  * ```
3897
+ * Use `columnName` and `operator` - the same spelling as
3898
+ * {@link RuntimeFilter}. The older `column` and `oper` spellings are
3899
+ * deprecated; they are still accepted, but pass only one spelling of each
3900
+ * field, never both. To reapply the filter state captured from
3901
+ * {@link EmbedEvent.FilterChanged}, use `convertFilterChangedToUpdateFiltersPayload`
3902
+ * to convert its payload into the shape expected here.
3823
3903
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
3824
3904
  */
3825
3905
  HostEvent["UpdateFilters"] = "updateFilters";
3826
3906
  /**
3827
3907
  * Get tab details for the current Liveboard.
3908
+ * Payload: none.
3909
+ * Response: {@link GetTabsResponse}.
3828
3910
  * @example
3829
3911
  * ```js
3830
3912
  * liveboardEmbed.trigger(HostEvent.GetTabs).then((tabDetails) => {
@@ -3850,6 +3932,8 @@ export var HostEvent;
3850
3932
  /**
3851
3933
  * Get group details for the current Liveboard.
3852
3934
  * Mirrors {@link HostEvent.GetTabs} for filter/parameter groups.
3935
+ * Payload: none.
3936
+ * Response: {@link GetGroupsResponse}.
3853
3937
  * @example
3854
3938
  * ```js
3855
3939
  * liveboardEmbed.trigger(HostEvent.GetGroups).then((groupDetails) => {
@@ -3874,6 +3958,7 @@ export var HostEvent;
3874
3958
  HostEvent["GetGroups"] = "getGroups";
3875
3959
  /**
3876
3960
  * Set the visible tabs on a Liveboard.
3961
+ * Payload: `string[]`.
3877
3962
  * @param - an array of ids of tabs to show, the IDs not passed
3878
3963
  * will be hidden.
3879
3964
  * @example
@@ -3896,6 +3981,7 @@ export var HostEvent;
3896
3981
  HostEvent["SetVisibleTabs"] = "SetPinboardVisibleTabs";
3897
3982
  /**
3898
3983
  * Set the hidden tabs on a Liveboard.
3984
+ * Payload: `string[]`.
3899
3985
  * @param - an array of the IDs of the tabs to hide.
3900
3986
  * The IDs not passed will be shown.
3901
3987
  * @example
@@ -3924,6 +4010,8 @@ export var HostEvent;
3924
4010
  * `getAnswerService()` method on the embed instance to get an AnswerService
3925
4011
  * object that provides a more convenient interface for working with answers.
3926
4012
  *
4013
+ * Payload: {@link GetAnswerSessionRequest}.
4014
+ * Response: {@link GetAnswerSessionResponse}.
3927
4015
  * @example
3928
4016
  * ```js
3929
4017
  * // Preferred way to get an AnswerService
@@ -3951,6 +4039,7 @@ export var HostEvent;
3951
4039
  HostEvent["GetAnswerSession"] = "getAnswerSession";
3952
4040
  /**
3953
4041
  * Trigger the *Ask Sage* action for visualizations
4042
+ * Payload: {@link RequiredVizRequest}.
3954
4043
  * @example
3955
4044
  * ```js
3956
4045
  * liveboardEmbed.trigger(HostEvent.AskSage,
@@ -3962,6 +4051,7 @@ export var HostEvent;
3962
4051
  /**
3963
4052
  * Trigger cross filter update action on a Liveboard.
3964
4053
  *
4054
+ * Payload: {@link UpdateCrossFilterRequest}.
3965
4055
  * @example
3966
4056
  * ```js
3967
4057
  * liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
@@ -3977,7 +4067,9 @@ export var HostEvent;
3977
4067
  HostEvent["UpdateCrossFilter"] = "UpdateCrossFilter";
3978
4068
  /**
3979
4069
  * Trigger reset action for a personalized Liveboard view.
3980
- * This event is deprecated. Use {@link HostEvent.ResetLiveboardPersonalizedView} instead.
4070
+ * This event is deprecated.
4071
+ * Use {@link HostEvent.ResetLiveboardPersonalizedView} instead.
4072
+ * Payload: none.
3981
4073
  * @example
3982
4074
  * ```js
3983
4075
  * liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
@@ -3998,6 +4090,7 @@ export var HostEvent;
3998
4090
  /**
3999
4091
  * Triggers an action to update Parameter values on embedded
4000
4092
  * Answers, Liveboard, and Spotter answer in Edit mode.
4093
+ * Payload: {@link RuntimeParameter}[].
4001
4094
  * @param - Includes the following keys for each item:
4002
4095
  * - `name`: Name of the parameter.
4003
4096
  * - `value`: The value to set for the parameter.
@@ -4055,6 +4148,8 @@ export var HostEvent;
4055
4148
  * whole Liveboard.
4056
4149
  * The `applicability` attribute is available from SDK: 1.53.0 |
4057
4150
  * ThoughtSpot: 26.10.0.cl.
4151
+ * Payload: none.
4152
+ * Response: {@link GetParametersResponse}.
4058
4153
  * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
4059
4154
  * ```js
4060
4155
  * liveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {
@@ -4092,6 +4187,7 @@ export var HostEvent;
4092
4187
  * ```js
4093
4188
  * liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
4094
4189
  * ```
4190
+ * Payload: {@link PersonalisedViewRequest} (`viewId` only).
4095
4191
  * @example
4096
4192
  * ```js
4097
4193
  * // Update personalized view from liveboard context
@@ -4124,6 +4220,7 @@ export var HostEvent;
4124
4220
  * If neither is provided, the Liveboard resets to the original/default view.
4125
4221
  * When a `viewName` is provided and multiple views share
4126
4222
  * the same name, the first match is selected.
4223
+ * Payload: {@link PersonalisedViewRequest}.
4127
4224
  * @example
4128
4225
  * ```js
4129
4226
  * liveboardEmbed.trigger(
@@ -4167,6 +4264,8 @@ export var HostEvent;
4167
4264
  * If no parameters are specified, the save action is
4168
4265
  * triggered with a modal to prompt users to
4169
4266
  * add a name and description for the Answer.
4267
+ * Payload: {@link SaveAnswerRequest}.
4268
+ * Response: {@link SaveAnswerResponse}.
4170
4269
  * @param - Includes the following keys:
4171
4270
  * - `vizId`: Refers to the Answer ID in Spotter embed and is **required** in Spotter
4172
4271
  * embed.
@@ -4252,6 +4351,7 @@ export var HostEvent;
4252
4351
  /**
4253
4352
  * Triggers a search operation with the search tokens specified in
4254
4353
  * the search query string in spotter embed.
4354
+ * Payload: {@link SpotterSearchRequest}.
4255
4355
  * @param - Includes the following keys:
4256
4356
  * - `query`: Text string in Natural Language format.
4257
4357
  * - `executeSearch`: Boolean to execute search and update search query.
@@ -4276,6 +4376,7 @@ export var HostEvent;
4276
4376
  HostEvent["SpotterSearch"] = "SpotterSearch";
4277
4377
  /**
4278
4378
  * Edits the last prompt in spotter embed.
4379
+ * Payload: `string`.
4279
4380
  * @param - `query`: Text string
4280
4381
  * @example
4281
4382
  * ```js
@@ -4292,6 +4393,7 @@ export var HostEvent;
4292
4393
  HostEvent["EditLastPrompt"] = "EditLastPrompt";
4293
4394
  /**
4294
4395
  * Opens the data source preview modal in Spotter Embed.
4396
+ * Payload: none.
4295
4397
  * @example
4296
4398
  * ```js
4297
4399
  * spotterEmbed.trigger(HostEvent.PreviewSpotterData);
@@ -4327,6 +4429,7 @@ export var HostEvent;
4327
4429
  HostEvent["DataModelInstructions"] = "DataModelInstructions";
4328
4430
  /**
4329
4431
  * Resets the Spotter Embed Conversation.
4432
+ * Payload: none.
4330
4433
  * @example
4331
4434
  * ```js
4332
4435
  * spotterEmbed.trigger(HostEvent.ResetSpotterConversation);
@@ -4339,6 +4442,7 @@ export var HostEvent;
4339
4442
  * `conversationId` is **mandatory** — you must pass the id of the
4340
4443
  * conversation to share. Also no-op when sharing is disabled
4341
4444
  * (enableShareConversation off) or when already in the read-only shared view.
4445
+ * Payload: {@link ConversationScopedRequest}.
4342
4446
  * @example
4343
4447
  * ```js
4344
4448
  * spotterEmbed.trigger(HostEvent.ShareSpotterConversation, { conversationId: 'abc' });
@@ -4348,6 +4452,7 @@ export var HostEvent;
4348
4452
  HostEvent["ShareSpotterConversation"] = "ShareSpotterConversation";
4349
4453
  /**
4350
4454
  * Closes the Spotter share-conversation modal. No-op if none is open.
4455
+ * Payload: none.
4351
4456
  * @example
4352
4457
  * ```js
4353
4458
  * spotterEmbed.trigger(HostEvent.CloseSpotterShareConversation);
@@ -4357,6 +4462,7 @@ export var HostEvent;
4357
4462
  HostEvent["CloseSpotterShareConversation"] = "CloseSpotterShareConversation";
4358
4463
  /**
4359
4464
  * Exits the read-only shared-conversation view.
4465
+ * Payload: none.
4360
4466
  * @example
4361
4467
  * ```js
4362
4468
  * spotterEmbed.trigger(HostEvent.ExitSpotterSharedConversation);
@@ -4366,6 +4472,7 @@ export var HostEvent;
4366
4472
  HostEvent["ExitSpotterSharedConversation"] = "ExitSpotterSharedConversation";
4367
4473
  /**
4368
4474
  * Deletes the last prompt in spotter embed.
4475
+ * Payload: none.
4369
4476
  * @example
4370
4477
  * ```js
4371
4478
  * spotterEmbed.trigger(HostEvent.DeleteLastPrompt);
@@ -4375,6 +4482,7 @@ export var HostEvent;
4375
4482
  HostEvent["DeleteLastPrompt"] = "DeleteLastPrompt";
4376
4483
  /**
4377
4484
  * Toggle the visualization to chart or table view.
4485
+ * Payload: {@link RequiredVizRequest}.
4378
4486
  * @param - `vizId ` refers to the Visualization ID in Spotter embed and is required.
4379
4487
  * @example
4380
4488
  * ```js
@@ -4413,6 +4521,7 @@ export var HostEvent;
4413
4521
  HostEvent["VisibleEmbedCoordinates"] = "visibleEmbedCoordinates";
4414
4522
  /**
4415
4523
  * Trigger the *Spotter* action for visualizations present on the liveboard's vizzes.
4524
+ * Payload: {@link RequiredVizRequest}.
4416
4525
  * @param - `vizId` refers to the Visualization ID in Spotter embed and is required.
4417
4526
  * @example
4418
4527
  * ```js
@@ -4474,6 +4583,7 @@ export var HostEvent;
4474
4583
  * instance. Contact your admin or ThoughtSpot Support to enable chat history on your
4475
4584
  * instance.
4476
4585
  *
4586
+ * Payload: {@link ConversationScopedRequest}.
4477
4587
  * @version SDK: 1.53.0 | ThoughtSpot Cloud: 26.10.0.cl
4478
4588
  * @example
4479
4589
  * ```js
@@ -4491,6 +4601,7 @@ export var HostEvent;
4491
4601
  * instance. Contact your admin or ThoughtSpot Support to enable chat history on your
4492
4602
  * instance.
4493
4603
  *
4604
+ * Payload: {@link ConversationScopedRequest}.
4494
4605
  * @version SDK: 1.53.0 | ThoughtSpot Cloud: 26.10.0.cl
4495
4606
  * @example
4496
4607
  * ```js
@@ -4515,6 +4626,7 @@ export var HostEvent;
4515
4626
  * Trigger the **Send Test Email** action in the Liveboard schedule modal.
4516
4627
  * Sends a test schedule email to self or all recipients.
4517
4628
  * Requires `isSendNowLiveboardSchedulingEnabled` to be enabled.
4629
+ * Payload: {@link ScheduleEmailRequest}.
4518
4630
  * @example
4519
4631
  * ```js
4520
4632
  * liveboardEmbed.trigger(HostEvent.SendTestScheduleEmail, {
@@ -4533,6 +4645,7 @@ export var HostEvent;
4533
4645
  HostEvent["SendTestScheduleEmail"] = "sendTestScheduleEmail";
4534
4646
  /**
4535
4647
  * Sends a user message (prompt) to the SpotterViz panel programmatically.
4648
+ * Payload: `{ query: string }`.
4536
4649
  * @version SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
4537
4650
  * @param query - the prompt text to send.
4538
4651
  * @example
@@ -4545,6 +4658,7 @@ export var HostEvent;
4545
4658
  HostEvent["SpotterVizSendUserMessage"] = "SpotterVizSendUserMessage";
4546
4659
  /**
4547
4660
  * Initializes a new SpotterViz conversation.
4661
+ * Payload: none.
4548
4662
  * @version SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
4549
4663
  * @example
4550
4664
  * ```js
@@ -4554,6 +4668,7 @@ export var HostEvent;
4554
4668
  HostEvent["InitSpotterVizConversation"] = "InitSpotterVizConversation";
4555
4669
  /**
4556
4670
  * Opens the SpotterViz panel.
4671
+ * Payload: none.
4557
4672
  * @version SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
4558
4673
  * @example
4559
4674
  * ```js
@@ -4563,6 +4678,7 @@ export var HostEvent;
4563
4678
  HostEvent["OpenSpotterVizPanel"] = "OpenSpotterVizPanel";
4564
4679
  /**
4565
4680
  * Closes the SpotterViz panel.
4681
+ * Payload: none.
4566
4682
  * @version SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
4567
4683
  * @example
4568
4684
  * ```js
@@ -4573,6 +4689,7 @@ export var HostEvent;
4573
4689
  /**
4574
4690
  * Clears browser cache and fetches new data for liveboard ChartViz Containers.
4575
4691
  * Requires `enableLiveboardDataCache` to be enabled.
4692
+ * Payload: {@link ScheduleEmailRequest}.
4576
4693
  * @example
4577
4694
  * ```js
4578
4695
  * liveboardEmbed.trigger(HostEvent.RefreshLiveboardBrowserCache);
@@ -4768,8 +4885,8 @@ export var Param;
4768
4885
  Param["IsStarterPromptsEnabled"] = "enableStarterPrompts";
4769
4886
  Param["UpdatedSpotterExperience"] = "updatedSpotterExperience";
4770
4887
  Param["SpotterDataSources"] = "spotterDataSources";
4771
- Param["AnalystId"] = "analystId";
4772
4888
  Param["OpenSpotterOnLiveboardByDefault"] = "openSpotterOnLiveboardByDefault";
4889
+ Param["ShowAnswerEditPanel"] = "showAnswerEditPanel";
4773
4890
  })(Param || (Param = {}));
4774
4891
  /**
4775
4892
  * ThoughtSpot application pages include actions and menu commands
@@ -6774,6 +6891,237 @@ export var Action;
6774
6891
  * ```
6775
6892
  */
6776
6893
  Action["SpotterOnLiveboard"] = "spotterOnLiveboard";
6894
+ /**
6895
+ * Controls the visibility and disabled state of the "Chart Type" menu item
6896
+ * in Chart Settings V2.
6897
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
6898
+ * @example
6899
+ * ```js
6900
+ * {
6901
+ * hiddenActions: [Action.ChartTypeSettings],
6902
+ * disabledActions: [Action.ChartTypeSettings],
6903
+ * }
6904
+ * ```
6905
+ */
6906
+ Action["ChartTypeSettings"] = "CHART_TYPE";
6907
+ /**
6908
+ * Controls the visibility and disabled state of the "Layout" menu item
6909
+ * in Chart Settings V2.
6910
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
6911
+ * @example
6912
+ * ```js
6913
+ * {
6914
+ * hiddenActions: [Action.LayoutSettings],
6915
+ * disabledActions: [Action.LayoutSettings],
6916
+ * }
6917
+ * ```
6918
+ */
6919
+ Action["LayoutSettings"] = "LAYOUT";
6920
+ /**
6921
+ * Controls the visibility and disabled state of the "Column" menu item
6922
+ * in Chart Settings V2.
6923
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
6924
+ * @example
6925
+ * ```js
6926
+ * {
6927
+ * hiddenActions: [Action.ColumnSettings],
6928
+ * disabledActions: [Action.ColumnSettings],
6929
+ * }
6930
+ * ```
6931
+ */
6932
+ Action["ColumnSettings"] = "COLUMN";
6933
+ /**
6934
+ * Controls the visibility and disabled state of the "Axis" menu item
6935
+ * in Chart Settings V2.
6936
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
6937
+ * @example
6938
+ * ```js
6939
+ * {
6940
+ * hiddenActions: [Action.AxisSettings],
6941
+ * disabledActions: [Action.AxisSettings],
6942
+ * }
6943
+ * ```
6944
+ */
6945
+ Action["AxisSettings"] = "AXIS";
6946
+ /**
6947
+ * Controls the visibility and disabled state of the "Data Label" menu item
6948
+ * in Chart Settings V2.
6949
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
6950
+ * @example
6951
+ * ```js
6952
+ * {
6953
+ * hiddenActions: [Action.DataLabelSettings],
6954
+ * disabledActions: [Action.DataLabelSettings],
6955
+ * }
6956
+ * ```
6957
+ */
6958
+ Action["DataLabelSettings"] = "DATA_LABEL";
6959
+ /**
6960
+ * Controls the visibility and disabled state of the "Tooltip" menu item
6961
+ * in Chart Settings V2.
6962
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
6963
+ * @example
6964
+ * ```js
6965
+ * {
6966
+ * hiddenActions: [Action.TooltipSettings],
6967
+ * disabledActions: [Action.TooltipSettings],
6968
+ * }
6969
+ * ```
6970
+ */
6971
+ Action["TooltipSettings"] = "TOOLTIP";
6972
+ /**
6973
+ * Controls the visibility and disabled state of the "Legend" menu item
6974
+ * in Chart Settings V2.
6975
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
6976
+ * @example
6977
+ * ```js
6978
+ * {
6979
+ * hiddenActions: [Action.LegendSettings],
6980
+ * disabledActions: [Action.LegendSettings],
6981
+ * }
6982
+ * ```
6983
+ */
6984
+ Action["LegendSettings"] = "LEGEND";
6985
+ /**
6986
+ * Controls the visibility and disabled state of the "Display" menu item
6987
+ * in Chart Settings V2.
6988
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
6989
+ * @example
6990
+ * ```js
6991
+ * {
6992
+ * hiddenActions: [Action.DisplaySettings],
6993
+ * disabledActions: [Action.DisplaySettings],
6994
+ * }
6995
+ * ```
6996
+ */
6997
+ Action["DisplaySettings"] = "DISPLAY";
6998
+ /**
6999
+ * Controls the visibility and disabled state of the "Query Details" menu
7000
+ * item in Chart Settings V2.
7001
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
7002
+ * @example
7003
+ * ```js
7004
+ * {
7005
+ * hiddenActions: [Action.QuerySettings],
7006
+ * disabledActions: [Action.QuerySettings],
7007
+ * }
7008
+ * ```
7009
+ */
7010
+ Action["QuerySettings"] = "QUERY_DETAILS";
7011
+ /**
7012
+ * Controls the visibility and disabled state of the "Custom Action" menu
7013
+ * item in Chart Settings V2.
7014
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
7015
+ * @example
7016
+ * ```js
7017
+ * {
7018
+ * hiddenActions: [Action.CustomSettings],
7019
+ * disabledActions: [Action.CustomSettings],
7020
+ * }
7021
+ * ```
7022
+ */
7023
+ Action["CustomSettings"] = "CUSTOM_ACTION";
7024
+ /**
7025
+ * Controls the visibility and disabled state of the "Muze AI" menu item
7026
+ * in Chart Settings V2.
7027
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
7028
+ * @example
7029
+ * ```js
7030
+ * {
7031
+ * hiddenActions: [Action.MuzeAiSettings],
7032
+ * disabledActions: [Action.MuzeAiSettings],
7033
+ * }
7034
+ * ```
7035
+ */
7036
+ Action["MuzeAiSettings"] = "MUZE_AI";
7037
+ /**
7038
+ * Controls the visibility and disabled state of the "R Analysis" menu item
7039
+ * in Chart Settings V2.
7040
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
7041
+ * @example
7042
+ * ```js
7043
+ * {
7044
+ * hiddenActions: [Action.RAnalysisSettings],
7045
+ * disabledActions: [Action.RAnalysisSettings],
7046
+ * }
7047
+ * ```
7048
+ */
7049
+ Action["RAnalysisSettings"] = "R_ANALYSIS";
7050
+ /**
7051
+ * Controls the visibility and disabled state of the "Add to Collection" menu item.
7052
+ * @version SDK: 1.52.1 | ThoughtSpot Cloud: 26.5.0.cl
7053
+ * @example
7054
+ * ```js
7055
+ * {
7056
+ * hiddenActions: [Action.AddToCollection],
7057
+ * disabledActions: [Action.AddToCollection],
7058
+ * }
7059
+ * ```
7060
+ */
7061
+ Action["AddToCollection"] = "addToCollection";
7062
+ /**
7063
+ * Controls the visibility and disabled state of the "Create Collection" button.
7064
+ * @version SDK: 1.52.1 | ThoughtSpot Cloud: 26.5.0.cl
7065
+ * @example
7066
+ * ```js
7067
+ * {
7068
+ * hiddenActions: [Action.CreateCollection],
7069
+ * disabledActions: [Action.CreateCollection],
7070
+ * }
7071
+ * ```
7072
+ */
7073
+ Action["CreateCollection"] = "createCollection";
7074
+ /**
7075
+ * Controls the visibility and disabled state of the "Move" menu item in a
7076
+ * Collection.
7077
+ * @version SDK: 1.52.1 | ThoughtSpot Cloud: 26.5.0.cl
7078
+ * @example
7079
+ * ```js
7080
+ * {
7081
+ * hiddenActions: [Action.MoveToCollection],
7082
+ * disabledActions: [Action.MoveToCollection],
7083
+ * }
7084
+ * ```
7085
+ */
7086
+ Action["MoveToCollection"] = "moveToCollection";
7087
+ /**
7088
+ * Controls the visibility and disabled state of the "Remove" menu item in a
7089
+ * Collection.
7090
+ * @version SDK: 1.52.1 | ThoughtSpot Cloud: 26.5.0.cl
7091
+ * @example
7092
+ * ```js
7093
+ * {
7094
+ * hiddenActions: [Action.RemoveFromCollection],
7095
+ * disabledActions: [Action.RemoveFromCollection],
7096
+ * }
7097
+ * ```
7098
+ */
7099
+ Action["RemoveFromCollection"] = "removeFromCollection";
7100
+ /**
7101
+ * Controls the visibility and disabled state of the "Delete" menu item for a
7102
+ * Collection.
7103
+ * @version SDK: 1.52.1 | ThoughtSpot Cloud: 26.5.0.cl
7104
+ * @example
7105
+ * ```js
7106
+ * {
7107
+ * hiddenActions: [Action.DeleteCollection],
7108
+ * disabledActions: [Action.DeleteCollection],
7109
+ * }
7110
+ * ```
7111
+ */
7112
+ Action["DeleteCollection"] = "deleteCollection";
7113
+ /**
7114
+ * Controls the visibility of the "Customize homepage" button on the
7115
+ * embedded home page.
7116
+ * @version SDK: 1.55.0 | ThoughtSpot Cloud: 26.12.0.cl
7117
+ * @example
7118
+ * ```js
7119
+ * {
7120
+ * hiddenActions: [Action.CustomizeHomepage],
7121
+ * }
7122
+ * ```
7123
+ */
7124
+ Action["CustomizeHomepage"] = "customizeHomepage";
6777
7125
  })(Action || (Action = {}));
6778
7126
  export var PrefetchFeatures;
6779
7127
  (function (PrefetchFeatures) {