@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/cjs/src/types.js CHANGED
@@ -844,6 +844,9 @@ var EmbedEvent;
844
844
  EmbedEvent["Download"] = "download";
845
845
  /**
846
846
  * Emitted when the download action is triggered on an Answer.
847
+ * Payload varies by context: {@link VizScopedRequest} (Search, Answer,
848
+ * Liveboard), {@link RequiredVizRequest} (Spotter, vizId required). trigger()
849
+ * accepts the union now; per-context enforced next release.
847
850
  * Use start:true to subscribe to when download is initiated, or end:true to
848
851
  * subscribe to when download is completed. Default is end:true.
849
852
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.0.sw
@@ -860,6 +863,9 @@ var EmbedEvent;
860
863
  EmbedEvent["DownloadAsPng"] = "downloadAsPng";
861
864
  /**
862
865
  * Emitted when the Download as PDF action is triggered on an Answer
866
+ * Payload varies by context: {@link VizScopedRequest} (Search, Answer; plus
867
+ * liveboardId on Liveboard), {@link RequiredVizRequest} (Spotter). trigger()
868
+ * accepts the union now; per-context enforced next release.
863
869
  * Use start:true to subscribe to when download as PDF is initiated, or end:true to
864
870
  * subscribe to when download as PDF is completed. Default is end:true.
865
871
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
@@ -876,6 +882,9 @@ var EmbedEvent;
876
882
  EmbedEvent["DownloadAsPdf"] = "downloadAsPdf";
877
883
  /**
878
884
  * Emitted when the Download as CSV action is triggered on an Answer.
885
+ * Payload varies by context: {@link VizScopedRequest} (Search, Answer,
886
+ * Liveboard), {@link RequiredVizRequest} (Spotter, vizId required). trigger()
887
+ * accepts the union now; per-context enforced next release.
879
888
  * Use start:true to subscribe to when download as CSV is initiated, or end:true to
880
889
  * subscribe to when download as CSV is completed. Default is end:true.
881
890
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
@@ -892,6 +901,9 @@ var EmbedEvent;
892
901
  EmbedEvent["DownloadAsCsv"] = "downloadAsCsv";
893
902
  /**
894
903
  * Emitted when the Download as XLSX action is triggered on an Answer.
904
+ * Payload varies by context: {@link VizScopedRequest} (Search, Answer,
905
+ * Liveboard), {@link RequiredVizRequest} (Spotter, vizId required). trigger()
906
+ * accepts the union now; per-context enforced next release.
895
907
  * Use start:true to subscribe to when download as XLSX is initiated, or end:true to
896
908
  * subscribe to when download as XLSX is completed. Default is end:true.
897
909
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
@@ -1170,6 +1182,9 @@ var EmbedEvent;
1170
1182
  EmbedEvent["Schedule"] = "subscription";
1171
1183
  /**
1172
1184
  * Emitted when a user clicks **Edit** on a Liveboard or visualization
1185
+ * Payload varies by context: {@link VizScopedRequest} (Liveboard),
1186
+ * {@link RequiredVizRequest} (Spotter, vizId required). trigger() accepts the
1187
+ * union now; per-context enforced next release.
1173
1188
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1174
1189
  * @example
1175
1190
  * ```js
@@ -2249,6 +2264,7 @@ var HostEvent;
2249
2264
  * the search query string.
2250
2265
  * Supported in `AppEmbed` and `SearchEmbed` deployments.
2251
2266
  * Includes the following properties:
2267
+ * Payload: {@link SearchRequest}.
2252
2268
  * @param - Includes the following keys:
2253
2269
  * - `searchQuery`: Query string with search tokens.
2254
2270
  * - `dataSources`: Data source GUID to search on.
@@ -2276,6 +2292,9 @@ var HostEvent;
2276
2292
  HostEvent["Search"] = "search";
2277
2293
  /**
2278
2294
  * Triggers a drill on certain points of the specified column
2295
+ * Payload: {@link DrillDownRequest}; in Liveboard context vizId is required
2296
+ * ({@link RequiredVizRequest}). trigger() accepts the union now; per-context
2297
+ * enforced next release.
2279
2298
  * Includes the following properties:
2280
2299
  * @param - Includes the following keys:
2281
2300
  * - `points`: An object containing `selectedPoints` and/or `clickedPoint`
@@ -2355,6 +2374,8 @@ var HostEvent;
2355
2374
  HostEvent["Reload"] = "reload";
2356
2375
  /**
2357
2376
  * Get iframe URL for the current embed view.
2377
+ * Payload: none.
2378
+ * Response: {@link GetIframeUrlResponse}.
2358
2379
  * @example
2359
2380
  * ```js
2360
2381
  * const url = embed.trigger(HostEvent.GetIframeUrl);
@@ -2373,6 +2394,7 @@ var HostEvent;
2373
2394
  HostEvent["GetIframeUrl"] = "GetIframeUrl";
2374
2395
  /**
2375
2396
  * Display specific visualizations on a Liveboard.
2397
+ * Payload: `string[]`.
2376
2398
  * @param - An array of GUIDs of the visualization to show. The visualization IDs not passed
2377
2399
  * in this parameter will be hidden.
2378
2400
  * @example
@@ -2395,6 +2417,7 @@ var HostEvent;
2395
2417
  HostEvent["SetVisibleVizs"] = "SetPinboardVisibleVizs";
2396
2418
  /**
2397
2419
  * Set a Liveboard tab as an active tab.
2420
+ * Payload: {@link SetActiveTabRequest}.
2398
2421
  * @param - tabId - string of id of Tab to show
2399
2422
  * @example
2400
2423
  * ```js
@@ -2422,6 +2445,7 @@ var HostEvent;
2422
2445
  * and `AppEmbed` only. In full application embedding, this event updates
2423
2446
  * the runtime filters applied on the Liveboard and saved Answer objects.
2424
2447
  *
2448
+ * Payload: {@link RuntimeFilter}[].
2425
2449
  * @param - Array of {@link RuntimeFilter} objects. Each item includes:
2426
2450
  * - `columnName`: Name of the column to filter on.
2427
2451
  * - `operator`: {@link RuntimeFilterOp} to apply. For more information, see
@@ -2463,6 +2487,7 @@ var HostEvent;
2463
2487
  * Accepts either a plain value or an object with `path`
2464
2488
  * and an optional `replace` flag.
2465
2489
  *
2490
+ * Payload: `string` | `number` | {@link NavigateRequest}.
2466
2491
  * @param data - A string path, a numeric history delta, or an object
2467
2492
  * `{ path: string | number, replace?: boolean }`.
2468
2493
  * - `path` — the route to navigate to, or a history delta such as `1`
@@ -2490,6 +2515,9 @@ var HostEvent;
2490
2515
  /**
2491
2516
  * Open the filter panel for a particular column.
2492
2517
  * Works with Search and Liveboard embed.
2518
+ * Payload: {@link OpenFilterRequest} (the cross-context superset). The
2519
+ * accepted fields vary by context: {@link OpenFilterLiveboardRequest},
2520
+ * {@link OpenFilterSpotterRequest}, {@link OpenFilterSearchRequest}.
2493
2521
  * @param - { columnId: string,
2494
2522
  * name: string,
2495
2523
  * type: ATTRIBUTE/MEASURE,
@@ -2572,6 +2600,7 @@ var HostEvent;
2572
2600
  /**
2573
2601
  * Open the parameter panel for a particular parameter on a Liveboard.
2574
2602
  * Mirrors {@link HostEvent.OpenFilter} for parameters.
2603
+ * Payload: {@link OpenParameterRequest}.
2575
2604
  * @param - Includes the following keys:
2576
2605
  * - `parameter`: An object identifying the parameter to open, for
2577
2606
  * example, `{ parameterId: '<parameter-GUID>' }`.
@@ -2603,6 +2632,7 @@ var HostEvent;
2603
2632
  HostEvent["OpenParameter"] = "openParameter";
2604
2633
  /**
2605
2634
  * Add columns to the current search query.
2635
+ * Payload: `{ columnIds: string[] }`.
2606
2636
  * @param - { columnIds: string[] }
2607
2637
  * @example
2608
2638
  * ```js
@@ -2621,6 +2651,7 @@ var HostEvent;
2621
2651
  HostEvent["AddColumns"] = "addColumns";
2622
2652
  /**
2623
2653
  * Remove a column from the current search query.
2654
+ * Payload: `{ columnId: string }`.
2624
2655
  * @param - { columnId: string }
2625
2656
  * @example
2626
2657
  * ```js
@@ -2645,6 +2676,8 @@ var HostEvent;
2645
2676
  * sorting, toggling of legends, and data drill down.
2646
2677
  * For more information, see
2647
2678
  * link:https://developers.thoughtspot.com/docs/fetch-data-and-report-apis#transient-lb-content[Liveboard data with unsaved changes].
2679
+ * Payload: none.
2680
+ * Response: {@link GetExportRequestForCurrentPinboardResponse}.
2648
2681
  * @example
2649
2682
  * ```js
2650
2683
  * liveboardEmbed.trigger(HostEvent.getExportRequestForCurrentPinboard).then(
@@ -2666,6 +2699,8 @@ var HostEvent;
2666
2699
  * requiring additional user input via the *Pin to Liveboard* modal, define
2667
2700
  * the following parameters:
2668
2701
  *
2702
+ * Payload: {@link PinAnswerToLiveboardRequest}.
2703
+ * Response: {@link PinAnswerToLiveboardResponse}.
2669
2704
  * @param - Includes the following keys:
2670
2705
  * - `vizId`: GUID of the saved Answer or Spotter visualization ID to pin to a
2671
2706
  * Liveboard.
@@ -2780,6 +2815,7 @@ var HostEvent;
2780
2815
  HostEvent["LiveboardInfo"] = "pinboardInfo";
2781
2816
  /**
2782
2817
  * Trigger the **Schedule** action on an embedded Liveboard.
2818
+ * Payload: {@link VizScopedRequest}.
2783
2819
  * @example
2784
2820
  * ```js
2785
2821
  * liveboardEmbed.trigger(HostEvent.Schedule)
@@ -2795,6 +2831,7 @@ var HostEvent;
2795
2831
  HostEvent["Schedule"] = "subscription";
2796
2832
  /**
2797
2833
  * Trigger the **Manage schedule** action on an embedded Liveboard
2834
+ * Payload: {@link VizScopedRequest}.
2798
2835
  * @example
2799
2836
  * ```js
2800
2837
  * liveboardEmbed.trigger(HostEvent.SchedulesList)
@@ -2811,6 +2848,7 @@ var HostEvent;
2811
2848
  /**
2812
2849
  * Trigger the **Export TML** action on an embedded Liveboard or
2813
2850
  * Answer.
2851
+ * Payload: {@link VizScopedRequest}.
2814
2852
  * @example
2815
2853
  * ```js
2816
2854
  * liveboardEmbed.trigger(HostEvent.ExportTML)
@@ -2833,6 +2871,7 @@ var HostEvent;
2833
2871
  /**
2834
2872
  * Trigger the **Edit TML** action on an embedded Liveboard or
2835
2873
  * saved Answers in the full application embedding.
2874
+ * Payload: {@link VizScopedRequest}.
2836
2875
  * @example
2837
2876
  * ```js
2838
2877
  * liveboardEmbed.trigger(HostEvent.EditTML)
@@ -2854,6 +2893,7 @@ var HostEvent;
2854
2893
  HostEvent["EditTML"] = "editTSL";
2855
2894
  /**
2856
2895
  * Trigger the **Update TML** action on an embedded Liveboard.
2896
+ * Payload: {@link VizScopedRequest}.
2857
2897
  * @example
2858
2898
  * ```js
2859
2899
  * liveboardEmbed.trigger(HostEvent.UpdateTML)
@@ -2871,6 +2911,7 @@ var HostEvent;
2871
2911
  * Trigger the **Download PDF** action on an embedded Liveboard,
2872
2912
  * visualization or Answer.
2873
2913
  *
2914
+ * Payload: {@link VizScopedRequest} plus optional `liveboardId`.
2874
2915
  * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
2875
2916
  *
2876
2917
  * **NOTE**: The **Download** > **PDF** action is available on
@@ -2921,6 +2962,7 @@ var HostEvent;
2921
2962
  /**
2922
2963
  * Trigger the **AI Highlights** action on an embedded Liveboard
2923
2964
  *
2965
+ * Payload: none.
2924
2966
  * @example
2925
2967
  * ```js
2926
2968
  * liveboardEmbed.trigger(HostEvent.AIHighlights)
@@ -2975,6 +3017,9 @@ var HostEvent;
2975
3017
  HostEvent["MakeACopy"] = "makeACopy";
2976
3018
  /**
2977
3019
  * Trigger the **Delete** action for a Liveboard.
3020
+ * Payload varies by context: {@link RequiredVizRequest} (Liveboard, vizId
3021
+ * required), {@link VizScopedRequest} (Search). trigger() accepts the union
3022
+ * now; per-context enforced next release.
2978
3023
  * @example
2979
3024
  * ```js
2980
3025
  * appEmbed.trigger(HostEvent.Remove)
@@ -2989,6 +3034,7 @@ var HostEvent;
2989
3034
  HostEvent["Remove"] = "delete";
2990
3035
  /**
2991
3036
  * Trigger the **Explore** action on a visualization.
3037
+ * Payload: {@link RequiredVizRequest}.
2992
3038
  * @param - an object with `vizId` as a key
2993
3039
  * @example
2994
3040
  * ```js
@@ -3008,6 +3054,7 @@ var HostEvent;
3008
3054
  /**
3009
3055
  * Trigger the **Create alert** action on a KPI chart
3010
3056
  * in a Liveboard or saved Answer.
3057
+ * Payload: {@link VizScopedRequest}.
3011
3058
  * @param - an object with `vizId` as a key
3012
3059
  * @example
3013
3060
  * ```js
@@ -3039,6 +3086,7 @@ var HostEvent;
3039
3086
  /**
3040
3087
  * Trigger the **Manage alerts** action on a KPI chart
3041
3088
  * in a visualization or saved Answer.
3089
+ * Payload: {@link VizScopedRequest}.
3042
3090
  * @param - an object with `vizId` as a key
3043
3091
  * @example
3044
3092
  * ```js
@@ -3076,6 +3124,7 @@ var HostEvent;
3076
3124
  * on a Liveboard.
3077
3125
  *
3078
3126
  * This event is not supported in visualization embed and search embed.
3127
+ * Payload: {@link VizScopedRequest}.
3079
3128
  * @param - Object parameter. Includes the following keys:
3080
3129
  * - `vizId`: To trigger the action for a specific visualization in Liveboard embed,
3081
3130
  * pass in `vizId` as a key. In Spotter embed, `vizId` refers to the Answer ID and
@@ -3118,6 +3167,7 @@ var HostEvent;
3118
3167
  HostEvent["Edit"] = "edit";
3119
3168
  /**
3120
3169
  * Trigger the **Copy link** action on a Liveboard or visualization
3170
+ * Payload: {@link VizScopedRequest}.
3121
3171
  * @param - object - to trigger the action for a
3122
3172
  * specific visualization in Liveboard embed, pass in `vizId` as a key
3123
3173
  * @example
@@ -3163,6 +3213,7 @@ var HostEvent;
3163
3213
  HostEvent["CopyLink"] = "embedDocument";
3164
3214
  /**
3165
3215
  * Trigger the **Present** action on a Liveboard or visualization
3216
+ * Payload: {@link VizScopedRequest}.
3166
3217
  * @param - object - to trigger the action for a specific visualization
3167
3218
  * in Liveboard embed, pass in `vizId` as a key
3168
3219
  * @example
@@ -3208,6 +3259,8 @@ var HostEvent;
3208
3259
  HostEvent["Present"] = "present";
3209
3260
  /**
3210
3261
  * Get TML for the current search.
3262
+ * Payload: {@link GetTMLRequest}.
3263
+ * Response: `Record<string, any>`.
3211
3264
  * @example
3212
3265
  * ```js
3213
3266
  * searchEmbed.trigger(HostEvent.GetTML).then((tml) => {
@@ -3257,6 +3310,7 @@ var HostEvent;
3257
3310
  * Trigger the **Show underlying data** action on a
3258
3311
  * chart or table.
3259
3312
  *
3313
+ * Payload: {@link VizScopedRequest}.
3260
3314
  * @param - an object with vizId as a key
3261
3315
  * @example
3262
3316
  * ```js
@@ -3290,6 +3344,7 @@ var HostEvent;
3290
3344
  * Trigger the **Delete** action for a visualization
3291
3345
  * in an embedded Liveboard, or a chart or table
3292
3346
  * generated from Search.
3347
+ * Payload: {@link VizScopedRequest}.
3293
3348
  * @param - Liveboard embed takes an object with `vizId` as a key.
3294
3349
  * Can be left empty if embedding Search or visualization.
3295
3350
  * @example
@@ -3318,6 +3373,7 @@ var HostEvent;
3318
3373
  /**
3319
3374
  * Trigger the **SpotIQ analyze** action on a
3320
3375
  * chart or table.
3376
+ * Payload: {@link VizScopedRequest}.
3321
3377
  * @param - Liveboard embed takes `vizId` as a
3322
3378
  * key. Can be left undefined when embedding Search or
3323
3379
  * visualization.
@@ -3380,6 +3436,7 @@ var HostEvent;
3380
3436
  /**
3381
3437
  * Trigger the **Download** > **PNG** action on
3382
3438
  * charts in the embedded view.
3439
+ * Payload: {@link VizScopedRequest}.
3383
3440
  * @example
3384
3441
  * ```js
3385
3442
  * liveboardEmbed.trigger(HostEvent.DownloadAsPng,
@@ -3411,6 +3468,7 @@ var HostEvent;
3411
3468
  /**
3412
3469
  * Trigger the **Download** > **CSV** action on tables in
3413
3470
  * the embedded view.
3471
+ * Payload: {@link VizScopedRequest}.
3414
3472
  * @param - `vizId` refers to the Visualization ID in Spotter embed and is required in Spotter embed.
3415
3473
  * @example
3416
3474
  * ```js
@@ -3450,6 +3508,7 @@ var HostEvent;
3450
3508
  /**
3451
3509
  * Trigger the **Download** > **XLSX** action on tables
3452
3510
  * in the embedded view.
3511
+ * Payload: {@link VizScopedRequest}.
3453
3512
  * @param - `vizId` refers to the Visualization ID in Spotter embed and is required in Spotter embed.
3454
3513
  * @example
3455
3514
  * ```js
@@ -3489,6 +3548,7 @@ var HostEvent;
3489
3548
  /**
3490
3549
  * Trigger the **Share** action on an embedded
3491
3550
  * Liveboard or Answer.
3551
+ * Payload: {@link VizScopedRequest}.
3492
3552
  * @example
3493
3553
  * ```js
3494
3554
  * liveboardEmbed.trigger(HostEvent.Share)
@@ -3515,6 +3575,7 @@ var HostEvent;
3515
3575
  * Trigger the **Save** action on a Liveboard, Answer, or Spotter.
3516
3576
  * Saves the changes.
3517
3577
  *
3578
+ * Payload: {@link VizScopedRequest}.
3518
3579
  * @param - `vizId` refers to the Spotter Visualization Id used in Spotter embed.
3519
3580
  * It is required and can be retrieved from the data embed event.
3520
3581
  *
@@ -3566,6 +3627,7 @@ var HostEvent;
3566
3627
  /**
3567
3628
  * Trigger the **Sync to Sheets** action on an embedded visualization or Answer
3568
3629
  * Sends data from an Answer or Liveboard visualization to a Google sheet.
3630
+ * Payload: {@link VizScopedRequest}.
3569
3631
  * @param - an object with `vizId` as a key
3570
3632
  * @example
3571
3633
  * ```js
@@ -3596,6 +3658,7 @@ var HostEvent;
3596
3658
  * Trigger the **Sync to Other Apps** action on an embedded visualization or Answer
3597
3659
  * Sends data from an Answer or Liveboard visualization to third-party apps such
3598
3660
  * as Slack, Salesforce, Microsoft Teams, ServiceNow and so on.
3661
+ * Payload: {@link VizScopedRequest}.
3599
3662
  * @param - an object with vizId as a key
3600
3663
  * @example
3601
3664
  * ```js
@@ -3626,6 +3689,7 @@ var HostEvent;
3626
3689
  * Trigger the **Manage pipelines** action on an embedded
3627
3690
  * visualization or Answer.
3628
3691
  * Allows users to manage ThoughtSpot Sync pipelines.
3692
+ * Payload: {@link VizScopedRequest}.
3629
3693
  * @param - an object with `vizId` as a key
3630
3694
  * @example
3631
3695
  * ```js
@@ -3654,6 +3718,7 @@ var HostEvent;
3654
3718
  HostEvent["ManagePipelines"] = "manage-pipeline";
3655
3719
  /**
3656
3720
  * Reset search operation on the Search or Answer page.
3721
+ * Payload: none.
3657
3722
  * @example
3658
3723
  * ```js
3659
3724
  * searchEmbed.trigger(HostEvent.ResetSearch)
@@ -3681,10 +3746,18 @@ var HostEvent;
3681
3746
  * whole Liveboard.
3682
3747
  * The `applicability` attribute is available from SDK: 1.53.0 |
3683
3748
  * ThoughtSpot: 26.10.0.cl.
3749
+ * Payload: {@link GetFiltersRequest}.
3750
+ * Response: {@link GetFiltersResponse}.
3684
3751
  * @example
3685
3752
  * ```js
3686
3753
  * const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
3687
3754
  * console.log('data', data);
3755
+ * // {
3756
+ * // liveboardFilters: [ ... ],
3757
+ * // runtimeFilters: [
3758
+ * // { columnName: "Region", operator: "IN", values: ["West"] }
3759
+ * // ]
3760
+ * // }
3688
3761
  * ```
3689
3762
  * @example
3690
3763
  * ```js
@@ -3700,6 +3773,7 @@ var HostEvent;
3700
3773
  HostEvent["GetFilters"] = "getFilters";
3701
3774
  /**
3702
3775
  * Update one or several filters applied on a Liveboard.
3776
+ * Payload: {@link UpdateFiltersRequest}.
3703
3777
  * @param - Includes the following keys:
3704
3778
  * - `filter`: A single filter object containing column name, filter operator, and
3705
3779
  * values.
@@ -3708,9 +3782,9 @@ var HostEvent;
3708
3782
  *
3709
3783
  * Each filter object must include the following attributes:
3710
3784
  *
3711
- * `column` - Name of the column to filter on.
3785
+ * `columnName` - Name of the column to filter on.
3712
3786
  *
3713
- * `oper` - Filter operator, for example, EQ, IN, CONTAINS.
3787
+ * `operator` - Filter operator, for example, EQ, IN, CONTAINS.
3714
3788
  * For information about the supported filter operators,
3715
3789
  * see link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
3716
3790
  *
@@ -3737,8 +3811,8 @@ var HostEvent;
3737
3811
  *
3738
3812
  * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
3739
3813
  * filter: {
3740
- * column: "item type",
3741
- * oper: "IN",
3814
+ * columnName: "item type",
3815
+ * operator: "IN",
3742
3816
  * values: ["bags","shirts"]
3743
3817
  * }
3744
3818
  * });
@@ -3748,8 +3822,8 @@ var HostEvent;
3748
3822
  *
3749
3823
  * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
3750
3824
  * filter: {
3751
- * column: "date",
3752
- * oper: "EQ",
3825
+ * columnName: "date",
3826
+ * operator: "EQ",
3753
3827
  * values: ["JULY","2023"],
3754
3828
  * type: "MONTH_YEAR"
3755
3829
  * }
@@ -3760,18 +3834,18 @@ var HostEvent;
3760
3834
  * ```js
3761
3835
  * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
3762
3836
  * filters: [{
3763
- * column: "Item Type",
3764
- * oper: 'IN',
3837
+ * columnName: "Item Type",
3838
+ * operator: 'IN',
3765
3839
  * values: ["bags","shirts"]
3766
3840
  * },
3767
3841
  * {
3768
- * column: "Region",
3769
- * oper: 'IN',
3842
+ * columnName: "Region",
3843
+ * operator: 'IN',
3770
3844
  * values: ["West","Midwest"]
3771
3845
  * },
3772
3846
  * {
3773
- * column: "Date",
3774
- * oper: 'EQ',
3847
+ * columnName: "Date",
3848
+ * operator: 'EQ',
3775
3849
  * values: ["2023-07-31"],
3776
3850
  * type: "EXACT_DATE"
3777
3851
  * }]
@@ -3785,13 +3859,13 @@ var HostEvent;
3785
3859
  * ```js
3786
3860
  * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
3787
3861
  * filters: [{
3788
- * column: "(Sample) Retail - Apparel::city",
3789
- * oper: 'IN',
3862
+ * columnName: "(Sample) Retail - Apparel::city",
3863
+ * operator: 'IN',
3790
3864
  * values: ["atlanta"]
3791
3865
  * },
3792
3866
  * {
3793
- * column: "(Sample) Retail - Apparel::Region",
3794
- * oper: 'IN',
3867
+ * columnName: "(Sample) Retail - Apparel::Region",
3868
+ * operator: 'IN',
3795
3869
  * values: ["West","Midwest"]
3796
3870
  * }]
3797
3871
  * });
@@ -3802,8 +3876,8 @@ var HostEvent;
3802
3876
  * import { ContextType } from '@thoughtspot/visual-embed-sdk';
3803
3877
  * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
3804
3878
  * filter: {
3805
- * column: "item type",
3806
- * oper: "IN",
3879
+ * columnName: "item type",
3880
+ * operator: "IN",
3807
3881
  * values: ["shoes", "boots"]
3808
3882
  * }
3809
3883
  * }, ContextType.Liveboard);
@@ -3813,8 +3887,8 @@ var HostEvent;
3813
3887
  * // Scope the filter to a specific Liveboard tab
3814
3888
  * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
3815
3889
  * filter: {
3816
- * column: "item type",
3817
- * oper: "IN",
3890
+ * columnName: "item type",
3891
+ * operator: "IN",
3818
3892
  * values: ["bags", "shirts"],
3819
3893
  * applicability: {
3820
3894
  * level: "TAB",
@@ -3823,11 +3897,19 @@ var HostEvent;
3823
3897
  * }
3824
3898
  * });
3825
3899
  * ```
3900
+ * Use `columnName` and `operator` - the same spelling as
3901
+ * {@link RuntimeFilter}. The older `column` and `oper` spellings are
3902
+ * deprecated; they are still accepted, but pass only one spelling of each
3903
+ * field, never both. To reapply the filter state captured from
3904
+ * {@link EmbedEvent.FilterChanged}, use `convertFilterChangedToUpdateFiltersPayload`
3905
+ * to convert its payload into the shape expected here.
3826
3906
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
3827
3907
  */
3828
3908
  HostEvent["UpdateFilters"] = "updateFilters";
3829
3909
  /**
3830
3910
  * Get tab details for the current Liveboard.
3911
+ * Payload: none.
3912
+ * Response: {@link GetTabsResponse}.
3831
3913
  * @example
3832
3914
  * ```js
3833
3915
  * liveboardEmbed.trigger(HostEvent.GetTabs).then((tabDetails) => {
@@ -3853,6 +3935,8 @@ var HostEvent;
3853
3935
  /**
3854
3936
  * Get group details for the current Liveboard.
3855
3937
  * Mirrors {@link HostEvent.GetTabs} for filter/parameter groups.
3938
+ * Payload: none.
3939
+ * Response: {@link GetGroupsResponse}.
3856
3940
  * @example
3857
3941
  * ```js
3858
3942
  * liveboardEmbed.trigger(HostEvent.GetGroups).then((groupDetails) => {
@@ -3877,6 +3961,7 @@ var HostEvent;
3877
3961
  HostEvent["GetGroups"] = "getGroups";
3878
3962
  /**
3879
3963
  * Set the visible tabs on a Liveboard.
3964
+ * Payload: `string[]`.
3880
3965
  * @param - an array of ids of tabs to show, the IDs not passed
3881
3966
  * will be hidden.
3882
3967
  * @example
@@ -3899,6 +3984,7 @@ var HostEvent;
3899
3984
  HostEvent["SetVisibleTabs"] = "SetPinboardVisibleTabs";
3900
3985
  /**
3901
3986
  * Set the hidden tabs on a Liveboard.
3987
+ * Payload: `string[]`.
3902
3988
  * @param - an array of the IDs of the tabs to hide.
3903
3989
  * The IDs not passed will be shown.
3904
3990
  * @example
@@ -3927,6 +4013,8 @@ var HostEvent;
3927
4013
  * `getAnswerService()` method on the embed instance to get an AnswerService
3928
4014
  * object that provides a more convenient interface for working with answers.
3929
4015
  *
4016
+ * Payload: {@link GetAnswerSessionRequest}.
4017
+ * Response: {@link GetAnswerSessionResponse}.
3930
4018
  * @example
3931
4019
  * ```js
3932
4020
  * // Preferred way to get an AnswerService
@@ -3954,6 +4042,7 @@ var HostEvent;
3954
4042
  HostEvent["GetAnswerSession"] = "getAnswerSession";
3955
4043
  /**
3956
4044
  * Trigger the *Ask Sage* action for visualizations
4045
+ * Payload: {@link RequiredVizRequest}.
3957
4046
  * @example
3958
4047
  * ```js
3959
4048
  * liveboardEmbed.trigger(HostEvent.AskSage,
@@ -3965,6 +4054,7 @@ var HostEvent;
3965
4054
  /**
3966
4055
  * Trigger cross filter update action on a Liveboard.
3967
4056
  *
4057
+ * Payload: {@link UpdateCrossFilterRequest}.
3968
4058
  * @example
3969
4059
  * ```js
3970
4060
  * liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
@@ -3980,7 +4070,9 @@ var HostEvent;
3980
4070
  HostEvent["UpdateCrossFilter"] = "UpdateCrossFilter";
3981
4071
  /**
3982
4072
  * Trigger reset action for a personalized Liveboard view.
3983
- * This event is deprecated. Use {@link HostEvent.ResetLiveboardPersonalizedView} instead.
4073
+ * This event is deprecated.
4074
+ * Use {@link HostEvent.ResetLiveboardPersonalizedView} instead.
4075
+ * Payload: none.
3984
4076
  * @example
3985
4077
  * ```js
3986
4078
  * liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
@@ -4001,6 +4093,7 @@ var HostEvent;
4001
4093
  /**
4002
4094
  * Triggers an action to update Parameter values on embedded
4003
4095
  * Answers, Liveboard, and Spotter answer in Edit mode.
4096
+ * Payload: {@link RuntimeParameter}[].
4004
4097
  * @param - Includes the following keys for each item:
4005
4098
  * - `name`: Name of the parameter.
4006
4099
  * - `value`: The value to set for the parameter.
@@ -4058,6 +4151,8 @@ var HostEvent;
4058
4151
  * whole Liveboard.
4059
4152
  * The `applicability` attribute is available from SDK: 1.53.0 |
4060
4153
  * ThoughtSpot: 26.10.0.cl.
4154
+ * Payload: none.
4155
+ * Response: {@link GetParametersResponse}.
4061
4156
  * @param - `vizId` refers to the Answer ID in Spotter embed and is required in Spotter embed.
4062
4157
  * ```js
4063
4158
  * liveboardEmbed.trigger(HostEvent.GetParameters).then((parameter) => {
@@ -4095,6 +4190,7 @@ var HostEvent;
4095
4190
  * ```js
4096
4191
  * liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
4097
4192
  * ```
4193
+ * Payload: {@link PersonalisedViewRequest} (`viewId` only).
4098
4194
  * @example
4099
4195
  * ```js
4100
4196
  * // Update personalized view from liveboard context
@@ -4127,6 +4223,7 @@ var HostEvent;
4127
4223
  * If neither is provided, the Liveboard resets to the original/default view.
4128
4224
  * When a `viewName` is provided and multiple views share
4129
4225
  * the same name, the first match is selected.
4226
+ * Payload: {@link PersonalisedViewRequest}.
4130
4227
  * @example
4131
4228
  * ```js
4132
4229
  * liveboardEmbed.trigger(
@@ -4170,6 +4267,8 @@ var HostEvent;
4170
4267
  * If no parameters are specified, the save action is
4171
4268
  * triggered with a modal to prompt users to
4172
4269
  * add a name and description for the Answer.
4270
+ * Payload: {@link SaveAnswerRequest}.
4271
+ * Response: {@link SaveAnswerResponse}.
4173
4272
  * @param - Includes the following keys:
4174
4273
  * - `vizId`: Refers to the Answer ID in Spotter embed and is **required** in Spotter
4175
4274
  * embed.
@@ -4255,6 +4354,7 @@ var HostEvent;
4255
4354
  /**
4256
4355
  * Triggers a search operation with the search tokens specified in
4257
4356
  * the search query string in spotter embed.
4357
+ * Payload: {@link SpotterSearchRequest}.
4258
4358
  * @param - Includes the following keys:
4259
4359
  * - `query`: Text string in Natural Language format.
4260
4360
  * - `executeSearch`: Boolean to execute search and update search query.
@@ -4279,6 +4379,7 @@ var HostEvent;
4279
4379
  HostEvent["SpotterSearch"] = "SpotterSearch";
4280
4380
  /**
4281
4381
  * Edits the last prompt in spotter embed.
4382
+ * Payload: `string`.
4282
4383
  * @param - `query`: Text string
4283
4384
  * @example
4284
4385
  * ```js
@@ -4295,6 +4396,7 @@ var HostEvent;
4295
4396
  HostEvent["EditLastPrompt"] = "EditLastPrompt";
4296
4397
  /**
4297
4398
  * Opens the data source preview modal in Spotter Embed.
4399
+ * Payload: none.
4298
4400
  * @example
4299
4401
  * ```js
4300
4402
  * spotterEmbed.trigger(HostEvent.PreviewSpotterData);
@@ -4330,6 +4432,7 @@ var HostEvent;
4330
4432
  HostEvent["DataModelInstructions"] = "DataModelInstructions";
4331
4433
  /**
4332
4434
  * Resets the Spotter Embed Conversation.
4435
+ * Payload: none.
4333
4436
  * @example
4334
4437
  * ```js
4335
4438
  * spotterEmbed.trigger(HostEvent.ResetSpotterConversation);
@@ -4342,6 +4445,7 @@ var HostEvent;
4342
4445
  * `conversationId` is **mandatory** — you must pass the id of the
4343
4446
  * conversation to share. Also no-op when sharing is disabled
4344
4447
  * (enableShareConversation off) or when already in the read-only shared view.
4448
+ * Payload: {@link ConversationScopedRequest}.
4345
4449
  * @example
4346
4450
  * ```js
4347
4451
  * spotterEmbed.trigger(HostEvent.ShareSpotterConversation, { conversationId: 'abc' });
@@ -4351,6 +4455,7 @@ var HostEvent;
4351
4455
  HostEvent["ShareSpotterConversation"] = "ShareSpotterConversation";
4352
4456
  /**
4353
4457
  * Closes the Spotter share-conversation modal. No-op if none is open.
4458
+ * Payload: none.
4354
4459
  * @example
4355
4460
  * ```js
4356
4461
  * spotterEmbed.trigger(HostEvent.CloseSpotterShareConversation);
@@ -4360,6 +4465,7 @@ var HostEvent;
4360
4465
  HostEvent["CloseSpotterShareConversation"] = "CloseSpotterShareConversation";
4361
4466
  /**
4362
4467
  * Exits the read-only shared-conversation view.
4468
+ * Payload: none.
4363
4469
  * @example
4364
4470
  * ```js
4365
4471
  * spotterEmbed.trigger(HostEvent.ExitSpotterSharedConversation);
@@ -4369,6 +4475,7 @@ var HostEvent;
4369
4475
  HostEvent["ExitSpotterSharedConversation"] = "ExitSpotterSharedConversation";
4370
4476
  /**
4371
4477
  * Deletes the last prompt in spotter embed.
4478
+ * Payload: none.
4372
4479
  * @example
4373
4480
  * ```js
4374
4481
  * spotterEmbed.trigger(HostEvent.DeleteLastPrompt);
@@ -4378,6 +4485,7 @@ var HostEvent;
4378
4485
  HostEvent["DeleteLastPrompt"] = "DeleteLastPrompt";
4379
4486
  /**
4380
4487
  * Toggle the visualization to chart or table view.
4488
+ * Payload: {@link RequiredVizRequest}.
4381
4489
  * @param - `vizId ` refers to the Visualization ID in Spotter embed and is required.
4382
4490
  * @example
4383
4491
  * ```js
@@ -4416,6 +4524,7 @@ var HostEvent;
4416
4524
  HostEvent["VisibleEmbedCoordinates"] = "visibleEmbedCoordinates";
4417
4525
  /**
4418
4526
  * Trigger the *Spotter* action for visualizations present on the liveboard's vizzes.
4527
+ * Payload: {@link RequiredVizRequest}.
4419
4528
  * @param - `vizId` refers to the Visualization ID in Spotter embed and is required.
4420
4529
  * @example
4421
4530
  * ```js
@@ -4477,6 +4586,7 @@ var HostEvent;
4477
4586
  * instance. Contact your admin or ThoughtSpot Support to enable chat history on your
4478
4587
  * instance.
4479
4588
  *
4589
+ * Payload: {@link ConversationScopedRequest}.
4480
4590
  * @version SDK: 1.53.0 | ThoughtSpot Cloud: 26.10.0.cl
4481
4591
  * @example
4482
4592
  * ```js
@@ -4494,6 +4604,7 @@ var HostEvent;
4494
4604
  * instance. Contact your admin or ThoughtSpot Support to enable chat history on your
4495
4605
  * instance.
4496
4606
  *
4607
+ * Payload: {@link ConversationScopedRequest}.
4497
4608
  * @version SDK: 1.53.0 | ThoughtSpot Cloud: 26.10.0.cl
4498
4609
  * @example
4499
4610
  * ```js
@@ -4518,6 +4629,7 @@ var HostEvent;
4518
4629
  * Trigger the **Send Test Email** action in the Liveboard schedule modal.
4519
4630
  * Sends a test schedule email to self or all recipients.
4520
4631
  * Requires `isSendNowLiveboardSchedulingEnabled` to be enabled.
4632
+ * Payload: {@link ScheduleEmailRequest}.
4521
4633
  * @example
4522
4634
  * ```js
4523
4635
  * liveboardEmbed.trigger(HostEvent.SendTestScheduleEmail, {
@@ -4536,6 +4648,7 @@ var HostEvent;
4536
4648
  HostEvent["SendTestScheduleEmail"] = "sendTestScheduleEmail";
4537
4649
  /**
4538
4650
  * Sends a user message (prompt) to the SpotterViz panel programmatically.
4651
+ * Payload: `{ query: string }`.
4539
4652
  * @version SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
4540
4653
  * @param query - the prompt text to send.
4541
4654
  * @example
@@ -4548,6 +4661,7 @@ var HostEvent;
4548
4661
  HostEvent["SpotterVizSendUserMessage"] = "SpotterVizSendUserMessage";
4549
4662
  /**
4550
4663
  * Initializes a new SpotterViz conversation.
4664
+ * Payload: none.
4551
4665
  * @version SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
4552
4666
  * @example
4553
4667
  * ```js
@@ -4557,6 +4671,7 @@ var HostEvent;
4557
4671
  HostEvent["InitSpotterVizConversation"] = "InitSpotterVizConversation";
4558
4672
  /**
4559
4673
  * Opens the SpotterViz panel.
4674
+ * Payload: none.
4560
4675
  * @version SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
4561
4676
  * @example
4562
4677
  * ```js
@@ -4566,6 +4681,7 @@ var HostEvent;
4566
4681
  HostEvent["OpenSpotterVizPanel"] = "OpenSpotterVizPanel";
4567
4682
  /**
4568
4683
  * Closes the SpotterViz panel.
4684
+ * Payload: none.
4569
4685
  * @version SDK: 1.50.0 | ThoughtSpot Cloud: 26.7.0.cl
4570
4686
  * @example
4571
4687
  * ```js
@@ -4576,6 +4692,7 @@ var HostEvent;
4576
4692
  /**
4577
4693
  * Clears browser cache and fetches new data for liveboard ChartViz Containers.
4578
4694
  * Requires `enableLiveboardDataCache` to be enabled.
4695
+ * Payload: {@link ScheduleEmailRequest}.
4579
4696
  * @example
4580
4697
  * ```js
4581
4698
  * liveboardEmbed.trigger(HostEvent.RefreshLiveboardBrowserCache);
@@ -4771,8 +4888,8 @@ var Param;
4771
4888
  Param["IsStarterPromptsEnabled"] = "enableStarterPrompts";
4772
4889
  Param["UpdatedSpotterExperience"] = "updatedSpotterExperience";
4773
4890
  Param["SpotterDataSources"] = "spotterDataSources";
4774
- Param["AnalystId"] = "analystId";
4775
4891
  Param["OpenSpotterOnLiveboardByDefault"] = "openSpotterOnLiveboardByDefault";
4892
+ Param["ShowAnswerEditPanel"] = "showAnswerEditPanel";
4776
4893
  })(Param = exports.Param || (exports.Param = {}));
4777
4894
  /**
4778
4895
  * ThoughtSpot application pages include actions and menu commands
@@ -6777,6 +6894,237 @@ var Action;
6777
6894
  * ```
6778
6895
  */
6779
6896
  Action["SpotterOnLiveboard"] = "spotterOnLiveboard";
6897
+ /**
6898
+ * Controls the visibility and disabled state of the "Chart Type" menu item
6899
+ * in Chart Settings V2.
6900
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
6901
+ * @example
6902
+ * ```js
6903
+ * {
6904
+ * hiddenActions: [Action.ChartTypeSettings],
6905
+ * disabledActions: [Action.ChartTypeSettings],
6906
+ * }
6907
+ * ```
6908
+ */
6909
+ Action["ChartTypeSettings"] = "CHART_TYPE";
6910
+ /**
6911
+ * Controls the visibility and disabled state of the "Layout" menu item
6912
+ * in Chart Settings V2.
6913
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
6914
+ * @example
6915
+ * ```js
6916
+ * {
6917
+ * hiddenActions: [Action.LayoutSettings],
6918
+ * disabledActions: [Action.LayoutSettings],
6919
+ * }
6920
+ * ```
6921
+ */
6922
+ Action["LayoutSettings"] = "LAYOUT";
6923
+ /**
6924
+ * Controls the visibility and disabled state of the "Column" menu item
6925
+ * in Chart Settings V2.
6926
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
6927
+ * @example
6928
+ * ```js
6929
+ * {
6930
+ * hiddenActions: [Action.ColumnSettings],
6931
+ * disabledActions: [Action.ColumnSettings],
6932
+ * }
6933
+ * ```
6934
+ */
6935
+ Action["ColumnSettings"] = "COLUMN";
6936
+ /**
6937
+ * Controls the visibility and disabled state of the "Axis" menu item
6938
+ * in Chart Settings V2.
6939
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
6940
+ * @example
6941
+ * ```js
6942
+ * {
6943
+ * hiddenActions: [Action.AxisSettings],
6944
+ * disabledActions: [Action.AxisSettings],
6945
+ * }
6946
+ * ```
6947
+ */
6948
+ Action["AxisSettings"] = "AXIS";
6949
+ /**
6950
+ * Controls the visibility and disabled state of the "Data Label" menu item
6951
+ * in Chart Settings V2.
6952
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
6953
+ * @example
6954
+ * ```js
6955
+ * {
6956
+ * hiddenActions: [Action.DataLabelSettings],
6957
+ * disabledActions: [Action.DataLabelSettings],
6958
+ * }
6959
+ * ```
6960
+ */
6961
+ Action["DataLabelSettings"] = "DATA_LABEL";
6962
+ /**
6963
+ * Controls the visibility and disabled state of the "Tooltip" menu item
6964
+ * in Chart Settings V2.
6965
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
6966
+ * @example
6967
+ * ```js
6968
+ * {
6969
+ * hiddenActions: [Action.TooltipSettings],
6970
+ * disabledActions: [Action.TooltipSettings],
6971
+ * }
6972
+ * ```
6973
+ */
6974
+ Action["TooltipSettings"] = "TOOLTIP";
6975
+ /**
6976
+ * Controls the visibility and disabled state of the "Legend" menu item
6977
+ * in Chart Settings V2.
6978
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
6979
+ * @example
6980
+ * ```js
6981
+ * {
6982
+ * hiddenActions: [Action.LegendSettings],
6983
+ * disabledActions: [Action.LegendSettings],
6984
+ * }
6985
+ * ```
6986
+ */
6987
+ Action["LegendSettings"] = "LEGEND";
6988
+ /**
6989
+ * Controls the visibility and disabled state of the "Display" menu item
6990
+ * in Chart Settings V2.
6991
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
6992
+ * @example
6993
+ * ```js
6994
+ * {
6995
+ * hiddenActions: [Action.DisplaySettings],
6996
+ * disabledActions: [Action.DisplaySettings],
6997
+ * }
6998
+ * ```
6999
+ */
7000
+ Action["DisplaySettings"] = "DISPLAY";
7001
+ /**
7002
+ * Controls the visibility and disabled state of the "Query Details" menu
7003
+ * item in Chart Settings V2.
7004
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
7005
+ * @example
7006
+ * ```js
7007
+ * {
7008
+ * hiddenActions: [Action.QuerySettings],
7009
+ * disabledActions: [Action.QuerySettings],
7010
+ * }
7011
+ * ```
7012
+ */
7013
+ Action["QuerySettings"] = "QUERY_DETAILS";
7014
+ /**
7015
+ * Controls the visibility and disabled state of the "Custom Action" menu
7016
+ * item in Chart Settings V2.
7017
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
7018
+ * @example
7019
+ * ```js
7020
+ * {
7021
+ * hiddenActions: [Action.CustomSettings],
7022
+ * disabledActions: [Action.CustomSettings],
7023
+ * }
7024
+ * ```
7025
+ */
7026
+ Action["CustomSettings"] = "CUSTOM_ACTION";
7027
+ /**
7028
+ * Controls the visibility and disabled state of the "Muze AI" menu item
7029
+ * in Chart Settings V2.
7030
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
7031
+ * @example
7032
+ * ```js
7033
+ * {
7034
+ * hiddenActions: [Action.MuzeAiSettings],
7035
+ * disabledActions: [Action.MuzeAiSettings],
7036
+ * }
7037
+ * ```
7038
+ */
7039
+ Action["MuzeAiSettings"] = "MUZE_AI";
7040
+ /**
7041
+ * Controls the visibility and disabled state of the "R Analysis" menu item
7042
+ * in Chart Settings V2.
7043
+ * @version SDK: 1.54.0 | ThoughtSpot Cloud: 26.11.0.cl
7044
+ * @example
7045
+ * ```js
7046
+ * {
7047
+ * hiddenActions: [Action.RAnalysisSettings],
7048
+ * disabledActions: [Action.RAnalysisSettings],
7049
+ * }
7050
+ * ```
7051
+ */
7052
+ Action["RAnalysisSettings"] = "R_ANALYSIS";
7053
+ /**
7054
+ * Controls the visibility and disabled state of the "Add to Collection" menu item.
7055
+ * @version SDK: 1.52.1 | ThoughtSpot Cloud: 26.5.0.cl
7056
+ * @example
7057
+ * ```js
7058
+ * {
7059
+ * hiddenActions: [Action.AddToCollection],
7060
+ * disabledActions: [Action.AddToCollection],
7061
+ * }
7062
+ * ```
7063
+ */
7064
+ Action["AddToCollection"] = "addToCollection";
7065
+ /**
7066
+ * Controls the visibility and disabled state of the "Create Collection" button.
7067
+ * @version SDK: 1.52.1 | ThoughtSpot Cloud: 26.5.0.cl
7068
+ * @example
7069
+ * ```js
7070
+ * {
7071
+ * hiddenActions: [Action.CreateCollection],
7072
+ * disabledActions: [Action.CreateCollection],
7073
+ * }
7074
+ * ```
7075
+ */
7076
+ Action["CreateCollection"] = "createCollection";
7077
+ /**
7078
+ * Controls the visibility and disabled state of the "Move" menu item in a
7079
+ * Collection.
7080
+ * @version SDK: 1.52.1 | ThoughtSpot Cloud: 26.5.0.cl
7081
+ * @example
7082
+ * ```js
7083
+ * {
7084
+ * hiddenActions: [Action.MoveToCollection],
7085
+ * disabledActions: [Action.MoveToCollection],
7086
+ * }
7087
+ * ```
7088
+ */
7089
+ Action["MoveToCollection"] = "moveToCollection";
7090
+ /**
7091
+ * Controls the visibility and disabled state of the "Remove" menu item in a
7092
+ * Collection.
7093
+ * @version SDK: 1.52.1 | ThoughtSpot Cloud: 26.5.0.cl
7094
+ * @example
7095
+ * ```js
7096
+ * {
7097
+ * hiddenActions: [Action.RemoveFromCollection],
7098
+ * disabledActions: [Action.RemoveFromCollection],
7099
+ * }
7100
+ * ```
7101
+ */
7102
+ Action["RemoveFromCollection"] = "removeFromCollection";
7103
+ /**
7104
+ * Controls the visibility and disabled state of the "Delete" menu item for a
7105
+ * Collection.
7106
+ * @version SDK: 1.52.1 | ThoughtSpot Cloud: 26.5.0.cl
7107
+ * @example
7108
+ * ```js
7109
+ * {
7110
+ * hiddenActions: [Action.DeleteCollection],
7111
+ * disabledActions: [Action.DeleteCollection],
7112
+ * }
7113
+ * ```
7114
+ */
7115
+ Action["DeleteCollection"] = "deleteCollection";
7116
+ /**
7117
+ * Controls the visibility of the "Customize homepage" button on the
7118
+ * embedded home page.
7119
+ * @version SDK: 1.55.0 | ThoughtSpot Cloud: 26.12.0.cl
7120
+ * @example
7121
+ * ```js
7122
+ * {
7123
+ * hiddenActions: [Action.CustomizeHomepage],
7124
+ * }
7125
+ * ```
7126
+ */
7127
+ Action["CustomizeHomepage"] = "customizeHomepage";
6780
7128
  })(Action = exports.Action || (exports.Action = {}));
6781
7129
  var PrefetchFeatures;
6782
7130
  (function (PrefetchFeatures) {