@thoughtspot/visual-embed-sdk 1.26.2 → 1.27.0-logger

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 (304) hide show
  1. package/README.md +1 -1
  2. package/cjs/package.json +1 -1
  3. package/cjs/src/auth.d.ts +4 -4
  4. package/cjs/src/auth.d.ts.map +1 -1
  5. package/cjs/src/auth.js +15 -8
  6. package/cjs/src/auth.js.map +1 -1
  7. package/cjs/src/embed/app.d.ts +14 -14
  8. package/cjs/src/embed/app.d.ts.map +1 -1
  9. package/cjs/src/embed/app.js +4 -3
  10. package/cjs/src/embed/app.js.map +1 -1
  11. package/cjs/src/embed/app.spec.js +5 -4
  12. package/cjs/src/embed/app.spec.js.map +1 -1
  13. package/cjs/src/embed/base.d.ts.map +1 -1
  14. package/cjs/src/embed/base.js +5 -2
  15. package/cjs/src/embed/base.js.map +1 -1
  16. package/cjs/src/embed/base.spec.js +3 -2
  17. package/cjs/src/embed/base.spec.js.map +1 -1
  18. package/cjs/src/embed/embed.spec.js +2 -1
  19. package/cjs/src/embed/embed.spec.js.map +1 -1
  20. package/cjs/src/embed/embedConfig.d.ts +2 -1
  21. package/cjs/src/embed/embedConfig.d.ts.map +1 -1
  22. package/cjs/src/embed/embedConfig.js +2 -0
  23. package/cjs/src/embed/embedConfig.js.map +1 -1
  24. package/cjs/src/embed/events.spec.js +3 -2
  25. package/cjs/src/embed/events.spec.js.map +1 -1
  26. package/cjs/src/embed/liveboard.d.ts +28 -23
  27. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  28. package/cjs/src/embed/liveboard.js +4 -3
  29. package/cjs/src/embed/liveboard.js.map +1 -1
  30. package/cjs/src/embed/sage.d.ts +47 -29
  31. package/cjs/src/embed/sage.d.ts.map +1 -1
  32. package/cjs/src/embed/sage.js +1 -1
  33. package/cjs/src/embed/sage.js.map +1 -1
  34. package/cjs/src/embed/search-bar.d.ts +22 -6
  35. package/cjs/src/embed/search-bar.d.ts.map +1 -1
  36. package/cjs/src/embed/search-bar.js.map +1 -1
  37. package/cjs/src/embed/search.d.ts +33 -18
  38. package/cjs/src/embed/search.d.ts.map +1 -1
  39. package/cjs/src/embed/search.js +4 -1
  40. package/cjs/src/embed/search.js.map +1 -1
  41. package/cjs/src/embed/search.spec.js +10 -0
  42. package/cjs/src/embed/search.spec.js.map +1 -1
  43. package/cjs/src/embed/ts-embed.d.ts.map +1 -1
  44. package/cjs/src/embed/ts-embed.js +37 -17
  45. package/cjs/src/embed/ts-embed.js.map +1 -1
  46. package/cjs/src/embed/ts-embed.spec.js +141 -26
  47. package/cjs/src/embed/ts-embed.spec.js.map +1 -1
  48. package/cjs/src/index.d.ts +2 -2
  49. package/cjs/src/index.d.ts.map +1 -1
  50. package/cjs/src/index.js +2 -1
  51. package/cjs/src/index.js.map +1 -1
  52. package/cjs/src/mixpanel-service.d.ts.map +1 -1
  53. package/cjs/src/mixpanel-service.js +2 -1
  54. package/cjs/src/mixpanel-service.js.map +1 -1
  55. package/cjs/src/react/index.spec.js +2 -14
  56. package/cjs/src/react/index.spec.js.map +1 -1
  57. package/cjs/src/types.d.ts +751 -242
  58. package/cjs/src/types.d.ts.map +1 -1
  59. package/cjs/src/types.js +665 -176
  60. package/cjs/src/types.js.map +1 -1
  61. package/cjs/src/utils/authService/authService.d.ts.map +1 -1
  62. package/cjs/src/utils/authService/authService.js +3 -2
  63. package/cjs/src/utils/authService/authService.js.map +1 -1
  64. package/cjs/src/utils/authService/authService.spec.js +3 -2
  65. package/cjs/src/utils/authService/authService.spec.js.map +1 -1
  66. package/cjs/src/utils/authService/tokenizedAuthService.d.ts.map +1 -1
  67. package/cjs/src/utils/authService/tokenizedAuthService.js +2 -1
  68. package/cjs/src/utils/authService/tokenizedAuthService.js.map +1 -1
  69. package/cjs/src/utils/graphql/answerService/answerService.d.ts +2 -4
  70. package/cjs/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  71. package/cjs/src/utils/graphql/answerService/answerService.js +2 -4
  72. package/cjs/src/utils/graphql/answerService/answerService.js.map +1 -1
  73. package/cjs/src/utils/logger.d.ts +4 -14
  74. package/cjs/src/utils/logger.d.ts.map +1 -1
  75. package/cjs/src/utils/logger.js +37 -41
  76. package/cjs/src/utils/logger.js.map +1 -1
  77. package/cjs/src/utils/logger.spec.d.ts +25 -0
  78. package/cjs/src/utils/logger.spec.d.ts.map +1 -0
  79. package/cjs/src/utils/logger.spec.js +80 -0
  80. package/cjs/src/utils/logger.spec.js.map +1 -0
  81. package/cjs/src/utils/processData.d.ts +6 -0
  82. package/cjs/src/utils/processData.d.ts.map +1 -1
  83. package/cjs/src/utils/processData.js +5 -1
  84. package/cjs/src/utils/processData.js.map +1 -1
  85. package/cjs/src/utils/processTrigger.js +1 -1
  86. package/dist/src/auth.d.ts +4 -4
  87. package/dist/src/auth.d.ts.map +1 -1
  88. package/dist/src/embed/app.d.ts +14 -14
  89. package/dist/src/embed/app.d.ts.map +1 -1
  90. package/dist/src/embed/base.d.ts.map +1 -1
  91. package/dist/src/embed/embedConfig.d.ts +2 -1
  92. package/dist/src/embed/embedConfig.d.ts.map +1 -1
  93. package/dist/src/embed/liveboard.d.ts +28 -23
  94. package/dist/src/embed/liveboard.d.ts.map +1 -1
  95. package/dist/src/embed/sage.d.ts +47 -29
  96. package/dist/src/embed/sage.d.ts.map +1 -1
  97. package/dist/src/embed/search-bar.d.ts +22 -6
  98. package/dist/src/embed/search-bar.d.ts.map +1 -1
  99. package/dist/src/embed/search.d.ts +33 -18
  100. package/dist/src/embed/search.d.ts.map +1 -1
  101. package/dist/src/embed/ts-embed.d.ts.map +1 -1
  102. package/dist/src/index.d.ts +2 -2
  103. package/dist/src/index.d.ts.map +1 -1
  104. package/dist/src/mixpanel-service.d.ts.map +1 -1
  105. package/dist/src/types.d.ts +751 -242
  106. package/dist/src/types.d.ts.map +1 -1
  107. package/dist/src/utils/authService/authService.d.ts.map +1 -1
  108. package/dist/src/utils/authService/tokenizedAuthService.d.ts.map +1 -1
  109. package/dist/src/utils/graphql/answerService/answerService.d.ts +2 -4
  110. package/dist/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  111. package/dist/src/utils/logger.d.ts +4 -14
  112. package/dist/src/utils/logger.d.ts.map +1 -1
  113. package/dist/src/utils/logger.spec.d.ts +25 -0
  114. package/dist/src/utils/logger.spec.d.ts.map +1 -0
  115. package/dist/src/utils/processData.d.ts +6 -0
  116. package/dist/src/utils/processData.d.ts.map +1 -1
  117. package/dist/tsembed-react.es.js +18186 -404
  118. package/dist/tsembed-react.js +18185 -403
  119. package/dist/tsembed.es.js +18336 -545
  120. package/dist/tsembed.js +32457 -14667
  121. package/dist/visual-embed-sdk-react-full.d.ts +903 -341
  122. package/dist/visual-embed-sdk-react.d.ts +903 -341
  123. package/dist/visual-embed-sdk.d.ts +903 -341
  124. package/lib/package.json +1 -1
  125. package/lib/src/auth.d.ts +4 -4
  126. package/lib/src/auth.d.ts.map +1 -1
  127. package/lib/src/auth.js +15 -8
  128. package/lib/src/auth.js.map +1 -1
  129. package/lib/src/embed/app.d.ts +14 -14
  130. package/lib/src/embed/app.d.ts.map +1 -1
  131. package/lib/src/embed/app.js +4 -3
  132. package/lib/src/embed/app.js.map +1 -1
  133. package/lib/src/embed/app.spec.js +5 -4
  134. package/lib/src/embed/app.spec.js.map +1 -1
  135. package/lib/src/embed/base.d.ts.map +1 -1
  136. package/lib/src/embed/base.js +6 -3
  137. package/lib/src/embed/base.js.map +1 -1
  138. package/lib/src/embed/base.spec.js +3 -2
  139. package/lib/src/embed/base.spec.js.map +1 -1
  140. package/lib/src/embed/embed.spec.js +2 -1
  141. package/lib/src/embed/embed.spec.js.map +1 -1
  142. package/lib/src/embed/embedConfig.d.ts +2 -1
  143. package/lib/src/embed/embedConfig.d.ts.map +1 -1
  144. package/lib/src/embed/embedConfig.js +2 -0
  145. package/lib/src/embed/embedConfig.js.map +1 -1
  146. package/lib/src/embed/events.spec.js +3 -2
  147. package/lib/src/embed/events.spec.js.map +1 -1
  148. package/lib/src/embed/liveboard.d.ts +28 -23
  149. package/lib/src/embed/liveboard.d.ts.map +1 -1
  150. package/lib/src/embed/liveboard.js +4 -3
  151. package/lib/src/embed/liveboard.js.map +1 -1
  152. package/lib/src/embed/sage.d.ts +47 -29
  153. package/lib/src/embed/sage.d.ts.map +1 -1
  154. package/lib/src/embed/sage.js +1 -1
  155. package/lib/src/embed/sage.js.map +1 -1
  156. package/lib/src/embed/search-bar.d.ts +22 -6
  157. package/lib/src/embed/search-bar.d.ts.map +1 -1
  158. package/lib/src/embed/search-bar.js.map +1 -1
  159. package/lib/src/embed/search.d.ts +33 -18
  160. package/lib/src/embed/search.d.ts.map +1 -1
  161. package/lib/src/embed/search.js +4 -1
  162. package/lib/src/embed/search.js.map +1 -1
  163. package/lib/src/embed/search.spec.js +10 -0
  164. package/lib/src/embed/search.spec.js.map +1 -1
  165. package/lib/src/embed/ts-embed.d.ts.map +1 -1
  166. package/lib/src/embed/ts-embed.js +38 -18
  167. package/lib/src/embed/ts-embed.js.map +1 -1
  168. package/lib/src/embed/ts-embed.spec.js +141 -26
  169. package/lib/src/embed/ts-embed.spec.js.map +1 -1
  170. package/lib/src/index.d.ts +2 -2
  171. package/lib/src/index.d.ts.map +1 -1
  172. package/lib/src/index.js +2 -2
  173. package/lib/src/index.js.map +1 -1
  174. package/lib/src/mixpanel-service.d.ts.map +1 -1
  175. package/lib/src/mixpanel-service.js +2 -1
  176. package/lib/src/mixpanel-service.js.map +1 -1
  177. package/lib/src/react/index.spec.js +2 -14
  178. package/lib/src/react/index.spec.js.map +1 -1
  179. package/lib/src/types.d.ts +751 -242
  180. package/lib/src/types.d.ts.map +1 -1
  181. package/lib/src/types.js +664 -175
  182. package/lib/src/types.js.map +1 -1
  183. package/lib/src/utils/authService/authService.d.ts.map +1 -1
  184. package/lib/src/utils/authService/authService.js +3 -2
  185. package/lib/src/utils/authService/authService.js.map +1 -1
  186. package/lib/src/utils/authService/authService.spec.js +3 -2
  187. package/lib/src/utils/authService/authService.spec.js.map +1 -1
  188. package/lib/src/utils/authService/tokenizedAuthService.d.ts.map +1 -1
  189. package/lib/src/utils/authService/tokenizedAuthService.js +2 -1
  190. package/lib/src/utils/authService/tokenizedAuthService.js.map +1 -1
  191. package/lib/src/utils/graphql/answerService/answerService.d.ts +2 -4
  192. package/lib/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  193. package/lib/src/utils/graphql/answerService/answerService.js +2 -4
  194. package/lib/src/utils/graphql/answerService/answerService.js.map +1 -1
  195. package/lib/src/utils/logger.d.ts +4 -14
  196. package/lib/src/utils/logger.d.ts.map +1 -1
  197. package/lib/src/utils/logger.js +23 -25
  198. package/lib/src/utils/logger.js.map +1 -1
  199. package/lib/src/utils/logger.spec.d.ts +25 -0
  200. package/lib/src/utils/logger.spec.d.ts.map +1 -0
  201. package/lib/src/utils/logger.spec.js +57 -0
  202. package/lib/src/utils/logger.spec.js.map +1 -0
  203. package/lib/src/utils/processData.d.ts +6 -0
  204. package/lib/src/utils/processData.d.ts.map +1 -1
  205. package/lib/src/utils/processData.js +4 -1
  206. package/lib/src/utils/processData.js.map +1 -1
  207. package/lib/src/utils/processTrigger.js +1 -1
  208. package/lib/src/visual-embed-sdk.d.ts +904 -342
  209. package/package.json +1 -1
  210. package/src/auth.ts +15 -8
  211. package/src/embed/app.spec.ts +5 -4
  212. package/src/embed/app.ts +22 -21
  213. package/src/embed/base.spec.ts +3 -2
  214. package/src/embed/base.ts +10 -3
  215. package/src/embed/embed.spec.ts +2 -1
  216. package/src/embed/embedConfig.ts +2 -0
  217. package/src/embed/events.spec.ts +3 -2
  218. package/src/embed/liveboard.ts +28 -23
  219. package/src/embed/sage.ts +47 -29
  220. package/src/embed/search-bar.tsx +22 -6
  221. package/src/embed/search.spec.ts +13 -0
  222. package/src/embed/search.ts +38 -19
  223. package/src/embed/ts-embed.spec.ts +159 -26
  224. package/src/embed/ts-embed.ts +37 -19
  225. package/src/index.ts +2 -0
  226. package/src/mixpanel-service.ts +2 -1
  227. package/src/react/index.spec.tsx +2 -31
  228. package/src/types.ts +753 -243
  229. package/src/utils/authService/authService.spec.ts +3 -2
  230. package/src/utils/authService/authService.ts +4 -2
  231. package/src/utils/authService/tokenizedAuthService.ts +2 -1
  232. package/src/utils/graphql/answerService/answerService.ts +2 -4
  233. package/src/utils/logger.spec.ts +67 -0
  234. package/src/utils/logger.ts +87 -0
  235. package/src/utils/processData.ts +4 -1
  236. package/src/utils/processTrigger.ts +1 -1
  237. package/cjs/src/embed/TsEmbed.d.ts +0 -302
  238. package/cjs/src/embed/TsEmbed.d.ts.map +0 -1
  239. package/cjs/src/embed/TsEmbed.js +0 -851
  240. package/cjs/src/embed/TsEmbed.js.map +0 -1
  241. package/cjs/src/utils/answerService.d.ts +0 -10
  242. package/cjs/src/utils/answerService.d.ts.map +0 -1
  243. package/cjs/src/utils/answerService.js +0 -61
  244. package/cjs/src/utils/answerService.js.map +0 -1
  245. package/cjs/src/utils/answerService.spec.d.ts +0 -2
  246. package/cjs/src/utils/answerService.spec.d.ts.map +0 -1
  247. package/cjs/src/utils/answerService.spec.js +0 -31
  248. package/cjs/src/utils/answerService.spec.js.map +0 -1
  249. package/cjs/src/utils/authService/tokenisedAuthSerice.d.ts +0 -11
  250. package/cjs/src/utils/authService/tokenisedAuthSerice.d.ts.map +0 -1
  251. package/cjs/src/utils/authService/tokenisedAuthSerice.js +0 -44
  252. package/cjs/src/utils/authService/tokenisedAuthSerice.js.map +0 -1
  253. package/cjs/src/utils/authService.d.ts +0 -55
  254. package/cjs/src/utils/authService.d.ts.map +0 -1
  255. package/cjs/src/utils/authService.js +0 -139
  256. package/cjs/src/utils/authService.js.map +0 -1
  257. package/cjs/src/utils/authService.spec.d.ts +0 -2
  258. package/cjs/src/utils/authService.spec.d.ts.map +0 -1
  259. package/cjs/src/utils/authService.spec.js +0 -82
  260. package/cjs/src/utils/authService.spec.js.map +0 -1
  261. package/cjs/src/utils/graphql/graphql-request.spec.d.ts +0 -2
  262. package/cjs/src/utils/graphql/graphql-request.spec.d.ts.map +0 -1
  263. package/cjs/src/utils/graphql/graphql-request.spec.js +0 -39
  264. package/cjs/src/utils/graphql/graphql-request.spec.js.map +0 -1
  265. package/dist/src/utils/answerService.d.ts +0 -10
  266. package/dist/src/utils/answerService.d.ts.map +0 -1
  267. package/dist/src/utils/answerService.spec.d.ts +0 -2
  268. package/dist/src/utils/answerService.spec.d.ts.map +0 -1
  269. package/dist/src/utils/authService/tokenisedAuthSerice.d.ts +0 -11
  270. package/dist/src/utils/authService/tokenisedAuthSerice.d.ts.map +0 -1
  271. package/dist/src/utils/authService.d.ts +0 -55
  272. package/dist/src/utils/authService.d.ts.map +0 -1
  273. package/dist/src/utils/authService.spec.d.ts +0 -2
  274. package/dist/src/utils/authService.spec.d.ts.map +0 -1
  275. package/dist/src/utils/graphql/graphql-request.spec.d.ts +0 -2
  276. package/dist/src/utils/graphql/graphql-request.spec.d.ts.map +0 -1
  277. package/lib/src/embed/TsEmbed.d.ts +0 -302
  278. package/lib/src/embed/TsEmbed.d.ts.map +0 -1
  279. package/lib/src/embed/TsEmbed.js +0 -847
  280. package/lib/src/embed/TsEmbed.js.map +0 -1
  281. package/lib/src/utils/answerService.d.ts +0 -10
  282. package/lib/src/utils/answerService.d.ts.map +0 -1
  283. package/lib/src/utils/answerService.js +0 -57
  284. package/lib/src/utils/answerService.js.map +0 -1
  285. package/lib/src/utils/answerService.spec.d.ts +0 -2
  286. package/lib/src/utils/answerService.spec.d.ts.map +0 -1
  287. package/lib/src/utils/answerService.spec.js +0 -29
  288. package/lib/src/utils/answerService.spec.js.map +0 -1
  289. package/lib/src/utils/authService/tokenisedAuthSerice.d.ts +0 -11
  290. package/lib/src/utils/authService/tokenisedAuthSerice.d.ts.map +0 -1
  291. package/lib/src/utils/authService/tokenisedAuthSerice.js +0 -39
  292. package/lib/src/utils/authService/tokenisedAuthSerice.js.map +0 -1
  293. package/lib/src/utils/authService.d.ts +0 -55
  294. package/lib/src/utils/authService.d.ts.map +0 -1
  295. package/lib/src/utils/authService.js +0 -129
  296. package/lib/src/utils/authService.js.map +0 -1
  297. package/lib/src/utils/authService.spec.d.ts +0 -2
  298. package/lib/src/utils/authService.spec.d.ts.map +0 -1
  299. package/lib/src/utils/authService.spec.js +0 -80
  300. package/lib/src/utils/authService.spec.js.map +0 -1
  301. package/lib/src/utils/graphql/graphql-request.spec.d.ts +0 -2
  302. package/lib/src/utils/graphql/graphql-request.spec.d.ts.map +0 -1
  303. package/lib/src/utils/graphql/graphql-request.spec.js +0 -36
  304. package/lib/src/utils/graphql/graphql-request.spec.js.map +0 -1
package/cjs/src/types.js CHANGED
@@ -8,7 +8,7 @@
8
8
  * @author Ayon Ghosh <ayon.ghosh@thoughtspot.com>
9
9
  */
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.ContextMenuTriggerOptions = exports.PrefetchFeatures = exports.Action = exports.Param = exports.DataSourceVisualMode = exports.HostEvent = exports.EmbedEvent = exports.HomepageModule = exports.RuntimeFilterOp = exports.HomeLeftNavItem = exports.AuthType = void 0;
11
+ exports.LogLevel = exports.ContextMenuTriggerOptions = exports.PrefetchFeatures = exports.Action = exports.Param = exports.DataSourceVisualMode = exports.HostEvent = exports.EmbedEvent = exports.HomepageModule = exports.RuntimeFilterOp = exports.HomeLeftNavItem = exports.AuthType = void 0;
12
12
  /**
13
13
  * The authentication mechanism for allowing access to the
14
14
  * the embedded app
@@ -32,10 +32,14 @@ var AuthType;
32
32
  */
33
33
  AuthType["None"] = "None";
34
34
  /**
35
- * Passthrough SSO to the embedded App within the iframe. Requires least
35
+ * Passthrough SSO to the embedded application within the iframe. Requires least
36
36
  * configuration, but may not be supported by all IDPs. This will behave like `None`
37
37
  * if SSO is not configured on ThoughtSpot.
38
38
  *
39
+ * To use this:
40
+ * Your SAML or OpenID provider must allow iframe redirects.
41
+ * For example, if you are using Okta as IdP, you can enable iframe embedding.
42
+ *
39
43
  * @example
40
44
  * ```js
41
45
  * init({
@@ -43,12 +47,7 @@ var AuthType;
43
47
  * authType: AuthType.EmbeddedSSO,
44
48
  * });
45
49
  * ```
46
- * Set authentication type as Embedded SSO.
47
- *
48
- * To use this:
49
- * Your SAML or OpenID provider must allow iframe redirects.
50
- * eg. If you are using okta as IdP, you can enable iFrame embedding.
51
- * @version: SDK: 1.15.0 | ThouhgtSpot: 8.8.0.cl
50
+ * @version: SDK: 1.15.0 | ThoughtSpot: 8.8.0.cl
52
51
  */
53
52
  AuthType["EmbeddedSSO"] = "EmbeddedSSO";
54
53
  /**
@@ -67,10 +66,10 @@ var AuthType;
67
66
  AuthType["SAML"] = "SSO_SAML";
68
67
  /**
69
68
  * SSO using SAML
70
- * Will make the host application redirect to the SAML Idp. Use this
71
- * when the idp does not allow itself to be embedded.
69
+ * Makes the host application redirect to the SAML IdP. Use this
70
+ * if your IdP does not allow itself to be embedded.
72
71
  *
73
- * This redirects the host application to the SAML Idp. The host application
72
+ * This redirects the host application to the SAML IdP. The host application
74
73
  * will be redirected back to the ThoughtSpot app after authentication.
75
74
  *
76
75
  * @example
@@ -81,7 +80,7 @@ var AuthType;
81
80
  * });
82
81
  * ```
83
82
  *
84
- * This opens the SAML Idp in a popup window. The popup is triggered
83
+ * This opens the SAML IdP in a popup window. The popup is triggered
85
84
  * when the user clicks the trigger button. The popup window will be
86
85
  * closed automatically after authentication.
87
86
  * @example
@@ -95,8 +94,8 @@ var AuthType;
95
94
  * });
96
95
  * ```
97
96
  *
98
- * Can also use event to trigger the popup flow. Works the same
99
- * as above example.
97
+ * Can also use the event to trigger the popup flow. Works the same
98
+ * as the above example.
100
99
  * @example
101
100
  * ```js
102
101
  * const authEE = init({
@@ -120,7 +119,7 @@ var AuthType;
120
119
  AuthType["OIDC"] = "SSO_OIDC";
121
120
  /**
122
121
  * SSO using OIDC
123
- * Will make the host application redirect to the OIDC Idp.
122
+ * Will make the host application redirect to the OIDC IdP.
124
123
  * See code samples in {@link SAMLRedirect}.
125
124
  */
126
125
  AuthType["OIDCRedirect"] = "SSO_OIDC";
@@ -132,8 +131,8 @@ var AuthType;
132
131
  */
133
132
  AuthType["AuthServer"] = "AuthServer";
134
133
  /**
135
- * Trusted authentication server, Use your own authentication server
136
- * which returns a bearer token, generated using the secret_key obtained
134
+ * Trusted authentication server. Use your own authentication server
135
+ * which returns a bearer token, generated using the `secret_key` obtained
137
136
  * from ThoughtSpot.
138
137
  *
139
138
  * @example
@@ -150,11 +149,11 @@ var AuthType;
150
149
  */
151
150
  AuthType["TrustedAuthToken"] = "AuthServer";
152
151
  /**
153
- * Trusted authentication server Cookieless, Use you own authentication
154
- * server which returns a bearer token, generated using the secret_key
152
+ * Trusted authentication server Cookieless, Use your own authentication
153
+ * server which returns a bearer token, generated using the `secret_key`
155
154
  * obtained from ThoughtSpot. This uses a cookieless authentication
156
- * approach, recommended to by pass third-party cookie-blocking restriction
157
- * implemented by some browsers
155
+ * approach, recommended to bypass the third-party cookie-blocking restriction
156
+ * implemented by some browsers.
158
157
  *
159
158
  * @example
160
159
  * ```js
@@ -167,7 +166,7 @@ var AuthType;
167
166
  * .then((data) => data.token);
168
167
  * }
169
168
  * ```
170
- * @version SDK: 1.22.0| ThouhgtSpot: 9.3.0.cl, 9.5.1.sw
169
+ * @version SDK: 1.22.0| ThoughtSpot: 9.3.0.cl, 9.5.1.sw
171
170
  */
172
171
  AuthType["TrustedAuthTokenCookieless"] = "AuthServerCookieless";
173
172
  /**
@@ -254,7 +253,7 @@ var RuntimeFilterOp;
254
253
  RuntimeFilterOp["IN"] = "IN";
255
254
  })(RuntimeFilterOp = exports.RuntimeFilterOp || (exports.RuntimeFilterOp = {}));
256
255
  /**
257
- * Home page module that can be hide
256
+ * Home page module that can be hidden
258
257
  */
259
258
  // eslint-disable-next-line no-shadow
260
259
  var HomepageModule;
@@ -272,7 +271,7 @@ var HomepageModule;
272
271
  */
273
272
  HomepageModule["Favorite"] = "FAVORITE";
274
273
  /**
275
- * List of answers and liveboards
274
+ * List of answers and Liveboards
276
275
  */
277
276
  HomepageModule["MyLibrary"] = "MY_LIBRARY";
278
277
  /**
@@ -309,6 +308,14 @@ var EmbedEvent;
309
308
  (function (EmbedEvent) {
310
309
  /**
311
310
  * Rendering has initialized.
311
+ * @example
312
+ *```js
313
+ * liveboardEmbed.on(EmbedEvent.Init, showLoader)
314
+ * //show a loader
315
+ * function showLoader() {
316
+ * document.getElementById("loader");
317
+ * }
318
+ *```
312
319
  *
313
320
  * @returns timestamp - The timestamp when the event was generated.
314
321
  */
@@ -316,69 +323,162 @@ var EmbedEvent;
316
323
  /**
317
324
  * Authentication has either succeeded or failed.
318
325
  *
326
+ * @example
327
+ *```js
328
+ * appEmbed.on(EmbedEvent.AuthInit, payload => {
329
+ * console.log('AuthInit', payload);
330
+ * })
331
+ *```
332
+ *
319
333
  * @returns isLoggedIn - A Boolean specifying whether authentication was successful.
320
334
  */
321
335
  EmbedEvent["AuthInit"] = "authInit";
322
336
  /**
323
337
  * The embed object container has loaded.
324
- *
325
338
  * @returns timestamp - The timestamp when the event was generated.
339
+ * @example
340
+ *```js
341
+ * liveboardEmbed.on(EmbedEvent.Load, hideLoader)
342
+ * //hide loader
343
+ * function hideLoader() {
344
+ * document.getElementById("loader");
345
+ * }
346
+ *```
326
347
  */
327
348
  EmbedEvent["Load"] = "load";
328
349
  /**
329
350
  * Data pertaining to answer or Liveboard is received
330
- *
331
351
  * @return data - The answer or Liveboard data
352
+ * @example
353
+ *```js
354
+ * liveboardEmbed.on(EmbedEvent.Data, payload => {
355
+ * console.log('data', payload);
356
+ * })
357
+ *```
332
358
  * @important
333
359
  */
334
360
  EmbedEvent["Data"] = "data";
335
361
  /**
336
- * Search/answer/Liveboard filters have been applied/updated by the user.
362
+ * Search/Answer/Liveboard filters have been applied/updated by the user.
337
363
  *
338
364
  * @hidden
339
365
  */
340
366
  EmbedEvent["FiltersChanged"] = "filtersChanged";
341
367
  /**
342
368
  * Search query has been updated by the user.
369
+ *
370
+ * @example
371
+ *```js
372
+ * searchEmbed.on(EmbedEvent.QueryChanged, payload => console.log('data', payload))
373
+ *```
374
+ *
343
375
  */
344
376
  EmbedEvent["QueryChanged"] = "queryChanged";
345
377
  /**
346
- * A drill down operation has been performed.
378
+ * A drill-down operation has been performed.
347
379
  *
348
380
  * @returns additionalFilters - Any additional filters applied
349
381
  * @returns drillDownColumns - The columns on which drill down was performed
350
382
  * @returns nonFilteredColumns - The columns that were not filtered
383
+ *
384
+ * @example
385
+ *```js
386
+ * searchEmbed.trigger(HostEvent.DrillDown, {
387
+ * points: {
388
+ * clickedPoint,
389
+ * selectedPoints: selectedPoint
390
+ * },
391
+ * autoDrillDown: true,
392
+ * })
393
+ *```
394
+ * In this example, `VizPointDoubleClick` event is used for
395
+ * triggering the `DrillDown` event when an area or specific
396
+ * data point on a table or chart is double-clicked.
397
+ *
398
+ * @example
399
+ *```js
400
+ * searchEmbed.on(EmbedEvent.VizPointDoubleClick, (payload) => {
401
+ * console.log(payload);
402
+ * const clickedPoint = payload.data.clickedPoint;
403
+ * const selectedPoint = payload.data.selectedPoints;
404
+ * console.log('>>> called', clickedPoint);
405
+ * embed.trigger(HostEvent.DrillDown, {
406
+ * points: {
407
+ * clickedPoint,
408
+ * selectedPoints: selectedPoint
409
+ * },
410
+ * autoDrillDown: true,
411
+ * })
412
+ * })
413
+ *```
414
+ *
351
415
  */
352
416
  EmbedEvent["Drilldown"] = "drillDown";
353
417
  /**
354
418
  * One or more data sources have been selected.
355
- *
356
419
  * @returns dataSourceIds - the list of data sources
420
+ *
421
+ * @example
422
+ * ```js
423
+ * searchEmbed.on(EmbedEvent.DataSourceSelected, payload => {
424
+ * console.log('DataSourceSelected', payload);
425
+ * })
426
+ * ```
427
+ *
357
428
  */
358
429
  EmbedEvent["DataSourceSelected"] = "dataSourceSelected";
359
430
  /**
360
431
  * One or more data columns have been selected.
361
- *
362
432
  * @returns columnIds - the list of columns
363
433
  * @version SDK: 1.10.0 | ThoughtSpot: 8.2.0.cl, 8.4.1.sw
434
+ *
435
+ * @example
436
+ * ```js
437
+ * appEmbed.on(EmbedEvent.AddRemoveColumns, payload => {
438
+ * console.log('AddRemoveColumns', payload);
439
+ * })
440
+ * ```
441
+ *
364
442
  */
365
443
  EmbedEvent["AddRemoveColumns"] = "addRemoveColumns";
366
444
  /**
367
- * A custom action has been triggered
445
+ * A custom action has been triggered.
446
+ *
447
+ * @returns actionId - ID of the custom action
448
+ * @returns data - Response payload with the Answer or Liveboard data
368
449
  *
369
- * @returns actionId - The id of the custom action
370
- * @returns data - The answer or Liveboard data
450
+ * @example
451
+ * ```js
452
+ * appEmbed.on(EmbedEvent.customAction, payload => {
453
+ * const data = payload.data;
454
+ * if (data.id === 'insert Custom Action ID here') {
455
+ * console.log('Custom Action event:', data.embedAnswerData);
456
+ * }
457
+ * })
458
+ * ```
371
459
  */
372
460
  EmbedEvent["CustomAction"] = "customAction";
373
461
  /**
374
- * Listen to double clicks on a visualization
462
+ * Listen to double click actions on a visualization.
463
+ *
464
+ * @return ContextMenuInputPoints - Data point that is double-clicked
375
465
  *
376
- * @return ContextMenuInputPoints - data point that is double clicked
377
466
  * @version SDK: 1.5.0 | ThoughtSpot: ts7.oct.cl, 7.2.1
467
+ *
468
+ * @example
469
+ * ```js
470
+ * livebaordEmbed.on(EmbedEvent.VizPointDoubleClick, payload => {
471
+ * console.log('VizPointDoubleClick', payload)
472
+ * })
473
+ * ```
378
474
  */
379
475
  EmbedEvent["VizPointDoubleClick"] = "vizPointDoubleClick";
380
476
  /**
381
- * Listen to clicks on a visualization in a liveboard or Search result.
477
+ * Listen to clicks on a visualization in a Liveboard or Search result.
478
+ *
479
+ * @return viz, clickedPoint - metadata about the point that is clicked
480
+ * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
481
+ * @important
382
482
  *
383
483
  * @example
384
484
  * ```js
@@ -392,25 +492,46 @@ var EmbedEvent;
392
492
  * )
393
493
  * });
394
494
  * ```
395
- * @return viz, clickedPoint - metadata about point that is clicked
396
- * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
397
- * @important
398
495
  */
399
496
  EmbedEvent["VizPointClick"] = "vizPointClick";
400
497
  /**
401
498
  * An error has occurred.
402
499
  *
403
500
  * @returns error - An error object or message
501
+ *
502
+ * @example
503
+ * ```js
504
+ * SearchEmbed.on(EmbedEvent.Error, showErrorMsg)
505
+ * //show error messaage
506
+ * function showErrorMsg() {
507
+ * document.getElementById("error");
508
+ * ```
509
+ *
404
510
  */
405
511
  EmbedEvent["Error"] = "Error";
406
512
  /**
407
- * The embedded object has sent an alert
513
+ * The embedded object has sent an alert.
408
514
  *
409
515
  * @returns alert - An alert object
516
+ *
517
+ * @example
518
+ * ```js
519
+ * searchEmbed.on(EmbedEvent.Alert)
520
+ * ```
521
+ *
410
522
  */
411
523
  EmbedEvent["Alert"] = "alert";
412
524
  /**
413
525
  * The ThoughtSpot auth session has expired.
526
+ *
527
+ * @example
528
+ *```js
529
+ * appEmbed.on(EmbedEvent.AuthExpire, showAuthExpired)
530
+ * //show auth expired banner
531
+ * function showAuthExpired() {
532
+ * document.getElementById("authExpiredBanner");
533
+ * }
534
+ *```
414
535
  */
415
536
  EmbedEvent["AuthExpire"] = "ThoughtspotAuthExpired";
416
537
  /**
@@ -440,14 +561,28 @@ var EmbedEvent;
440
561
  */
441
562
  EmbedEvent["EmbedIframeCenter"] = "EmbedIframeCenter";
442
563
  /**
443
- * Emitted when the "Get Data" button in Search Bar embed
444
- * is clicked.
564
+ * Emitted when the **Get Data** action is initiated.
565
+ * Applicable to `SearchBarEmbed` only.
566
+ *
567
+ * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
445
568
  *
446
- * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.0.sw
569
+ * @example
570
+ *```js
571
+ * searchbarEmbed.on(EmbedEvent.GetDataClick)
572
+ * .then(data => {
573
+ * console.log('Answer Data:', data);
574
+ * })
575
+ *```
447
576
  */
448
577
  EmbedEvent["GetDataClick"] = "getDataClick";
449
578
  /**
450
579
  * Detects the route change.
580
+ *
581
+ * @example
582
+ *```js
583
+ * searchEmbed.on(EmbedEvent.RouteChange, payload =>
584
+ * console.log('data', payload))
585
+ *```
451
586
  */
452
587
  EmbedEvent["RouteChange"] = "ROUTE_CHANGE";
453
588
  /**
@@ -457,10 +592,15 @@ var EmbedEvent;
457
592
  */
458
593
  EmbedEvent["V1Data"] = "exportVizDataToParent";
459
594
  /**
460
- * Emitted when the embed does not have cookie access. This
461
- * happens on Safari where third-party cookies are blocked by default.
595
+ * Emitted when the embed does not have cookie access. This happens
596
+ * when Safari and other Web browsers block third-party cookies
597
+ * are blocked by default. `NoCookieAccess` can trigger
462
598
  *
463
- * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 7.2.1
599
+ * @example
600
+ *```js
601
+ * appEmbed.on(EmbedEvent.NoCookieAccess)
602
+ *```
603
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 7.2.1.sw
464
604
  */
465
605
  EmbedEvent["NoCookieAccess"] = "noCookieAccess";
466
606
  /**
@@ -472,239 +612,539 @@ var EmbedEvent;
472
612
  EmbedEvent["SAMLComplete"] = "samlComplete";
473
613
  /**
474
614
  * Emitted when any modal is opened in the app
475
- *
476
615
  * @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
616
+ *
617
+ * @example
618
+ *```js
619
+ * appEmbed.on(EmbedEvent.DialogOpen, payload => {
620
+ * console.log('dialog open', payload);
621
+ * })
622
+ *```
477
623
  */
478
624
  EmbedEvent["DialogOpen"] = "dialog-open";
479
625
  /**
480
626
  * Emitted when any modal is closed in the app
481
- *
482
627
  * @version SDK: 1.6.0 | ThoughtSpot: ts8.nov.cl, 8.4.1.sw
628
+ *
629
+ * @example
630
+ *```js
631
+ * appEmbed.on(EmbedEvent.DialogClose, payload => {
632
+ * console.log('dialog close', payload);
633
+ * })
634
+ *```
483
635
  */
484
636
  EmbedEvent["DialogClose"] = "dialog-close";
485
637
  /**
486
638
  * Emitted when the Liveboard shell loads.
487
639
  * You can use this event as a hook to trigger
488
640
  * other events on the rendered Liveboard.
489
- *
490
641
  * @version SDK: 1.9.1 | ThoughtSpot: 8.1.0.cl, 8.4.1.sw
642
+ *
643
+ * @example
644
+ *```js
645
+ * liveboardEmbed.on(EmbedEvent.LiveboardRendered, payload => {
646
+ console.log('Liveboard is rendered', payload);
647
+ })
648
+ *```
649
+ * The following example shows how to trigger
650
+ * `SetVisibleVizs` event using LiveboardRendered embed event:
651
+ *
652
+ * @example
653
+ *```js
654
+ * const embedRef = useEmbedRef();
655
+ * const onLiveboardRendered = () => {
656
+ * embed.trigger(HostEvent.SetVisibleVizs, ['viz1', 'viz2']);
657
+ * };
658
+ *```
491
659
  */
492
660
  EmbedEvent["LiveboardRendered"] = "PinboardRendered";
493
661
  /**
494
662
  * This can be used to register an event listener which
495
663
  * is triggered on all events.
496
- *
497
664
  * @Version SDK: 1.10.0 | ThoughtSpot: 8.2.0.cl, 8.4.1.sw
665
+ *
666
+ * @example
667
+ *```js
668
+ * appEmbed.on(EmbedEvent.ALL, payload => {
669
+ * console.log('Embed Events', payload)
670
+ * })
671
+ *```
498
672
  */
499
673
  EmbedEvent["ALL"] = "*";
500
674
  /**
501
675
  * Emitted when an Answer is saved in the app
502
- *
503
676
  * @Version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
677
+ * @example
678
+ *```js
679
+ * //trigger when action starts
680
+ * searchEmbed.on(EmbedEvent.Save, payload => {
681
+ * console.log('Save', payload)
682
+ * }, {
683
+ * start: true
684
+ * })
685
+ * //trigger when action ends
686
+ * searchEmbed.on(EmbedEvent.Save, payload => {
687
+ * console.log('Save', payload)
688
+ * })
689
+ *```
504
690
  */
505
691
  EmbedEvent["Save"] = "save";
506
692
  /**
507
693
  * Emitted when the download action is triggered on an answer
508
694
  *
695
+ * **Note**: This event is deprecated in v1.21.0.
696
+ * To fire an event when a download action is initiated on a chart or table,
697
+ * use `EmbedEvent.DownloadAsPng`, `EmbedEvent.DownloadAsPDF`, `EmbedEvent.DownloadAsCSV`,
698
+ * or `EmbedEvent.DownloadAsXLSX`
699
+ *
509
700
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
701
+ *
702
+ * @example
703
+ *```js
704
+ * liveboardEmbed.trigger(HostEvent.Download, {
705
+ * vizId: '730496d6-6903-4601-937e-2c691821af3c'
706
+ * })
707
+ *```
510
708
  */
511
709
  EmbedEvent["Download"] = "download";
512
710
  /**
513
711
  * Emitted when the download action is triggered on an answer
514
- *
515
712
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.0.sw
713
+ *
714
+ * @example
715
+ *```js
716
+ * //trigger when action starts
717
+ * searchEmbed.on(EmbedEvent.DownloadAsPng, payload => {
718
+ * console.log('download PNG', payload)}, {start: true })
719
+ * //trigger when action ends
720
+ * searchEmbed.on(EmbedEvent.DownloadAsPng, payload => {
721
+ * console.log('download PNG', payload)})
722
+ *```
723
+ *
516
724
  */
517
725
  EmbedEvent["DownloadAsPng"] = "downloadAsPng";
518
726
  /**
519
727
  * Emitted when the Download as PDF action is triggered on an answer
520
728
  *
521
729
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
730
+ *
731
+ * @example
732
+ *```js
733
+ * //trigger when action starts
734
+ * searchEmbed.on(EmbedEvent.DownloadAsPdf, payload => {
735
+ * console.log('download PDF', payload)}, {start: true })
736
+ * //trigger when action ends
737
+ * searchEmbed.on(EmbedEvent.DownloadAsPdf, payload => {
738
+ * console.log('download PDF', payload)})
739
+ *```
740
+ *
522
741
  */
523
742
  EmbedEvent["DownloadAsPdf"] = "downloadAsPdf";
524
743
  /**
525
744
  * Emitted when the Download as CSV action is triggered on an answer
526
745
  *
527
746
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
747
+ * @example
748
+ *```js
749
+ * //trigger when action starts
750
+ * searchEmbed.on(EmbedEvent.DownloadAsCSV, payload => {
751
+ * console.log('download CSV', payload)}, {start: true })
752
+ * //trigger when action ends
753
+ * searchEmbed.on(EmbedEvent.DownloadAsCSV, payload => {
754
+ * console.log('download CSV', payload)})
755
+ *```
528
756
  */
529
757
  EmbedEvent["DownloadAsCsv"] = "downloadAsCsv";
530
758
  /**
531
759
  * Emitted when the Download as XLSX action is triggered on an answer
532
760
  *
533
761
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
762
+ *
763
+ * @example
764
+ *```js
765
+ * //trigger when action starts
766
+ * searchEmbed.on(EmbedEvent.DownloadAsXlsx, payload => {
767
+ * console.log('download Xlsx', payload)}, { start: true })
768
+ * //trigger when action ends
769
+ * searchEmbed.on(EmbedEvent.DownloadAsXlsx, payload => {
770
+ * console.log('download Xlsx', payload)})
771
+ *```
534
772
  */
535
773
  EmbedEvent["DownloadAsXlsx"] = "downloadAsXlsx";
536
774
  /**
537
- * Emitted when an answer is deleted in the app
775
+ * Emitted when an Answer is deleted in the app
538
776
  *
539
777
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
778
+ *
779
+ * @example
780
+ *```js
781
+ * //trigger when action starts
782
+ * appEmbed.on(EmbedEvent.AnswerDelete, payload => {
783
+ * console.log('delete answer', payload)}, {start: true })
784
+ * //trigger when action is completed
785
+ * appEmbed.on(EmbedEvent.AnswerDelete, payload => {
786
+ * console.log('delete answer', payload)})
787
+ *```
540
788
  */
541
789
  EmbedEvent["AnswerDelete"] = "answerDelete";
542
790
  /**
543
791
  * Emitted when an answer is pinned to a Liveboard
544
792
  *
545
793
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
794
+ * @example
795
+ *```js
796
+ * //trigger when action starts
797
+ * searchEmbed.on(EmbedEvent.Pin, payload => {
798
+ * console.log('pin', payload)
799
+ * }, {
800
+ * start: true
801
+ * })
802
+ * //trigger when action ends
803
+ * searchEmbed.on(EmbedEvent.Pin, payload => {
804
+ * console.log('pin', payload)
805
+ * })
806
+ *```
546
807
  */
547
808
  EmbedEvent["Pin"] = "pin";
548
809
  /**
549
810
  * Emitted when SpotIQ analysis is triggered
550
811
  *
551
812
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
813
+ * @example
814
+ *```js
815
+ * //trigger when action starts
816
+ * searchEmbed.on(EmbedEvent.SpotIQAnalyze, payload => {
817
+ * console.log('SpotIQAnalyze', payload)
818
+ * }, {
819
+ * start: true
820
+ * })
821
+ * //trigger when action ends
822
+ * searchEmbed.on(EmbedEvent.SpotIQAnalyze, payload => {
823
+ * console.log('SpotIQ analyze', payload)
824
+ * })
825
+ *```
552
826
  */
553
827
  EmbedEvent["SpotIQAnalyze"] = "spotIQAnalyze";
554
828
  /**
555
829
  * Emitted when a user shares an object with another user or group
556
830
  *
557
831
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
832
+ *
833
+ * @example
834
+ *```js
835
+ * //trigger when action starts
836
+ * searchEmbed.on(EmbedEvent.Share, payload => {
837
+ * console.log('Share', payload)
838
+ * }, {
839
+ * start: true
840
+ * })
841
+ * //trigger when action ends
842
+ * searchEmbed.on(EmbedEvent.Share, payload => {
843
+ * console.log('Share', payload)
844
+ * })
845
+ *```
558
846
  */
559
847
  EmbedEvent["Share"] = "share";
560
848
  /**
561
- * Emitted when a user clicks the Include action to include a specific value or data
562
- * on a chart or table
849
+ * Emitted when a user clicks the **Include** action to include a specific value or
850
+ * data on a chart or table.
563
851
  *
564
852
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
853
+ * @example
854
+ *```js
855
+ * appEmbed.on(EmbedEvent.DrillInclude, payload => {
856
+ * console.log('Drill include', payload);
857
+ * })
858
+ *```
565
859
  */
566
860
  EmbedEvent["DrillInclude"] = "context-menu-item-include";
567
861
  /**
568
- * Emitted when a user clicks the Exclude action to exclude a specific value or data
569
- * on a chart or table
862
+ * Emitted when a user clicks the **Exclude** action to exclude a specific value or
863
+ * data on a chart or table
570
864
  *
571
865
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
866
+ * @example
867
+ *```js
868
+ * appEmbed.on(EmbedEvent.DrillExclude, payload => {
869
+ * console.log('Drill exclude', payload);
870
+ * })
871
+ *```
572
872
  */
573
873
  EmbedEvent["DrillExclude"] = "context-menu-item-exclude";
574
874
  /**
575
- * Emitted when copied column value on the app
875
+ * Emitted when a column value is copied in the embedded app.
576
876
  *
577
877
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
878
+ * @example
879
+ *```js
880
+ * seachEmbed.on(EmbedEvent.CopyToClipboard, payload => {
881
+ * console.log('copy to clipboard', payload);
882
+ * })
883
+ *```
578
884
  */
579
885
  EmbedEvent["CopyToClipboard"] = "context-menu-item-copy-to-clipboard";
580
886
  /**
581
- * Emitted when a user clicks the Update TML action
887
+ * Emitted when a user clicks the **Update TML** action
582
888
  *
583
889
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
890
+ * @example
891
+ *```js
892
+ * liveboardEmbed.on(EmbedEvent.UpdateTML)
893
+ * })
894
+ *```
584
895
  */
585
896
  EmbedEvent["UpdateTML"] = "updateTSL";
586
897
  /**
587
- * Emitted when a user clicks the Edit TML action
898
+ * Emitted when a user clicks the **Edit TML** action
588
899
  *
589
900
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
901
+ * @example
902
+ *```js
903
+ * appEmbed.on(EmbedEvent.EditTML, payload => {
904
+ * console.log('Edit TML', payload);
905
+ * })
906
+ *```
590
907
  */
591
908
  EmbedEvent["EditTML"] = "editTSL";
592
909
  /**
593
- * Emitted when ExportTML trigger in answer on the app
594
- *
910
+ * Emitted when the **Export TML** action is triggered on an
911
+ * an embedded object in the app
595
912
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
913
+ * @example
914
+ *```js
915
+ * //trigger when action starts
916
+ * searchEmbed.on(EmbedEvent.ExportTML, payload => {
917
+ * console.log('Export TML', payload)}, { start: true })
918
+ * //trigger when action ends
919
+ * searchEmbed.on(EmbedEvent.ExportTML, payload => {
920
+ * console.log('Export TML', payload)})
921
+ *```
596
922
  */
597
923
  EmbedEvent["ExportTML"] = "exportTSL";
598
924
  /**
599
- * Emitted when an answer is saved as a view
925
+ * Emitted when an Answer is saved as a View.
600
926
  *
601
927
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
928
+ * @example
929
+ *```js
930
+ * appEmbed.on(EmbedEvent.SaveAsView, payload => {
931
+ * console.log('View', payload);
932
+ * })
933
+ *```
602
934
  */
603
935
  EmbedEvent["SaveAsView"] = "saveAsView";
604
936
  /**
605
- * Emitted when copy of existing answer on the app
937
+ * Emitted when the user creates a copy of an Answer
606
938
  *
607
939
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
940
+ * @example
941
+ *```js
942
+ * //trigger when action starts
943
+ * appEmbed.on(EmbedEvent.CopyAEdit, payload => {
944
+ * console.log('Copy and edit', payload)}, {start: true })
945
+ * //trigger when action ends
946
+ * appEmbed.on(EmbedEvent.CopyAEdit, payload => {
947
+ * console.log('Copy and edit', payload)})
948
+ *```
608
949
  */
609
950
  EmbedEvent["CopyAEdit"] = "copyAEdit";
610
951
  /**
611
- * Emitted when a user clicks Show underlying data on an answe
952
+ * Emitted when a user clicks Show underlying data on an Answer
612
953
  *
613
954
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
955
+ * @example
956
+ *```js
957
+ * liveboardEmbed.on(EmbedEvent.ShowUnderlyingData, payload => {
958
+ * console.log('show data', payload);
959
+ * })
960
+ *```
614
961
  */
615
962
  EmbedEvent["ShowUnderlyingData"] = "showUnderlyingData";
616
963
  /**
617
- * Emitted when an answer is switched to a chart or table view
964
+ * Emitted when an answer is switched to a chart or table view.
618
965
  *
619
966
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
967
+ * @example
968
+ *```js
969
+ * searchEmbed.on(EmbedEvent.AnswerChartSwitcher, payload => {
970
+ * console.log('switch view', payload);
971
+ * })
972
+ *```
620
973
  */
621
974
  EmbedEvent["AnswerChartSwitcher"] = "answerChartSwitcher";
622
975
  /**
623
- * Internal event to communicate the initial settings back to the TS APP
976
+ * Internal event to communicate the initial settings back to the ThoughtSpot app
624
977
  *
625
978
  * @hidden
626
979
  */
627
980
  EmbedEvent["APP_INIT"] = "appInit";
628
981
  /**
629
- * Emitted when a user clicks Show Liveboard details on a Liveboard
982
+ * Emitted when a user clicks **Show Liveboard details** on a Liveboard
630
983
  *
631
984
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
985
+ * @example
986
+ *```js
987
+ * liveboardEmbed.on(EmbedEvent.AnswerChartSwitcher, payload => {
988
+ * console.log('Liveboard details', payload);
989
+ * })
990
+ *```
632
991
  */
633
992
  EmbedEvent["LiveboardInfo"] = "pinboardInfo";
634
993
  /**
635
994
  * Emitted when a user clicks on the Favorite icon on a Liveboard
636
995
  *
637
996
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
997
+ * @example
998
+ *```js
999
+ * liveboardEmbed.on(EmbedEvent.AddToFavorites, payload => {
1000
+ * console.log('favorites', payload);
1001
+ * })
1002
+ *```
638
1003
  */
639
1004
  EmbedEvent["AddToFavorites"] = "addToFavorites";
640
1005
  /**
641
- * Emitted when a user clicks Schedule on a Liveboard
1006
+ * Emitted when a user clicks **Schedule** on a Liveboard
642
1007
  *
643
1008
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1009
+ * @example
1010
+ *```js
1011
+ * liveboardEmbed.on(EmbedEvent.Schedule, payload => {
1012
+ * console.log(`Liveboard schedule', payload);
1013
+ * })
1014
+ *```
644
1015
  */
645
1016
  EmbedEvent["Schedule"] = "subscription";
646
1017
  /**
647
- * Emitted when a user clicks Edit on a Liveboard or visualization
1018
+ * Emitted when a user clicks **Edit** on a Liveboard or visualization
648
1019
  *
649
1020
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1021
+ * @example
1022
+ *```js
1023
+ * liveboardEmbed.on(EmbedEvent.Edit, payload => {
1024
+ * console.log(`Liveboard edit', payload);
1025
+ * })
1026
+ *```
650
1027
  */
651
1028
  EmbedEvent["Edit"] = "edit";
652
1029
  /**
653
- * Emitted when a user clicks Make a copy on a Liveboard
1030
+ * Emitted when a user clicks *Make a copy* on a Liveboard
654
1031
  *
655
1032
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1033
+ * @example
1034
+ *```js
1035
+ * liveboardEmbed.on(EmbedEvent.MakeACopy, payload => {
1036
+ * console.log(`Copy', payload);
1037
+ * })
1038
+ *```
656
1039
  */
657
1040
  EmbedEvent["MakeACopy"] = "makeACopy";
658
1041
  /**
659
- * Emitted when a user clicks Present on a Liveboard or visualization
1042
+ * Emitted when a user clicks **Present** on a Liveboard or visualization
660
1043
  *
661
1044
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1045
+ * @example
1046
+ *```js
1047
+ * liveboardEmbed.trigger(HostEvent.Present)
1048
+ *```
1049
+ *
1050
+ * @example
1051
+ *```js
1052
+ * liveboardEmbed.on(EmbedEvent.Present, {
1053
+ * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
1054
+ * })
1055
+ *```
662
1056
  */
663
1057
  EmbedEvent["Present"] = "present";
664
1058
  /**
665
- * Emitted when a user clicks Delete on a Liveboard
1059
+ * Emitted when a user clicks **Delete** on a visualization
666
1060
  *
667
1061
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1062
+ * @example
1063
+ *```js
1064
+ * liveboardEmbed.trigger(HostEvent.Delete,
1065
+ * {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
1066
+ *```
1067
+ *
668
1068
  */
669
1069
  EmbedEvent["Delete"] = "delete";
670
1070
  /**
671
1071
  * Emitted when a user clicks Manage schedules on a Liveboard
672
1072
  *
673
1073
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1074
+ *
1075
+ * @example
1076
+ *```js
1077
+ * liveboardEmbed.trigger(HostEvent.SchedulesList)
1078
+ *```
1079
+ *
674
1080
  */
675
1081
  EmbedEvent["SchedulesList"] = "schedule-list";
676
1082
  /**
677
- * Emitted when a user clicks Cancel in edit mode on a Liveboard
1083
+ * Emitted when a user clicks **Cancel** in edit mode on a Liveboard
678
1084
  *
679
1085
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1086
+ *
1087
+ * @example
1088
+ *```js
1089
+ * liveboardEmbed.trigger(HostEvent.Cancel)
1090
+ *```
1091
+ *
680
1092
  */
681
1093
  EmbedEvent["Cancel"] = "cancel";
682
1094
  /**
683
- * Emitted when a user clicks Explore on a visualization
1095
+ * Emitted when a user clicks **Explore** on a visualization
684
1096
  *
685
1097
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1098
+ *
1099
+ * @example
1100
+ *```js
1101
+ * liveboardEmbed.trigger(HostEvent.Explore, {
1102
+ * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
1103
+ *```
1104
+ *
686
1105
  */
687
1106
  EmbedEvent["Explore"] = "explore";
688
1107
  /**
689
- * Emitted when a user clicks Copy link action on a visualization
1108
+ * Emitted when a user clicks **Copy link** action on a visualization
690
1109
  *
691
1110
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1111
+ *
1112
+ * @example
1113
+ *```js
1114
+ * liveboardEmbed.trigger(HostEvent.CopyLink, {
1115
+ * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
1116
+ *```
1117
+ *
692
1118
  */
693
1119
  EmbedEvent["CopyLink"] = "embedDocument";
694
1120
  /**
695
- * Emitted when a user interacts with cross filters on a visualization or liveboard
1121
+ * Emitted when a user interacts with cross filters on a visualization or Liveboard
1122
+ *
1123
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
1124
+ *
1125
+ * @example
1126
+ *```js
1127
+ * liveboardEmbed.trigger(HostEvent.CrossFilterChanged, {
1128
+ * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
1129
+ *```
696
1130
  *
697
- * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
698
1131
  */
699
1132
  EmbedEvent["CrossFilterChanged"] = "cross-filter-changed";
700
1133
  /**
701
1134
  * Emitted when a user right clicks on a visualization (chart or table)
702
1135
  *
703
- * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
1136
+ * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
1137
+ *
1138
+ * @example
1139
+ *```js
1140
+ * LiveboardEmbed.on(EmbedEvent.VizPointRightClick, payload => {
1141
+ * console.log('VizPointClick', payload)
1142
+ * })
1143
+ *```
704
1144
  */
705
1145
  EmbedEvent["VizPointRightClick"] = "vizPointRightClick";
706
1146
  /**
707
- * Emitted when a user clicks on Insert to slide on a visualization
1147
+ * Emitted when a user clicks **Insert to slide** on a visualization
708
1148
  *
709
1149
  * @hidden
710
1150
  */
@@ -712,52 +1152,53 @@ var EmbedEvent;
712
1152
  /**
713
1153
  * @hidden
714
1154
  * Emitted when a user changes any filter on a Liveboard.
715
- * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
1155
+ * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl, 9.5.0.sw
716
1156
  */
717
1157
  EmbedEvent["FilterChanged"] = "filterChanged";
718
1158
  /**
719
- * Emitted when a user click on Go button in Sage Embed
1159
+ * Emitted when a user clicks the **Go** button on the Search page
720
1160
  *
721
- * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl
1161
+ * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
722
1162
  */
723
1163
  EmbedEvent["SageEmbedQuery"] = "sageEmbedQuery";
724
1164
  /**
725
- * Emitten when a user select data source in Sage Embed
1165
+ * Emitted when a user selects a data source.
1166
+ *
1167
+ * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
726
1168
  *
727
- * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl
728
1169
  */
729
1170
  EmbedEvent["SageWorksheetUpdated"] = "sageWorksheetUpdated";
730
1171
  /**
731
- * Emitted when a user updates a connection in Data tab
1172
+ * Emitted when a user updates a connection on the **Data** page
732
1173
  *
733
- * @version SDK : 1.27.0 | Thoughtspot: 9.8.0.cl
1174
+ * @version SDK : 1.27.0 | Thoughtspot: 9.8.0.cl, 9.8.0.sw
734
1175
  */
735
1176
  EmbedEvent["UpdateConnection"] = "updateConnection";
736
1177
  /**
737
- * Emitted when a user updates a connection in Data tab
1178
+ * Emitted when a user updates a connection on the **Data** page
738
1179
  *
739
- * @version SDK : 1.27.0 | Thoughtspot: 9.8.0.cl
1180
+ * @version SDK : 1.27.0 | Thoughtspot: 9.8.0.cl, 9.8.0.sw
740
1181
  */
741
1182
  EmbedEvent["CreateConnection"] = "createConnection";
742
1183
  /**
743
1184
  * Emitted when name, status (private or public) or filter values of a
744
- * PersonalisedView is updated.
1185
+ * Personalised view is updated.
745
1186
  *
746
1187
  * @returns viewName: string
747
1188
  * @returns viewId: string
748
1189
  * @returns liveboardId: string
749
1190
  * @returns isPublic: boolean
750
- * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl
1191
+ * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
751
1192
  */
752
1193
  EmbedEvent["UpdatePersonalisedView"] = "updatePersonalisedView";
753
1194
  /**
754
- * Emitted when a PersonalisedView is saved.
1195
+ * Emitted when a Personalised view is saved.
755
1196
  *
756
1197
  * @returns viewName: string
757
1198
  * @returns viewId: string
758
1199
  * @returns liveboardId: string
759
1200
  * @returns isPublic: boolean
760
- * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl
1201
+ * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
761
1202
  */
762
1203
  EmbedEvent["SavePersonalisedView"] = "savePersonalisedView";
763
1204
  /**
@@ -767,7 +1208,7 @@ var EmbedEvent;
767
1208
  * @returns viewId: string
768
1209
  * @returns liveboardId: string
769
1210
  * @returns isPublic: boolean
770
- * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl
1211
+ * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
771
1212
  */
772
1213
  EmbedEvent["ResetLiveboard"] = "resetLiveboard";
773
1214
  /**
@@ -775,11 +1216,11 @@ var EmbedEvent;
775
1216
  *
776
1217
  * @returns views: string[]
777
1218
  * @returns liveboardId: string
778
- * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl
1219
+ * @version SDK : 1.26.0 | Thoughtspot: 9.7.0.cl, 9.8.0.sw
779
1220
  */
780
1221
  EmbedEvent["DeletePersonalisedView"] = "deletePersonalisedView";
781
1222
  /**
782
- * Emitten when a user creates a new worksheet
1223
+ * Emitted when a user creates a new worksheet
783
1224
  *
784
1225
  * @version SDK : 1.27.0 | Thoughtspot: 9.8.0.cl
785
1226
  */
@@ -811,15 +1252,16 @@ var EmbedEvent;
811
1252
  var HostEvent;
812
1253
  (function (HostEvent) {
813
1254
  /**
814
- * Triggers a search query in AppEmbed and SearchEmbed
815
- * deployments.
1255
+ * Triggers a search operation with the search tokens specified in
1256
+ * the search query string.
1257
+ * Supported in `AppEmbed` and `SearchEmbed` deployments.
816
1258
  * Includes the following properties:
817
1259
  *
818
- * @param - dataSourceIds - The data source GUID to Search on
1260
+ * @param - `searchQuery` - query string with search tokens
1261
+ * @param - `dataSources` - Data source GUID to Search on
819
1262
  * - Although an array, only a single source
820
1263
  * is supported.
821
- * @param - searchQuery - Query string with search tokens
822
- * @param - execute - executes the existing / updated query
1264
+ * @param - `execute` - executes search and updates the existing query
823
1265
  * @example
824
1266
  * ```js
825
1267
  * searchembed.trigger(HostEvent.Search, {
@@ -839,6 +1281,10 @@ var HostEvent;
839
1281
  * @param - columnGuid - Optional. GUID of the column to drill
840
1282
  * by. If not provided it will auto drill by the configured
841
1283
  * column.
1284
+ * @param - autoDrillDown - Optional. If true, the drill down will be
1285
+ * done automatically on the most popular column.
1286
+ * @param - vizId [TS >= 9.8.0] - Optional. The GUID of the visualization to drill
1287
+ * in case of a liveboard.
842
1288
  * @example
843
1289
  * ```js
844
1290
  * searchEmbed.on(EmbedEvent.VizPointDoubleClick, (payload) => {
@@ -855,6 +1301,25 @@ var HostEvent;
855
1301
  * });
856
1302
  * })
857
1303
  * ```
1304
+ * @example
1305
+ * ```js
1306
+ * // Works with TS 9.8.0 and above
1307
+ *
1308
+ * liveboardEmbed.on(EmbedEvent.VizPointDoubleClick, (payload) => {
1309
+ * console.log(payload);
1310
+ * const clickedPoint = payload.data.clickedPoint;
1311
+ * const selectedPoint = payload.data.selectedPoints;
1312
+ * console.log('>>> called', clickedPoint);
1313
+ * liveboardEmbed.trigger(HostEvent.DrillDown, {
1314
+ * points: {
1315
+ * clickedPoint,
1316
+ * selectedPoints: selectedPoint
1317
+ * },
1318
+ * autoDrillDown: true,
1319
+ * vizId: payload.data.vizId
1320
+ * });
1321
+ * })
1322
+ * ```
858
1323
  * @version SDK: 1.5.0 | ThoughtSpot: ts7.oct.cl, 7.2.1
859
1324
  */
860
1325
  HostEvent["DrillDown"] = "triggerDrillDown";
@@ -871,7 +1336,7 @@ var HostEvent;
871
1336
  */
872
1337
  HostEvent["Reload"] = "reload";
873
1338
  /**
874
- * Sets the visible visualizations on a Liveboard.
1339
+ * Display specific visualizations on a Liveboard.
875
1340
  *
876
1341
  * @param - An array of GUIDs of the visualization to show. The visualization IDs not passed
877
1342
  * in this parameter will be hidden.
@@ -885,7 +1350,7 @@ var HostEvent;
885
1350
  */
886
1351
  HostEvent["SetVisibleVizs"] = "SetPinboardVisibleVizs";
887
1352
  /**
888
- * Set the Active Tab of a Liveboard.
1353
+ * Set a Liveboard tab as an active tab.
889
1354
  *
890
1355
  * @param - tabId - string of id of Tab to show
891
1356
  * @example
@@ -898,7 +1363,7 @@ var HostEvent;
898
1363
  */
899
1364
  HostEvent["SetActiveTab"] = "SetActiveTab";
900
1365
  /**
901
- * Updates runtime filters applied on a Saved Answer or Liveboard. The
1366
+ * Update runtime filters applied on a Saved Answer or Liveboard. The
902
1367
  * runtime filters passed here are appended to the existing runtime
903
1368
  * filters.
904
1369
  * Pass an array of runtime filters with the following attributes:
@@ -924,10 +1389,12 @@ var HostEvent;
924
1389
  */
925
1390
  HostEvent["UpdateRuntimeFilters"] = "UpdateRuntimeFilters";
926
1391
  /**
927
- * Navigate to a specific page in the embedded application without reloading the page.
1392
+ * Navigate to a specific page in the embedded ThoughtSpot application.
928
1393
  * This is the same as calling `appEmbed.navigateToPage(path, true)`
929
1394
  *
930
- * @param - path - the path to navigate to (can be a number[1/-1] to go forward/back)
1395
+ * @param - `path` - the path to navigate to to go forward or back. The path value can
1396
+ * be a number; for example, `1`, `-1`.
1397
+ *
931
1398
  * @example
932
1399
  * ```js
933
1400
  * appEmbed.navigateToPage(-1)
@@ -936,7 +1403,7 @@ var HostEvent;
936
1403
  */
937
1404
  HostEvent["Navigate"] = "Navigate";
938
1405
  /**
939
- * Opens the filter panel for a particular column.
1406
+ * Open the filter panel for a particular column.
940
1407
  * Works with Search and Liveboard embed.
941
1408
  *
942
1409
  * @param - { columnId: string,
@@ -954,7 +1421,7 @@ var HostEvent;
954
1421
  */
955
1422
  HostEvent["OpenFilter"] = "openFilter";
956
1423
  /**
957
- * Adds columns to the current search query.
1424
+ * Add columns to the current search query.
958
1425
  *
959
1426
  * @param - { columnIds: string[] }
960
1427
  * @example
@@ -965,7 +1432,7 @@ var HostEvent;
965
1432
  */
966
1433
  HostEvent["AddColumns"] = "addColumns";
967
1434
  /**
968
- * Removes a column from the current search query.
1435
+ * Remove a column from the current search query.
969
1436
  *
970
1437
  * @param - { columnId: string }
971
1438
  * @example
@@ -976,27 +1443,29 @@ var HostEvent;
976
1443
  */
977
1444
  HostEvent["RemoveColumn"] = "removeColumn";
978
1445
  /**
979
- * Gets the current Liveboard content.
1446
+ * Get the transient state of a Liveboard as encoded content.
1447
+ * This includes unsaved and ad hoc changes such as
1448
+ * Liveboard filters, runtime filters applied on visualizations on a
1449
+ * Liveboard, and Liveboard layout, changes to visualizations such as
1450
+ * sorting, toggling of legends, and data drill down.
980
1451
  *
981
1452
  * @example
982
1453
  * ```js
983
- * liveboardEmbed.trigger(HostEvent.getExportRequestForCurrentPinboard)
1454
+ * liveboardEmbed.trigger(HostEvent.getexportrequestforcurrentpinboard).then(
1455
+ * data=>console.log(data))
984
1456
  * ```
985
1457
  * @version SDK: 1.13.0 | ThoughtSpot: 8.5.0.cl, 8.8.1.sw
986
1458
  */
987
1459
  HostEvent["getExportRequestForCurrentPinboard"] = "getExportRequestForCurrentPinboard";
988
1460
  /**
989
- * Triggers the **Pin** action on an embedded object
1461
+ * Trigger the **Pin** action on an embedded object
990
1462
  *
991
1463
  * @param - Liveboard embed takes the `vizId` as a
992
- * key. Can be left undefined when embedding Search, full app or
1464
+ * key. Can be left undefined when embedding Search, full app, or
993
1465
  * a visualization.
994
1466
  * @example
995
1467
  * ```js
996
- * liveboardEmbed.trigger(HostEvent.Pin, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
997
- * ```
998
- * ```js
999
- * vizEmbed.trigger(HostEvent.Pin)
1468
+ * appEmbed.trigger(HostEvent.Pin)
1000
1469
  * ```
1001
1470
  * ```js
1002
1471
  * searchEmbed.trigger(HostEvent.Pin)
@@ -1005,17 +1474,18 @@ var HostEvent;
1005
1474
  */
1006
1475
  HostEvent["Pin"] = "pin";
1007
1476
  /**
1008
- * Triggers the **Show Liveboard details** action on a Liveboard
1477
+ * Trigger the **Show Liveboard details** action
1478
+ * on an embedded Liveboard.
1009
1479
  *
1010
1480
  * @example
1011
- * ```js
1012
- * liveboardEmbed.trigger(HostEvent.LiveboardInfo)
1013
- * ```
1481
+ *```js
1482
+ * liveboardEmbed.trigger(HostEvent.LiveboardInfo)
1483
+ *```
1014
1484
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
1015
1485
  */
1016
1486
  HostEvent["LiveboardInfo"] = "pinboardInfo";
1017
1487
  /**
1018
- * Triggers the **Schedule** action on a Liveboard
1488
+ * Trigger the **Schedule** action on an embedded Liveboard.
1019
1489
  *
1020
1490
  * @example
1021
1491
  * ```js
@@ -1025,7 +1495,7 @@ var HostEvent;
1025
1495
  */
1026
1496
  HostEvent["Schedule"] = "subscription";
1027
1497
  /**
1028
- * Triggers the **Manage schedule** action on a Liveboard
1498
+ * Trigger the **Manage schedule** action on an embedded Liveboard
1029
1499
  *
1030
1500
  * @example
1031
1501
  * ```js
@@ -1035,7 +1505,7 @@ var HostEvent;
1035
1505
  */
1036
1506
  HostEvent["SchedulesList"] = "schedule-list";
1037
1507
  /**
1038
- * Triggers the **Export TML** action on a Liveboard
1508
+ * Trigger the **Export TML** action on an embedded Liveboard.
1039
1509
  *
1040
1510
  * @example
1041
1511
  * ```js
@@ -1045,7 +1515,7 @@ var HostEvent;
1045
1515
  */
1046
1516
  HostEvent["ExportTML"] = "exportTSL";
1047
1517
  /**
1048
- * Triggers the **Edit TML** action on a Liveboard
1518
+ * Trigger the **Edit TML** action on an embedded Liveboard.
1049
1519
  *
1050
1520
  * @example
1051
1521
  * ```js
@@ -1055,7 +1525,7 @@ var HostEvent;
1055
1525
  */
1056
1526
  HostEvent["EditTML"] = "editTSL";
1057
1527
  /**
1058
- * Triggers the **Update TML** action on a Liveboard
1528
+ * Trigger the **Update TML** action on an embedded Liveboard.
1059
1529
  *
1060
1530
  * @example
1061
1531
  * ```js
@@ -1065,7 +1535,7 @@ var HostEvent;
1065
1535
  */
1066
1536
  HostEvent["UpdateTML"] = "updateTSL";
1067
1537
  /**
1068
- * Triggers the **Download PDF** action on a Liveboard
1538
+ * Trigger the **Download PDF** action on an embedded Liveboard.
1069
1539
  *
1070
1540
  * @example
1071
1541
  * ```js
@@ -1075,8 +1545,8 @@ var HostEvent;
1075
1545
  */
1076
1546
  HostEvent["DownloadAsPdf"] = "downloadAsPdf";
1077
1547
  /**
1078
- * Triggers the **Make a copy** action on a Liveboard, Search, or
1079
- * visualization page
1548
+ * Trigger the **Make a copy** action on a Liveboard, Search, or
1549
+ * visualization page.
1080
1550
  *
1081
1551
  * @example
1082
1552
  * ```js
@@ -1092,7 +1562,7 @@ var HostEvent;
1092
1562
  */
1093
1563
  HostEvent["MakeACopy"] = "makeACopy";
1094
1564
  /**
1095
- * Triggers the **Delete** action on a Liveboard
1565
+ * Trigger the **Delete** action for a Liveboard.
1096
1566
  *
1097
1567
  * @example
1098
1568
  * ```js
@@ -1102,7 +1572,7 @@ var HostEvent;
1102
1572
  */
1103
1573
  HostEvent["Remove"] = "delete";
1104
1574
  /**
1105
- * Triggers the **Explore* action on a visualization
1575
+ * Trigger the **Explore** action on a visualization.
1106
1576
  *
1107
1577
  * @param - an object with `vizId` as a key
1108
1578
  * @example
@@ -1113,7 +1583,7 @@ var HostEvent;
1113
1583
  */
1114
1584
  HostEvent["Explore"] = "explore";
1115
1585
  /**
1116
- * Triggers the **Create alert** action on a visualization
1586
+ * Trigger the **Create alert** action on a visualization
1117
1587
  *
1118
1588
  * @param - an object with `vizId` as a key
1119
1589
  * @example
@@ -1126,7 +1596,7 @@ var HostEvent;
1126
1596
  */
1127
1597
  HostEvent["CreateMonitor"] = "createMonitor";
1128
1598
  /**
1129
- * Triggers the **Manage alerts** action on a visualization
1599
+ * Trigger the **Manage alerts** action on a visualization
1130
1600
  *
1131
1601
  * @param - an object with `vizId` as a key
1132
1602
  * @example
@@ -1139,7 +1609,7 @@ var HostEvent;
1139
1609
  */
1140
1610
  HostEvent["ManageMonitor"] = "manageMonitor";
1141
1611
  /**
1142
- * Triggers the **Edit** action on a Liveboard or visualization
1612
+ * Trigger the **Edit** action on a Liveboard or visualization
1143
1613
  *
1144
1614
  * @param - object - To trigger the action for a specific visualization
1145
1615
  * in Liveboard embed, pass in `vizId` as a key.
@@ -1160,7 +1630,7 @@ var HostEvent;
1160
1630
  */
1161
1631
  HostEvent["Edit"] = "edit";
1162
1632
  /**
1163
- * Triggers the **Copy link** action on a Liveboard or visualization
1633
+ * Trigger the **Copy link** action on a Liveboard or visualization
1164
1634
  *
1165
1635
  * @param - object - to trigger the action for a
1166
1636
  * specific visualization in Liveboard embed, pass in `vizId` as a key
@@ -1178,7 +1648,7 @@ var HostEvent;
1178
1648
  */
1179
1649
  HostEvent["CopyLink"] = "embedDocument";
1180
1650
  /**
1181
- * Triggers the **Present** action on a Liveboard or visualization
1651
+ * Trigger the **Present** action on a Liveboard or visualization
1182
1652
  *
1183
1653
  * @param - object - to trigger the action for a specific visualization
1184
1654
  * in Liveboard embed, pass in `vizId` as a key
@@ -1196,7 +1666,7 @@ var HostEvent;
1196
1666
  */
1197
1667
  HostEvent["Present"] = "present";
1198
1668
  /**
1199
- * Gets TML for the current search.
1669
+ * Get TML for the current search.
1200
1670
  *
1201
1671
  * @example
1202
1672
  * ```js
@@ -1211,7 +1681,7 @@ var HostEvent;
1211
1681
  */
1212
1682
  HostEvent["GetTML"] = "getTML";
1213
1683
  /**
1214
- * Triggers the **Show underlying data** action on visualization or search
1684
+ * Trigger the **Show underlying data** action on visualization or search
1215
1685
  *
1216
1686
  * @param - an object with vizId as a key
1217
1687
  * @example
@@ -1229,7 +1699,9 @@ var HostEvent;
1229
1699
  */
1230
1700
  HostEvent["ShowUnderlyingData"] = "showUnderlyingData";
1231
1701
  /**
1232
- * Triggers the **Delete** action on visualization or search
1702
+ * Trigger the **Delete** action for a visualization
1703
+ * in an embedded Liveboard, or a chart or table
1704
+ * generated from Search.
1233
1705
  *
1234
1706
  * @param - Liveboard embed takes an object with `vizId` as a key.
1235
1707
  * Can be left empty if embedding Search or visualization.
@@ -1239,16 +1711,13 @@ var HostEvent;
1239
1711
  * '730496d6-6903-4601-937e-2c691821af3c'})
1240
1712
  * ```
1241
1713
  * ```js
1242
- * vizEmbed.trigger(HostEvent.Delete)
1243
- * ```
1244
- * ```js
1245
1714
  * searchEmbed.trigger(HostEvent.Delete)
1246
1715
  * ```
1247
1716
  * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
1248
1717
  */
1249
1718
  HostEvent["Delete"] = "onDeleteAnswer";
1250
1719
  /**
1251
- * Triggers the **SpotIQ analyze** action on visualization
1720
+ * Trigger the **SpotIQ analyze** action on visualization
1252
1721
  * or search.
1253
1722
  *
1254
1723
  * @param - Liveboard embed takes `vizId` as a
@@ -1269,7 +1738,7 @@ var HostEvent;
1269
1738
  */
1270
1739
  HostEvent["SpotIQAnalyze"] = "spotIQAnalyze";
1271
1740
  /**
1272
- * Triggers the **Download** action on charts in
1741
+ * Trigger the **Download** action on charts in
1273
1742
  * the embedded view.
1274
1743
  *
1275
1744
  * @example
@@ -1278,17 +1747,15 @@ var HostEvent;
1278
1747
  * '730496d6-6903-4601-937e-2c691821af3c'})
1279
1748
  * ```
1280
1749
  * ```js
1281
- * vizEmbed.trigger(HostEvent.Download)
1282
- * ```
1283
- * ```js
1284
- * searchEmbed.trigger(HostEvent.Download)
1750
+ * embed.trigger(HostEvent.Download)
1285
1751
  * ```
1286
- * @deprecated from SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl ,9.4.1.sw ,Use {@link DownloadAsPng}
1752
+ * @deprecated from SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl ,9.4.1.sw
1753
+ * Use {@link DownloadAsPng}
1287
1754
  * @version SDK: 1.19.0 | ThoughtSpot: 9.0.0.cl, 9.0.1.sw
1288
1755
  */
1289
1756
  HostEvent["Download"] = "downloadAsPng";
1290
1757
  /**
1291
- * Triggers the **Download** > **PNG** action on
1758
+ * Trigger the **Download** > **PNG** action on
1292
1759
  * charts in the embedded view.
1293
1760
  *
1294
1761
  * @example
@@ -1304,7 +1771,7 @@ var HostEvent;
1304
1771
  */
1305
1772
  HostEvent["DownloadAsPng"] = "downloadAsPng";
1306
1773
  /**
1307
- * Triggers the **Download** > **CSV** action on tables in
1774
+ * Trigger the **Download** > **CSV** action on tables in
1308
1775
  * the embedded view.
1309
1776
  *
1310
1777
  * @example
@@ -1322,7 +1789,7 @@ var HostEvent;
1322
1789
  */
1323
1790
  HostEvent["DownloadAsCsv"] = "downloadAsCSV";
1324
1791
  /**
1325
- * Triggers the **Download** > **XLSX** action on tables
1792
+ * Trigger the **Download** > **XLSX** action on tables
1326
1793
  * in the embedded view.
1327
1794
  *
1328
1795
  * @example
@@ -1340,7 +1807,7 @@ var HostEvent;
1340
1807
  */
1341
1808
  HostEvent["DownloadAsXlsx"] = "downloadAsXLSX";
1342
1809
  /**
1343
- * Triggers the **Share** action on an embedded
1810
+ * Trigger the **Share** action on an embedded
1344
1811
  * Liveboard or Answer.
1345
1812
  *
1346
1813
  * @example
@@ -1354,7 +1821,7 @@ var HostEvent;
1354
1821
  */
1355
1822
  HostEvent["Share"] = "share";
1356
1823
  /**
1357
- * Triggers the **Save** action on a Liveboard or Answer.
1824
+ * Trigger the **Save** action on a Liveboard or Answer.
1358
1825
  * Saves the changes.
1359
1826
  *
1360
1827
  * @example
@@ -1368,7 +1835,7 @@ var HostEvent;
1368
1835
  */
1369
1836
  HostEvent["Save"] = "save";
1370
1837
  /**
1371
- * Triggers the **Sync to Sheets** action on an embedded visualization or Answer
1838
+ * Trigger the **Sync to Sheets** action on an embedded visualization or Answer
1372
1839
  * Sends data from an Answer or Liveboard visualization to a Google sheet.
1373
1840
  *
1374
1841
  * @param - an object with `vizId` as a key
@@ -1384,7 +1851,7 @@ var HostEvent;
1384
1851
  */
1385
1852
  HostEvent["SyncToSheets"] = "sync-to-sheets";
1386
1853
  /**
1387
- * Triggers the **Sync to Other Apps** action on an embedded visualization or Answer
1854
+ * Trigger the **Sync to Other Apps** action on an embedded visualization or Answer
1388
1855
  * Sends data from an Answer or Liveboard visualization to third-party apps such
1389
1856
  * as Slack, Salesforce, Microsoft Teams, ServiceNow and so on.
1390
1857
  *
@@ -1401,7 +1868,7 @@ var HostEvent;
1401
1868
  */
1402
1869
  HostEvent["SyncToOtherApps"] = "sync-to-other-apps";
1403
1870
  /**
1404
- * Triggers the **Manage pipelines** action on an embedded
1871
+ * Trigger the **Manage pipelines** action on an embedded
1405
1872
  * visualization or Answer.
1406
1873
  * Allows users to manage ThoughtSpot Sync pipelines.
1407
1874
  *
@@ -1418,18 +1885,21 @@ var HostEvent;
1418
1885
  */
1419
1886
  HostEvent["ManagePipelines"] = "manage-pipeline";
1420
1887
  /**
1421
- * Triggers the Reset search on the Search page
1888
+ * Reset search operation on the Search or Answer page.
1422
1889
  *
1423
1890
  * @example
1424
1891
  * ```js
1425
1892
  * searchEmbed.trigger(HostEvent.ResetSearch)
1426
1893
  * ```
1894
+ * ```js
1895
+ * appEmbed.trigger(HostEvent.ResetSearch)
1896
+ * ```
1427
1897
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.0.1.sw
1428
1898
  */
1429
1899
  HostEvent["ResetSearch"] = "resetSearch";
1430
1900
  /**
1431
1901
  * @hidden
1432
- * Gets the currents visible and runtime filters applied on a Liveboard
1902
+ * Get the currents visible and runtime filters applied on a Liveboard
1433
1903
  * @example
1434
1904
  * liveboardEmbed.trigger(HostEvent.GetFilters)
1435
1905
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
@@ -1437,7 +1907,7 @@ var HostEvent;
1437
1907
  HostEvent["GetFilters"] = "getFilters";
1438
1908
  /**
1439
1909
  * @hidden
1440
- * Updates the visible filters on the Liveboard.
1910
+ * Update the visible filters on the Liveboard.
1441
1911
  * @param - filter: filter object containing column name and filter operation and values
1442
1912
  * @example
1443
1913
  *
@@ -1450,7 +1920,7 @@ var HostEvent;
1450
1920
  */
1451
1921
  HostEvent["UpdateFilters"] = "updateFilters";
1452
1922
  /**
1453
- * Get Tab for the current Liveboard.
1923
+ * Get tab details for the current Liveboard.
1454
1924
  *
1455
1925
  * @example
1456
1926
  * ```js
@@ -1464,9 +1934,9 @@ var HostEvent;
1464
1934
  */
1465
1935
  HostEvent["GetTabs"] = "getTabs";
1466
1936
  /**
1467
- * Set the visible Tabs on a Liveboard.
1937
+ * Set the visible tabs on a Liveboard.
1468
1938
  *
1469
- * @param - an array of ids of Tabs to show, the ids not passed
1939
+ * @param - an array of ids of tabs to show, the IDs not passed
1470
1940
  * will be hidden.
1471
1941
  * @example
1472
1942
  * ```js
@@ -1480,8 +1950,8 @@ var HostEvent;
1480
1950
  /**
1481
1951
  * Set the hidden tabs on a Liveboard.
1482
1952
  *
1483
- * @param - an array of ids of Tabs to hide, the ids not passed
1484
- * will be shown.
1953
+ * @param - an array of the IDs of the tabs to hide.
1954
+ * The IDs not passed will be shown.
1485
1955
  * @example
1486
1956
  * ```js
1487
1957
  * liveboardEmbed.trigger(HostEvent.SetHiddenTabs, [
@@ -1492,9 +1962,12 @@ var HostEvent;
1492
1962
  */
1493
1963
  HostEvent["SetHiddenTabs"] = "SetPinboardHiddenTabs";
1494
1964
  /**
1495
- * Updates the search query for sage embed.
1965
+ * Updates the search query string for Natural Language Search operations.
1966
+ *
1967
+ * @param - `queryString`: Text string in Natural Language format
1968
+ *
1969
+ * @param - `executeSearch`: Boolean to execute search and update search query
1496
1970
  *
1497
- * @param - searchOptions: an object queryString and option to execute the query.
1498
1971
  * @example
1499
1972
  * ```js
1500
1973
  * sageEmbed.trigger(HostEvent.UpdateSageQuery, {
@@ -1502,7 +1975,7 @@ var HostEvent;
1502
1975
  * executeSearch: true,
1503
1976
  * })
1504
1977
  * ```
1505
- * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
1978
+ * @version SDK: 1.26.0 | Thoughtspot: 9.8.0.cl, 9.8.0.sw
1506
1979
  */
1507
1980
  HostEvent["UpdateSageQuery"] = "updateSageQuery";
1508
1981
  /**
@@ -1515,26 +1988,27 @@ var HostEvent;
1515
1988
  * vizId: '123', // For Liveboard Visualization.
1516
1989
  * })
1517
1990
  * ```
1991
+ * @version SDK: 1.26.0 | Thoughtspot: 9.10.0.cl
1518
1992
  */
1519
1993
  HostEvent["GetAnswerSession"] = "getAnswerSession";
1520
1994
  })(HostEvent = exports.HostEvent || (exports.HostEvent = {}));
1521
1995
  /**
1522
1996
  * The different visual modes that the data sources panel within
1523
- * search could appear in, i.e., hidden, collapsed, or expanded.
1997
+ * search could appear in, such as hidden, collapsed, or expanded.
1524
1998
  */
1525
1999
  // eslint-disable-next-line no-shadow
1526
2000
  var DataSourceVisualMode;
1527
2001
  (function (DataSourceVisualMode) {
1528
2002
  /**
1529
- * Data source panel is hidden.
2003
+ * The data source panel is hidden.
1530
2004
  */
1531
2005
  DataSourceVisualMode["Hidden"] = "hide";
1532
2006
  /**
1533
- * Data source panel is collapsed, but the user can manually expand it.
2007
+ * The data source panel is collapsed, but the user can manually expand it.
1534
2008
  */
1535
2009
  DataSourceVisualMode["Collapsed"] = "collapse";
1536
2010
  /**
1537
- * Data source panel is expanded, but the user can manually collapse it.
2011
+ * The data source panel is expanded, but the user can manually collapse it.
1538
2012
  */
1539
2013
  DataSourceVisualMode["Expanded"] = "expand";
1540
2014
  })(DataSourceVisualMode = exports.DataSourceVisualMode || (exports.DataSourceVisualMode = {}));
@@ -1614,6 +2088,9 @@ var Param;
1614
2088
  Param["IsProductTour"] = "isProductTour";
1615
2089
  Param["HideSearchBarTitle"] = "hideSearchBarTitle";
1616
2090
  Param["HideSageAnswerHeader"] = "hideSageAnswerHeader";
2091
+ Param["HideSearchBar"] = "hideSearchBar";
2092
+ Param["ClientLogLevel"] = "clientLogLevel";
2093
+ Param["OverrideNativeConsole"] = "overrideConsoleLogs";
1617
2094
  })(Param = exports.Param || (exports.Param = {}));
1618
2095
  /**
1619
2096
  * ThoughtSpot application pages include actions and menu commands
@@ -1675,9 +2152,11 @@ var Action;
1675
2152
  Action["SaveAsView"] = "saveAsView";
1676
2153
  /**
1677
2154
  * The **Make a copy** action on a Liveboard or Answer
1678
- * page.
1679
- * Creates a copy of the Liveboard, visualization,
1680
- * or Answer.
2155
+ * page. Creates a copy of the Liveboard.
2156
+ * In LiveboardEmbed, the **Make a copy** action is not available for
2157
+ * visualizations in the embedded Liveboard view.
2158
+ * In AppEmbed, the **Make a copy** action is available on both
2159
+ * Liveboards and visualizations.
1681
2160
  *
1682
2161
  * @example
1683
2162
  * ```js
@@ -1861,7 +2340,7 @@ var Action;
1861
2340
  */
1862
2341
  Action["DownloadAsPdf"] = "downloadAsPdf";
1863
2342
  /**
1864
- * The **Download** > **CSV** menu action for tables on a Liveboard
2343
+ * The **Download** > **CSV** menu action for tables on a Liveboard
1865
2344
  * or Answer page.
1866
2345
  * Downloads a visualization or Answer in the XLSX format.
1867
2346
  *
@@ -2392,6 +2871,7 @@ var Action;
2392
2871
  */
2393
2872
  Action["RenameModalTitleDescription"] = "renameModalTitleDescription";
2394
2873
  /**
2874
+ *
2395
2875
  * @version SDK: 1.25.0 | Thoughtspot: 9.6.0.cl
2396
2876
  */
2397
2877
  Action["RequestVerification"] = "requestVerification";
@@ -2488,4 +2968,13 @@ var ContextMenuTriggerOptions;
2488
2968
  ContextMenuTriggerOptions["LEFT_CLICK"] = "left-click";
2489
2969
  ContextMenuTriggerOptions["RIGHT_CLICK"] = "right-click";
2490
2970
  })(ContextMenuTriggerOptions = exports.ContextMenuTriggerOptions || (exports.ContextMenuTriggerOptions = {}));
2971
+ var LogLevel;
2972
+ (function (LogLevel) {
2973
+ LogLevel["SILENT"] = "SILENT";
2974
+ LogLevel["ERROR"] = "ERROR";
2975
+ LogLevel["WARN"] = "WARN";
2976
+ LogLevel["INFO"] = "INFO";
2977
+ LogLevel["DEBUG"] = "DEBUG";
2978
+ LogLevel["TRACE"] = "TRACE";
2979
+ })(LogLevel = exports.LogLevel || (exports.LogLevel = {}));
2491
2980
  //# sourceMappingURL=types.js.map