@thoughtspot/visual-embed-sdk 1.42.1-alpha.7 → 1.42.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 (229) hide show
  1. package/cjs/package.json +4 -3
  2. package/cjs/src/css-variables.d.ts +0 -48
  3. package/cjs/src/css-variables.d.ts.map +1 -1
  4. package/cjs/src/embed/app.d.ts +20 -0
  5. package/cjs/src/embed/app.d.ts.map +1 -1
  6. package/cjs/src/embed/app.js +9 -4
  7. package/cjs/src/embed/app.js.map +1 -1
  8. package/cjs/src/embed/app.spec.js +62 -0
  9. package/cjs/src/embed/app.spec.js.map +1 -1
  10. package/cjs/src/embed/base.d.ts.map +1 -1
  11. package/cjs/src/embed/base.js +2 -0
  12. package/cjs/src/embed/base.js.map +1 -1
  13. package/cjs/src/embed/bodyless-conversation.d.ts +1 -1
  14. package/cjs/src/embed/conversation.d.ts +16 -0
  15. package/cjs/src/embed/conversation.d.ts.map +1 -1
  16. package/cjs/src/embed/conversation.js +5 -2
  17. package/cjs/src/embed/conversation.js.map +1 -1
  18. package/cjs/src/embed/conversation.spec.js +25 -1
  19. package/cjs/src/embed/conversation.spec.js.map +1 -1
  20. package/cjs/src/embed/hostEventClient/contracts.d.ts +1 -11
  21. package/cjs/src/embed/hostEventClient/contracts.d.ts.map +1 -1
  22. package/cjs/src/embed/hostEventClient/contracts.js +0 -1
  23. package/cjs/src/embed/hostEventClient/contracts.js.map +1 -1
  24. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  25. package/cjs/src/embed/liveboard.js +5 -1
  26. package/cjs/src/embed/liveboard.js.map +1 -1
  27. package/cjs/src/embed/liveboard.spec.js +46 -0
  28. package/cjs/src/embed/liveboard.spec.js.map +1 -1
  29. package/cjs/src/embed/sage.d.ts +4 -4
  30. package/cjs/src/embed/search.d.ts.map +1 -1
  31. package/cjs/src/embed/search.js +1 -3
  32. package/cjs/src/embed/search.js.map +1 -1
  33. package/cjs/src/embed/ts-embed.d.ts +0 -2
  34. package/cjs/src/embed/ts-embed.d.ts.map +1 -1
  35. package/cjs/src/embed/ts-embed.js +31 -44
  36. package/cjs/src/embed/ts-embed.js.map +1 -1
  37. package/cjs/src/embed/ts-embed.spec.js +134 -43
  38. package/cjs/src/embed/ts-embed.spec.js.map +1 -1
  39. package/cjs/src/errors.js +1 -1
  40. package/cjs/src/errors.js.map +1 -1
  41. package/cjs/src/index.d.ts +3 -3
  42. package/cjs/src/index.d.ts.map +1 -1
  43. package/cjs/src/index.js +1 -2
  44. package/cjs/src/index.js.map +1 -1
  45. package/cjs/src/react/all-types-export.d.ts +1 -2
  46. package/cjs/src/react/all-types-export.d.ts.map +1 -1
  47. package/cjs/src/react/all-types-export.js +5 -3
  48. package/cjs/src/react/all-types-export.js.map +1 -1
  49. package/cjs/src/react/all-types-export.spec.js +0 -8
  50. package/cjs/src/react/all-types-export.spec.js.map +1 -1
  51. package/cjs/src/react/index.d.ts +1 -2
  52. package/cjs/src/react/index.d.ts.map +1 -1
  53. package/cjs/src/react/index.js +2 -1
  54. package/cjs/src/react/index.js.map +1 -1
  55. package/cjs/src/react/util.d.ts +1 -0
  56. package/cjs/src/react/util.d.ts.map +1 -1
  57. package/cjs/src/types.d.ts +80 -94
  58. package/cjs/src/types.d.ts.map +1 -1
  59. package/cjs/src/types.js +30 -46
  60. package/cjs/src/types.js.map +1 -1
  61. package/cjs/src/utils/custom-actions.d.ts.map +1 -1
  62. package/cjs/src/utils/custom-actions.js +9 -0
  63. package/cjs/src/utils/custom-actions.js.map +1 -1
  64. package/cjs/src/utils/custom-actions.spec.js +20 -0
  65. package/cjs/src/utils/custom-actions.spec.js.map +1 -1
  66. package/cjs/src/utils/processData.d.ts +1 -1
  67. package/cjs/src/utils/processData.d.ts.map +1 -1
  68. package/cjs/src/utils/processData.js +8 -8
  69. package/cjs/src/utils/processData.js.map +1 -1
  70. package/cjs/src/utils/processData.spec.js.map +1 -1
  71. package/dist/{index-DvNA626T.js → index-SVcLgSqi.js} +1 -1
  72. package/dist/src/css-variables.d.ts +0 -48
  73. package/dist/src/css-variables.d.ts.map +1 -1
  74. package/dist/src/embed/app.d.ts +20 -0
  75. package/dist/src/embed/app.d.ts.map +1 -1
  76. package/dist/src/embed/base.d.ts.map +1 -1
  77. package/dist/src/embed/bodyless-conversation.d.ts +1 -1
  78. package/dist/src/embed/conversation.d.ts +16 -0
  79. package/dist/src/embed/conversation.d.ts.map +1 -1
  80. package/dist/src/embed/hostEventClient/contracts.d.ts +1 -11
  81. package/dist/src/embed/hostEventClient/contracts.d.ts.map +1 -1
  82. package/dist/src/embed/liveboard.d.ts.map +1 -1
  83. package/dist/src/embed/sage.d.ts +4 -4
  84. package/dist/src/embed/search.d.ts.map +1 -1
  85. package/dist/src/embed/ts-embed.d.ts +0 -2
  86. package/dist/src/embed/ts-embed.d.ts.map +1 -1
  87. package/dist/src/index.d.ts +3 -3
  88. package/dist/src/index.d.ts.map +1 -1
  89. package/dist/src/react/all-types-export.d.ts +1 -2
  90. package/dist/src/react/all-types-export.d.ts.map +1 -1
  91. package/dist/src/react/index.d.ts +1 -2
  92. package/dist/src/react/index.d.ts.map +1 -1
  93. package/dist/src/react/util.d.ts +1 -0
  94. package/dist/src/react/util.d.ts.map +1 -1
  95. package/dist/src/types.d.ts +80 -94
  96. package/dist/src/types.d.ts.map +1 -1
  97. package/dist/src/utils/custom-actions.d.ts.map +1 -1
  98. package/dist/src/utils/processData.d.ts +1 -1
  99. package/dist/src/utils/processData.d.ts.map +1 -1
  100. package/dist/tsembed-react.es.js +114 -224
  101. package/dist/tsembed-react.js +258 -444
  102. package/dist/tsembed.es.js +113 -224
  103. package/dist/tsembed.js +256 -443
  104. package/dist/visual-embed-sdk-react-full.d.ts +126 -161
  105. package/dist/visual-embed-sdk-react.d.ts +117 -156
  106. package/dist/visual-embed-sdk.d.ts +117 -159
  107. package/lib/package.json +4 -3
  108. package/lib/src/css-variables.d.ts +0 -48
  109. package/lib/src/css-variables.d.ts.map +1 -1
  110. package/lib/src/embed/app.d.ts +20 -0
  111. package/lib/src/embed/app.d.ts.map +1 -1
  112. package/lib/src/embed/app.js +9 -4
  113. package/lib/src/embed/app.js.map +1 -1
  114. package/lib/src/embed/app.spec.js +62 -0
  115. package/lib/src/embed/app.spec.js.map +1 -1
  116. package/lib/src/embed/base.d.ts.map +1 -1
  117. package/lib/src/embed/base.js +2 -0
  118. package/lib/src/embed/base.js.map +1 -1
  119. package/lib/src/embed/bodyless-conversation.d.ts +1 -1
  120. package/lib/src/embed/conversation.d.ts +16 -0
  121. package/lib/src/embed/conversation.d.ts.map +1 -1
  122. package/lib/src/embed/conversation.js +5 -2
  123. package/lib/src/embed/conversation.js.map +1 -1
  124. package/lib/src/embed/conversation.spec.js +25 -1
  125. package/lib/src/embed/conversation.spec.js.map +1 -1
  126. package/lib/src/embed/hostEventClient/contracts.d.ts +1 -11
  127. package/lib/src/embed/hostEventClient/contracts.d.ts.map +1 -1
  128. package/lib/src/embed/hostEventClient/contracts.js +0 -1
  129. package/lib/src/embed/hostEventClient/contracts.js.map +1 -1
  130. package/lib/src/embed/liveboard.d.ts.map +1 -1
  131. package/lib/src/embed/liveboard.js +5 -1
  132. package/lib/src/embed/liveboard.js.map +1 -1
  133. package/lib/src/embed/liveboard.spec.js +47 -1
  134. package/lib/src/embed/liveboard.spec.js.map +1 -1
  135. package/lib/src/embed/sage.d.ts +4 -4
  136. package/lib/src/embed/search.d.ts.map +1 -1
  137. package/lib/src/embed/search.js +1 -3
  138. package/lib/src/embed/search.js.map +1 -1
  139. package/lib/src/embed/ts-embed.d.ts +0 -2
  140. package/lib/src/embed/ts-embed.d.ts.map +1 -1
  141. package/lib/src/embed/ts-embed.js +31 -44
  142. package/lib/src/embed/ts-embed.js.map +1 -1
  143. package/lib/src/embed/ts-embed.spec.js +134 -43
  144. package/lib/src/embed/ts-embed.spec.js.map +1 -1
  145. package/lib/src/errors.js +1 -1
  146. package/lib/src/errors.js.map +1 -1
  147. package/lib/src/index.d.ts +3 -3
  148. package/lib/src/index.d.ts.map +1 -1
  149. package/lib/src/index.js +2 -2
  150. package/lib/src/index.js.map +1 -1
  151. package/lib/src/react/all-types-export.d.ts +1 -2
  152. package/lib/src/react/all-types-export.d.ts.map +1 -1
  153. package/lib/src/react/all-types-export.js +2 -2
  154. package/lib/src/react/all-types-export.js.map +1 -1
  155. package/lib/src/react/all-types-export.spec.js +0 -8
  156. package/lib/src/react/all-types-export.spec.js.map +1 -1
  157. package/lib/src/react/index.d.ts +1 -2
  158. package/lib/src/react/index.d.ts.map +1 -1
  159. package/lib/src/react/index.js +4 -3
  160. package/lib/src/react/index.js.map +1 -1
  161. package/lib/src/react/util.d.ts +1 -0
  162. package/lib/src/react/util.d.ts.map +1 -1
  163. package/lib/src/types.d.ts +80 -94
  164. package/lib/src/types.d.ts.map +1 -1
  165. package/lib/src/types.js +29 -45
  166. package/lib/src/types.js.map +1 -1
  167. package/lib/src/utils/custom-actions.d.ts.map +1 -1
  168. package/lib/src/utils/custom-actions.js +9 -0
  169. package/lib/src/utils/custom-actions.js.map +1 -1
  170. package/lib/src/utils/custom-actions.spec.js +20 -0
  171. package/lib/src/utils/custom-actions.spec.js.map +1 -1
  172. package/lib/src/utils/processData.d.ts +1 -1
  173. package/lib/src/utils/processData.d.ts.map +1 -1
  174. package/lib/src/utils/processData.js +8 -8
  175. package/lib/src/utils/processData.js.map +1 -1
  176. package/lib/src/utils/processData.spec.js.map +1 -1
  177. package/package.json +4 -3
  178. package/src/css-variables.ts +0 -58
  179. package/src/embed/app.spec.ts +87 -0
  180. package/src/embed/app.ts +35 -4
  181. package/src/embed/base.ts +2 -0
  182. package/src/embed/bodyless-conversation.ts +1 -1
  183. package/src/embed/conversation.spec.ts +35 -1
  184. package/src/embed/conversation.ts +22 -0
  185. package/src/embed/hostEventClient/contracts.ts +0 -10
  186. package/src/embed/liveboard.spec.ts +60 -0
  187. package/src/embed/liveboard.ts +9 -0
  188. package/src/embed/sage.ts +4 -4
  189. package/src/embed/search.ts +1 -3
  190. package/src/embed/ts-embed.spec.ts +175 -53
  191. package/src/embed/ts-embed.ts +45 -68
  192. package/src/errors.ts +1 -1
  193. package/src/index.ts +3 -4
  194. package/src/react/all-types-export.spec.ts +1 -9
  195. package/src/react/all-types-export.ts +8 -10
  196. package/src/react/index.tsx +130 -155
  197. package/src/types.ts +78 -94
  198. package/src/utils/custom-actions.spec.ts +22 -0
  199. package/src/utils/custom-actions.ts +11 -0
  200. package/src/utils/processData.spec.ts +1 -0
  201. package/src/utils/processData.ts +11 -11
  202. package/cjs/src/api-intercept.d.ts +0 -31
  203. package/cjs/src/api-intercept.d.ts.map +0 -1
  204. package/cjs/src/api-intercept.js +0 -119
  205. package/cjs/src/api-intercept.js.map +0 -1
  206. package/cjs/src/api-intercept.spec.d.ts +0 -2
  207. package/cjs/src/api-intercept.spec.d.ts.map +0 -1
  208. package/cjs/src/api-intercept.spec.js +0 -122
  209. package/cjs/src/api-intercept.spec.js.map +0 -1
  210. package/dist/index-BCC3Z072.js +0 -7371
  211. package/dist/index-BEzW4MDA.js +0 -7371
  212. package/dist/index-BaESA9rq.js +0 -7371
  213. package/dist/index-CFNZIcKr.js +0 -7447
  214. package/dist/index-CqKTa1Fe.js +0 -7447
  215. package/dist/index-DFnPKcjZ.js +0 -7447
  216. package/dist/index-DhFH7b7U.js +0 -7447
  217. package/dist/src/api-intercept.d.ts +0 -31
  218. package/dist/src/api-intercept.d.ts.map +0 -1
  219. package/dist/src/api-intercept.spec.d.ts +0 -2
  220. package/dist/src/api-intercept.spec.d.ts.map +0 -1
  221. package/lib/src/api-intercept.d.ts +0 -31
  222. package/lib/src/api-intercept.d.ts.map +0 -1
  223. package/lib/src/api-intercept.js +0 -112
  224. package/lib/src/api-intercept.js.map +0 -1
  225. package/lib/src/api-intercept.spec.d.ts +0 -2
  226. package/lib/src/api-intercept.spec.d.ts.map +0 -1
  227. package/lib/src/api-intercept.spec.js +0 -119
  228. package/lib/src/api-intercept.spec.js.map +0 -1
  229. package/src/api-intercept.ts +0 -139
@@ -393,30 +393,14 @@ export interface CustomCssVariables {
393
393
  * Background color of checkbox.
394
394
  */
395
395
  "--ts-var-checkbox-background-color"?: string;
396
- /**
397
- * Height of the tiles in the Liveboard.
398
- */
399
- "--ts-var-viz-tile-height"?: string;
400
396
  /**
401
397
  * Background color of the layout in the Liveboard.
402
398
  */
403
399
  "--ts-var-liveboard-layout-background"?: string;
404
- /**
405
- * Font color of the title of the layout in the Liveboard.
406
- */
407
- "--ts-var-liveboard-layout-title-color"?: string;
408
- /**
409
- * Font size of the title of the layout in the Liveboard.
410
- */
411
- "--ts-var-liveboard-layout-title-fontsize"?: string;
412
400
  /**
413
401
  * Background color of the header in the Liveboard.
414
402
  */
415
403
  "--ts-var-liveboard-header-background"?: string;
416
- /**
417
- * Font size of the header in the Liveboard.
418
- */
419
- "--ts-var-liveboard-header-fontsize"?: string;
420
404
  /**
421
405
  * Font color of the header in the Liveboard.
422
406
  */
@@ -447,12 +431,6 @@ export interface CustomCssVariables {
447
431
  * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
448
432
  */
449
433
  "--ts-var-liveboard-group-padding"?: string;
450
- /**
451
- * Padding of the title of the groups in the Liveboard.
452
- *
453
- * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
454
- */
455
- "--ts-var-liveboard-group-title-padding"?: string;
456
434
  /**
457
435
  * Font size of the title of the groups in the Liveboard.
458
436
  *
@@ -477,24 +455,6 @@ export interface CustomCssVariables {
477
455
  * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
478
456
  */
479
457
  "--ts-var-liveboard-group-tile-title-font-weight"?: string;
480
- /**
481
- * Font size of the description of the groups in the Liveboard.
482
- *
483
- * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
484
- */
485
- "--ts-var-liveboard-group-description-font-size"?: string;
486
- /**
487
- * Font weight of the description of the groups in the Liveboard.
488
- *
489
- * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
490
- */
491
- "--ts-var-liveboard-group-description-font-weight"?: string;
492
- /**
493
- * Border of the group tiles in the Liveboard.
494
- *
495
- * Please enable the Liveboard styling and grouping feature in your ThoughtSpot instance and then set the isLiveboardStylingAndGrouping SDK flag to true to start modifying this CSS variable.
496
- */
497
- "--ts-var-liveboard-group-tile-border"?: string;
498
458
  /**
499
459
  * Padding of the group tiles in the Liveboard.
500
460
  *
@@ -615,14 +575,6 @@ export interface CustomCssVariables {
615
575
  * Font weight of the title of the tiles in the Liveboard.
616
576
  */
617
577
  "--ts-var-liveboard-tile-title-fontweight"?: string;
618
- /**
619
- * Font weight of the description of the tiles in the Liveboard.
620
- */
621
- "--ts-var-liveboard-tile-description-font-weight"?: string;
622
- /**
623
- * Opacity of the description of the tiles in the Liveboard.
624
- */
625
- "--ts-var-liveboard-tile-description-opacity"?: string;
626
578
  /**
627
579
  * Background color of the parameter chips in the Liveboard.
628
580
  */
@@ -1204,7 +1156,7 @@ export interface CustomisationsInterface {
1204
1156
  * if a trusted authentication server is used.
1205
1157
  * @group Authentication / Init
1206
1158
  */
1207
- export interface EmbedConfig extends InterceptV2Flags {
1159
+ export interface EmbedConfig {
1208
1160
  /**
1209
1161
  * The ThoughtSpot cluster hostname or IP address.
1210
1162
  */
@@ -1546,6 +1498,18 @@ export interface EmbedConfig extends InterceptV2Flags {
1546
1498
  * ```
1547
1499
  */
1548
1500
  customActions?: CustomAction[];
1501
+ /**
1502
+ * Wait for the cleanup to be completed before destroying the embed.
1503
+ * @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
1504
+ * @default false
1505
+ */
1506
+ waitForCleanupOnDestroy?: boolean;
1507
+ /**
1508
+ * The timeout for the cleanup to be completed before destroying the embed.
1509
+ * @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
1510
+ * @default 5000
1511
+ */
1512
+ cleanupTimeout?: number;
1549
1513
  }
1550
1514
  export interface LayoutConfig {
1551
1515
  }
@@ -1577,7 +1541,7 @@ export interface FrameParams {
1577
1541
  /**
1578
1542
  * The common configuration object for an embedded view.
1579
1543
  */
1580
- export interface BaseViewConfig extends InterceptV2Flags {
1544
+ export interface BaseViewConfig {
1581
1545
  /**
1582
1546
  * @hidden
1583
1547
  */
@@ -2359,6 +2323,24 @@ export interface LiveboardAppEmbedViewConfig {
2359
2323
  * ```
2360
2324
  */
2361
2325
  liveboardXLSXCSVDownload?: boolean;
2326
+ /**
2327
+ * This flag is used to enable or disable the new centralized Liveboard filter UX (v2).
2328
+ * When enabled, a unified modal is used to manage and update multiple filters at once,
2329
+ * replacing the older individual filter interactions.
2330
+ * To enable this feature on your instance, contact ThoughtSpot Support.
2331
+ *
2332
+ * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2333
+ * @version SDK: 1.42.0 | ThoughtSpot: 10.15.0.cl
2334
+ * @example
2335
+ * ```js
2336
+ * // Replace <EmbedComponent> with embed component name. For example, AppEmbed or LiveboardEmbed
2337
+ * const embed = new <EmbedComponent>('#tsEmbed', {
2338
+ * ... // other embed view config
2339
+ * isCentralizedLiveboardFilterUXEnabled: true,
2340
+ * })
2341
+ * ```
2342
+ */
2343
+ isCentralizedLiveboardFilterUXEnabled?: boolean;
2362
2344
  /**
2363
2345
  * This flag is used to enable or disable the link parameters in liveboard.
2364
2346
  *
@@ -2374,6 +2356,21 @@ export interface LiveboardAppEmbedViewConfig {
2374
2356
  * ```
2375
2357
  */
2376
2358
  isLinkParametersEnabled?: boolean;
2359
+ /**
2360
+ * This flag is used to enable or disable the enhanced filter interactivity in liveboard.
2361
+ *
2362
+ * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2363
+ * @version SDK: 1.42.0 | ThoughtSpot: 10.15.0.cl
2364
+ * @example
2365
+ * ```js
2366
+ * // Replace <EmbedComponent> with embed component name. For example, AppEmbed or LiveboardEmbed
2367
+ * const embed = new <EmbedComponent>('#tsEmbed', {
2368
+ * ... // other embed view config
2369
+ * isEnhancedFilterInteractivityEnabled: true,
2370
+ * })
2371
+ * ```
2372
+ */
2373
+ isEnhancedFilterInteractivityEnabled?: boolean;
2377
2374
  }
2378
2375
  export interface AllEmbedViewConfig extends BaseViewConfig, SearchLiveboardCommonViewConfig, HomePageConfig, LiveboardAppEmbedViewConfig {
2379
2376
  }
@@ -3584,7 +3581,7 @@ export declare enum EmbedEvent {
3584
3581
  * the table visualization.
3585
3582
  *
3586
3583
  * If the Row-Level Security (RLS) rules are applied on the
3587
- * Worksheet or Model, exercise caution when changing column
3584
+ * Model, exercise caution when changing column
3588
3585
  * or table cell values to maintain data security.
3589
3586
  *
3590
3587
  * @example
@@ -3642,7 +3639,7 @@ export declare enum EmbedEvent {
3642
3639
  */
3643
3640
  SpotterData = "SpotterData",
3644
3641
  /**
3645
- * Emitted when user opens up the worksheet preview modal in Spotter embed.
3642
+ * Emitted when user opens up the data source preview modal in Spotter embed.
3646
3643
  * @example
3647
3644
  * ```js
3648
3645
  * spotterEmbed.on(EmbedEvent.PreviewSpotterData, (payload) => {
@@ -3729,22 +3726,7 @@ export declare enum EmbedEvent {
3729
3726
  * ```
3730
3727
  * @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
3731
3728
  */
3732
- OrgSwitched = "orgSwitched",
3733
- /**
3734
- * Emitted when the user intercepts a URL.
3735
- *
3736
- * Supported on all embed types.
3737
- *
3738
- * @example
3739
- * ```js
3740
- * embed.on(EmbedEvent.ApiIntercept, (payload) => {
3741
- * console.log('payload', payload);
3742
- * })
3743
- * ```
3744
- *
3745
- * @version SDK: 1.42.0 | ThoughtSpot: 10.14.0.cl
3746
- */
3747
- ApiIntercept = "ApiIntercept"
3729
+ OrgSwitched = "orgSwitched"
3748
3730
  }
3749
3731
  /**
3750
3732
  * Event types that can be triggered by the host application
@@ -3882,9 +3864,7 @@ export declare enum HostEvent {
3882
3864
  */
3883
3865
  Reload = "reload",
3884
3866
  /**
3885
- * Get iframe URL for the current embed view on the playground.
3886
- * Developers can use this URL to embed a ThoughtSpot object
3887
- * in apps like Salesforce or Sharepoint.
3867
+ * Get iframe URL for the current embed view.
3888
3868
  * @example
3889
3869
  * ```js
3890
3870
  * const url = embed.trigger(HostEvent.GetIframeUrl);
@@ -4956,7 +4936,7 @@ export declare enum HostEvent {
4956
4936
  */
4957
4937
  EditLastPrompt = "EditLastPrompt",
4958
4938
  /**
4959
- * Opens the Worksheet preview modal in Spotter Embed.
4939
+ * Opens the data source preview modal in Spotter Embed.
4960
4940
  * @example
4961
4941
  * ```js
4962
4942
  * spotterEmbed.trigger(HostEvent.PreviewSpotterData);
@@ -5037,7 +5017,16 @@ export declare enum HostEvent {
5037
5017
  * liveboardEmbed.trigger(HostEvent.UpdateEmbedParams, viewConfig);
5038
5018
  * ```
5039
5019
  */
5040
- UpdateEmbedParams = "updateEmbedParams"
5020
+ UpdateEmbedParams = "updateEmbedParams",
5021
+ /**
5022
+ * Triggered when the embed is needed to be destroyed. This is used to clean up any embed related resources internally.
5023
+ * @example
5024
+ * ```js
5025
+ * liveboardEmbed.trigger(HostEvent.DestroyEmbed);
5026
+ * ```
5027
+ * @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
5028
+ */
5029
+ DestroyEmbed = "EmbedDestroyed"
5041
5030
  }
5042
5031
  /**
5043
5032
  * ThoughtSpot application pages include actions and menu commands
@@ -5149,7 +5138,7 @@ export declare enum Action {
5149
5138
  */
5150
5139
  SchedulesList = "schedule-list",
5151
5140
  /**
5152
- * The **Share** action on a Liveboard, Answer, or Worksheet.
5141
+ * The **Share** action on a Liveboard, Answer, or Model.
5153
5142
  * Allows users to share an object with other users and groups.
5154
5143
  * @example
5155
5144
  * ```js
@@ -5607,7 +5596,7 @@ export declare enum Action {
5607
5596
  AnswerChartSwitcher = "answerChartSwitcher",
5608
5597
  /**
5609
5598
  * The Favorites icon (*) for Answers,
5610
- * Liveboard, and data objects like Worksheet, Model,
5599
+ * Liveboard, and data objects like Model,
5611
5600
  * Tables and Views.
5612
5601
  * Allows adding an object to the user's favorites list.
5613
5602
  * @example
@@ -6340,7 +6329,17 @@ export declare enum Action {
6340
6329
  * ```
6341
6330
  * @version SDK: 1.42.0 | ThoughtSpot Cloud: 10.14.0.cl
6342
6331
  */
6343
- RemoveAttachment = "removeAttachment"
6332
+ RemoveAttachment = "removeAttachment",
6333
+ /**
6334
+ * The **Style panel** on a Liveboard.
6335
+ * Controls the visibility of the Liveboard style panel.
6336
+ * @example
6337
+ * ```js
6338
+ * hiddenActions: [Action.LiveboardStylePanel]
6339
+ * ```
6340
+ * @version SDK: 1.43.0 | ThoughtSpot Cloud: 10.15.0.cl
6341
+ */
6342
+ LiveboardStylePanel = "liveboardStylePanel"
6344
6343
  }
6345
6344
  declare enum ContextMenuTriggerOptions {
6346
6345
  LEFT_CLICK = "left-click",
@@ -6493,68 +6492,6 @@ export interface DefaultAppInitData {
6493
6492
  hiddenListColumns: ListPageColumns[];
6494
6493
  customActions: CustomAction[];
6495
6494
  }
6496
- declare enum InterceptedApiType {
6497
- /**
6498
- * The apis that are use to get the metadata for the embed
6499
- */
6500
- METADATA = "METADATA",
6501
- /**
6502
- * The apis that are use to get the data for the embed
6503
- */
6504
- ANSWER_DATA = "ANSWER_DATA",
6505
- /**
6506
- * This will intercept all the apis
6507
- */
6508
- ALL = "ALL",
6509
- /**
6510
- * The apis that are use to get the data for the liveboard
6511
- */
6512
- LIVEBOARD_DATA = "LIVEBOARD_DATA"
6513
- }
6514
- export type InterceptV2Flags = {
6515
- /**
6516
- * Enable intercepting the apis
6517
- *
6518
- * @example
6519
- * ```js
6520
- * const embed = new LiveboardEmbed('#embed', {
6521
- * ...viewConfig,
6522
- * enableApiIntercept: true,
6523
- * interceptUrls: [InterceptedApiType.DATA],
6524
- * })
6525
- * ```
6526
- *
6527
- */
6528
- enableApiIntercept?: boolean;
6529
- /**
6530
- * The apis to intercept
6531
- *
6532
- * @example
6533
- * ```js
6534
- * const embed = new LiveboardEmbed('#embed', {
6535
- * ...viewConfig,
6536
- * enableApiIntercept: true,
6537
- * interceptUrls: [InterceptedApiType.DATA],
6538
- * })
6539
- * ```
6540
- */
6541
- interceptUrls?: (string | InterceptedApiType)[];
6542
- /**
6543
- * The timeout for the intercept, default is 30000ms
6544
- * the api will error out if the timeout is reached
6545
- *
6546
- * @example
6547
- * ```js
6548
- * const embed = new LiveboardEmbed('#embed', {
6549
- * ...viewConfig,
6550
- * enableApiIntercept: true,
6551
- * interceptUrls: [InterceptedApiType.ALL],
6552
- * interceptTimeout: 1000,
6553
- * })
6554
- * ```
6555
- */
6556
- interceptTimeout?: number;
6557
- };
6558
6495
  declare enum AuthFailureType {
6559
6496
  SDK = "SDK",
6560
6497
  NO_COOKIE_ACCESS = "NO_COOKIE_ACCESS",
@@ -6650,8 +6587,7 @@ declare enum UIPassthroughEvent {
6650
6587
  GetDiscoverabilityStatus = "getDiscoverabilityStatus",
6651
6588
  GetAvailableUIPassthroughs = "getAvailableUiPassthroughs",
6652
6589
  GetAnswerConfig = "getAnswerPageConfig",
6653
- GetLiveboardConfig = "getPinboardPageConfig",
6654
- GetUnsavedAnswerTML = "getUnsavedAnswerTML"
6590
+ GetLiveboardConfig = "getPinboardPageConfig"
6655
6591
  }
6656
6592
  export type UIPassthroughContractBase = {
6657
6593
  [UIPassthroughEvent.PinAnswerToLiveboard]: {
@@ -6706,15 +6642,6 @@ export type UIPassthroughContractBase = {
6706
6642
  request: any;
6707
6643
  response: any;
6708
6644
  };
6709
- [UIPassthroughEvent.GetUnsavedAnswerTML]: {
6710
- request: {
6711
- sessionId?: string;
6712
- vizId?: string;
6713
- };
6714
- response: {
6715
- tml: string;
6716
- };
6717
- };
6718
6645
  };
6719
6646
  export type UIPassthroughRequest<T extends keyof UIPassthroughContractBase> = UIPassthroughContractBase[T]["request"];
6720
6647
  export type UIPassthroughResponse<T extends keyof UIPassthroughContractBase> = UIPassthroughContractBase[T]["response"];
@@ -6870,7 +6797,6 @@ declare class TsEmbed {
6870
6797
  * work regardless of auth status
6871
6798
  */
6872
6799
  private subscribeToNetworkEvents;
6873
- private messageEventListener;
6874
6800
  /**
6875
6801
  * Subscribe to message events that depend on successful iframe setup
6876
6802
  */
@@ -6957,7 +6883,6 @@ declare class TsEmbed {
6957
6883
  * @param height The height in pixels
6958
6884
  */
6959
6885
  protected setIFrameHeight(height: number | string): void;
6960
- protected createEmbedEventResponder: (eventPort: MessagePort | void, eventType: EmbedEvent) => (payload: any) => void;
6961
6886
  /**
6962
6887
  * Executes all registered event handlers for a particular event type
6963
6888
  * @param eventType The event type
@@ -7687,12 +7612,12 @@ export interface SageViewConfig extends SearchLiveboardCommonViewConfig, Omit<Ba
7687
7612
  */
7688
7613
  hideSageAnswerHeader?: boolean;
7689
7614
  /**
7690
- * Disable the worksheet selection option.
7615
+ * Disable the data source selection option.
7691
7616
  * @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
7692
7617
  */
7693
7618
  disableWorksheetChange?: boolean;
7694
7619
  /**
7695
- * Hide the worksheet selection panel.
7620
+ * Hide the data source selection panel.
7696
7621
  * @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
7697
7622
  */
7698
7623
  hideWorksheetSelector?: boolean;
@@ -7710,7 +7635,7 @@ export interface SageViewConfig extends SearchLiveboardCommonViewConfig, Omit<Ba
7710
7635
  showObjectSuggestions?: boolean;
7711
7636
  /**
7712
7637
  * Show or hide sample questions.
7713
- * The sample questions are autogenerated based on the worksheet
7638
+ * The sample questions are autogenerated based on the data Model.
7714
7639
  * selected for the search operation.
7715
7640
  *
7716
7641
  * Supported embed types: `SageEmbed`
@@ -7725,7 +7650,7 @@ export interface SageViewConfig extends SearchLiveboardCommonViewConfig, Omit<Ba
7725
7650
  */
7726
7651
  hideSampleQuestions?: boolean;
7727
7652
  /**
7728
- * The data source GUID (Worksheet GUID) to set on load.
7653
+ * The data source GUID (Model GUID) to set on load.
7729
7654
  */
7730
7655
  dataSource?: string;
7731
7656
  /**
@@ -8100,6 +8025,26 @@ export interface AppViewConfig extends AllEmbedViewConfig {
8100
8025
  * ```
8101
8026
  */
8102
8027
  tag?: string;
8028
+ /**
8029
+ * Hide tag filter chips that appear when content is filtered by tags.
8030
+ * When enabled, this automatically:
8031
+ * - Hides tag filter indicators/chips from the UI
8032
+ *
8033
+ * This provides a clean interface without tag-related UI elements.
8034
+ *
8035
+ * Supported embed types: `AppEmbed`
8036
+ * @version SDK: 1.44.0 | ThoughtSpot: 10.15.0.cl
8037
+ * @example
8038
+ * ```js
8039
+ * // Simple usage - automatically hides all tag-related UI
8040
+ * const embed = new AppEmbed('#tsEmbed', {
8041
+ * ... // other embed view config
8042
+ * tag: 'Some Tag',
8043
+ * hideTagFilterChips: true, // This is all you need!
8044
+ * });
8045
+ * ```
8046
+ */
8047
+ hideTagFilterChips?: boolean;
8103
8048
  /**
8104
8049
  * The array of GUIDs to be hidden
8105
8050
  *
@@ -8841,7 +8786,7 @@ declare class LiveboardEmbed extends V1Embed {
8841
8786
  */
8842
8787
  export interface SpotterAgentEmbedViewConfig extends Omit<BaseViewConfig, "primaryAction"> {
8843
8788
  /**
8844
- * The ID of the worksheet to use for the conversation.
8789
+ * The ID of the Model to use for the conversation.
8845
8790
  */
8846
8791
  worksheetId: string;
8847
8792
  }
@@ -9025,6 +8970,22 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, "primaryAct
9025
8970
  * @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
9026
8971
  */
9027
8972
  excludeRuntimeParametersfromURL?: boolean;
8973
+ /**
8974
+ * enablePastConversationsSidebar : Controls the visibility of the past conversations
8975
+ * sidebar.
8976
+ *
8977
+ * Supported embed types: `SpotterEmbed`
8978
+ * @default false
8979
+ * @example
8980
+ * ```js
8981
+ * const embed = new SpotterEmbed('#tsEmbed', {
8982
+ * ... //other embed view config
8983
+ * enablePastConversationsSidebar : true,
8984
+ * })
8985
+ * ```
8986
+ * @version SDK: 1.43.0 | ThoughtSpot: 10.14.0.cl
8987
+ */
8988
+ enablePastConversationsSidebar?: boolean;
9028
8989
  }
9029
8990
  /**
9030
8991
  * The configuration for the embedded spotterEmbed options.