@thoughtspot/visual-embed-sdk 1.36.1 → 1.36.3

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 (203) hide show
  1. package/cjs/package.json +1 -1
  2. package/cjs/src/auth.d.ts.map +1 -1
  3. package/cjs/src/auth.js +2 -1
  4. package/cjs/src/auth.js.map +1 -1
  5. package/cjs/src/authToken.d.ts.map +1 -1
  6. package/cjs/src/authToken.js +10 -3
  7. package/cjs/src/authToken.js.map +1 -1
  8. package/cjs/src/embed/app.d.ts +14 -0
  9. package/cjs/src/embed/app.d.ts.map +1 -1
  10. package/cjs/src/embed/app.js +4 -1
  11. package/cjs/src/embed/app.js.map +1 -1
  12. package/cjs/src/embed/app.spec.js +17 -0
  13. package/cjs/src/embed/app.spec.js.map +1 -1
  14. package/cjs/src/embed/base.d.ts.map +1 -1
  15. package/cjs/src/embed/base.js +2 -2
  16. package/cjs/src/embed/base.js.map +1 -1
  17. package/cjs/src/embed/base.spec.js +24 -0
  18. package/cjs/src/embed/base.spec.js.map +1 -1
  19. package/cjs/src/embed/embedConfig.d.ts +1 -1
  20. package/cjs/src/embed/embedConfig.d.ts.map +1 -1
  21. package/cjs/src/embed/embedConfig.js +5 -4
  22. package/cjs/src/embed/embedConfig.js.map +1 -1
  23. package/cjs/src/embed/liveboard.d.ts +4 -1
  24. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  25. package/cjs/src/embed/liveboard.js.map +1 -1
  26. package/cjs/src/types.d.ts +85 -66
  27. package/cjs/src/types.d.ts.map +1 -1
  28. package/cjs/src/types.js +78 -59
  29. package/cjs/src/types.js.map +1 -1
  30. package/cjs/src/utils/resetServices.d.ts +8 -0
  31. package/cjs/src/utils/resetServices.d.ts.map +1 -0
  32. package/cjs/src/utils/resetServices.js +18 -0
  33. package/cjs/src/utils/resetServices.js.map +1 -0
  34. package/cjs/src/utils/resetServices.spec.d.ts +2 -0
  35. package/cjs/src/utils/resetServices.spec.d.ts.map +1 -0
  36. package/cjs/src/utils/resetServices.spec.js +18 -0
  37. package/cjs/src/utils/resetServices.spec.js.map +1 -0
  38. package/cjs/src/utils/sessionInfoService.d.ts +14 -2
  39. package/cjs/src/utils/sessionInfoService.d.ts.map +1 -1
  40. package/cjs/src/utils/sessionInfoService.js +18 -3
  41. package/cjs/src/utils/sessionInfoService.js.map +1 -1
  42. package/cjs/src/utils.d.ts +12 -0
  43. package/cjs/src/utils.d.ts.map +1 -1
  44. package/cjs/src/utils.js +21 -1
  45. package/cjs/src/utils.js.map +1 -1
  46. package/cjs/src/utils.spec.js +15 -0
  47. package/cjs/src/utils.spec.js.map +1 -1
  48. package/dist/{index-B3hd6DTM.js → index-BJx3m5_V.js} +1 -1
  49. package/dist/src/auth.d.ts.map +1 -1
  50. package/dist/src/authToken.d.ts.map +1 -1
  51. package/dist/src/embed/app.d.ts +14 -0
  52. package/dist/src/embed/app.d.ts.map +1 -1
  53. package/dist/src/embed/base.d.ts.map +1 -1
  54. package/dist/src/embed/embedConfig.d.ts +1 -1
  55. package/dist/src/embed/embedConfig.d.ts.map +1 -1
  56. package/dist/src/embed/liveboard.d.ts +4 -1
  57. package/dist/src/embed/liveboard.d.ts.map +1 -1
  58. package/dist/src/types.d.ts +85 -66
  59. package/dist/src/types.d.ts.map +1 -1
  60. package/dist/src/utils/resetServices.d.ts +8 -0
  61. package/dist/src/utils/resetServices.d.ts.map +1 -0
  62. package/dist/src/utils/resetServices.spec.d.ts +2 -0
  63. package/dist/src/utils/resetServices.spec.d.ts.map +1 -0
  64. package/dist/src/utils/sessionInfoService.d.ts +14 -2
  65. package/dist/src/utils/sessionInfoService.d.ts.map +1 -1
  66. package/dist/src/utils.d.ts +12 -0
  67. package/dist/src/utils.d.ts.map +1 -1
  68. package/dist/tsembed-react.es.js +117 -70
  69. package/dist/tsembed-react.js +116 -69
  70. package/dist/tsembed.es.js +160 -75
  71. package/dist/tsembed.js +159 -74
  72. package/dist/visual-embed-sdk-react-full.d.ts +118 -70
  73. package/dist/visual-embed-sdk-react.d.ts +118 -70
  74. package/dist/visual-embed-sdk.d.ts +118 -70
  75. package/lib/package.json +1 -1
  76. package/lib/src/auth.d.ts.map +1 -1
  77. package/lib/src/auth.js +3 -2
  78. package/lib/src/auth.js.map +1 -1
  79. package/lib/src/authToken.d.ts.map +1 -1
  80. package/lib/src/authToken.js +10 -3
  81. package/lib/src/authToken.js.map +1 -1
  82. package/lib/src/embed/app.d.ts +14 -0
  83. package/lib/src/embed/app.d.ts.map +1 -1
  84. package/lib/src/embed/app.js +4 -1
  85. package/lib/src/embed/app.js.map +1 -1
  86. package/lib/src/embed/app.spec.js +17 -0
  87. package/lib/src/embed/app.spec.js.map +1 -1
  88. package/lib/src/embed/base.d.ts.map +1 -1
  89. package/lib/src/embed/base.js +2 -2
  90. package/lib/src/embed/base.js.map +1 -1
  91. package/lib/src/embed/base.spec.js +24 -0
  92. package/lib/src/embed/base.spec.js.map +1 -1
  93. package/lib/src/embed/embedConfig.d.ts +1 -1
  94. package/lib/src/embed/embedConfig.d.ts.map +1 -1
  95. package/lib/src/embed/embedConfig.js +5 -4
  96. package/lib/src/embed/embedConfig.js.map +1 -1
  97. package/lib/src/embed/liveboard.d.ts +4 -1
  98. package/lib/src/embed/liveboard.d.ts.map +1 -1
  99. package/lib/src/embed/liveboard.js.map +1 -1
  100. package/lib/src/types.d.ts +85 -66
  101. package/lib/src/types.d.ts.map +1 -1
  102. package/lib/src/types.js +78 -59
  103. package/lib/src/types.js.map +1 -1
  104. package/lib/src/utils/resetServices.d.ts +8 -0
  105. package/lib/src/utils/resetServices.d.ts.map +1 -0
  106. package/lib/src/utils/resetServices.js +14 -0
  107. package/lib/src/utils/resetServices.js.map +1 -0
  108. package/lib/src/utils/resetServices.spec.d.ts +2 -0
  109. package/lib/src/utils/resetServices.spec.d.ts.map +1 -0
  110. package/lib/src/utils/resetServices.spec.js +15 -0
  111. package/lib/src/utils/resetServices.spec.js.map +1 -0
  112. package/lib/src/utils/sessionInfoService.d.ts +14 -2
  113. package/lib/src/utils/sessionInfoService.d.ts.map +1 -1
  114. package/lib/src/utils/sessionInfoService.js +16 -2
  115. package/lib/src/utils/sessionInfoService.js.map +1 -1
  116. package/lib/src/utils.d.ts +12 -0
  117. package/lib/src/utils.d.ts.map +1 -1
  118. package/lib/src/utils.js +18 -0
  119. package/lib/src/utils.js.map +1 -1
  120. package/lib/src/utils.spec.js +16 -1
  121. package/lib/src/utils.spec.js.map +1 -1
  122. package/lib/src/visual-embed-sdk.d.ts +118 -70
  123. package/package.json +1 -1
  124. package/src/auth.ts +3 -2
  125. package/src/authToken.ts +11 -3
  126. package/src/embed/app.spec.ts +27 -0
  127. package/src/embed/app.ts +19 -0
  128. package/src/embed/base.spec.ts +26 -0
  129. package/src/embed/base.ts +2 -2
  130. package/src/embed/embedConfig.ts +5 -4
  131. package/src/embed/liveboard.ts +4 -1
  132. package/src/types.ts +89 -70
  133. package/src/utils/resetServices.spec.ts +15 -0
  134. package/src/utils/resetServices.ts +14 -0
  135. package/src/utils/sessionInfoService.ts +17 -2
  136. package/src/utils.spec.ts +21 -0
  137. package/src/utils.ts +21 -0
  138. package/cjs/src/embed/searchEmbed-basic-auth.spec.d.ts +0 -2
  139. package/cjs/src/embed/searchEmbed-basic-auth.spec.d.ts.map +0 -1
  140. package/cjs/src/embed/searchEmbed-basic-auth.spec.js +0 -104
  141. package/cjs/src/embed/searchEmbed-basic-auth.spec.js.map +0 -1
  142. package/cjs/src/hostEventsTypeMapping.d.ts +0 -2
  143. package/cjs/src/hostEventsTypeMapping.d.ts.map +0 -1
  144. package/cjs/src/hostEventsTypeMapping.js +0 -4
  145. package/cjs/src/hostEventsTypeMapping.js.map +0 -1
  146. package/cjs/src/utils/embedApi/contracts.d.ts +0 -101
  147. package/cjs/src/utils/embedApi/contracts.d.ts.map +0 -1
  148. package/cjs/src/utils/embedApi/contracts.js +0 -17
  149. package/cjs/src/utils/embedApi/contracts.js.map +0 -1
  150. package/cjs/src/utils/embedApi/embedApiClient.d.ts +0 -12
  151. package/cjs/src/utils/embedApi/embedApiClient.d.ts.map +0 -1
  152. package/cjs/src/utils/embedApi/embedApiClient.js +0 -46
  153. package/cjs/src/utils/embedApi/embedApiClient.js.map +0 -1
  154. package/cjs/src/utils/embedApi/processEmbedApi.d.ts +0 -9
  155. package/cjs/src/utils/embedApi/processEmbedApi.d.ts.map +0 -1
  156. package/cjs/src/utils/embedApi/processEmbedApi.js +0 -18
  157. package/cjs/src/utils/embedApi/processEmbedApi.js.map +0 -1
  158. package/dist/index-BBBimG1x.js +0 -7370
  159. package/dist/index-BGnxP5NY.js +0 -7370
  160. package/dist/index-CENLvayL.js +0 -7370
  161. package/dist/index-CR5u7BMC.js +0 -7370
  162. package/dist/index-CbltIawo.js +0 -7370
  163. package/dist/index-CoQfqaHj.js +0 -7370
  164. package/dist/index-CzwzS0P4.js +0 -7370
  165. package/dist/index-D-9WUCUl.js +0 -7370
  166. package/dist/index-DFwi_pV_.js +0 -7370
  167. package/dist/index-DOIjN0N_.js +0 -7370
  168. package/dist/index-DYBx8SuE.js +0 -7370
  169. package/dist/index-DaLHJaLd.js +0 -7370
  170. package/dist/index-DnJX-gN2.js +0 -7370
  171. package/dist/index-IDmSUe93.js +0 -7370
  172. package/dist/index-nWevLycs.js +0 -7370
  173. package/dist/index-vxW97_xb.js +0 -7370
  174. package/dist/src/embed/searchEmbed-basic-auth.spec.d.ts +0 -2
  175. package/dist/src/embed/searchEmbed-basic-auth.spec.d.ts.map +0 -1
  176. package/dist/src/hostEventsTypeMapping.d.ts +0 -2
  177. package/dist/src/hostEventsTypeMapping.d.ts.map +0 -1
  178. package/dist/src/utils/embedApi/contracts.d.ts +0 -101
  179. package/dist/src/utils/embedApi/contracts.d.ts.map +0 -1
  180. package/dist/src/utils/embedApi/embedApiClient.d.ts +0 -12
  181. package/dist/src/utils/embedApi/embedApiClient.d.ts.map +0 -1
  182. package/dist/src/utils/embedApi/processEmbedApi.d.ts +0 -9
  183. package/dist/src/utils/embedApi/processEmbedApi.d.ts.map +0 -1
  184. package/lib/src/embed/searchEmbed-basic-auth.spec.d.ts +0 -2
  185. package/lib/src/embed/searchEmbed-basic-auth.spec.d.ts.map +0 -1
  186. package/lib/src/embed/searchEmbed-basic-auth.spec.js +0 -101
  187. package/lib/src/embed/searchEmbed-basic-auth.spec.js.map +0 -1
  188. package/lib/src/hostEventsTypeMapping.d.ts +0 -2
  189. package/lib/src/hostEventsTypeMapping.d.ts.map +0 -1
  190. package/lib/src/hostEventsTypeMapping.js +0 -2
  191. package/lib/src/hostEventsTypeMapping.js.map +0 -1
  192. package/lib/src/utils/embedApi/contracts.d.ts +0 -101
  193. package/lib/src/utils/embedApi/contracts.d.ts.map +0 -1
  194. package/lib/src/utils/embedApi/contracts.js +0 -14
  195. package/lib/src/utils/embedApi/contracts.js.map +0 -1
  196. package/lib/src/utils/embedApi/embedApiClient.d.ts +0 -12
  197. package/lib/src/utils/embedApi/embedApiClient.d.ts.map +0 -1
  198. package/lib/src/utils/embedApi/embedApiClient.js +0 -42
  199. package/lib/src/utils/embedApi/embedApiClient.js.map +0 -1
  200. package/lib/src/utils/embedApi/processEmbedApi.d.ts +0 -9
  201. package/lib/src/utils/embedApi/processEmbedApi.d.ts.map +0 -1
  202. package/lib/src/utils/embedApi/processEmbedApi.js +0 -14
  203. package/lib/src/utils/embedApi/processEmbedApi.js.map +0 -1
@@ -937,6 +937,20 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
937
937
  * ```
938
938
  */
939
939
  disableProfileAndHelp?: boolean;
940
+ /**
941
+ * @version SDK: 1.36.3 | ThoughtSpot: 10.1.0.cl
942
+ * @default true
943
+ * Whether the help menu in the top nav bar should be served
944
+ * from Pendo or ThoughtSpot's internal help items.
945
+ * @example
946
+ * ```js
947
+ * const embed = new AppEmbed('#tsEmbed', {
948
+ * ... // other options
949
+ * enablePendoHelp: false,
950
+ * });
951
+ * ```
952
+ */
953
+ enablePendoHelp?: boolean;
940
954
  /**
941
955
  * Control the visibility of the application switcher button on the nav-bar.
942
956
  * By default, the application switcher is shown.
@@ -1578,7 +1592,10 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
1578
1592
  */
1579
1593
  showPreviewLoader?: boolean;
1580
1594
  /**
1581
- * This flag is used to enable the compact header on a Liveboard
1595
+ * Enables or disables the compact header feature on a Liveboard.
1596
+ * Compact Liveboard header is turned off by default on Liveboards in
1597
+ * ThoughtSpot Embedded apps.
1598
+ *
1582
1599
  * @type {boolean}
1583
1600
  * @default false
1584
1601
  * @version SDK: 1.35.0 | ThoughtSpot:10.3.0.cl
@@ -2245,9 +2262,10 @@ export declare const formatPreauthInfo: (preauthInfoResp: any) => Promise<Preaut
2245
2262
  */
2246
2263
  export declare function getPreauthInfo(allowCache?: boolean): Promise<PreauthInfo>;
2247
2264
  /**
2248
- * Returns the session info object and caches it for future use.
2265
+ * Returns the cached session info object and caches it for future use.
2249
2266
  * Once fetched the session info object is cached and returned from the cache on
2250
2267
  * subsequent calls.
2268
+ * This cache is cleared when inti is called OR resetCachedSessionInfo is called.
2251
2269
  * @example ```js
2252
2270
  * const sessionInfo = await getSessionInfo();
2253
2271
  * console.log(sessionInfo);
@@ -2290,10 +2308,21 @@ export declare const getSessionDetails: (sessionInfoResp: any) => SessionInfo;
2290
2308
  * const sessionInfo = await getSessionInfo();
2291
2309
  * console.log(sessionInfo);
2292
2310
  * ```
2293
- * @version SDK: 1.28.3 | ThoughtSpot ts7.april.cl, 7.2.1
2311
+ * @version SDK: 1.28.3 | ThoughtSpot: *
2294
2312
  * @returns {void}
2295
2313
  */
2296
2314
  export declare function resetCachedSessionInfo(): void;
2315
+ /**
2316
+ * Resets the cached preauth info object and forces a new fetch on the next call.
2317
+ * @example ```js
2318
+ * resetCachedPreauthInfo();
2319
+ * const preauthInfo = await getPreauthInfo();
2320
+ * console.log(preauthInfo);
2321
+ * ```
2322
+ * @version SDK: 1.28.3 | ThoughtSpot: *
2323
+ * @returns {void}
2324
+ */
2325
+ export declare function resetCachedPreauthInfo(): void;
2297
2326
 
2298
2327
  /**
2299
2328
  * Copyright (c) 2023
@@ -2505,9 +2534,9 @@ export type DOMSelector = string | HTMLElement;
2505
2534
  export interface customCssInterface {
2506
2535
  /**
2507
2536
  * The custom css variables, which can be set.
2508
- * The allowed list is in the CustomCssVariables
2537
+ * The variables are available in the {@link CustomCssVariables}
2509
2538
  * interface. For more information, see
2510
- * link:https://developers.thoughtspot.com/docs/css-variables-reference
2539
+ * link:https://developers.thoughtspot.com/docs/css-variables-reference[CSS variable reference].
2511
2540
  */
2512
2541
  variables?: CustomCssVariables;
2513
2542
  /**
@@ -3034,7 +3063,7 @@ export interface ViewConfig {
3034
3063
  */
3035
3064
  showAlerts?: boolean;
3036
3065
  /**
3037
- * The list of runtime filters to apply to a search answer,
3066
+ * The list of runtime filters to apply to a search Answer,
3038
3067
  * visualization, or Liveboard.
3039
3068
  * @version SDK: 1.9.4 | ThoughtSpot 8.1.0.cl, 8.4.1.sw
3040
3069
  * @example
@@ -3053,7 +3082,7 @@ export interface ViewConfig {
3053
3082
  */
3054
3083
  runtimeFilters?: RuntimeFilter[];
3055
3084
  /**
3056
- * The list of parameter override to apply to a search answer,
3085
+ * The list of parameter override to apply to a search Answer,
3057
3086
  * visualization, or Liveboard.
3058
3087
  * @version SDK : 1.25.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
3059
3088
  * @example
@@ -3071,7 +3100,7 @@ export interface ViewConfig {
3071
3100
  */
3072
3101
  runtimeParameters?: RuntimeParameter[];
3073
3102
  /**
3074
- * The locale/language to use for the embedded view.
3103
+ * The locale settings to apply to the embedded view.
3075
3104
  * @version SDK: 1.9.4 | ThoughtSpot 8.1.0.cl, 8.4.1.sw
3076
3105
  * @example
3077
3106
  * ```js
@@ -3138,7 +3167,7 @@ export interface ViewConfig {
3138
3167
  */
3139
3168
  contextMenuTrigger?: ContextMenuTriggerOptions;
3140
3169
  /**
3141
- * Flag to override openNew tab context menu link
3170
+ * Flag to override the *Open Link in New Tab* context menu option.
3142
3171
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
3143
3172
  * @example
3144
3173
  * ```js
@@ -3277,7 +3306,7 @@ export interface ViewConfig {
3277
3306
  */
3278
3307
  preRenderId?: string;
3279
3308
  /**
3280
- * Determines whether the PreRender component should not dynamically track the size
3309
+ * Determines if the PreRender component should dynamically track the size
3281
3310
  * of its embedding element and adjust its own size accordingly.
3282
3311
  * Enabling this option allows the PreRender component to automatically adapt
3283
3312
  * its dimensions based on changes to the size of the embedding element.
@@ -3649,8 +3678,8 @@ export declare enum EmbedEvent {
3649
3678
  */
3650
3679
  Load = "load",
3651
3680
  /**
3652
- * Data pertaining to answer or Liveboard is received
3653
- * @return data - The answer or Liveboard data
3681
+ * Data pertaining to an Answer or Liveboard is received
3682
+ * @return data - The Answer or Liveboard data
3654
3683
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
3655
3684
  * @example
3656
3685
  *```js
@@ -3824,7 +3853,7 @@ export declare enum EmbedEvent {
3824
3853
  */
3825
3854
  Alert = "alert",
3826
3855
  /**
3827
- * The ThoughtSpot auth session has expired.
3856
+ * The ThoughtSpot authentication session has expired.
3828
3857
  * @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 8.4.1.sw
3829
3858
  * @example
3830
3859
  *```js
@@ -3894,7 +3923,7 @@ export declare enum EmbedEvent {
3894
3923
  /**
3895
3924
  * Emitted when the embed does not have cookie access. This happens
3896
3925
  * when Safari and other Web browsers block third-party cookies
3897
- * are blocked by default. `NoCookieAccess` can trigger
3926
+ * are blocked by default. `NoCookieAccess` can trigger.
3898
3927
  * @example
3899
3928
  *```js
3900
3929
  * appEmbed.on(EmbedEvent.NoCookieAccess)
@@ -3982,7 +4011,7 @@ export declare enum EmbedEvent {
3982
4011
  */
3983
4012
  Save = "save",
3984
4013
  /**
3985
- * Emitted when the download action is triggered on an answer
4014
+ * Emitted when the download action is triggered on an Answer.
3986
4015
  *
3987
4016
  * **Note**: This event is deprecated in v1.21.0.
3988
4017
  * To fire an event when a download action is initiated on a chart or table,
@@ -3998,7 +4027,7 @@ export declare enum EmbedEvent {
3998
4027
  */
3999
4028
  Download = "download",
4000
4029
  /**
4001
- * Emitted when the download action is triggered on an answer
4030
+ * Emitted when the download action is triggered on an Answer.
4002
4031
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.0.sw
4003
4032
  * @example
4004
4033
  *```js
@@ -4012,7 +4041,7 @@ export declare enum EmbedEvent {
4012
4041
  */
4013
4042
  DownloadAsPng = "downloadAsPng",
4014
4043
  /**
4015
- * Emitted when the Download as PDF action is triggered on an answer
4044
+ * Emitted when the Download as PDF action is triggered on an Answer
4016
4045
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
4017
4046
  * @example
4018
4047
  *```js
@@ -4026,7 +4055,7 @@ export declare enum EmbedEvent {
4026
4055
  */
4027
4056
  DownloadAsPdf = "downloadAsPdf",
4028
4057
  /**
4029
- * Emitted when the Download as CSV action is triggered on an answer
4058
+ * Emitted when the Download as CSV action is triggered on an Answer.
4030
4059
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
4031
4060
  * @example
4032
4061
  *```js
@@ -4040,7 +4069,7 @@ export declare enum EmbedEvent {
4040
4069
  */
4041
4070
  DownloadAsCsv = "downloadAsCsv",
4042
4071
  /**
4043
- * Emitted when the Download as XLSX action is triggered on an answer
4072
+ * Emitted when the Download as XLSX action is triggered on an Answer.
4044
4073
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
4045
4074
  * @example
4046
4075
  *```js
@@ -4068,7 +4097,8 @@ export declare enum EmbedEvent {
4068
4097
  */
4069
4098
  AnswerDelete = "answerDelete",
4070
4099
  /**
4071
- * Emitted when an answer is pinned to a Liveboard
4100
+ * Emitted when a user initiates the Pin action to
4101
+ * add an Answer to a Liveboard.
4072
4102
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
4073
4103
  * @example
4074
4104
  *```js
@@ -4206,7 +4236,7 @@ export declare enum EmbedEvent {
4206
4236
  */
4207
4237
  SaveAsView = "saveAsView",
4208
4238
  /**
4209
- * Emitted when the user creates a copy of an Answer
4239
+ * Emitted when the user creates a copy of an Answer.
4210
4240
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
4211
4241
  * @example
4212
4242
  *```js
@@ -4220,7 +4250,7 @@ export declare enum EmbedEvent {
4220
4250
  */
4221
4251
  CopyAEdit = "copyAEdit",
4222
4252
  /**
4223
- * Emitted when a user clicks Show underlying data on an Answer
4253
+ * Emitted when a user clicks *Show underlying data* on an Answer.
4224
4254
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
4225
4255
  * @example
4226
4256
  *```js
@@ -4231,7 +4261,7 @@ export declare enum EmbedEvent {
4231
4261
  */
4232
4262
  ShowUnderlyingData = "showUnderlyingData",
4233
4263
  /**
4234
- * Emitted when an answer is switched to a chart or table view.
4264
+ * Emitted when an Answer is switched to a chart or table view.
4235
4265
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
4236
4266
  * @example
4237
4267
  *```js
@@ -4365,11 +4395,12 @@ export declare enum EmbedEvent {
4365
4395
  */
4366
4396
  CopyLink = "embedDocument",
4367
4397
  /**
4368
- * Emitted when a user interacts with cross filters on a visualization or Liveboard
4398
+ * Emitted when a user interacts with cross filters on a
4399
+ * visualization or Liveboard.
4369
4400
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
4370
4401
  * @example
4371
4402
  *```js
4372
- * liveboardEmbed.trigger(HostEvent.CrossFilterChanged, {
4403
+ * liveboardEmbed.on(EmbedEvent.CrossFilterChanged, {
4373
4404
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
4374
4405
  *```
4375
4406
  */
@@ -4463,8 +4494,8 @@ export declare enum EmbedEvent {
4463
4494
  */
4464
4495
  DeletePersonalisedView = "deletePersonalisedView",
4465
4496
  /**
4466
- * Emitted when a user creates a new worksheet
4467
- * @version SDK : 1.27.0 | ThoughtSpot Cloud: 9.8.0.cl
4497
+ * Emitted when a user creates a Worksheet.
4498
+ * @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
4468
4499
  */
4469
4500
  CreateWorksheet = "createWorksheet",
4470
4501
  /**
@@ -4477,8 +4508,8 @@ export declare enum EmbedEvent {
4477
4508
  */
4478
4509
  AskSageInit = "AskSageInit",
4479
4510
  /**
4480
- * Emitted when a LB/viz is renamed
4481
- * @version SDK : 1.28.0 | ThoughtSpot: 9.10.5.cl
4511
+ * Emitted when a Liveboard or visualization is renamed.
4512
+ * @version SDK : 1.28.0 | ThoughtSpot: 9.10.5.cl, 10.1.0.sw
4482
4513
  */
4483
4514
  Rename = "rename",
4484
4515
  /**
@@ -4542,8 +4573,7 @@ export declare enum EmbedEvent {
4542
4573
  OnBeforeGetVizDataIntercept = "onBeforeGetVizDataIntercept",
4543
4574
  /**
4544
4575
  * Emitted when parameter changes in an Answer
4545
- * or Liveboard
4546
- *
4576
+ * or Liveboard.
4547
4577
  * ```js
4548
4578
  * liveboardEmbed.on(EmbedEvent.ParameterChanged, (payload) => {
4549
4579
  * console.log('payload', payload);
@@ -4570,7 +4600,7 @@ export declare enum EmbedEvent {
4570
4600
  */
4571
4601
  TableVizRendered = "TableVizRendered",
4572
4602
  /**
4573
- * Emitted when the liveboard is created from pin modal or liveboard list page.
4603
+ * Emitted when the liveboard is created from pin modal or Liveboard list page.
4574
4604
  * You can use this event as a hook to trigger
4575
4605
  * other events on liveboard creation.
4576
4606
  *
@@ -4713,7 +4743,7 @@ export declare enum HostEvent {
4713
4743
  */
4714
4744
  Filter = "filter",
4715
4745
  /**
4716
- * Reload the answer or visualization
4746
+ * Reload the Answer or visualization
4717
4747
  * @hidden
4718
4748
  */
4719
4749
  Reload = "reload",
@@ -4763,12 +4793,10 @@ export declare enum HostEvent {
4763
4793
  * and `AppEmbed` only. In full application embedding, this event updates
4764
4794
  * the runtime filters applied on the Liveboard and saved Answer objects.
4765
4795
  *
4766
- *
4767
- * Pass an array of runtime filters with the following attributes:
4768
- *
4796
+ * @param - Pass an array of {@link RuntimeFilter} with the following attributes:
4769
4797
  * `columnName` - _String_. The name of the column to filter on.
4770
4798
  *
4771
- * `operator` - Runtime filter operator to apply. For more information,
4799
+ * `operator` - {@link RuntimeFilterOp} to apply. For more information,
4772
4800
  * see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
4773
4801
  *
4774
4802
  * `values` - List of operands. Some operators such as EQ and LE allow a
@@ -4780,7 +4808,7 @@ export declare enum HostEvent {
4780
4808
  * will be cleared, restoring the original visualization
4781
4809
  * with the updated filters.
4782
4810
  *
4783
- * @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
4811
+
4784
4812
  * @example
4785
4813
  * ```js
4786
4814
  * liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
@@ -5019,6 +5047,11 @@ export declare enum HostEvent {
5019
5047
  * appEmbed.trigger(HostEvent.Remove)
5020
5048
  * ```
5021
5049
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
5050
+ * * @example
5051
+ * ```js
5052
+ * liveboardEmbed.trigger(HostEvent.Remove)
5053
+ * ```
5054
+ * @version SDK: 1.37.0 | ThoughtSpot: 10.8.0.cl, 10.10.0.sw
5022
5055
  */
5023
5056
  Remove = "delete",
5024
5057
  /**
@@ -5429,7 +5462,7 @@ export declare enum HostEvent {
5429
5462
  * ```js
5430
5463
  * liveboardEmbed.trigger(HostEvent.GetTabs).then((tabDetails) => {
5431
5464
  * console.log(
5432
- * tabDetails // TabDetails of current LB
5465
+ * tabDetails // TabDetails of current Liveboard
5433
5466
  * );
5434
5467
  * })
5435
5468
  * ```
@@ -5477,7 +5510,7 @@ export declare enum HostEvent {
5477
5510
  */
5478
5511
  UpdateSageQuery = "updateSageQuery",
5479
5512
  /**
5480
- * Get the answer session for a Search or
5513
+ * Get the Answer session for a Search or
5481
5514
  * Liveboard visualization.
5482
5515
  * @example
5483
5516
  * ```js
@@ -5652,6 +5685,7 @@ export declare enum Param {
5652
5685
  HostAppUrl = "hostAppUrl",
5653
5686
  EnableVizTransformations = "enableVizTransform",
5654
5687
  EnableSearchAssist = "enableSearchAssist",
5688
+ EnablePendoHelp = "enablePendoHelp",
5655
5689
  HideResult = "hideResult",
5656
5690
  UseLastSelectedDataSource = "useLastSelectedSources",
5657
5691
  Tag = "tag",
@@ -5876,9 +5910,10 @@ export declare enum Action {
5876
5910
  */
5877
5911
  AddDataPanelObjects = "addDataPanelObjects",
5878
5912
  /**
5879
- * Filter configuration options on a Liveboard page.
5880
- * Allows configuring filters on a
5881
- * Liveboard.
5913
+ * The filter configuration options for a Liveboard.
5914
+ * The configuration options are available when adding
5915
+ * filters on a Liveboard.
5916
+ *
5882
5917
  * @example
5883
5918
  * ```js
5884
5919
  * disabledActions: [Action.ConfigureFilter]
@@ -5976,14 +6011,17 @@ export declare enum Action {
5976
6011
  * @hidden
5977
6012
  */
5978
6013
  SpotIQFollow = "spotIQFollow",
6014
+ /**
6015
+ * The Share action for a Liveboard visualization.
6016
+ */
5979
6017
  ShareViz = "shareViz",
5980
6018
  /**
5981
6019
  * @hidden
5982
6020
  */
5983
6021
  ReplaySearch = "replaySearch",
5984
6022
  /**
5985
- * The **Show underlying data** menu action on a visualization or
5986
- * Answer page.
6023
+ * The **Show underlying data** menu action on a
6024
+ * visualization or Answer page.
5987
6025
  * Displays detailed information and raw data
5988
6026
  * for a given visualization.
5989
6027
  * @example
@@ -5993,8 +6031,8 @@ export declare enum Action {
5993
6031
  */
5994
6032
  ShowUnderlyingData = "showUnderlyingData",
5995
6033
  /**
5996
- * The **Download** menu action on Liveboard visualizations
5997
- * and Answers.
6034
+ * The **Download** menu action on Liveboard
6035
+ * visualizations and Answers.
5998
6036
  * Allows downloading a visualization or Answer.
5999
6037
  * @example
6000
6038
  * ```js
@@ -6015,11 +6053,10 @@ export declare enum Action {
6015
6053
  /**
6016
6054
  *
6017
6055
  *The **Download PDF** action that downloads a Liveboard,
6018
- *visualization, or Answer as a PDF file.
6019
- *
6056
+ * visualization, or Answer as a PDF file.
6020
6057
  *
6021
- ***NOTE**: The **Download** > **PDF** action is available on
6022
- *visualizations and Answers if the data is in tabular format.
6058
+ * **NOTE**: The **Download** > **PDF** option is available for
6059
+ * tables in visualizations and Answers.
6023
6060
  * @example
6024
6061
  * ```js
6025
6062
  * disabledActions: [Action.DownloadAsPdf]
@@ -6051,9 +6088,11 @@ export declare enum Action {
6051
6088
  */
6052
6089
  DownloadTrace = "downloadTrace",
6053
6090
  /**
6054
- * The **Export TML** menu action on Liveboard, Answers
6055
- * Worksheets and Data Connections page.
6056
- * Exports an object as a TML file.
6091
+ * The **Export TML** menu action on a Liveboard, Answer, and
6092
+ * the Data Workspace pages for data objects and connections.
6093
+ *
6094
+ * Allows exporting an object as a TML file.
6095
+ *
6057
6096
  * @example
6058
6097
  * ```js
6059
6098
  * disabledActions: [Action.ExportTML]
@@ -6061,7 +6100,8 @@ export declare enum Action {
6061
6100
  */
6062
6101
  ExportTML = "exportTSL",
6063
6102
  /**
6064
- * The **Import TML** menu action for Liveboards and Answers.
6103
+ * The **Import TML** menu action on the
6104
+ * *Data Workspace* > *Utilities* page.
6065
6105
  * Imports TML representation of ThoughtSpot objects.
6066
6106
  * @example
6067
6107
  * ```js
@@ -6071,7 +6111,7 @@ export declare enum Action {
6071
6111
  ImportTML = "importTSL",
6072
6112
  /**
6073
6113
  * The **Update TML** menu action for Liveboards and Answers.
6074
- * Update TML representation of ThoughtSpot objects.
6114
+ * Updates TML representation of ThoughtSpot objects.
6075
6115
  * @example
6076
6116
  * ```js
6077
6117
  * disabledActions: [Action.UpdateTML]
@@ -6098,8 +6138,11 @@ export declare enum Action {
6098
6138
  */
6099
6139
  Present = "present",
6100
6140
  /**
6101
- * The tile resize options in the visualization menu.
6102
- * Allows switching between different preset layouts.
6141
+ * The visualization tile resize option.
6142
+ * Also available via More `...` options menu on a visualization.
6143
+ * Allows resizing visualization tiles and switching
6144
+ * between different preset layout option.
6145
+ *
6103
6146
  * @example
6104
6147
  * ```js
6105
6148
  * disabledActions: [Action.ToggleSize]
@@ -6125,8 +6168,9 @@ export declare enum Action {
6125
6168
  */
6126
6169
  EditTitle = "editTitle",
6127
6170
  /**
6128
- * The **Delete** menu action on Liveboards and visualizations.
6129
- * Deletes a Liveboard or a visualization from a Liveboard.
6171
+ * The **Delete** action on a Liveboard, *Liveboards* and
6172
+ * *Answers* list pages in full application embedding.
6173
+ *
6130
6174
  * @example
6131
6175
  * ```js
6132
6176
  * disabledActions: [Action.Remove]
@@ -6203,8 +6247,9 @@ export declare enum Action {
6203
6247
  */
6204
6248
  Explore = "explore",
6205
6249
  /**
6206
- * The action to include data points on a drilled-down Answer
6207
- * or visualization
6250
+ * The contextual menu action to include a specific data point
6251
+ * when drilling down a table or chart on an Answer.
6252
+ *
6208
6253
  * @example
6209
6254
  * ```js
6210
6255
  * disabledActions: [Action.DrillInclude]
@@ -6212,8 +6257,8 @@ export declare enum Action {
6212
6257
  */
6213
6258
  DrillInclude = "context-menu-item-include",
6214
6259
  /**
6215
- * The action to exclude data points on a drilled-down Answer
6216
- * or visualization
6260
+ * The contextual menu action to exclude a specific data point
6261
+ * when drilling down a table or chart on an Answer.
6217
6262
  * @example
6218
6263
  * ```js
6219
6264
  * disabledActions: [Action.DrillInclude]
@@ -6360,7 +6405,7 @@ export declare enum Action {
6360
6405
  * Allows users to manage data sync pipelines to third-party apps.
6361
6406
  * @example
6362
6407
  * ```js
6363
- * disabledActions: [Action.SyncToOtherApps]
6408
+ * disabledActions: [Action.ManagePipelines]
6364
6409
  * ```
6365
6410
  * @version SDK: 1.18.0| ThoughtSpot: 8.10.0.cl, 9.0.1.sw
6366
6411
  */
@@ -6679,7 +6724,7 @@ export declare enum Action {
6679
6724
  /**
6680
6725
  * Action ID for the Parent TML action
6681
6726
  * The parent action **TML** must be included to access TML-related options
6682
- * within the cascading menu (specific to the answer page)
6727
+ * within the cascading menu (specific to the Answer page)
6683
6728
  * @example
6684
6729
  * ```js
6685
6730
  * // to include specific TML actions
@@ -6718,8 +6763,10 @@ export declare enum Action {
6718
6763
  */
6719
6764
  VerifiedLiveboard = "verifiedLiveboard",
6720
6765
  /**
6721
- * The *Ask Sage* action for Answers and visualizations.
6722
- * Allows initiating a Natural Language Search query.
6766
+ * Action ID for the *Ask Sage* In Natural Language Search embed,
6767
+ * *Spotter* in Liveboard, full app, and Spotter embed.
6768
+ *
6769
+ * Allows initiating a conversation with ThoughtSpot AI analyst.
6723
6770
  *
6724
6771
  * @example
6725
6772
  * ```js
@@ -6915,7 +6962,8 @@ export declare enum Action {
6915
6962
  */
6916
6963
  DeletePreviousPrompt = "deletePreviousPrompt",
6917
6964
  /**
6918
- * Action ID for hide/disable edit of tokens on spotter results.
6965
+ * Action ID for hide or disable editing tokens generated from
6966
+ * Spotter results.
6919
6967
  * @example
6920
6968
  * ```js
6921
6969
  * hiddenAction: [Action.EditTokens]
@@ -7658,7 +7706,7 @@ export declare const getEmbedConfig: () => EmbedConfig;
7658
7706
  * @version SDK: 1.27.0 | ThoughtSpot: *
7659
7707
  * @group Global methods
7660
7708
  */
7661
- export declare const setEmbedConfig: (newConfig: EmbedConfig) => EmbedConfig;
7709
+ export declare const setEmbedConfig: (newConfig: EmbedConfig) => any;
7662
7710
 
7663
7711
  export declare const EndPoints: {
7664
7712
  CONFIG: string;