@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
@@ -927,6 +927,20 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
927
927
  * ```
928
928
  */
929
929
  disableProfileAndHelp?: boolean;
930
+ /**
931
+ * @version SDK: 1.36.3 | ThoughtSpot: 10.1.0.cl
932
+ * @default true
933
+ * Whether the help menu in the top nav bar should be served
934
+ * from Pendo or ThoughtSpot's internal help items.
935
+ * @example
936
+ * ```js
937
+ * const embed = new AppEmbed('#tsEmbed', {
938
+ * ... // other options
939
+ * enablePendoHelp: false,
940
+ * });
941
+ * ```
942
+ */
943
+ enablePendoHelp?: boolean;
930
944
  /**
931
945
  * Control the visibility of the application switcher button on the nav-bar.
932
946
  * By default, the application switcher is shown.
@@ -1568,7 +1582,10 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
1568
1582
  */
1569
1583
  showPreviewLoader?: boolean;
1570
1584
  /**
1571
- * This flag is used to enable the compact header on a Liveboard
1585
+ * Enables or disables the compact header feature on a Liveboard.
1586
+ * Compact Liveboard header is turned off by default on Liveboards in
1587
+ * ThoughtSpot Embedded apps.
1588
+ *
1572
1589
  * @type {boolean}
1573
1590
  * @default false
1574
1591
  * @version SDK: 1.35.0 | ThoughtSpot:10.3.0.cl
@@ -2061,9 +2078,9 @@ export type DOMSelector = string | HTMLElement;
2061
2078
  export interface customCssInterface {
2062
2079
  /**
2063
2080
  * The custom css variables, which can be set.
2064
- * The allowed list is in the CustomCssVariables
2081
+ * The variables are available in the {@link CustomCssVariables}
2065
2082
  * interface. For more information, see
2066
- * link:https://developers.thoughtspot.com/docs/css-variables-reference
2083
+ * link:https://developers.thoughtspot.com/docs/css-variables-reference[CSS variable reference].
2067
2084
  */
2068
2085
  variables?: CustomCssVariables;
2069
2086
  /**
@@ -2590,7 +2607,7 @@ export interface ViewConfig {
2590
2607
  */
2591
2608
  showAlerts?: boolean;
2592
2609
  /**
2593
- * The list of runtime filters to apply to a search answer,
2610
+ * The list of runtime filters to apply to a search Answer,
2594
2611
  * visualization, or Liveboard.
2595
2612
  * @version SDK: 1.9.4 | ThoughtSpot 8.1.0.cl, 8.4.1.sw
2596
2613
  * @example
@@ -2609,7 +2626,7 @@ export interface ViewConfig {
2609
2626
  */
2610
2627
  runtimeFilters?: RuntimeFilter[];
2611
2628
  /**
2612
- * The list of parameter override to apply to a search answer,
2629
+ * The list of parameter override to apply to a search Answer,
2613
2630
  * visualization, or Liveboard.
2614
2631
  * @version SDK : 1.25.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
2615
2632
  * @example
@@ -2627,7 +2644,7 @@ export interface ViewConfig {
2627
2644
  */
2628
2645
  runtimeParameters?: RuntimeParameter[];
2629
2646
  /**
2630
- * The locale/language to use for the embedded view.
2647
+ * The locale settings to apply to the embedded view.
2631
2648
  * @version SDK: 1.9.4 | ThoughtSpot 8.1.0.cl, 8.4.1.sw
2632
2649
  * @example
2633
2650
  * ```js
@@ -2694,7 +2711,7 @@ export interface ViewConfig {
2694
2711
  */
2695
2712
  contextMenuTrigger?: ContextMenuTriggerOptions;
2696
2713
  /**
2697
- * Flag to override openNew tab context menu link
2714
+ * Flag to override the *Open Link in New Tab* context menu option.
2698
2715
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl
2699
2716
  * @example
2700
2717
  * ```js
@@ -2833,7 +2850,7 @@ export interface ViewConfig {
2833
2850
  */
2834
2851
  preRenderId?: string;
2835
2852
  /**
2836
- * Determines whether the PreRender component should not dynamically track the size
2853
+ * Determines if the PreRender component should dynamically track the size
2837
2854
  * of its embedding element and adjust its own size accordingly.
2838
2855
  * Enabling this option allows the PreRender component to automatically adapt
2839
2856
  * its dimensions based on changes to the size of the embedding element.
@@ -3205,8 +3222,8 @@ export declare enum EmbedEvent {
3205
3222
  */
3206
3223
  Load = "load",
3207
3224
  /**
3208
- * Data pertaining to answer or Liveboard is received
3209
- * @return data - The answer or Liveboard data
3225
+ * Data pertaining to an Answer or Liveboard is received
3226
+ * @return data - The Answer or Liveboard data
3210
3227
  * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
3211
3228
  * @example
3212
3229
  *```js
@@ -3380,7 +3397,7 @@ export declare enum EmbedEvent {
3380
3397
  */
3381
3398
  Alert = "alert",
3382
3399
  /**
3383
- * The ThoughtSpot auth session has expired.
3400
+ * The ThoughtSpot authentication session has expired.
3384
3401
  * @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 8.4.1.sw
3385
3402
  * @example
3386
3403
  *```js
@@ -3450,7 +3467,7 @@ export declare enum EmbedEvent {
3450
3467
  /**
3451
3468
  * Emitted when the embed does not have cookie access. This happens
3452
3469
  * when Safari and other Web browsers block third-party cookies
3453
- * are blocked by default. `NoCookieAccess` can trigger
3470
+ * are blocked by default. `NoCookieAccess` can trigger.
3454
3471
  * @example
3455
3472
  *```js
3456
3473
  * appEmbed.on(EmbedEvent.NoCookieAccess)
@@ -3538,7 +3555,7 @@ export declare enum EmbedEvent {
3538
3555
  */
3539
3556
  Save = "save",
3540
3557
  /**
3541
- * Emitted when the download action is triggered on an answer
3558
+ * Emitted when the download action is triggered on an Answer.
3542
3559
  *
3543
3560
  * **Note**: This event is deprecated in v1.21.0.
3544
3561
  * To fire an event when a download action is initiated on a chart or table,
@@ -3554,7 +3571,7 @@ export declare enum EmbedEvent {
3554
3571
  */
3555
3572
  Download = "download",
3556
3573
  /**
3557
- * Emitted when the download action is triggered on an answer
3574
+ * Emitted when the download action is triggered on an Answer.
3558
3575
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.0.sw
3559
3576
  * @example
3560
3577
  *```js
@@ -3568,7 +3585,7 @@ export declare enum EmbedEvent {
3568
3585
  */
3569
3586
  DownloadAsPng = "downloadAsPng",
3570
3587
  /**
3571
- * Emitted when the Download as PDF action is triggered on an answer
3588
+ * Emitted when the Download as PDF action is triggered on an Answer
3572
3589
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3573
3590
  * @example
3574
3591
  *```js
@@ -3582,7 +3599,7 @@ export declare enum EmbedEvent {
3582
3599
  */
3583
3600
  DownloadAsPdf = "downloadAsPdf",
3584
3601
  /**
3585
- * Emitted when the Download as CSV action is triggered on an answer
3602
+ * Emitted when the Download as CSV action is triggered on an Answer.
3586
3603
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3587
3604
  * @example
3588
3605
  *```js
@@ -3596,7 +3613,7 @@ export declare enum EmbedEvent {
3596
3613
  */
3597
3614
  DownloadAsCsv = "downloadAsCsv",
3598
3615
  /**
3599
- * Emitted when the Download as XLSX action is triggered on an answer
3616
+ * Emitted when the Download as XLSX action is triggered on an Answer.
3600
3617
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3601
3618
  * @example
3602
3619
  *```js
@@ -3624,7 +3641,8 @@ export declare enum EmbedEvent {
3624
3641
  */
3625
3642
  AnswerDelete = "answerDelete",
3626
3643
  /**
3627
- * Emitted when an answer is pinned to a Liveboard
3644
+ * Emitted when a user initiates the Pin action to
3645
+ * add an Answer to a Liveboard.
3628
3646
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3629
3647
  * @example
3630
3648
  *```js
@@ -3762,7 +3780,7 @@ export declare enum EmbedEvent {
3762
3780
  */
3763
3781
  SaveAsView = "saveAsView",
3764
3782
  /**
3765
- * Emitted when the user creates a copy of an Answer
3783
+ * Emitted when the user creates a copy of an Answer.
3766
3784
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3767
3785
  * @example
3768
3786
  *```js
@@ -3776,7 +3794,7 @@ export declare enum EmbedEvent {
3776
3794
  */
3777
3795
  CopyAEdit = "copyAEdit",
3778
3796
  /**
3779
- * Emitted when a user clicks Show underlying data on an Answer
3797
+ * Emitted when a user clicks *Show underlying data* on an Answer.
3780
3798
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3781
3799
  * @example
3782
3800
  *```js
@@ -3787,7 +3805,7 @@ export declare enum EmbedEvent {
3787
3805
  */
3788
3806
  ShowUnderlyingData = "showUnderlyingData",
3789
3807
  /**
3790
- * Emitted when an answer is switched to a chart or table view.
3808
+ * Emitted when an Answer is switched to a chart or table view.
3791
3809
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3792
3810
  * @example
3793
3811
  *```js
@@ -3921,11 +3939,12 @@ export declare enum EmbedEvent {
3921
3939
  */
3922
3940
  CopyLink = "embedDocument",
3923
3941
  /**
3924
- * Emitted when a user interacts with cross filters on a visualization or Liveboard
3942
+ * Emitted when a user interacts with cross filters on a
3943
+ * visualization or Liveboard.
3925
3944
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
3926
3945
  * @example
3927
3946
  *```js
3928
- * liveboardEmbed.trigger(HostEvent.CrossFilterChanged, {
3947
+ * liveboardEmbed.on(EmbedEvent.CrossFilterChanged, {
3929
3948
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
3930
3949
  *```
3931
3950
  */
@@ -4019,8 +4038,8 @@ export declare enum EmbedEvent {
4019
4038
  */
4020
4039
  DeletePersonalisedView = "deletePersonalisedView",
4021
4040
  /**
4022
- * Emitted when a user creates a new worksheet
4023
- * @version SDK : 1.27.0 | ThoughtSpot Cloud: 9.8.0.cl
4041
+ * Emitted when a user creates a Worksheet.
4042
+ * @version SDK : 1.27.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
4024
4043
  */
4025
4044
  CreateWorksheet = "createWorksheet",
4026
4045
  /**
@@ -4033,8 +4052,8 @@ export declare enum EmbedEvent {
4033
4052
  */
4034
4053
  AskSageInit = "AskSageInit",
4035
4054
  /**
4036
- * Emitted when a LB/viz is renamed
4037
- * @version SDK : 1.28.0 | ThoughtSpot: 9.10.5.cl
4055
+ * Emitted when a Liveboard or visualization is renamed.
4056
+ * @version SDK : 1.28.0 | ThoughtSpot: 9.10.5.cl, 10.1.0.sw
4038
4057
  */
4039
4058
  Rename = "rename",
4040
4059
  /**
@@ -4098,8 +4117,7 @@ export declare enum EmbedEvent {
4098
4117
  OnBeforeGetVizDataIntercept = "onBeforeGetVizDataIntercept",
4099
4118
  /**
4100
4119
  * Emitted when parameter changes in an Answer
4101
- * or Liveboard
4102
- *
4120
+ * or Liveboard.
4103
4121
  * ```js
4104
4122
  * liveboardEmbed.on(EmbedEvent.ParameterChanged, (payload) => {
4105
4123
  * console.log('payload', payload);
@@ -4126,7 +4144,7 @@ export declare enum EmbedEvent {
4126
4144
  */
4127
4145
  TableVizRendered = "TableVizRendered",
4128
4146
  /**
4129
- * Emitted when the liveboard is created from pin modal or liveboard list page.
4147
+ * Emitted when the liveboard is created from pin modal or Liveboard list page.
4130
4148
  * You can use this event as a hook to trigger
4131
4149
  * other events on liveboard creation.
4132
4150
  *
@@ -4269,7 +4287,7 @@ export declare enum HostEvent {
4269
4287
  */
4270
4288
  Filter = "filter",
4271
4289
  /**
4272
- * Reload the answer or visualization
4290
+ * Reload the Answer or visualization
4273
4291
  * @hidden
4274
4292
  */
4275
4293
  Reload = "reload",
@@ -4319,12 +4337,10 @@ export declare enum HostEvent {
4319
4337
  * and `AppEmbed` only. In full application embedding, this event updates
4320
4338
  * the runtime filters applied on the Liveboard and saved Answer objects.
4321
4339
  *
4322
- *
4323
- * Pass an array of runtime filters with the following attributes:
4324
- *
4340
+ * @param - Pass an array of {@link RuntimeFilter} with the following attributes:
4325
4341
  * `columnName` - _String_. The name of the column to filter on.
4326
4342
  *
4327
- * `operator` - Runtime filter operator to apply. For more information,
4343
+ * `operator` - {@link RuntimeFilterOp} to apply. For more information,
4328
4344
  * see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
4329
4345
  *
4330
4346
  * `values` - List of operands. Some operators such as EQ and LE allow a
@@ -4336,7 +4352,7 @@ export declare enum HostEvent {
4336
4352
  * will be cleared, restoring the original visualization
4337
4353
  * with the updated filters.
4338
4354
  *
4339
- * @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
4355
+
4340
4356
  * @example
4341
4357
  * ```js
4342
4358
  * liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
@@ -4575,6 +4591,11 @@ export declare enum HostEvent {
4575
4591
  * appEmbed.trigger(HostEvent.Remove)
4576
4592
  * ```
4577
4593
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
4594
+ * * @example
4595
+ * ```js
4596
+ * liveboardEmbed.trigger(HostEvent.Remove)
4597
+ * ```
4598
+ * @version SDK: 1.37.0 | ThoughtSpot: 10.8.0.cl, 10.10.0.sw
4578
4599
  */
4579
4600
  Remove = "delete",
4580
4601
  /**
@@ -4985,7 +5006,7 @@ export declare enum HostEvent {
4985
5006
  * ```js
4986
5007
  * liveboardEmbed.trigger(HostEvent.GetTabs).then((tabDetails) => {
4987
5008
  * console.log(
4988
- * tabDetails // TabDetails of current LB
5009
+ * tabDetails // TabDetails of current Liveboard
4989
5010
  * );
4990
5011
  * })
4991
5012
  * ```
@@ -5033,7 +5054,7 @@ export declare enum HostEvent {
5033
5054
  */
5034
5055
  UpdateSageQuery = "updateSageQuery",
5035
5056
  /**
5036
- * Get the answer session for a Search or
5057
+ * Get the Answer session for a Search or
5037
5058
  * Liveboard visualization.
5038
5059
  * @example
5039
5060
  * ```js
@@ -5208,6 +5229,7 @@ export declare enum Param {
5208
5229
  HostAppUrl = "hostAppUrl",
5209
5230
  EnableVizTransformations = "enableVizTransform",
5210
5231
  EnableSearchAssist = "enableSearchAssist",
5232
+ EnablePendoHelp = "enablePendoHelp",
5211
5233
  HideResult = "hideResult",
5212
5234
  UseLastSelectedDataSource = "useLastSelectedSources",
5213
5235
  Tag = "tag",
@@ -5432,9 +5454,10 @@ export declare enum Action {
5432
5454
  */
5433
5455
  AddDataPanelObjects = "addDataPanelObjects",
5434
5456
  /**
5435
- * Filter configuration options on a Liveboard page.
5436
- * Allows configuring filters on a
5437
- * Liveboard.
5457
+ * The filter configuration options for a Liveboard.
5458
+ * The configuration options are available when adding
5459
+ * filters on a Liveboard.
5460
+ *
5438
5461
  * @example
5439
5462
  * ```js
5440
5463
  * disabledActions: [Action.ConfigureFilter]
@@ -5532,14 +5555,17 @@ export declare enum Action {
5532
5555
  * @hidden
5533
5556
  */
5534
5557
  SpotIQFollow = "spotIQFollow",
5558
+ /**
5559
+ * The Share action for a Liveboard visualization.
5560
+ */
5535
5561
  ShareViz = "shareViz",
5536
5562
  /**
5537
5563
  * @hidden
5538
5564
  */
5539
5565
  ReplaySearch = "replaySearch",
5540
5566
  /**
5541
- * The **Show underlying data** menu action on a visualization or
5542
- * Answer page.
5567
+ * The **Show underlying data** menu action on a
5568
+ * visualization or Answer page.
5543
5569
  * Displays detailed information and raw data
5544
5570
  * for a given visualization.
5545
5571
  * @example
@@ -5549,8 +5575,8 @@ export declare enum Action {
5549
5575
  */
5550
5576
  ShowUnderlyingData = "showUnderlyingData",
5551
5577
  /**
5552
- * The **Download** menu action on Liveboard visualizations
5553
- * and Answers.
5578
+ * The **Download** menu action on Liveboard
5579
+ * visualizations and Answers.
5554
5580
  * Allows downloading a visualization or Answer.
5555
5581
  * @example
5556
5582
  * ```js
@@ -5571,11 +5597,10 @@ export declare enum Action {
5571
5597
  /**
5572
5598
  *
5573
5599
  *The **Download PDF** action that downloads a Liveboard,
5574
- *visualization, or Answer as a PDF file.
5575
- *
5600
+ * visualization, or Answer as a PDF file.
5576
5601
  *
5577
- ***NOTE**: The **Download** > **PDF** action is available on
5578
- *visualizations and Answers if the data is in tabular format.
5602
+ * **NOTE**: The **Download** > **PDF** option is available for
5603
+ * tables in visualizations and Answers.
5579
5604
  * @example
5580
5605
  * ```js
5581
5606
  * disabledActions: [Action.DownloadAsPdf]
@@ -5607,9 +5632,11 @@ export declare enum Action {
5607
5632
  */
5608
5633
  DownloadTrace = "downloadTrace",
5609
5634
  /**
5610
- * The **Export TML** menu action on Liveboard, Answers
5611
- * Worksheets and Data Connections page.
5612
- * Exports an object as a TML file.
5635
+ * The **Export TML** menu action on a Liveboard, Answer, and
5636
+ * the Data Workspace pages for data objects and connections.
5637
+ *
5638
+ * Allows exporting an object as a TML file.
5639
+ *
5613
5640
  * @example
5614
5641
  * ```js
5615
5642
  * disabledActions: [Action.ExportTML]
@@ -5617,7 +5644,8 @@ export declare enum Action {
5617
5644
  */
5618
5645
  ExportTML = "exportTSL",
5619
5646
  /**
5620
- * The **Import TML** menu action for Liveboards and Answers.
5647
+ * The **Import TML** menu action on the
5648
+ * *Data Workspace* > *Utilities* page.
5621
5649
  * Imports TML representation of ThoughtSpot objects.
5622
5650
  * @example
5623
5651
  * ```js
@@ -5627,7 +5655,7 @@ export declare enum Action {
5627
5655
  ImportTML = "importTSL",
5628
5656
  /**
5629
5657
  * The **Update TML** menu action for Liveboards and Answers.
5630
- * Update TML representation of ThoughtSpot objects.
5658
+ * Updates TML representation of ThoughtSpot objects.
5631
5659
  * @example
5632
5660
  * ```js
5633
5661
  * disabledActions: [Action.UpdateTML]
@@ -5654,8 +5682,11 @@ export declare enum Action {
5654
5682
  */
5655
5683
  Present = "present",
5656
5684
  /**
5657
- * The tile resize options in the visualization menu.
5658
- * Allows switching between different preset layouts.
5685
+ * The visualization tile resize option.
5686
+ * Also available via More `...` options menu on a visualization.
5687
+ * Allows resizing visualization tiles and switching
5688
+ * between different preset layout option.
5689
+ *
5659
5690
  * @example
5660
5691
  * ```js
5661
5692
  * disabledActions: [Action.ToggleSize]
@@ -5681,8 +5712,9 @@ export declare enum Action {
5681
5712
  */
5682
5713
  EditTitle = "editTitle",
5683
5714
  /**
5684
- * The **Delete** menu action on Liveboards and visualizations.
5685
- * Deletes a Liveboard or a visualization from a Liveboard.
5715
+ * The **Delete** action on a Liveboard, *Liveboards* and
5716
+ * *Answers* list pages in full application embedding.
5717
+ *
5686
5718
  * @example
5687
5719
  * ```js
5688
5720
  * disabledActions: [Action.Remove]
@@ -5759,8 +5791,9 @@ export declare enum Action {
5759
5791
  */
5760
5792
  Explore = "explore",
5761
5793
  /**
5762
- * The action to include data points on a drilled-down Answer
5763
- * or visualization
5794
+ * The contextual menu action to include a specific data point
5795
+ * when drilling down a table or chart on an Answer.
5796
+ *
5764
5797
  * @example
5765
5798
  * ```js
5766
5799
  * disabledActions: [Action.DrillInclude]
@@ -5768,8 +5801,8 @@ export declare enum Action {
5768
5801
  */
5769
5802
  DrillInclude = "context-menu-item-include",
5770
5803
  /**
5771
- * The action to exclude data points on a drilled-down Answer
5772
- * or visualization
5804
+ * The contextual menu action to exclude a specific data point
5805
+ * when drilling down a table or chart on an Answer.
5773
5806
  * @example
5774
5807
  * ```js
5775
5808
  * disabledActions: [Action.DrillInclude]
@@ -5916,7 +5949,7 @@ export declare enum Action {
5916
5949
  * Allows users to manage data sync pipelines to third-party apps.
5917
5950
  * @example
5918
5951
  * ```js
5919
- * disabledActions: [Action.SyncToOtherApps]
5952
+ * disabledActions: [Action.ManagePipelines]
5920
5953
  * ```
5921
5954
  * @version SDK: 1.18.0| ThoughtSpot: 8.10.0.cl, 9.0.1.sw
5922
5955
  */
@@ -6235,7 +6268,7 @@ export declare enum Action {
6235
6268
  /**
6236
6269
  * Action ID for the Parent TML action
6237
6270
  * The parent action **TML** must be included to access TML-related options
6238
- * within the cascading menu (specific to the answer page)
6271
+ * within the cascading menu (specific to the Answer page)
6239
6272
  * @example
6240
6273
  * ```js
6241
6274
  * // to include specific TML actions
@@ -6274,8 +6307,10 @@ export declare enum Action {
6274
6307
  */
6275
6308
  VerifiedLiveboard = "verifiedLiveboard",
6276
6309
  /**
6277
- * The *Ask Sage* action for Answers and visualizations.
6278
- * Allows initiating a Natural Language Search query.
6310
+ * Action ID for the *Ask Sage* In Natural Language Search embed,
6311
+ * *Spotter* in Liveboard, full app, and Spotter embed.
6312
+ *
6313
+ * Allows initiating a conversation with ThoughtSpot AI analyst.
6279
6314
  *
6280
6315
  * @example
6281
6316
  * ```js
@@ -6471,7 +6506,8 @@ export declare enum Action {
6471
6506
  */
6472
6507
  DeletePreviousPrompt = "deletePreviousPrompt",
6473
6508
  /**
6474
- * Action ID for hide/disable edit of tokens on spotter results.
6509
+ * Action ID for hide or disable editing tokens generated from
6510
+ * Spotter results.
6475
6511
  * @example
6476
6512
  * ```js
6477
6513
  * hiddenAction: [Action.EditTokens]
@@ -7414,9 +7450,10 @@ export declare const formatPreauthInfo: (preauthInfoResp: any) => Promise<Preaut
7414
7450
  */
7415
7451
  export declare function getPreauthInfo(allowCache?: boolean): Promise<PreauthInfo>;
7416
7452
  /**
7417
- * Returns the session info object and caches it for future use.
7453
+ * Returns the cached session info object and caches it for future use.
7418
7454
  * Once fetched the session info object is cached and returned from the cache on
7419
7455
  * subsequent calls.
7456
+ * This cache is cleared when inti is called OR resetCachedSessionInfo is called.
7420
7457
  * @example ```js
7421
7458
  * const sessionInfo = await getSessionInfo();
7422
7459
  * console.log(sessionInfo);
@@ -7459,10 +7496,21 @@ export declare const getSessionDetails: (sessionInfoResp: any) => SessionInfo;
7459
7496
  * const sessionInfo = await getSessionInfo();
7460
7497
  * console.log(sessionInfo);
7461
7498
  * ```
7462
- * @version SDK: 1.28.3 | ThoughtSpot ts7.april.cl, 7.2.1
7499
+ * @version SDK: 1.28.3 | ThoughtSpot: *
7463
7500
  * @returns {void}
7464
7501
  */
7465
7502
  export declare function resetCachedSessionInfo(): void;
7503
+ /**
7504
+ * Resets the cached preauth info object and forces a new fetch on the next call.
7505
+ * @example ```js
7506
+ * resetCachedPreauthInfo();
7507
+ * const preauthInfo = await getPreauthInfo();
7508
+ * console.log(preauthInfo);
7509
+ * ```
7510
+ * @version SDK: 1.28.3 | ThoughtSpot: *
7511
+ * @returns {void}
7512
+ */
7513
+ export declare function resetCachedPreauthInfo(): void;
7466
7514
 
7467
7515
  /**
7468
7516
  * The list of customization css variables. These
@@ -8044,7 +8092,7 @@ export declare const getEmbedConfig: () => EmbedConfig;
8044
8092
  * @version SDK: 1.27.0 | ThoughtSpot: *
8045
8093
  * @group Global methods
8046
8094
  */
8047
- export declare const setEmbedConfig: (newConfig: EmbedConfig) => EmbedConfig;
8095
+ export declare const setEmbedConfig: (newConfig: EmbedConfig) => any;
8048
8096
 
8049
8097
  export declare const EndPoints: {
8050
8098
  CONFIG: string;