@thoughtspot/visual-embed-sdk 1.29.1 → 1.30.0-alpha.1

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 (264) hide show
  1. package/README.md +1 -1
  2. package/cjs/package.json +1 -1
  3. package/cjs/src/auth.d.ts +15 -0
  4. package/cjs/src/auth.d.ts.map +1 -1
  5. package/cjs/src/auth.js +13 -2
  6. package/cjs/src/auth.js.map +1 -1
  7. package/cjs/src/authToken.d.ts +2 -1
  8. package/cjs/src/authToken.d.ts.map +1 -1
  9. package/cjs/src/authToken.js +2 -1
  10. package/cjs/src/authToken.js.map +1 -1
  11. package/cjs/src/config.d.ts +1 -0
  12. package/cjs/src/config.d.ts.map +1 -1
  13. package/cjs/src/config.js +2 -0
  14. package/cjs/src/config.js.map +1 -1
  15. package/cjs/src/embed/app.d.ts +50 -4
  16. package/cjs/src/embed/app.d.ts.map +1 -1
  17. package/cjs/src/embed/app.js +10 -2
  18. package/cjs/src/embed/app.js.map +1 -1
  19. package/cjs/src/embed/base.d.ts +7 -1
  20. package/cjs/src/embed/base.d.ts.map +1 -1
  21. package/cjs/src/embed/base.js +13 -6
  22. package/cjs/src/embed/base.js.map +1 -1
  23. package/cjs/src/embed/base.spec.js +1 -1
  24. package/cjs/src/embed/base.spec.js.map +1 -1
  25. package/cjs/src/embed/embedConfig.d.ts +2 -0
  26. package/cjs/src/embed/embedConfig.d.ts.map +1 -1
  27. package/cjs/src/embed/embedConfig.js +2 -0
  28. package/cjs/src/embed/embedConfig.js.map +1 -1
  29. package/cjs/src/embed/liveboard.d.ts +30 -0
  30. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  31. package/cjs/src/embed/liveboard.js +5 -0
  32. package/cjs/src/embed/liveboard.js.map +1 -1
  33. package/cjs/src/embed/sage.d.ts +18 -2
  34. package/cjs/src/embed/sage.d.ts.map +1 -1
  35. package/cjs/src/embed/sage.js +5 -0
  36. package/cjs/src/embed/sage.js.map +1 -1
  37. package/cjs/src/embed/search-bar.d.ts +11 -0
  38. package/cjs/src/embed/search-bar.d.ts.map +1 -1
  39. package/cjs/src/embed/search-bar.js +2 -0
  40. package/cjs/src/embed/search-bar.js.map +1 -1
  41. package/cjs/src/embed/search.d.ts +34 -5
  42. package/cjs/src/embed/search.d.ts.map +1 -1
  43. package/cjs/src/embed/search.js +7 -4
  44. package/cjs/src/embed/search.js.map +1 -1
  45. package/cjs/src/embed/search.spec.js.map +1 -1
  46. package/cjs/src/embed/ts-embed.d.ts +31 -1
  47. package/cjs/src/embed/ts-embed.d.ts.map +1 -1
  48. package/cjs/src/embed/ts-embed.js +37 -6
  49. package/cjs/src/embed/ts-embed.js.map +1 -1
  50. package/cjs/src/embed/ts-embed.spec.js +9 -18
  51. package/cjs/src/embed/ts-embed.spec.js.map +1 -1
  52. package/cjs/src/index.d.ts +1 -0
  53. package/cjs/src/index.d.ts.map +1 -1
  54. package/cjs/src/index.js +1 -0
  55. package/cjs/src/index.js.map +1 -1
  56. package/cjs/src/mixpanel-service.d.ts +1 -0
  57. package/cjs/src/mixpanel-service.d.ts.map +1 -1
  58. package/cjs/src/mixpanel-service.js +1 -0
  59. package/cjs/src/mixpanel-service.js.map +1 -1
  60. package/cjs/src/react/index.d.ts +12 -1
  61. package/cjs/src/react/index.d.ts.map +1 -1
  62. package/cjs/src/react/index.js +11 -1
  63. package/cjs/src/react/index.js.map +1 -1
  64. package/cjs/src/react/index.spec.js +2 -14
  65. package/cjs/src/react/index.spec.js.map +1 -1
  66. package/cjs/src/test/test-utils.d.ts +2 -0
  67. package/cjs/src/test/test-utils.d.ts.map +1 -1
  68. package/cjs/src/test/test-utils.js +2 -0
  69. package/cjs/src/test/test-utils.js.map +1 -1
  70. package/cjs/src/tokenizedFetch.d.ts +1 -0
  71. package/cjs/src/tokenizedFetch.d.ts.map +1 -1
  72. package/cjs/src/tokenizedFetch.js +1 -0
  73. package/cjs/src/tokenizedFetch.js.map +1 -1
  74. package/cjs/src/types.d.ts +372 -59
  75. package/cjs/src/types.d.ts.map +1 -1
  76. package/cjs/src/types.js +297 -51
  77. package/cjs/src/types.js.map +1 -1
  78. package/cjs/src/utils/authService/authService.d.ts +1 -0
  79. package/cjs/src/utils/authService/authService.d.ts.map +1 -1
  80. package/cjs/src/utils/authService/authService.js +1 -0
  81. package/cjs/src/utils/authService/authService.js.map +1 -1
  82. package/cjs/src/utils/graphql/answerService/answerService.d.ts +12 -0
  83. package/cjs/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  84. package/cjs/src/utils/graphql/answerService/answerService.js +12 -0
  85. package/cjs/src/utils/graphql/answerService/answerService.js.map +1 -1
  86. package/cjs/src/utils/processTrigger.d.ts +1 -0
  87. package/cjs/src/utils/processTrigger.d.ts.map +1 -1
  88. package/cjs/src/utils/processTrigger.js +2 -0
  89. package/cjs/src/utils/processTrigger.js.map +1 -1
  90. package/cjs/src/utils.d.ts +9 -0
  91. package/cjs/src/utils.d.ts.map +1 -1
  92. package/cjs/src/utils.js +11 -0
  93. package/cjs/src/utils.js.map +1 -1
  94. package/dist/src/auth.d.ts +15 -0
  95. package/dist/src/auth.d.ts.map +1 -1
  96. package/dist/src/authToken.d.ts +2 -1
  97. package/dist/src/authToken.d.ts.map +1 -1
  98. package/dist/src/config.d.ts +1 -0
  99. package/dist/src/config.d.ts.map +1 -1
  100. package/dist/src/embed/app.d.ts +50 -4
  101. package/dist/src/embed/app.d.ts.map +1 -1
  102. package/dist/src/embed/base.d.ts +7 -1
  103. package/dist/src/embed/base.d.ts.map +1 -1
  104. package/dist/src/embed/embedConfig.d.ts +2 -0
  105. package/dist/src/embed/embedConfig.d.ts.map +1 -1
  106. package/dist/src/embed/liveboard.d.ts +30 -0
  107. package/dist/src/embed/liveboard.d.ts.map +1 -1
  108. package/dist/src/embed/sage.d.ts +18 -2
  109. package/dist/src/embed/sage.d.ts.map +1 -1
  110. package/dist/src/embed/search-bar.d.ts +11 -0
  111. package/dist/src/embed/search-bar.d.ts.map +1 -1
  112. package/dist/src/embed/search.d.ts +34 -5
  113. package/dist/src/embed/search.d.ts.map +1 -1
  114. package/dist/src/embed/ts-embed.d.ts +31 -1
  115. package/dist/src/embed/ts-embed.d.ts.map +1 -1
  116. package/dist/src/index.d.ts +1 -0
  117. package/dist/src/index.d.ts.map +1 -1
  118. package/dist/src/mixpanel-service.d.ts +1 -0
  119. package/dist/src/mixpanel-service.d.ts.map +1 -1
  120. package/dist/src/react/index.d.ts +12 -1
  121. package/dist/src/react/index.d.ts.map +1 -1
  122. package/dist/src/test/test-utils.d.ts +2 -0
  123. package/dist/src/test/test-utils.d.ts.map +1 -1
  124. package/dist/src/tokenizedFetch.d.ts +1 -0
  125. package/dist/src/tokenizedFetch.d.ts.map +1 -1
  126. package/dist/src/types.d.ts +372 -59
  127. package/dist/src/types.d.ts.map +1 -1
  128. package/dist/src/utils/authService/authService.d.ts +1 -0
  129. package/dist/src/utils/authService/authService.d.ts.map +1 -1
  130. package/dist/src/utils/graphql/answerService/answerService.d.ts +12 -0
  131. package/dist/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  132. package/dist/src/utils/processTrigger.d.ts +1 -0
  133. package/dist/src/utils/processTrigger.d.ts.map +1 -1
  134. package/dist/src/utils.d.ts +9 -0
  135. package/dist/src/utils.d.ts.map +1 -1
  136. package/dist/tsembed-react.es.js +7426 -7073
  137. package/dist/tsembed-react.js +7441 -7092
  138. package/dist/tsembed.es.js +8781 -8431
  139. package/dist/tsembed.js +12901 -12559
  140. package/dist/visual-embed-sdk-react-full.d.ts +584 -70
  141. package/dist/visual-embed-sdk-react.d.ts +584 -70
  142. package/dist/visual-embed-sdk.d.ts +572 -69
  143. package/lib/package.json +1 -1
  144. package/lib/src/auth.d.ts +15 -0
  145. package/lib/src/auth.d.ts.map +1 -1
  146. package/lib/src/auth.js +14 -3
  147. package/lib/src/auth.js.map +1 -1
  148. package/lib/src/authToken.d.ts +2 -1
  149. package/lib/src/authToken.d.ts.map +1 -1
  150. package/lib/src/authToken.js +2 -1
  151. package/lib/src/authToken.js.map +1 -1
  152. package/lib/src/config.d.ts +1 -0
  153. package/lib/src/config.d.ts.map +1 -1
  154. package/lib/src/config.js +2 -0
  155. package/lib/src/config.js.map +1 -1
  156. package/lib/src/embed/app.d.ts +50 -4
  157. package/lib/src/embed/app.d.ts.map +1 -1
  158. package/lib/src/embed/app.js +10 -2
  159. package/lib/src/embed/app.js.map +1 -1
  160. package/lib/src/embed/base.d.ts +7 -1
  161. package/lib/src/embed/base.d.ts.map +1 -1
  162. package/lib/src/embed/base.js +12 -5
  163. package/lib/src/embed/base.js.map +1 -1
  164. package/lib/src/embed/base.spec.js +2 -2
  165. package/lib/src/embed/base.spec.js.map +1 -1
  166. package/lib/src/embed/embedConfig.d.ts +2 -0
  167. package/lib/src/embed/embedConfig.d.ts.map +1 -1
  168. package/lib/src/embed/embedConfig.js +2 -0
  169. package/lib/src/embed/embedConfig.js.map +1 -1
  170. package/lib/src/embed/liveboard.d.ts +30 -0
  171. package/lib/src/embed/liveboard.d.ts.map +1 -1
  172. package/lib/src/embed/liveboard.js +6 -1
  173. package/lib/src/embed/liveboard.js.map +1 -1
  174. package/lib/src/embed/sage.d.ts +18 -2
  175. package/lib/src/embed/sage.d.ts.map +1 -1
  176. package/lib/src/embed/sage.js +5 -0
  177. package/lib/src/embed/sage.js.map +1 -1
  178. package/lib/src/embed/search-bar.d.ts +11 -0
  179. package/lib/src/embed/search-bar.d.ts.map +1 -1
  180. package/lib/src/embed/search-bar.js +2 -0
  181. package/lib/src/embed/search-bar.js.map +1 -1
  182. package/lib/src/embed/search.d.ts +34 -5
  183. package/lib/src/embed/search.d.ts.map +1 -1
  184. package/lib/src/embed/search.js +8 -5
  185. package/lib/src/embed/search.js.map +1 -1
  186. package/lib/src/embed/search.spec.js.map +1 -1
  187. package/lib/src/embed/ts-embed.d.ts +31 -1
  188. package/lib/src/embed/ts-embed.d.ts.map +1 -1
  189. package/lib/src/embed/ts-embed.js +40 -9
  190. package/lib/src/embed/ts-embed.js.map +1 -1
  191. package/lib/src/embed/ts-embed.spec.js +9 -18
  192. package/lib/src/embed/ts-embed.spec.js.map +1 -1
  193. package/lib/src/index.d.ts +1 -0
  194. package/lib/src/index.d.ts.map +1 -1
  195. package/lib/src/index.js +1 -0
  196. package/lib/src/index.js.map +1 -1
  197. package/lib/src/mixpanel-service.d.ts +1 -0
  198. package/lib/src/mixpanel-service.d.ts.map +1 -1
  199. package/lib/src/mixpanel-service.js +1 -0
  200. package/lib/src/mixpanel-service.js.map +1 -1
  201. package/lib/src/react/index.d.ts +12 -1
  202. package/lib/src/react/index.d.ts.map +1 -1
  203. package/lib/src/react/index.js +11 -1
  204. package/lib/src/react/index.js.map +1 -1
  205. package/lib/src/react/index.spec.js +3 -15
  206. package/lib/src/react/index.spec.js.map +1 -1
  207. package/lib/src/test/test-utils.d.ts +2 -0
  208. package/lib/src/test/test-utils.d.ts.map +1 -1
  209. package/lib/src/test/test-utils.js +2 -0
  210. package/lib/src/test/test-utils.js.map +1 -1
  211. package/lib/src/tokenizedFetch.d.ts +1 -0
  212. package/lib/src/tokenizedFetch.d.ts.map +1 -1
  213. package/lib/src/tokenizedFetch.js +1 -0
  214. package/lib/src/tokenizedFetch.js.map +1 -1
  215. package/lib/src/types.d.ts +372 -59
  216. package/lib/src/types.d.ts.map +1 -1
  217. package/lib/src/types.js +297 -51
  218. package/lib/src/types.js.map +1 -1
  219. package/lib/src/utils/authService/authService.d.ts +1 -0
  220. package/lib/src/utils/authService/authService.d.ts.map +1 -1
  221. package/lib/src/utils/authService/authService.js +1 -0
  222. package/lib/src/utils/authService/authService.js.map +1 -1
  223. package/lib/src/utils/authService/authService.spec.js +1 -1
  224. package/lib/src/utils/authService/authService.spec.js.map +1 -1
  225. package/lib/src/utils/graphql/answerService/answerService.d.ts +12 -0
  226. package/lib/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  227. package/lib/src/utils/graphql/answerService/answerService.js +12 -0
  228. package/lib/src/utils/graphql/answerService/answerService.js.map +1 -1
  229. package/lib/src/utils/processTrigger.d.ts +1 -0
  230. package/lib/src/utils/processTrigger.d.ts.map +1 -1
  231. package/lib/src/utils/processTrigger.js +2 -0
  232. package/lib/src/utils/processTrigger.js.map +1 -1
  233. package/lib/src/utils.d.ts +9 -0
  234. package/lib/src/utils.d.ts.map +1 -1
  235. package/lib/src/utils.js +11 -0
  236. package/lib/src/utils.js.map +1 -1
  237. package/lib/src/visual-embed-sdk.d.ts +576 -73
  238. package/package.json +1 -1
  239. package/src/auth.ts +23 -6
  240. package/src/authToken.ts +2 -1
  241. package/src/config.ts +2 -0
  242. package/src/embed/app.ts +63 -16
  243. package/src/embed/base.spec.ts +3 -3
  244. package/src/embed/base.ts +21 -15
  245. package/src/embed/embedConfig.ts +2 -0
  246. package/src/embed/liveboard.ts +38 -1
  247. package/src/embed/sage.ts +18 -2
  248. package/src/embed/search-bar.tsx +11 -0
  249. package/src/embed/search.spec.ts +1 -2
  250. package/src/embed/search.ts +48 -21
  251. package/src/embed/ts-embed.spec.ts +24 -37
  252. package/src/embed/ts-embed.ts +72 -38
  253. package/src/index.ts +1 -0
  254. package/src/mixpanel-service.ts +1 -0
  255. package/src/react/index.spec.tsx +59 -47
  256. package/src/react/index.tsx +12 -1
  257. package/src/test/test-utils.ts +2 -0
  258. package/src/tokenizedFetch.ts +1 -0
  259. package/src/types.ts +377 -65
  260. package/src/utils/authService/authService.spec.ts +4 -4
  261. package/src/utils/authService/authService.ts +1 -0
  262. package/src/utils/graphql/answerService/answerService.ts +12 -0
  263. package/src/utils/processTrigger.ts +2 -0
  264. package/src/utils.ts +11 -0
package/lib/src/types.js CHANGED
@@ -2,12 +2,14 @@
2
2
  * Copyright (c) 2023
3
3
  *
4
4
  * TypeScript type definitions for ThoughtSpot Visual Embed SDK
5
+ *
5
6
  * @summary Type definitions for Embed SDK
6
7
  * @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
7
8
  */
8
9
  /**
9
10
  * The authentication mechanism for allowing access to the
10
11
  * the embedded app
12
+ *
11
13
  * @group Authentication / Init
12
14
  */
13
15
  // eslint-disable-next-line no-shadow
@@ -16,6 +18,7 @@ export var AuthType;
16
18
  /**
17
19
  * No authentication on the SDK. Passthrough to the embedded App. Alias for
18
20
  * `Passthrough`.
21
+ *
19
22
  * @example
20
23
  * ```js
21
24
  * init({
@@ -33,6 +36,7 @@ export var AuthType;
33
36
  * To use this:
34
37
  * Your SAML or OpenID provider must allow iframe redirects.
35
38
  * For example, if you are using Okta as IdP, you can enable iframe embedding.
39
+ *
36
40
  * @example
37
41
  * ```js
38
42
  * init({
@@ -45,12 +49,14 @@ export var AuthType;
45
49
  AuthType["EmbeddedSSO"] = "EmbeddedSSO";
46
50
  /**
47
51
  * SSO using SAML
52
+ *
48
53
  * @deprecated Use {@link SAMLRedirect} instead
49
54
  * @hidden
50
55
  */
51
56
  AuthType["SSO"] = "SSO_SAML";
52
57
  /**
53
58
  * SSO using SAML
59
+ *
54
60
  * @deprecated Use {@link SAMLRedirect} instead
55
61
  * @hidden
56
62
  */
@@ -62,6 +68,7 @@ export var AuthType;
62
68
  *
63
69
  * This redirects the host application to the SAML IdP. The host application
64
70
  * will be redirected back to the ThoughtSpot app after authentication.
71
+ *
65
72
  * @example
66
73
  * ```js
67
74
  * init({
@@ -102,6 +109,7 @@ export var AuthType;
102
109
  AuthType["SAMLRedirect"] = "SSO_SAML";
103
110
  /**
104
111
  * SSO using OIDC
112
+ *
105
113
  * @hidden
106
114
  * @deprecated Use {@link OIDCRedirect} instead
107
115
  */
@@ -114,6 +122,7 @@ export var AuthType;
114
122
  AuthType["OIDCRedirect"] = "SSO_OIDC";
115
123
  /**
116
124
  * Trusted authentication server
125
+ *
117
126
  * @hidden
118
127
  * @deprecated Use {@link TrustedAuth} instead
119
128
  */
@@ -122,6 +131,7 @@ export var AuthType;
122
131
  * Trusted authentication server. Use your own authentication server
123
132
  * which returns a bearer token, generated using the `secret_key` obtained
124
133
  * from ThoughtSpot.
134
+ *
125
135
  * @example
126
136
  * ```js
127
137
  * init({
@@ -133,7 +143,6 @@ export var AuthType;
133
143
  * .then((data) => data.token);
134
144
  * }
135
145
  * });
136
- * });
137
146
  * ```
138
147
  */
139
148
  AuthType["TrustedAuthToken"] = "AuthServer";
@@ -143,6 +152,7 @@ export var AuthType;
143
152
  * obtained from ThoughtSpot. This uses a cookieless authentication
144
153
  * approach, recommended to bypass the third-party cookie-blocking restriction
145
154
  * implemented by some browsers.
155
+ *
146
156
  * @example
147
157
  * ```js
148
158
  * init({
@@ -262,12 +272,17 @@ export var RuntimeFilterOp;
262
272
  * Is included in this list of values
263
273
  */
264
274
  RuntimeFilterOp["IN"] = "IN";
275
+ /**
276
+ * Is not included in this list of values
277
+ */
278
+ RuntimeFilterOp["NOT_IN"] = "NOT_IN";
265
279
  })(RuntimeFilterOp || (RuntimeFilterOp = {}));
266
280
  /**
267
281
  * Home page module that can be hidden.
268
282
  * **Note**: This option does not apply to the classic homepage.
269
283
  * To access the updated modular homepage, set
270
284
  * `modularHomeExperience` to `true` (available as Early Access feature in 9.12.5.cl).
285
+ *
271
286
  * @version SDK: 1.28.0 | Thoughtspot: 9.12.5.cl
272
287
  */
273
288
  // eslint-disable-next-line no-shadow
@@ -303,6 +318,7 @@ export var HomepageModule;
303
318
  *
304
319
  * To add an event listener use the corresponding
305
320
  * {@link LiveboardEmbed.on} or {@link AppEmbed.on} or {@link SearchEmbed.on} method.
321
+ *
306
322
  * @example
307
323
  * ```js
308
324
  * import { EmbedEvent } from '@thoughtspot/visual-embed-sdk';
@@ -322,6 +338,7 @@ export var EmbedEvent;
322
338
  (function (EmbedEvent) {
323
339
  /**
324
340
  * Rendering has initialized.
341
+ *
325
342
  * @example
326
343
  *```js
327
344
  * liveboardEmbed.on(EmbedEvent.Init, showLoader)
@@ -335,7 +352,9 @@ export var EmbedEvent;
335
352
  EmbedEvent["Init"] = "init";
336
353
  /**
337
354
  * Authentication has either succeeded or failed.
355
+ *
338
356
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
357
+ *
339
358
  * @example
340
359
  *```js
341
360
  * appEmbed.on(EmbedEvent.AuthInit, payload => {
@@ -347,7 +366,9 @@ export var EmbedEvent;
347
366
  EmbedEvent["AuthInit"] = "authInit";
348
367
  /**
349
368
  * The embed object container has loaded.
369
+ *
350
370
  * @returns timestamp - The timestamp when the event was generated.
371
+ *
351
372
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
352
373
  * @example
353
374
  *```js
@@ -361,7 +382,9 @@ export var EmbedEvent;
361
382
  EmbedEvent["Load"] = "load";
362
383
  /**
363
384
  * Data pertaining to answer or Liveboard is received
385
+ *
364
386
  * @return data - The answer or Liveboard data
387
+ *
365
388
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
366
389
  * @example
367
390
  *```js
@@ -374,11 +397,13 @@ export var EmbedEvent;
374
397
  EmbedEvent["Data"] = "data";
375
398
  /**
376
399
  * Search/Answer/Liveboard filters have been applied/updated by the user.
400
+ *
377
401
  * @hidden
378
402
  */
379
403
  EmbedEvent["FiltersChanged"] = "filtersChanged";
380
404
  /**
381
405
  * Search query has been updated by the user.
406
+ *
382
407
  * @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 8.4.1.sw
383
408
  * @example
384
409
  *```js
@@ -388,7 +413,9 @@ export var EmbedEvent;
388
413
  EmbedEvent["QueryChanged"] = "queryChanged";
389
414
  /**
390
415
  * A drill-down operation has been performed.
416
+ *
391
417
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
418
+ *
392
419
  * @returns additionalFilters - Any additional filters applied
393
420
  * @returns drillDownColumns - The columns on which drill down was performed
394
421
  * @returns nonFilteredColumns - The columns that were not filtered
@@ -425,7 +452,9 @@ export var EmbedEvent;
425
452
  EmbedEvent["Drilldown"] = "drillDown";
426
453
  /**
427
454
  * One or more data sources have been selected.
455
+ *
428
456
  * @returns dataSourceIds - the list of data sources
457
+ *
429
458
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
430
459
  * @example
431
460
  * ```js
@@ -437,6 +466,7 @@ export var EmbedEvent;
437
466
  EmbedEvent["DataSourceSelected"] = "dataSourceSelected";
438
467
  /**
439
468
  * One or more data columns have been selected.
469
+ *
440
470
  * @returns columnIds - the list of columns
441
471
  * @version SDK: 1.10.0 | ThoughtSpot: 8.2.0.cl, 8.4.1.sw
442
472
  * @example
@@ -449,9 +479,11 @@ export var EmbedEvent;
449
479
  EmbedEvent["AddRemoveColumns"] = "addRemoveColumns";
450
480
  /**
451
481
  * A custom action has been triggered.
482
+ *
452
483
  * @returns actionId - ID of the custom action
453
484
  * @returns payload {@link CustomActionPayload} - Response payload with the
454
485
  * Answer or Liveboard data
486
+ *
455
487
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
456
488
  * @example
457
489
  * ```js
@@ -466,6 +498,7 @@ export var EmbedEvent;
466
498
  EmbedEvent["CustomAction"] = "customAction";
467
499
  /**
468
500
  * Listen to double click actions on a visualization.
501
+ *
469
502
  * @return ContextMenuInputPoints - Data point that is double-clicked
470
503
  * @version SDK: 1.5.0 | ThoughtSpot: ts7.oct.cl, 7.2.1
471
504
  * @example
@@ -478,6 +511,7 @@ export var EmbedEvent;
478
511
  EmbedEvent["VizPointDoubleClick"] = "vizPointDoubleClick";
479
512
  /**
480
513
  * Listen to clicks on a visualization in a Liveboard or Search result.
514
+ *
481
515
  * @return viz, clickedPoint - metadata about the point that is clicked
482
516
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
483
517
  * @important
@@ -498,21 +532,17 @@ export var EmbedEvent;
498
532
  /**
499
533
  * An error has occurred. This event is fired for the following error types:
500
534
  *
501
- * `API`: API call failure error.
535
+ * `API` - API call failure error.
536
+ * `FULLSCREEN` - Error when presenting a Liveboard or visualization in full screen mode.
537
+ * `SINGLE_VALUE_FILTER` - Error due to multiple values in the single value filter.
538
+ * `NON_EXIST_FILTER` - Error due to a non-existent filter.
539
+ * `INVALID_DATE_VALUE` - Invalid date value error.
540
+ * `INVALID_OPERATOR` - Use of invalid operator during filter application.
502
541
  *
503
- * `FULLSCREEN`: Error when presenting a Liveboard or visualization in full screen
504
- * mode.
542
+ * For more information, see https://developers.thoughtspot.com/docs/events-app-integration#errorType
505
543
  *
506
- * `SINGLE_VALUE_FILTER`: Error due to multiple values in the single value filter.
507
- *
508
- * `NON_EXIST_FILTER`: Error due to a non-existent filter.
509
- *
510
- * `INVALID_DATE_VALUE`: Invalid date value error.
511
- *
512
- * `INVALID_OPERATOR`: Use of invalid operator during filter application.
513
- *
514
- * For more information, see https://developers.thoughtspot.com/docs/events-app-integration#errorType.
515
544
  * @returns error - An error object or message
545
+ *
516
546
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
517
547
  * @example
518
548
  * ```js
@@ -537,8 +567,11 @@ export var EmbedEvent;
537
567
  EmbedEvent["Error"] = "Error";
538
568
  /**
539
569
  * The embedded object has sent an alert.
570
+ *
540
571
  * @returns alert - An alert object
572
+ *
541
573
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
574
+ *
542
575
  * @example
543
576
  * ```js
544
577
  * searchEmbed.on(EmbedEvent.Alert)
@@ -547,7 +580,9 @@ export var EmbedEvent;
547
580
  EmbedEvent["Alert"] = "alert";
548
581
  /**
549
582
  * The ThoughtSpot auth session has expired.
583
+ *
550
584
  * @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 8.4.1.sw
585
+ *
551
586
  * @example
552
587
  *```js
553
588
  * appEmbed.on(EmbedEvent.AuthExpire, showAuthExpired)
@@ -560,22 +595,26 @@ export var EmbedEvent;
560
595
  EmbedEvent["AuthExpire"] = "ThoughtspotAuthExpired";
561
596
  /**
562
597
  * ThoughtSpot failed to validate the auth session.
598
+ *
563
599
  * @hidden
564
600
  */
565
601
  EmbedEvent["AuthFailure"] = "ThoughtspotAuthFailure";
566
602
  /**
567
603
  * ThoughtSpot failed to validate the auth session.
604
+ *
568
605
  * @hidden
569
606
  */
570
607
  EmbedEvent["AuthLogout"] = "ThoughtspotAuthLogout";
571
608
  /**
572
609
  * The height of the embedded Liveboard or visualization has been computed.
610
+ *
573
611
  * @returns data - The height of the embedded Liveboard or visualization
574
612
  * @hidden
575
613
  */
576
614
  EmbedEvent["EmbedHeight"] = "EMBED_HEIGHT";
577
615
  /**
578
616
  * The center of visible iframe viewport is calculated.
617
+ *
579
618
  * @returns data - The center of the visible Iframe viewport.
580
619
  * @hidden
581
620
  */
@@ -583,6 +622,7 @@ export var EmbedEvent;
583
622
  /**
584
623
  * Emitted when the **Get Data** action is initiated.
585
624
  * Applicable to `SearchBarEmbed` only.
625
+ *
586
626
  * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
587
627
  * @example
588
628
  *```js
@@ -595,6 +635,7 @@ export var EmbedEvent;
595
635
  EmbedEvent["GetDataClick"] = "getDataClick";
596
636
  /**
597
637
  * Detects the route change.
638
+ *
598
639
  * @version SDK: 1.7.0 | ThoughtSpot: 8.0.0.cl, 8.4.1.sw
599
640
  * @example
600
641
  *```js
@@ -605,13 +646,15 @@ export var EmbedEvent;
605
646
  EmbedEvent["RouteChange"] = "ROUTE_CHANGE";
606
647
  /**
607
648
  * The v1 event type for Data
649
+ *
608
650
  * @hidden
609
651
  */
610
652
  EmbedEvent["V1Data"] = "exportVizDataToParent";
611
653
  /**
612
654
  * Emitted when the embed does not have cookie access. This happens
613
655
  * when Safari and other Web browsers block third-party cookies
614
- * are blocked by default.
656
+ * are blocked by default. `NoCookieAccess` can trigger
657
+ *
615
658
  * @example
616
659
  *```js
617
660
  * appEmbed.on(EmbedEvent.NoCookieAccess)
@@ -621,12 +664,14 @@ export var EmbedEvent;
621
664
  EmbedEvent["NoCookieAccess"] = "noCookieAccess";
622
665
  /**
623
666
  * Emitted when SAML is complete
667
+ *
624
668
  * @private
625
669
  * @hidden
626
670
  */
627
671
  EmbedEvent["SAMLComplete"] = "samlComplete";
628
672
  /**
629
673
  * Emitted when any modal is opened in the app
674
+ *
630
675
  * @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
631
676
  * @example
632
677
  *```js
@@ -638,6 +683,7 @@ export var EmbedEvent;
638
683
  EmbedEvent["DialogOpen"] = "dialog-open";
639
684
  /**
640
685
  * Emitted when any modal is closed in the app
686
+ *
641
687
  * @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
642
688
  * @example
643
689
  *```js
@@ -650,7 +696,8 @@ export var EmbedEvent;
650
696
  /**
651
697
  * Emitted when the Liveboard shell loads.
652
698
  * You can use this event as a hook to trigger
653
- * actions on the rendered Liveboard.
699
+ * other events on the rendered Liveboard.
700
+ *
654
701
  * @version SDK: 1.9.1 | ThoughtSpot: 8.1.0.cl, 8.4.1.sw
655
702
  * @example
656
703
  *```js
@@ -671,6 +718,7 @@ export var EmbedEvent;
671
718
  EmbedEvent["LiveboardRendered"] = "PinboardRendered";
672
719
  /**
673
720
  * Emits all events.
721
+ *
674
722
  * @Version SDK: 1.10.0 | ThoughtSpot: 8.2.0.cl, 8.4.1.sw
675
723
  * @example
676
724
  *```js
@@ -682,6 +730,7 @@ export var EmbedEvent;
682
730
  EmbedEvent["ALL"] = "*";
683
731
  /**
684
732
  * Emitted when an Answer is saved in the app
733
+ *
685
734
  * @Version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
686
735
  * @example
687
736
  *```js
@@ -701,10 +750,11 @@ export var EmbedEvent;
701
750
  /**
702
751
  * Emitted when the download action is triggered on an answer
703
752
  *
704
- * **Note**: This event is deprecated in v1.21.0.
753
+ * **Note**: This event is deprecated in v1.21.0.
705
754
  * To fire an event when a download action is initiated on a chart or table,
706
755
  * use `EmbedEvent.DownloadAsPng`, `EmbedEvent.DownloadAsPDF`, `EmbedEvent.DownloadAsCSV`,
707
756
  * or `EmbedEvent.DownloadAsXLSX`
757
+ *
708
758
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
709
759
  * @example
710
760
  *```js
@@ -716,6 +766,7 @@ export var EmbedEvent;
716
766
  EmbedEvent["Download"] = "download";
717
767
  /**
718
768
  * Emitted when the download action is triggered on an answer
769
+ *
719
770
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.0.sw
720
771
  * @example
721
772
  *```js
@@ -730,6 +781,7 @@ export var EmbedEvent;
730
781
  EmbedEvent["DownloadAsPng"] = "downloadAsPng";
731
782
  /**
732
783
  * Emitted when the Download as PDF action is triggered on an answer
784
+ *
733
785
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
734
786
  * @example
735
787
  *```js
@@ -744,6 +796,7 @@ export var EmbedEvent;
744
796
  EmbedEvent["DownloadAsPdf"] = "downloadAsPdf";
745
797
  /**
746
798
  * Emitted when the Download as CSV action is triggered on an answer
799
+ *
747
800
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
748
801
  * @example
749
802
  *```js
@@ -758,6 +811,7 @@ export var EmbedEvent;
758
811
  EmbedEvent["DownloadAsCsv"] = "downloadAsCsv";
759
812
  /**
760
813
  * Emitted when the Download as XLSX action is triggered on an answer
814
+ *
761
815
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
762
816
  * @example
763
817
  *```js
@@ -772,13 +826,14 @@ export var EmbedEvent;
772
826
  EmbedEvent["DownloadAsXlsx"] = "downloadAsXlsx";
773
827
  /**
774
828
  * Emitted when an Answer is deleted in the app
829
+ *
775
830
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
776
831
  * @example
777
832
  *```js
778
833
  * //emit when action starts
779
834
  * appEmbed.on(EmbedEvent.AnswerDelete, payload => {
780
835
  * console.log('delete answer', payload)}, {start: true })
781
- * //emit when action is completed
836
+ * //trigger when action is completed
782
837
  * appEmbed.on(EmbedEvent.AnswerDelete, payload => {
783
838
  * console.log('delete answer', payload)})
784
839
  *```
@@ -786,6 +841,7 @@ export var EmbedEvent;
786
841
  EmbedEvent["AnswerDelete"] = "answerDelete";
787
842
  /**
788
843
  * Emitted when an answer is pinned to a Liveboard
844
+ *
789
845
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
790
846
  * @example
791
847
  *```js
@@ -804,6 +860,7 @@ export var EmbedEvent;
804
860
  EmbedEvent["Pin"] = "pin";
805
861
  /**
806
862
  * Emitted when SpotIQ analysis is triggered
863
+ *
807
864
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
808
865
  * @example
809
866
  *```js
@@ -822,6 +879,7 @@ export var EmbedEvent;
822
879
  EmbedEvent["SpotIQAnalyze"] = "spotIQAnalyze";
823
880
  /**
824
881
  * Emitted when a user shares an object with another user or group
882
+ *
825
883
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
826
884
  * @example
827
885
  *```js
@@ -841,6 +899,7 @@ export var EmbedEvent;
841
899
  /**
842
900
  * Emitted when a user clicks the **Include** action to include a specific value or
843
901
  * data on a chart or table.
902
+ *
844
903
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
845
904
  * @example
846
905
  *```js
@@ -853,6 +912,7 @@ export var EmbedEvent;
853
912
  /**
854
913
  * Emitted when a user clicks the **Exclude** action to exclude a specific value or
855
914
  * data on a chart or table
915
+ *
856
916
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
857
917
  * @example
858
918
  *```js
@@ -864,6 +924,7 @@ export var EmbedEvent;
864
924
  EmbedEvent["DrillExclude"] = "context-menu-item-exclude";
865
925
  /**
866
926
  * Emitted when a column value is copied in the embedded app.
927
+ *
867
928
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
868
929
  * @example
869
930
  *```js
@@ -874,7 +935,9 @@ export var EmbedEvent;
874
935
  */
875
936
  EmbedEvent["CopyToClipboard"] = "context-menu-item-copy-to-clipboard";
876
937
  /**
877
- * Emitted when a user clicks the **Update TML** action
938
+ * Emitted when a user clicks the **Update TML** action on
939
+ * embedded Liveboard.
940
+ *
878
941
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
879
942
  * @example
880
943
  *```js
@@ -885,6 +948,8 @@ export var EmbedEvent;
885
948
  EmbedEvent["UpdateTML"] = "updateTSL";
886
949
  /**
887
950
  * Emitted when a user clicks the **Edit TML** action
951
+ * on an embedded Liveboard.
952
+ *
888
953
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
889
954
  * @example
890
955
  *```js
@@ -897,6 +962,7 @@ export var EmbedEvent;
897
962
  /**
898
963
  * Emitted when the **Export TML** action is triggered on an
899
964
  * an embedded object in the app
965
+ *
900
966
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
901
967
  * @example
902
968
  *```js
@@ -911,6 +977,7 @@ export var EmbedEvent;
911
977
  EmbedEvent["ExportTML"] = "exportTSL";
912
978
  /**
913
979
  * Emitted when an Answer is saved as a View.
980
+ *
914
981
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
915
982
  * @example
916
983
  *```js
@@ -922,6 +989,7 @@ export var EmbedEvent;
922
989
  EmbedEvent["SaveAsView"] = "saveAsView";
923
990
  /**
924
991
  * Emitted when the user creates a copy of an Answer
992
+ *
925
993
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
926
994
  * @example
927
995
  *```js
@@ -936,6 +1004,7 @@ export var EmbedEvent;
936
1004
  EmbedEvent["CopyAEdit"] = "copyAEdit";
937
1005
  /**
938
1006
  * Emitted when a user clicks Show underlying data on an Answer
1007
+ *
939
1008
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
940
1009
  * @example
941
1010
  *```js
@@ -947,6 +1016,7 @@ export var EmbedEvent;
947
1016
  EmbedEvent["ShowUnderlyingData"] = "showUnderlyingData";
948
1017
  /**
949
1018
  * Emitted when an answer is switched to a chart or table view.
1019
+ *
950
1020
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
951
1021
  * @example
952
1022
  *```js
@@ -958,11 +1028,13 @@ export var EmbedEvent;
958
1028
  EmbedEvent["AnswerChartSwitcher"] = "answerChartSwitcher";
959
1029
  /**
960
1030
  * Internal event to communicate the initial settings back to the ThoughtSpot app
1031
+ *
961
1032
  * @hidden
962
1033
  */
963
1034
  EmbedEvent["APP_INIT"] = "appInit";
964
1035
  /**
965
1036
  * Emitted when a user clicks **Show Liveboard details** on a Liveboard
1037
+ *
966
1038
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
967
1039
  * @example
968
1040
  *```js
@@ -974,6 +1046,7 @@ export var EmbedEvent;
974
1046
  EmbedEvent["LiveboardInfo"] = "pinboardInfo";
975
1047
  /**
976
1048
  * Emitted when a user clicks on the Favorite icon on a Liveboard
1049
+ *
977
1050
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
978
1051
  * @example
979
1052
  *```js
@@ -985,6 +1058,7 @@ export var EmbedEvent;
985
1058
  EmbedEvent["AddToFavorites"] = "addToFavorites";
986
1059
  /**
987
1060
  * Emitted when a user clicks **Schedule** on a Liveboard
1061
+ *
988
1062
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
989
1063
  * @example
990
1064
  *```js
@@ -996,6 +1070,7 @@ export var EmbedEvent;
996
1070
  EmbedEvent["Schedule"] = "subscription";
997
1071
  /**
998
1072
  * Emitted when a user clicks **Edit** on a Liveboard or visualization
1073
+ *
999
1074
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1000
1075
  * @example
1001
1076
  *```js
@@ -1007,6 +1082,7 @@ export var EmbedEvent;
1007
1082
  EmbedEvent["Edit"] = "edit";
1008
1083
  /**
1009
1084
  * Emitted when a user clicks *Make a copy* on a Liveboard
1085
+ *
1010
1086
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1011
1087
  * @example
1012
1088
  *```js
@@ -1018,6 +1094,7 @@ export var EmbedEvent;
1018
1094
  EmbedEvent["MakeACopy"] = "makeACopy";
1019
1095
  /**
1020
1096
  * Emitted when a user clicks **Present** on a Liveboard or visualization
1097
+ *
1021
1098
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1022
1099
  * @example
1023
1100
  *```js
@@ -1033,6 +1110,7 @@ export var EmbedEvent;
1033
1110
  EmbedEvent["Present"] = "present";
1034
1111
  /**
1035
1112
  * Emitted when a user clicks **Delete** on a visualization
1113
+ *
1036
1114
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1037
1115
  * @example
1038
1116
  *```js
@@ -1043,6 +1121,7 @@ export var EmbedEvent;
1043
1121
  EmbedEvent["Delete"] = "delete";
1044
1122
  /**
1045
1123
  * Emitted when a user clicks Manage schedules on a Liveboard
1124
+ *
1046
1125
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1047
1126
  * @example
1048
1127
  *```js
@@ -1052,6 +1131,7 @@ export var EmbedEvent;
1052
1131
  EmbedEvent["SchedulesList"] = "schedule-list";
1053
1132
  /**
1054
1133
  * Emitted when a user clicks **Cancel** in edit mode on a Liveboard
1134
+ *
1055
1135
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1056
1136
  * @example
1057
1137
  *```js
@@ -1061,6 +1141,7 @@ export var EmbedEvent;
1061
1141
  EmbedEvent["Cancel"] = "cancel";
1062
1142
  /**
1063
1143
  * Emitted when a user clicks **Explore** on a visualization
1144
+ *
1064
1145
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1065
1146
  * @example
1066
1147
  *```js
@@ -1071,6 +1152,7 @@ export var EmbedEvent;
1071
1152
  EmbedEvent["Explore"] = "explore";
1072
1153
  /**
1073
1154
  * Emitted when a user clicks **Copy link** action on a visualization
1155
+ *
1074
1156
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1075
1157
  * @example
1076
1158
  *```js
@@ -1081,16 +1163,18 @@ export var EmbedEvent;
1081
1163
  EmbedEvent["CopyLink"] = "embedDocument";
1082
1164
  /**
1083
1165
  * Emitted when a user interacts with cross filters on a visualization or Liveboard
1166
+ *
1084
1167
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
1085
1168
  * @example
1086
1169
  *```js
1087
- * liveboardEmbed.on(EmbedEvent.CrossFilterChanged, {
1170
+ * liveboardEmbed.trigger(HostEvent.CrossFilterChanged, {
1088
1171
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
1089
1172
  *```
1090
1173
  */
1091
1174
  EmbedEvent["CrossFilterChanged"] = "cross-filter-changed";
1092
1175
  /**
1093
1176
  * Emitted when a user right clicks on a visualization (chart or table)
1177
+ *
1094
1178
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
1095
1179
  * @example
1096
1180
  *```js
@@ -1102,6 +1186,7 @@ export var EmbedEvent;
1102
1186
  EmbedEvent["VizPointRightClick"] = "vizPointRightClick";
1103
1187
  /**
1104
1188
  * Emitted when a user clicks **Insert to slide** on a visualization
1189
+ *
1105
1190
  * @hidden
1106
1191
  */
1107
1192
  EmbedEvent["InsertIntoSlide"] = "insertInToSlide";
@@ -1109,6 +1194,7 @@ export var EmbedEvent;
1109
1194
  * Emitted when a user changes any filter on a Liveboard.
1110
1195
  * Returns filter type and name, column name and ID, and runtime
1111
1196
  * filter details.
1197
+ *
1112
1198
  * @example
1113
1199
  *
1114
1200
  *```js
@@ -1117,38 +1203,36 @@ export var EmbedEvent;
1117
1203
  * })
1118
1204
  *
1119
1205
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl, 9.5.0.sw
1120
- * @example
1121
- *
1122
- *```js
1123
- * LiveboardEmbed.on(EmbedEvent.FilterChanged, (payload) => {
1124
- * console.log('payload', payload);
1125
- * })
1126
- *```
1127
1206
  */
1128
1207
  EmbedEvent["FilterChanged"] = "filterChanged";
1129
1208
  /**
1130
1209
  * Emitted when a user clicks the **Go** button on the Search page
1210
+ *
1131
1211
  * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
1132
1212
  */
1133
1213
  EmbedEvent["SageEmbedQuery"] = "sageEmbedQuery";
1134
1214
  /**
1135
1215
  * Emitted when a user selects a data source.
1216
+ *
1136
1217
  * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
1137
1218
  */
1138
1219
  EmbedEvent["SageWorksheetUpdated"] = "sageWorksheetUpdated";
1139
1220
  /**
1140
1221
  * Emitted when a user updates a connection on the **Data** page
1222
+ *
1141
1223
  * @version SDK : 1.27.0 | Thoughtspot: 9.8.0.cl, 9.8.0.sw
1142
1224
  */
1143
1225
  EmbedEvent["UpdateConnection"] = "updateConnection";
1144
1226
  /**
1145
1227
  * Emitted when a user updates a connection on the **Data** page
1228
+ *
1146
1229
  * @version SDK : 1.27.0 | Thoughtspot: 9.8.0.cl, 9.8.0.sw
1147
1230
  */
1148
1231
  EmbedEvent["CreateConnection"] = "createConnection";
1149
1232
  /**
1150
1233
  * Emitted when name, status (private or public) or filter values of a
1151
1234
  * Personalised view is updated.
1235
+ *
1152
1236
  * @returns viewName: string
1153
1237
  * @returns viewId: string
1154
1238
  * @returns liveboardId: string
@@ -1158,6 +1242,7 @@ export var EmbedEvent;
1158
1242
  EmbedEvent["UpdatePersonalisedView"] = "updatePersonalisedView";
1159
1243
  /**
1160
1244
  * Emitted when a Personalised view is saved.
1245
+ *
1161
1246
  * @returns viewName: string
1162
1247
  * @returns viewId: string
1163
1248
  * @returns liveboardId: string
@@ -1167,6 +1252,7 @@ export var EmbedEvent;
1167
1252
  EmbedEvent["SavePersonalisedView"] = "savePersonalisedView";
1168
1253
  /**
1169
1254
  * Emitted when a Liveboard is reset.
1255
+ *
1170
1256
  * @returns viewName: string
1171
1257
  * @returns viewId: string
1172
1258
  * @returns liveboardId: string
@@ -1176,6 +1262,7 @@ export var EmbedEvent;
1176
1262
  EmbedEvent["ResetLiveboard"] = "resetLiveboard";
1177
1263
  /**
1178
1264
  * Emitted when a PersonalisedView is deleted.
1265
+ *
1179
1266
  * @returns views: string[]
1180
1267
  * @returns liveboardId: string
1181
1268
  * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
@@ -1183,11 +1270,13 @@ export var EmbedEvent;
1183
1270
  EmbedEvent["DeletePersonalisedView"] = "deletePersonalisedView";
1184
1271
  /**
1185
1272
  * Emitted when a user creates a new worksheet
1273
+ *
1186
1274
  * @version SDK : 1.27.0 | Thoughtspot: 9.8.0.cl
1187
1275
  */
1188
1276
  EmbedEvent["CreateWorksheet"] = "createWorksheet";
1189
1277
  /**
1190
1278
  * Emitted when Ask Sage is initialized.
1279
+ *
1191
1280
  * @returns viewName: string
1192
1281
  * @returns viewId: string
1193
1282
  * @returns liveboardId: string
@@ -1197,6 +1286,7 @@ export var EmbedEvent;
1197
1286
  EmbedEvent["AskSageInit"] = "AskSageInit";
1198
1287
  /**
1199
1288
  * Emitted when a LB/viz is renamed
1289
+ *
1200
1290
  * @version SDK : 1.28.0 | ThoughtSpot: 9.10.5.cl
1201
1291
  */
1202
1292
  EmbedEvent["Rename"] = "rename";
@@ -1220,6 +1310,7 @@ export var EmbedEvent;
1220
1310
  EmbedEvent["OnBeforeGetVizDataIntercept"] = "onBeforeGetVizDataIntercept";
1221
1311
  /**
1222
1312
  * Emitted when runtime parameters changes
1313
+ *
1223
1314
  * @version SDK : 1.29.0 | Thoughtspot : 10.1.0.cl
1224
1315
  */
1225
1316
  EmbedEvent["ParameterChanged"] = "ParameterChanged";
@@ -1231,6 +1322,7 @@ export var EmbedEvent;
1231
1322
  * To trigger an event use the corresponding
1232
1323
  * {@link LiveboardEmbed.trigger} or {@link AppEmbed.trigger} or {@link
1233
1324
  * SearchEmbed.trigger} method.
1325
+ *
1234
1326
  * @example
1235
1327
  * ```js
1236
1328
  * import { HostEvent } from '@thoughtspot/visual-embed-sdk';
@@ -1253,6 +1345,7 @@ export var HostEvent;
1253
1345
  * the search query string.
1254
1346
  * Supported in `AppEmbed` and `SearchEmbed` deployments.
1255
1347
  * Includes the following properties:
1348
+ *
1256
1349
  * @param - `searchQuery` - query string with search tokens
1257
1350
  * @param - `dataSources` - Data source GUID to Search on
1258
1351
  * - Although an array, only a single source
@@ -1271,6 +1364,7 @@ export var HostEvent;
1271
1364
  /**
1272
1365
  * Triggers a drill on certain points of the specified column
1273
1366
  * Includes the following properties:
1367
+ *
1274
1368
  * @param - points - an object containing selectedPoints/clickedPoints
1275
1369
  * to drill to. For example, { selectedPoints: []}
1276
1370
  * @param - columnGuid - Optional. GUID of the column to drill
@@ -1320,16 +1414,19 @@ export var HostEvent;
1320
1414
  HostEvent["DrillDown"] = "triggerDrillDown";
1321
1415
  /**
1322
1416
  * Apply filters
1417
+ *
1323
1418
  * @hidden
1324
1419
  */
1325
1420
  HostEvent["Filter"] = "filter";
1326
1421
  /**
1327
1422
  * Reload the answer or visualization
1423
+ *
1328
1424
  * @hidden
1329
1425
  */
1330
1426
  HostEvent["Reload"] = "reload";
1331
1427
  /**
1332
1428
  * Display specific visualizations on a Liveboard.
1429
+ *
1333
1430
  * @param - An array of GUIDs of the visualization to show. The visualization IDs not passed
1334
1431
  * in this parameter will be hidden.
1335
1432
  * @example
@@ -1343,6 +1440,7 @@ export var HostEvent;
1343
1440
  HostEvent["SetVisibleVizs"] = "SetPinboardVisibleVizs";
1344
1441
  /**
1345
1442
  * Set a Liveboard tab as an active tab.
1443
+ *
1346
1444
  * @param - tabId - string of id of Tab to show
1347
1445
  * @example
1348
1446
  * ```js
@@ -1363,16 +1461,17 @@ export var HostEvent;
1363
1461
  * _String_. The name of the column to filter on.
1364
1462
  *
1365
1463
  * `operator`
1366
- * Runtime filter operator to apply. For information,
1367
- * see [Developer Documentation](https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator).
1464
+ * Runtime filter operator to apply. For information,
1465
+ * see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
1368
1466
  *
1369
1467
  * `values`
1370
- * List of operands. Some operators such as EQ, LE allow a single value, whereas
1371
- * operators such as BW and IN accept multiple operands.
1468
+ * List of operands. Some operators such as EQ, LE allow a single value, whereas
1469
+ * operators such as BW and IN accept multiple operands.
1470
+ *
1471
+ * **Note**: `HostEvent.UpdateRuntimeFilters` is not supported in
1472
+ * Search embedding (SearchEmbed) and Natural Language Search
1473
+ * embedding (SageEmbed).
1372
1474
  *
1373
- * **Note**: `HostEvent.UpdateRuntimeFilters` is not supported in
1374
- * Search embedding (SearchEmbed) and Natural Language Search
1375
- * embedding (SageEmbed).
1376
1475
  * @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
1377
1476
  * @example
1378
1477
  * ```js
@@ -1388,6 +1487,7 @@ export var HostEvent;
1388
1487
  /**
1389
1488
  * Navigate to a specific page in the embedded ThoughtSpot application.
1390
1489
  * This is the same as calling `appEmbed.navigateToPage(path, true)`
1490
+ *
1391
1491
  * @param - `path` - the path to navigate to to go forward or back. The path value can
1392
1492
  * be a number; for example, `1`, `-1`.
1393
1493
  * @example
@@ -1400,6 +1500,7 @@ export var HostEvent;
1400
1500
  /**
1401
1501
  * Open the filter panel for a particular column.
1402
1502
  * Works with Search and Liveboard embed.
1503
+ *
1403
1504
  * @param - { columnId: string,
1404
1505
  * name: string,
1405
1506
  * type: INT64/CHAR/DATE,
@@ -1416,6 +1517,7 @@ export var HostEvent;
1416
1517
  HostEvent["OpenFilter"] = "openFilter";
1417
1518
  /**
1418
1519
  * Add columns to the current search query.
1520
+ *
1419
1521
  * @param - { columnIds: string[] }
1420
1522
  * @example
1421
1523
  * ```js
@@ -1426,6 +1528,7 @@ export var HostEvent;
1426
1528
  HostEvent["AddColumns"] = "addColumns";
1427
1529
  /**
1428
1530
  * Remove a column from the current search query.
1531
+ *
1429
1532
  * @param - { columnId: string }
1430
1533
  * @example
1431
1534
  * ```js
@@ -1440,6 +1543,7 @@ export var HostEvent;
1440
1543
  * Liveboard filters, runtime filters applied on visualizations on a
1441
1544
  * Liveboard, and Liveboard layout, changes to visualizations such as
1442
1545
  * sorting, toggling of legends, and data drill down.
1546
+ *
1443
1547
  * @example
1444
1548
  * ```js
1445
1549
  * liveboardEmbed.trigger(HostEvent.getexportrequestforcurrentpinboard).then(
@@ -1450,6 +1554,7 @@ export var HostEvent;
1450
1554
  HostEvent["getExportRequestForCurrentPinboard"] = "getExportRequestForCurrentPinboard";
1451
1555
  /**
1452
1556
  * Trigger the **Pin** action on an embedded object
1557
+ *
1453
1558
  * @param - Liveboard embed takes the `vizId` as a
1454
1559
  * key. Can be left undefined when embedding Search, full app, or
1455
1560
  * a visualization.
@@ -1466,6 +1571,7 @@ export var HostEvent;
1466
1571
  /**
1467
1572
  * Trigger the **Show Liveboard details** action
1468
1573
  * on an embedded Liveboard.
1574
+ *
1469
1575
  * @example
1470
1576
  *```js
1471
1577
  * liveboardEmbed.trigger(HostEvent.LiveboardInfo)
@@ -1475,6 +1581,7 @@ export var HostEvent;
1475
1581
  HostEvent["LiveboardInfo"] = "pinboardInfo";
1476
1582
  /**
1477
1583
  * Trigger the **Schedule** action on an embedded Liveboard.
1584
+ *
1478
1585
  * @example
1479
1586
  * ```js
1480
1587
  * liveboardEmbed.trigger(HostEvent.Schedule)
@@ -1484,6 +1591,7 @@ export var HostEvent;
1484
1591
  HostEvent["Schedule"] = "subscription";
1485
1592
  /**
1486
1593
  * Trigger the **Manage schedule** action on an embedded Liveboard
1594
+ *
1487
1595
  * @example
1488
1596
  * ```js
1489
1597
  * liveboardEmbed.trigger(HostEvent.ScheduleList)
@@ -1492,16 +1600,22 @@ export var HostEvent;
1492
1600
  */
1493
1601
  HostEvent["SchedulesList"] = "schedule-list";
1494
1602
  /**
1495
- * Trigger the **Export TML** action on an embedded Liveboard.
1603
+ * Trigger the **Export TML** action on an embedded Liveboard or
1604
+ * Answer.
1605
+ *
1496
1606
  * @example
1497
1607
  * ```js
1498
1608
  * liveboardEmbed.trigger(HostEvent.ExportTML)
1499
1609
  * ```
1610
+ *
1500
1611
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1501
1612
  */
1502
1613
  HostEvent["ExportTML"] = "exportTSL";
1503
1614
  /**
1504
- * Trigger the **Edit TML** action on an embedded Liveboard.
1615
+ * Trigger the **Edit TML** action on an embedded Liveboard or
1616
+ * saved Answers in the full application embedding.
1617
+ *
1618
+ *
1505
1619
  * @example
1506
1620
  * ```js
1507
1621
  * liveboardEmbed.trigger(HostEvent.EditTML)
@@ -1511,6 +1625,7 @@ export var HostEvent;
1511
1625
  HostEvent["EditTML"] = "editTSL";
1512
1626
  /**
1513
1627
  * Trigger the **Update TML** action on an embedded Liveboard.
1628
+ *
1514
1629
  * @example
1515
1630
  * ```js
1516
1631
  * liveboardEmbed.trigger(HostEvent.UpdateTML)
@@ -1519,7 +1634,12 @@ export var HostEvent;
1519
1634
  */
1520
1635
  HostEvent["UpdateTML"] = "updateTSL";
1521
1636
  /**
1522
- * Trigger the **Download PDF** action on an embedded Liveboard.
1637
+ * Trigger the **Download PDF** action on an embedded Liveboard,
1638
+ * visualization or Answer.
1639
+ *
1640
+ * **NOTE**: The **Download** > **PDF** action is available on
1641
+ * visualizations and Answers if the data is in tabular format.
1642
+ *
1523
1643
  * @example
1524
1644
  * ```js
1525
1645
  * liveboardEmbed.trigger(HostEvent.DownloadAsPdf)
@@ -1530,6 +1650,7 @@ export var HostEvent;
1530
1650
  /**
1531
1651
  * Trigger the **Make a copy** action on a Liveboard, Search, or
1532
1652
  * visualization page.
1653
+ *
1533
1654
  * @example
1534
1655
  * ```js
1535
1656
  * liveboardEmbed.trigger(HostEvent.MakeACopy, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
@@ -1545,6 +1666,7 @@ export var HostEvent;
1545
1666
  HostEvent["MakeACopy"] = "makeACopy";
1546
1667
  /**
1547
1668
  * Trigger the **Delete** action for a Liveboard.
1669
+ *
1548
1670
  * @example
1549
1671
  * ```js
1550
1672
  * appEmbed.trigger(HostEvent.Remove)
@@ -1554,6 +1676,7 @@ export var HostEvent;
1554
1676
  HostEvent["Remove"] = "delete";
1555
1677
  /**
1556
1678
  * Trigger the **Explore** action on a visualization.
1679
+ *
1557
1680
  * @param - an object with `vizId` as a key
1558
1681
  * @example
1559
1682
  * ```js
@@ -1564,6 +1687,7 @@ export var HostEvent;
1564
1687
  HostEvent["Explore"] = "explore";
1565
1688
  /**
1566
1689
  * Trigger the **Create alert** action on a visualization
1690
+ *
1567
1691
  * @param - an object with `vizId` as a key
1568
1692
  * @example
1569
1693
  * ```js
@@ -1576,6 +1700,7 @@ export var HostEvent;
1576
1700
  HostEvent["CreateMonitor"] = "createMonitor";
1577
1701
  /**
1578
1702
  * Trigger the **Manage alerts** action on a visualization
1703
+ *
1579
1704
  * @param - an object with `vizId` as a key
1580
1705
  * @example
1581
1706
  * ```js
@@ -1587,11 +1712,14 @@ export var HostEvent;
1587
1712
  */
1588
1713
  HostEvent["ManageMonitor"] = "manageMonitor";
1589
1714
  /**
1590
- * Trigger the **Edit** action on a Liveboard or visualization
1715
+ * Trigger the **Edit** action on a Liveboard or a visualization
1716
+ * on a Liveboard.
1717
+ *
1718
+ * This event is not supported in visualization embed and search embed.
1719
+ *
1591
1720
  * @param - object - To trigger the action for a specific visualization
1592
1721
  * in Liveboard embed, pass in `vizId` as a key.
1593
- * Can be left undefined when embedding Search, full app, or
1594
- * a visualization.
1722
+ *
1595
1723
  * @example
1596
1724
  * ```js
1597
1725
  * liveboardEmbed.trigger(HostEvent.Edit)
@@ -1600,14 +1728,12 @@ export var HostEvent;
1600
1728
  * liveboardEmbed.trigger(HostEvent.Edit, {vizId:
1601
1729
  * '730496d6-6903-4601-937e-2c691821af3c'})
1602
1730
  * ```
1603
- * ```js
1604
- * vizEmbed.trigger((HostEvent.Edit)
1605
- * ```
1606
1731
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1607
1732
  */
1608
1733
  HostEvent["Edit"] = "edit";
1609
1734
  /**
1610
1735
  * Trigger the **Copy link** action on a Liveboard or visualization
1736
+ *
1611
1737
  * @param - object - to trigger the action for a
1612
1738
  * specific visualization in Liveboard embed, pass in `vizId` as a key
1613
1739
  * @example
@@ -1625,6 +1751,7 @@ export var HostEvent;
1625
1751
  HostEvent["CopyLink"] = "embedDocument";
1626
1752
  /**
1627
1753
  * Trigger the **Present** action on a Liveboard or visualization
1754
+ *
1628
1755
  * @param - object - to trigger the action for a specific visualization
1629
1756
  * in Liveboard embed, pass in `vizId` as a key
1630
1757
  * @example
@@ -1642,6 +1769,7 @@ export var HostEvent;
1642
1769
  HostEvent["Present"] = "present";
1643
1770
  /**
1644
1771
  * Get TML for the current search.
1772
+ *
1645
1773
  * @example
1646
1774
  * ```js
1647
1775
  * searchEmbed.trigger(HostEvent.GetTML).then((tml) => {
@@ -1656,6 +1784,7 @@ export var HostEvent;
1656
1784
  HostEvent["GetTML"] = "getTML";
1657
1785
  /**
1658
1786
  * Trigger the **Show underlying data** action on visualization or search
1787
+ *
1659
1788
  * @param - an object with vizId as a key
1660
1789
  * @example
1661
1790
  * ```js
@@ -1675,6 +1804,7 @@ export var HostEvent;
1675
1804
  * Trigger the **Delete** action for a visualization
1676
1805
  * in an embedded Liveboard, or a chart or table
1677
1806
  * generated from Search.
1807
+ *
1678
1808
  * @param - Liveboard embed takes an object with `vizId` as a key.
1679
1809
  * Can be left empty if embedding Search or visualization.
1680
1810
  * @example
@@ -1691,6 +1821,7 @@ export var HostEvent;
1691
1821
  /**
1692
1822
  * Trigger the **SpotIQ analyze** action on visualization
1693
1823
  * or search.
1824
+ *
1694
1825
  * @param - Liveboard embed takes `vizId` as a
1695
1826
  * key. Can be left undefined when embedding Search or
1696
1827
  * visualization.
@@ -1711,6 +1842,7 @@ export var HostEvent;
1711
1842
  /**
1712
1843
  * Trigger the **Download** action on charts in
1713
1844
  * the embedded view.
1845
+ *
1714
1846
  * @example
1715
1847
  * ```js
1716
1848
  * liveboardEmbed.trigger(HostEvent.Download, {vizId:
@@ -1727,6 +1859,7 @@ export var HostEvent;
1727
1859
  /**
1728
1860
  * Trigger the **Download** > **PNG** action on
1729
1861
  * charts in the embedded view.
1862
+ *
1730
1863
  * @example
1731
1864
  * ```js
1732
1865
  * liveboardEmbed.trigger(HostEvent.DownloadAsPng,
@@ -1742,6 +1875,7 @@ export var HostEvent;
1742
1875
  /**
1743
1876
  * Trigger the **Download** > **CSV** action on tables in
1744
1877
  * the embedded view.
1878
+ *
1745
1879
  * @example
1746
1880
  * ```js
1747
1881
  * liveboardEmbed.trigger(HostEvent.DownloadAsCsv, {vizId:
@@ -1759,6 +1893,7 @@ export var HostEvent;
1759
1893
  /**
1760
1894
  * Trigger the **Download** > **XLSX** action on tables
1761
1895
  * in the embedded view.
1896
+ *
1762
1897
  * @example
1763
1898
  * ```js
1764
1899
  * liveboardEmbed.trigger(HostEvent.DownloadAsXlsx, {vizId:
@@ -1776,6 +1911,7 @@ export var HostEvent;
1776
1911
  /**
1777
1912
  * Trigger the **Share** action on an embedded
1778
1913
  * Liveboard or Answer.
1914
+ *
1779
1915
  * @example
1780
1916
  * ```js
1781
1917
  * liveboardEmbed.trigger(HostEvent.Share)
@@ -1789,6 +1925,7 @@ export var HostEvent;
1789
1925
  /**
1790
1926
  * Trigger the **Save** action on a Liveboard or Answer.
1791
1927
  * Saves the changes.
1928
+ *
1792
1929
  * @example
1793
1930
  * ```js
1794
1931
  * liveboardEmbed.trigger(HostEvent.Save)
@@ -1802,6 +1939,7 @@ export var HostEvent;
1802
1939
  /**
1803
1940
  * Trigger the **Sync to Sheets** action on an embedded visualization or Answer
1804
1941
  * Sends data from an Answer or Liveboard visualization to a Google sheet.
1942
+ *
1805
1943
  * @param - an object with `vizId` as a key
1806
1944
  * @example
1807
1945
  * ```js
@@ -1818,6 +1956,7 @@ export var HostEvent;
1818
1956
  * Trigger the **Sync to Other Apps** action on an embedded visualization or Answer
1819
1957
  * Sends data from an Answer or Liveboard visualization to third-party apps such
1820
1958
  * as Slack, Salesforce, Microsoft Teams, ServiceNow and so on.
1959
+ *
1821
1960
  * @param - an object with vizId as a key
1822
1961
  * @example
1823
1962
  * ```js
@@ -1834,6 +1973,7 @@ export var HostEvent;
1834
1973
  * Trigger the **Manage pipelines** action on an embedded
1835
1974
  * visualization or Answer.
1836
1975
  * Allows users to manage ThoughtSpot Sync pipelines.
1976
+ *
1837
1977
  * @param - an object with `vizId` as a key
1838
1978
  * @example
1839
1979
  * ```js
@@ -1848,6 +1988,7 @@ export var HostEvent;
1848
1988
  HostEvent["ManagePipelines"] = "manage-pipeline";
1849
1989
  /**
1850
1990
  * Reset search operation on the Search or Answer page.
1991
+ *
1851
1992
  * @example
1852
1993
  * ```js
1853
1994
  * searchEmbed.trigger(HostEvent.ResetSearch)
@@ -1859,17 +2000,21 @@ export var HostEvent;
1859
2000
  */
1860
2001
  HostEvent["ResetSearch"] = "resetSearch";
1861
2002
  /**
1862
- * Get details of the visible and runtime filters applied on Liveboard.
2003
+ * Get details of filters applied on the Liveboard.
2004
+ * Returns arrays containing Liveboard filter and runtime filter elements.
2005
+ *
1863
2006
  * @example
1864
2007
  * ```js
1865
2008
  * const data = await liveboardEmbed.trigger(HostEvent.GetFilters);
1866
2009
  * console.log('data', data);
1867
2010
  * ```
2011
+ *
1868
2012
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
1869
2013
  */
1870
2014
  HostEvent["GetFilters"] = "getFilters";
1871
2015
  /**
1872
2016
  * Update one or several filters applied on a Liveboard.
2017
+ *
1873
2018
  * @param - `filter`: a single filter object containing column name,
1874
2019
  * filter operator, and values.
1875
2020
  * @param - `filters`: multiple filter objects with column name, filter operator,
@@ -1881,11 +2026,12 @@ export var HostEvent;
1881
2026
  *
1882
2027
  * `oper` - Filter operator, for example, EQ, IN, CONTAINS.
1883
2028
  * For information about the supported filter operators,
1884
- * see [Developer Documentation](https://developers.thoughtspot.com/docs/runtime-filters#rtOperator).
2029
+ * see link:https://developers.thoughtspot.com/docs/runtime-filters#rtOperator[Developer Documentation].
1885
2030
  *
1886
2031
  * `values` - An array of one or several values. The value definition on the
1887
2032
  * data type you choose to filter on. For a complete list of supported data types,
1888
- * see [Developer Documentation](https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types).
2033
+ * see link:https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types[Developer Documentation].
2034
+ *
1889
2035
  * @example
1890
2036
  * ```js
1891
2037
  *
@@ -1897,6 +2043,7 @@ export var HostEvent;
1897
2043
  * }
1898
2044
  * });
1899
2045
  * ```
2046
+ *
1900
2047
  * @example
1901
2048
  *
1902
2049
  * ```js
@@ -1918,11 +2065,13 @@ export var HostEvent;
1918
2065
  * }]
1919
2066
  * });
1920
2067
  * ```
2068
+ *
1921
2069
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
1922
2070
  */
1923
2071
  HostEvent["UpdateFilters"] = "updateFilters";
1924
2072
  /**
1925
2073
  * Get tab details for the current Liveboard.
2074
+ *
1926
2075
  * @example
1927
2076
  * ```js
1928
2077
  * liveboardEmbed.trigger(HostEvent.GetTabs).then((tabDetails) => {
@@ -1936,6 +2085,7 @@ export var HostEvent;
1936
2085
  HostEvent["GetTabs"] = "getTabs";
1937
2086
  /**
1938
2087
  * Set the visible tabs on a Liveboard.
2088
+ *
1939
2089
  * @param - an array of ids of tabs to show, the IDs not passed
1940
2090
  * will be hidden.
1941
2091
  * @example
@@ -1949,6 +2099,7 @@ export var HostEvent;
1949
2099
  HostEvent["SetVisibleTabs"] = "SetPinboardVisibleTabs";
1950
2100
  /**
1951
2101
  * Set the hidden tabs on a Liveboard.
2102
+ *
1952
2103
  * @param - an array of the IDs of the tabs to hide.
1953
2104
  * The IDs not passed will be shown.
1954
2105
  * @example
@@ -1962,6 +2113,7 @@ export var HostEvent;
1962
2113
  HostEvent["SetHiddenTabs"] = "SetPinboardHiddenTabs";
1963
2114
  /**
1964
2115
  * Updates the search query string for Natural Language Search operations.
2116
+ *
1965
2117
  * @param - `queryString`: Text string in Natural Language format
1966
2118
  * @param - `executeSearch`: Boolean to execute search and update search query
1967
2119
  * @example
@@ -1976,6 +2128,7 @@ export var HostEvent;
1976
2128
  HostEvent["UpdateSageQuery"] = "updateSageQuery";
1977
2129
  /**
1978
2130
  * Get the answer session for a Search / Visualization.
2131
+ *
1979
2132
  * @example
1980
2133
  * ```js
1981
2134
  * const {session} = await embed.trigger(
@@ -1988,6 +2141,7 @@ export var HostEvent;
1988
2141
  HostEvent["GetAnswerSession"] = "getAnswerSession";
1989
2142
  /**
1990
2143
  * Trigger Ask Sage for viz
2144
+ *
1991
2145
  * @example
1992
2146
  * ```js
1993
2147
  * liveboardEmbed.trigger(HostEvent.AskSage,
@@ -1998,6 +2152,7 @@ export var HostEvent;
1998
2152
  HostEvent["AskSage"] = "AskSage";
1999
2153
  /**
2000
2154
  * Trigger UpdateCrossFilter for Liveboard
2155
+ *
2001
2156
  * @example
2002
2157
  * ```js
2003
2158
  * liveboardEmbed.trigger(HostEvent.UpdateCrossFilter, {
@@ -2013,6 +2168,7 @@ export var HostEvent;
2013
2168
  HostEvent["UpdateCrossFilter"] = "UpdateCrossFilter";
2014
2169
  /**
2015
2170
  * Trigger ResetLiveboardPersonalisedView for Liveboard
2171
+ *
2016
2172
  * @example
2017
2173
  * ```js
2018
2174
  * liveboardEmbed.trigger(HostEvent.ResetLiveboardPersonalisedView);
@@ -2022,6 +2178,7 @@ export var HostEvent;
2022
2178
  HostEvent["ResetLiveboardPersonalisedView"] = "ResetLiveboardPersonalisedView";
2023
2179
  /**
2024
2180
  * Trigger CreateLiveboard for liveboard list page & Pin Modal
2181
+ *
2025
2182
  * @example
2026
2183
  * ```js
2027
2184
  * liveboardEmbed.trigger(HostEvent.CreateLiveboard);
@@ -2167,6 +2324,7 @@ export var Param;
2167
2324
  * specific actions in the embedded view, define the Action
2168
2325
  * enumeration members in the `disabledActions`, `visibleActions`,
2169
2326
  * or `hiddenActions` array.
2327
+ *
2170
2328
  * @example
2171
2329
  * ```js
2172
2330
  * const embed = new LiveboardEmbed('#embed-container', {
@@ -2192,6 +2350,7 @@ export var Action;
2192
2350
  /**
2193
2351
  * The **Save** action on an Answer or Liveboard.
2194
2352
  * Allows users to save the changes.
2353
+ *
2195
2354
  * @example
2196
2355
  * ```js
2197
2356
  * disabledActions: [Action.Save]
@@ -2208,7 +2367,9 @@ export var Action;
2208
2367
  Action["SaveUntitled"] = "saveUntitled";
2209
2368
  /**
2210
2369
  * The **Save as View** action on the Answer
2211
- * page. Saves an Answer as a View object.
2370
+ * page. Saves an Answer as a View object in the full
2371
+ * application embedding mode.
2372
+ *
2212
2373
  * @example
2213
2374
  * ```js
2214
2375
  * disabledActions: [Action.SaveAsView]
@@ -2222,6 +2383,7 @@ export var Action;
2222
2383
  * visualizations in the embedded Liveboard view.
2223
2384
  * In AppEmbed, the **Make a copy** action is available on both
2224
2385
  * Liveboards and visualizations.
2386
+ *
2225
2387
  * @example
2226
2388
  * ```js
2227
2389
  * disabledActions: [Action.MakeACopy]
@@ -2231,6 +2393,7 @@ export var Action;
2231
2393
  /**
2232
2394
  * The **Copy and Edit** action on a Liveboard.
2233
2395
  * This action is now replaced with `Action.MakeACopy`.
2396
+ *
2234
2397
  * @example
2235
2398
  * ```js
2236
2399
  * disabledActions: [Action.EditACopy]
@@ -2240,6 +2403,7 @@ export var Action;
2240
2403
  /**
2241
2404
  * The **Copy link** menu action on a Liveboard visualization.
2242
2405
  * Copies the visualization URL
2406
+ *
2243
2407
  * @example
2244
2408
  * ```js
2245
2409
  * disabledActions: [Action.CopyLink]
@@ -2253,6 +2417,7 @@ export var Action;
2253
2417
  /**
2254
2418
  * The **Schedule** menu action on a Liveboard.
2255
2419
  * Allows scheduling a Liveboard notification.
2420
+ *
2256
2421
  * @example
2257
2422
  * ```js
2258
2423
  * disabledActions: [Action.Schedule]
@@ -2262,6 +2427,7 @@ export var Action;
2262
2427
  /**
2263
2428
  * The **Manage schedules** menu action on a Liveboard.
2264
2429
  * Allows users to manage scheduled Liveboard jobs.
2430
+ *
2265
2431
  * @example
2266
2432
  * ```js
2267
2433
  * disabledActions: [Action.SchedulesList]
@@ -2271,6 +2437,7 @@ export var Action;
2271
2437
  /**
2272
2438
  * The **Share** action on a Liveboard, Answer, or Worksheet.
2273
2439
  * Allows users to share an object with other users and groups.
2440
+ *
2274
2441
  * @example
2275
2442
  * ```js
2276
2443
  * disabledActions: [Action.Share]
@@ -2280,6 +2447,7 @@ export var Action;
2280
2447
  /**
2281
2448
  * The **Add filter** action on a Liveboard and Search page.
2282
2449
  * Allows adding filters to Answers and visualizations on a Liveboard.
2450
+ *
2283
2451
  * @example
2284
2452
  * ```js
2285
2453
  * disabledActions: [Action.AddFilter]
@@ -2290,6 +2458,7 @@ export var Action;
2290
2458
  * The **Add Data Panel Objects** action on the data panel v2.
2291
2459
  * Allows to show action menu to add different objects (like
2292
2460
  * formulas, parameters) in data panel v2.
2461
+ *
2293
2462
  * @example
2294
2463
  * ```js
2295
2464
  * disabledActions: [Action.AddDataPanelObjects]
@@ -2301,6 +2470,7 @@ export var Action;
2301
2470
  * Filter configuration options on a Liveboard and Search page.
2302
2471
  * Allows configuring filter options when adding filters to a
2303
2472
  * Liveboard or Answer.
2473
+ *
2304
2474
  * @example
2305
2475
  * ```js
2306
2476
  * disabledActions: [Action.ConfigureFilter]
@@ -2311,6 +2481,7 @@ export var Action;
2311
2481
  /**
2312
2482
  * The **Choose sources** button on Search page.
2313
2483
  * Allows selecting data sources for search queries.
2484
+ *
2314
2485
  * @example
2315
2486
  * ```js
2316
2487
  * disabledActions: [Action.ChooseDataSources]
@@ -2320,6 +2491,7 @@ export var Action;
2320
2491
  /**
2321
2492
  * The **Create formula** action on a Search or Answer page.
2322
2493
  * Allows adding formulas to an Answer.
2494
+ *
2323
2495
  * @example
2324
2496
  * ```js
2325
2497
  * disabledActions: [Action.AddFormula]
@@ -2329,6 +2501,7 @@ export var Action;
2329
2501
  /**
2330
2502
  * The **Add parameter** action on a Liveboard or Answer.
2331
2503
  * Allows adding Parameters to a Liveboard or Answer.
2504
+ *
2332
2505
  * @example
2333
2506
  * ```js
2334
2507
  * disabledActions: [Action.AddParameter]
@@ -2338,6 +2511,7 @@ export var Action;
2338
2511
  /**
2339
2512
  * The **Add Column Set** action on a Answer.
2340
2513
  * Allows adding column sets to a Answer.
2514
+ *
2341
2515
  * @example
2342
2516
  * ```js
2343
2517
  * disabledActions: [Action.AddColumnSet]
@@ -2348,6 +2522,7 @@ export var Action;
2348
2522
  /**
2349
2523
  * The **Add Query Set** action on a Answer.
2350
2524
  * Allows adding query sets to a Answer.
2525
+ *
2351
2526
  * @example
2352
2527
  * ```js
2353
2528
  * disabledActions: [Action.AddQuerySet]
@@ -2362,6 +2537,7 @@ export var Action;
2362
2537
  /**
2363
2538
  * The **SpotIQ analyze** menu action on a visualization or
2364
2539
  * Answer page.
2540
+ *
2365
2541
  * @example
2366
2542
  * ```js
2367
2543
  * disabledActions: [Action.SpotIQAnalyze]
@@ -2384,6 +2560,7 @@ export var Action;
2384
2560
  /**
2385
2561
  * The **Show underlying data** menu action on a visualization or
2386
2562
  * Answer page.
2563
+ *
2387
2564
  * @example
2388
2565
  * ```js
2389
2566
  * disabledActions: [Action.ShowUnderlyingData]
@@ -2394,6 +2571,7 @@ export var Action;
2394
2571
  * The **Download** menu action on Liveboard visualizations
2395
2572
  * and Answers.
2396
2573
  * Allows downloading a visualization or Answer.
2574
+ *
2397
2575
  * @example
2398
2576
  * ```js
2399
2577
  * disabledActions: [Action.DownloadAsPng]
@@ -2404,6 +2582,7 @@ export var Action;
2404
2582
  * The **Download** > **PNG** menu action for charts on a Liveboard
2405
2583
  * or Answer page.
2406
2584
  * Downloads a visualization or Answer as a PNG file.
2585
+ *
2407
2586
  * @example
2408
2587
  * ```js
2409
2588
  * disabledActions: [Action.DownloadAsPng]
@@ -2412,11 +2591,13 @@ export var Action;
2412
2591
  Action["DownloadAsPng"] = "downloadAsPng";
2413
2592
  /**
2414
2593
  *
2415
- *The **Download PDF** action that downloads a Liveboard,
2416
- *visualization, or Answer as a PDF file.
2594
+ * The **Download PDF** action that downloads a Liveboard,
2595
+ * visualization, or Answer as a PDF file.
2596
+ *
2597
+ *
2598
+ * **NOTE**: The **Download** > **PDF** action is available on
2599
+ * visualizations and Answers if the data is in tabular format.
2417
2600
  *
2418
- ***NOTE**: The **Download** > **PDF** action is available on
2419
- *visualizations and Answers if the data is in tabular format.
2420
2601
  * @example
2421
2602
  * ```js
2422
2603
  * disabledActions: [Action.DownloadAsPdf]
@@ -2427,6 +2608,7 @@ export var Action;
2427
2608
  * The **Download** > **CSV** menu action for tables on a Liveboard
2428
2609
  * or Answer page.
2429
2610
  * Downloads a visualization or Answer in the XLSX format.
2611
+ *
2430
2612
  * @example
2431
2613
  * ```js
2432
2614
  * disabledActions: [Action.DownloadAsCsv]
@@ -2437,6 +2619,7 @@ export var Action;
2437
2619
  * The **Download** > **XLSX** menu action for tables on a Liveboard
2438
2620
  * or Answer page.
2439
2621
  * Downloads a visualization or Answer in the XLSX format.
2622
+ *
2440
2623
  * @example
2441
2624
  * ```js
2442
2625
  * disabledActions: [Action.DownloadAsXlsx]
@@ -2451,6 +2634,7 @@ export var Action;
2451
2634
  * The **Export TML** menu action on Liveboard, Answers
2452
2635
  * Worksheets and Data Connections page.
2453
2636
  * Exports an object as a TML file.
2637
+ *
2454
2638
  * @example
2455
2639
  * ```js
2456
2640
  * disabledActions: [Action.ExportTML]
@@ -2460,6 +2644,7 @@ export var Action;
2460
2644
  /**
2461
2645
  * The **Import TML** menu action for Liveboards and Answers.
2462
2646
  * Imports TML representation of ThoughtSpot objects.
2647
+ *
2463
2648
  * @example
2464
2649
  * ```js
2465
2650
  * disabledActions: [Action.ImportTML]
@@ -2469,6 +2654,7 @@ export var Action;
2469
2654
  /**
2470
2655
  * The **Update TML** menu action for Liveboards and Answers.
2471
2656
  * Update TML representation of ThoughtSpot objects.
2657
+ *
2472
2658
  * @example
2473
2659
  * ```js
2474
2660
  * disabledActions: [Action.UpdateTML]
@@ -2478,6 +2664,7 @@ export var Action;
2478
2664
  /**
2479
2665
  * The **Edit TML** menu action for Liveboards and Answers.
2480
2666
  * Opens the TML editor.
2667
+ *
2481
2668
  * @example
2482
2669
  * ```js
2483
2670
  * disabledActions: [Action.EditTML]
@@ -2488,6 +2675,7 @@ export var Action;
2488
2675
  * The **Present** menu action for Liveboards and Answers.
2489
2676
  * Allows presenting a Liveboard or visualization in
2490
2677
  * slideshow mode.
2678
+ *
2491
2679
  * @example
2492
2680
  * ```js
2493
2681
  * disabledActions: [Action.Present]
@@ -2497,6 +2685,7 @@ export var Action;
2497
2685
  /**
2498
2686
  * The tile resize options in the visualization menu.
2499
2687
  * Allows switching between different preset layouts.
2688
+ *
2500
2689
  * @example
2501
2690
  * ```js
2502
2691
  * disabledActions: [Action.ToggleSize]
@@ -2507,6 +2696,7 @@ export var Action;
2507
2696
  * The *Edit* action on the Liveboard page and in the
2508
2697
  * visualization menu.
2509
2698
  * Opens a Liveboard or visualization in edit mode.
2699
+ *
2510
2700
  * @example
2511
2701
  * ```js
2512
2702
  * disabledActions: [Action.Edit]
@@ -2515,6 +2705,7 @@ export var Action;
2515
2705
  Action["Edit"] = "edit";
2516
2706
  /**
2517
2707
  * The text edit option for Liveboard and visualization titles.
2708
+ *
2518
2709
  * @example
2519
2710
  * ```js
2520
2711
  * disabledActions: [Action.EditTitle]
@@ -2524,6 +2715,7 @@ export var Action;
2524
2715
  /**
2525
2716
  * The **Delete** menu action on Liveboards and visualizations.
2526
2717
  * Deletes a Liveboard or a visualization from a Liveboard.
2718
+ *
2527
2719
  * @example
2528
2720
  * ```js
2529
2721
  * disabledActions: [Action.Remove]
@@ -2555,6 +2747,7 @@ export var Action;
2555
2747
  * Displays details such as the name, description, and
2556
2748
  * author of the Liveboard, and timestamp of Liveboard creation
2557
2749
  * and update.
2750
+ *
2558
2751
  * @example
2559
2752
  * ```js
2560
2753
  * disabledActions: [Action.LiveboardInfo]
@@ -2572,6 +2765,7 @@ export var Action;
2572
2765
  /**
2573
2766
  * The **Pin** menu action on an Answer or
2574
2767
  * Search results page.
2768
+ *
2575
2769
  * @example
2576
2770
  * ```js
2577
2771
  * disabledActions: [Action.Pin]
@@ -2584,6 +2778,7 @@ export var Action;
2584
2778
  Action["AnalysisInfo"] = "analysisInfo";
2585
2779
  /**
2586
2780
  * The **Schedule** menu action on a Liveboard.
2781
+ *
2587
2782
  * @example
2588
2783
  * ```js
2589
2784
  * disabledActions: [Action.Subscription]
@@ -2592,6 +2787,7 @@ export var Action;
2592
2787
  Action["Subscription"] = "subscription";
2593
2788
  /**
2594
2789
  * The **Explore** action on Liveboard visualizations
2790
+ *
2595
2791
  * @example
2596
2792
  * ```js
2597
2793
  * disabledActions: [Action.Explore]
@@ -2601,6 +2797,7 @@ export var Action;
2601
2797
  /**
2602
2798
  * The action to include data points on a drilled-down Answer
2603
2799
  * or visualization
2800
+ *
2604
2801
  * @example
2605
2802
  * ```js
2606
2803
  * disabledActions: [Action.DrillInclude]
@@ -2610,6 +2807,7 @@ export var Action;
2610
2807
  /**
2611
2808
  * The action to exclude data points on a drilled-down Answer
2612
2809
  * or visualization
2810
+ *
2613
2811
  * @example
2614
2812
  * ```js
2615
2813
  * disabledActions: [Action.DrillInclude]
@@ -2620,6 +2818,7 @@ export var Action;
2620
2818
  * The **Copy to clipboard** menu action on tables in an Answer
2621
2819
  * or Liveboard.
2622
2820
  * Copies the selected data point.
2821
+ *
2623
2822
  * @example
2624
2823
  * ```js
2625
2824
  * disabledActions: [Action.CopyToClipboard]
@@ -2637,6 +2836,7 @@ export var Action;
2637
2836
  * The **Drill down** menu action on Answers and Liveboard
2638
2837
  * visualizations.
2639
2838
  * Allows drilling down to a specific data point on a chart or table.
2839
+ *
2640
2840
  * @example
2641
2841
  * ```js
2642
2842
  * disabledActions: [Action.DrillDown]
@@ -2646,6 +2846,7 @@ export var Action;
2646
2846
  /**
2647
2847
  * The request access action on Liveboards.
2648
2848
  * Allows users with view permissions to request edit access to a Liveboard.
2849
+ *
2649
2850
  * @example
2650
2851
  * ```js
2651
2852
  * disabledActions: [Action.RequestAccess]
@@ -2655,6 +2856,7 @@ export var Action;
2655
2856
  /**
2656
2857
  * The **Query visualizer** and **Query SQL** buttons in Query details panel
2657
2858
  * of the Answer page
2859
+ *
2658
2860
  * @example
2659
2861
  * ```js
2660
2862
  * disabledActions: [Action.QueryDetailsButtons]
@@ -2662,7 +2864,9 @@ export var Action;
2662
2864
  */
2663
2865
  Action["QueryDetailsButtons"] = "queryDetailsButtons";
2664
2866
  /**
2665
- * The **Delete** action for Answers.
2867
+ * The **Delete** action for Answers in the full application
2868
+ * embedding mode.
2869
+ *
2666
2870
  * @example
2667
2871
  * ```js
2668
2872
  * disabledActions: [Action.AnswerDelete]
@@ -2672,6 +2876,7 @@ export var Action;
2672
2876
  Action["AnswerDelete"] = "onDeleteAnswer";
2673
2877
  /**
2674
2878
  * The Chart switcher icon on Answer and visualization pages.
2879
+ *
2675
2880
  * @example
2676
2881
  * ```js
2677
2882
  * disabledActions: [Action.AnswerChartSwitcher]
@@ -2681,6 +2886,7 @@ export var Action;
2681
2886
  Action["AnswerChartSwitcher"] = "answerChartSwitcher";
2682
2887
  /**
2683
2888
  * Favorites icon (*) on Answers, Liveboard, and Data pages
2889
+ *
2684
2890
  * @example
2685
2891
  * ```js
2686
2892
  * disabledActions: [Action.AddToFavorites]
@@ -2690,6 +2896,7 @@ export var Action;
2690
2896
  Action["AddToFavorites"] = "addToFavorites";
2691
2897
  /**
2692
2898
  * The edit icon on Liveboards (Classic experience).
2899
+ *
2693
2900
  * @example
2694
2901
  * ```js
2695
2902
  * disabledActions: [Action.EditDetails]
@@ -2699,6 +2906,7 @@ export var Action;
2699
2906
  Action["EditDetails"] = "editDetails";
2700
2907
  /**
2701
2908
  * The Create alert action on KPI charts.
2909
+ *
2702
2910
  * @example
2703
2911
  * ```js
2704
2912
  * disabledActions: [Action.CreateMonitor ]
@@ -2717,6 +2925,7 @@ export var Action;
2717
2925
  /**
2718
2926
  * The **Sync to sheets** action on Answers and Liveboard visualizations.
2719
2927
  * Allows sending data to a Google Sheet.
2928
+ *
2720
2929
  * @example
2721
2930
  * ```js
2722
2931
  * disabledActions: [Action.SyncToSheets]
@@ -2728,6 +2937,7 @@ export var Action;
2728
2937
  * The **Sync to other apps** action on Answers and Liveboard visualizations.
2729
2938
  * Allows sending data to third-party apps like Slack, Salesforce,
2730
2939
  * Microsoft Teams, and so on.
2940
+ *
2731
2941
  * @example
2732
2942
  * ```js
2733
2943
  * disabledActions: [Action.SyncToOtherApps]
@@ -2738,6 +2948,7 @@ export var Action;
2738
2948
  /**
2739
2949
  * The **Manage pipelines** action on Answers and Liveboard visualizations.
2740
2950
  * Allows users to manage data sync pipelines to third-party apps.
2951
+ *
2741
2952
  * @example
2742
2953
  * ```js
2743
2954
  * disabledActions: [Action.SyncToOtherApps]
@@ -2748,6 +2959,7 @@ export var Action;
2748
2959
  /**
2749
2960
  * The **Filter** action on Liveboard visualizations.
2750
2961
  * Allows users to apply cross-filters on a Liveboard.
2962
+ *
2751
2963
  * @example
2752
2964
  * ```js
2753
2965
  * disabledActions: [Action.CrossFilter]
@@ -2758,6 +2970,7 @@ export var Action;
2758
2970
  /**
2759
2971
  * The **Sync to Slack** action on Liveboard visualizations.
2760
2972
  * Allows sending data to third-party apps Slack
2973
+ *
2761
2974
  * @example
2762
2975
  * ```js
2763
2976
  * disabledActions: [Action.SyncToSlack]
@@ -2768,6 +2981,7 @@ export var Action;
2768
2981
  /**
2769
2982
  * The **Sync to Teams** action on Liveboard visualizations.
2770
2983
  * Allows sending data to third-party apps Team
2984
+ *
2771
2985
  * @example
2772
2986
  * ```js
2773
2987
  * disabledActions: [Action.SyncToTeams]
@@ -2779,6 +2993,7 @@ export var Action;
2779
2993
  * The **Remove** action that appears when cross filters are applied
2780
2994
  * on a Liveboard.
2781
2995
  * Removes filters applied o a visualization.
2996
+ *
2782
2997
  * @example
2783
2998
  * ```js
2784
2999
  * disabledActions: [Action.RemoveCrossFilter]
@@ -2790,6 +3005,7 @@ export var Action;
2790
3005
  * The **Aggregate** option in the chart axis or the
2791
3006
  * table column customization menu.
2792
3007
  * Provides aggregation options to analyze the data on a chart or table.
3008
+ *
2793
3009
  * @example
2794
3010
  * ```js
2795
3011
  * disabledActions: [Action.AxisMenuAggregate]
@@ -2801,6 +3017,7 @@ export var Action;
2801
3017
  * The **Time bucket** option in the chart axis or table column
2802
3018
  * customization menu.
2803
3019
  * Allows defining time metric for date comparison.
3020
+ *
2804
3021
  * @example
2805
3022
  * ```js
2806
3023
  * disabledActions: [Action.AxisMenuTimeBucket]
@@ -2811,6 +3028,7 @@ export var Action;
2811
3028
  /**
2812
3029
  * The **Filter** action in the chart axis or table column
2813
3030
  * customization menu.
3031
+ *
2814
3032
  * @example
2815
3033
  * ```js
2816
3034
  * disabledActions: [Action.AxisMenuFilter]
@@ -2822,6 +3040,7 @@ export var Action;
2822
3040
  * The **Conditional formatting** action on chart or table.
2823
3041
  * Allows adding rules for conditional formatting of data
2824
3042
  * points on a chart or table.
3043
+ *
2825
3044
  * @example
2826
3045
  * ```js
2827
3046
  * disabledActions: [Action.AxisMenuConditionalFormat]
@@ -2833,6 +3052,7 @@ export var Action;
2833
3052
  * The **Sort** menu action on a table or chart axis
2834
3053
  * Sorts data in ascending or descending order.
2835
3054
  * Allows adding, editing, or removing filters.
3055
+ *
2836
3056
  * @example
2837
3057
  * ```js
2838
3058
  * disabledActions: [Action.AxisMenuConditionalFormat]
@@ -2845,6 +3065,7 @@ export var Action;
2845
3065
  * customization menu.
2846
3066
  * Allows grouping data points if the axes use the same
2847
3067
  * unit of measurement and a similar scale.
3068
+ *
2848
3069
  * @example
2849
3070
  * ```js
2850
3071
  * disabledActions: [Action.AxisMenuGroup]
@@ -2856,6 +3077,7 @@ export var Action;
2856
3077
  * The **Position** option in the axis customization menu.
2857
3078
  * Allows changing the position of the axis to the
2858
3079
  * left or right side of the chart.
3080
+ *
2859
3081
  * @example
2860
3082
  * ```js
2861
3083
  * disabledActions: [Action.AxisMenuPosition]
@@ -2866,6 +3088,7 @@ export var Action;
2866
3088
  /**
2867
3089
  * The **Rename** option in the chart axis or table column customization menu.
2868
3090
  * Renames the axis label on a chart or the column header on a table.
3091
+ *
2869
3092
  * @example
2870
3093
  * ```js
2871
3094
  * disabledActions: [Action.AxisMenuRename]
@@ -2877,6 +3100,7 @@ export var Action;
2877
3100
  * The **Edit** action in the axis customization menu.
2878
3101
  * Allows editing the axis name, position, minimum and maximum values,
2879
3102
  * and format of a column.
3103
+ *
2880
3104
  * @example
2881
3105
  * ```js
2882
3106
  * disabledActions: [Action.AxisMenuEdit]
@@ -2887,6 +3111,7 @@ export var Action;
2887
3111
  /**
2888
3112
  * The **Number format** action to customize the format of
2889
3113
  * the data labels on a chart or table.
3114
+ *
2890
3115
  * @example
2891
3116
  * ```js
2892
3117
  * disabledActions: [Action.AxisMenuNumberFormat]
@@ -2897,6 +3122,7 @@ export var Action;
2897
3122
  /**
2898
3123
  * The **Text wrapping** action on a table.
2899
3124
  * Wraps or clips column text on a table.
3125
+ *
2900
3126
  * @example
2901
3127
  * ```js
2902
3128
  * disabledActions: [Action.AxisMenuTextWrapping]
@@ -2909,6 +3135,7 @@ export var Action;
2909
3135
  * customization menu.
2910
3136
  * Removes the data labels from a chart or the column of a
2911
3137
  * table visualization.
3138
+ *
2912
3139
  * @example
2913
3140
  * ```js
2914
3141
  * disabledActions: [Action.AxisMenuRemove]
@@ -2923,6 +3150,7 @@ export var Action;
2923
3150
  /**
2924
3151
  * The **Rename** menu action on Liveboards and visualizations.
2925
3152
  * Allows renaming a Liveboard or visualization.
3153
+ *
2926
3154
  * @example
2927
3155
  * ```js
2928
3156
  * disabledActions: [Action.RenameModalTitleDescription]
@@ -2966,6 +3194,7 @@ export var Action;
2966
3194
  /**
2967
3195
  * The **Move to Tab** menu action on visualizations in liveboard edit mode.
2968
3196
  * Allows moving a visualization to a different tab.
3197
+ *
2969
3198
  * @example
2970
3199
  * ```js
2971
3200
  * disabledActions: [Action.MoveToTab]
@@ -2974,6 +3203,7 @@ export var Action;
2974
3203
  Action["MoveToTab"] = "onContainerMove";
2975
3204
  /**
2976
3205
  * The **Manage Alertsb** menu action on KPI visualizations.
3206
+ *
2977
3207
  * @example
2978
3208
  * ```js
2979
3209
  * disabledActions: [Action.ManageMonitor]
@@ -2982,6 +3212,7 @@ export var Action;
2982
3212
  Action["ManageMonitor"] = "ManageMonitor";
2983
3213
  /**
2984
3214
  * Action ID for Liveboard Personalised Views dropdown
3215
+ *
2985
3216
  * @example
2986
3217
  * ```js
2987
3218
  * disabledActions: [Action.PersonalisedViewsDropdown]
@@ -2991,6 +3222,7 @@ export var Action;
2991
3222
  Action["PersonalisedViewsDropdown"] = "personalisedViewsDropdown";
2992
3223
  /**
2993
3224
  * Action ID for Liveboard Users ( Recently Visited / social proof )
3225
+ *
2994
3226
  * @example
2995
3227
  * ```js
2996
3228
  * disabledActions: [Action.LiveboardUsers]
@@ -3002,6 +3234,7 @@ export var Action;
3002
3234
  * Action ID for the Parent TML action
3003
3235
  * The parent action **TML** must be included to access TML-related options
3004
3236
  * within the cascading menu (specific to the answer page)
3237
+ *
3005
3238
  * @example
3006
3239
  * ```js
3007
3240
  * // to include specific TML actions
@@ -3013,11 +3246,13 @@ export var Action;
3013
3246
  * hiddenAction: [Action.TML] // hide all TML actions
3014
3247
  * disabledActions: [Action.TML] // to disable all TML actions
3015
3248
  * ```
3249
+ *
3016
3250
  * @version SDK : 1.28.3 | Thoughtspot: 9.12.0.cl
3017
3251
  */
3018
3252
  Action["TML"] = "tml";
3019
3253
  /**
3020
3254
  * Action ID for to hide Verified Liveboard Banner
3255
+ *
3021
3256
  * @example
3022
3257
  * ```js
3023
3258
  * hiddenAction: [Action.VerifiedLiveboard]
@@ -3027,6 +3262,7 @@ export var Action;
3027
3262
  Action["VerifiedLiveboard"] = "verifiedLiveboard";
3028
3263
  /**
3029
3264
  * Action ID for ask sage button
3265
+ *
3030
3266
  * @example
3031
3267
  * ```js
3032
3268
  * hiddenAction: [Action.AskAi]
@@ -3036,6 +3272,7 @@ export var Action;
3036
3272
  Action["AskAi"] = "AskAi";
3037
3273
  /**
3038
3274
  * The **Add KPI to Watchlist** action on Home page watchlist.
3275
+ *
3039
3276
  * @example
3040
3277
  * ```js
3041
3278
  * disabledActions: [Action.AddToWatchlist]
@@ -3045,6 +3282,7 @@ export var Action;
3045
3282
  Action["AddToWatchlist"] = "addToWatchlist";
3046
3283
  /**
3047
3284
  * The **Remove from watchlist** menu action on KPI watchlist.
3285
+ *
3048
3286
  * @example
3049
3287
  * ```js
3050
3288
  * disabledActions: [Action.RemoveFromWatchlist]
@@ -3054,6 +3292,7 @@ export var Action;
3054
3292
  Action["RemoveFromWatchlist"] = "removeFromWatchlist";
3055
3293
  /**
3056
3294
  * The **Organise Favourites** action on Homepage Favourite Module.
3295
+ *
3057
3296
  * @example
3058
3297
  * ```js
3059
3298
  * disabledActions: [Action.OrganiseFavourites]
@@ -3063,6 +3302,7 @@ export var Action;
3063
3302
  Action["OrganiseFavourites"] = "organiseFavourites";
3064
3303
  /**
3065
3304
  * Action ID for AI Highlights button
3305
+ *
3066
3306
  * @example
3067
3307
  * ```js
3068
3308
  * hiddenAction: [Action.AIHighlights]
@@ -3090,6 +3330,7 @@ export var LogLevel;
3090
3330
  (function (LogLevel) {
3091
3331
  /**
3092
3332
  * No logs will be logged in the console.
3333
+ *
3093
3334
  * @example
3094
3335
  * ```js
3095
3336
  * init({
@@ -3102,6 +3343,7 @@ export var LogLevel;
3102
3343
  LogLevel["SILENT"] = "SILENT";
3103
3344
  /**
3104
3345
  * Only ERROR logs will be logged in the console.
3346
+ *
3105
3347
  * @example
3106
3348
  * ```js
3107
3349
  * init({
@@ -3114,6 +3356,7 @@ export var LogLevel;
3114
3356
  LogLevel["ERROR"] = "ERROR";
3115
3357
  /**
3116
3358
  * Only WARN and ERROR logs will be logged in the console.
3359
+ *
3117
3360
  * @example
3118
3361
  * ```js
3119
3362
  * init({
@@ -3126,6 +3369,7 @@ export var LogLevel;
3126
3369
  LogLevel["WARN"] = "WARN";
3127
3370
  /**
3128
3371
  * Only INFO, WARN, and ERROR logs will be logged in the console.
3372
+ *
3129
3373
  * @example
3130
3374
  * ```js
3131
3375
  * init({
@@ -3138,6 +3382,7 @@ export var LogLevel;
3138
3382
  LogLevel["INFO"] = "INFO";
3139
3383
  /**
3140
3384
  * Only DEBUG, INFO, WARN, and ERROR logs will be logged in the console.
3385
+ *
3141
3386
  * @example
3142
3387
  * ```js
3143
3388
  * init({
@@ -3150,6 +3395,7 @@ export var LogLevel;
3150
3395
  LogLevel["DEBUG"] = "DEBUG";
3151
3396
  /**
3152
3397
  * All logs will be logged in the console.
3398
+ *
3153
3399
  * @example
3154
3400
  * ```js
3155
3401
  * init({