@thoughtspot/visual-embed-sdk 1.42.1-alpha.7 → 1.42.2

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 (221) 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/bodyless-conversation.d.ts +1 -1
  11. package/cjs/src/embed/conversation.d.ts +16 -0
  12. package/cjs/src/embed/conversation.d.ts.map +1 -1
  13. package/cjs/src/embed/conversation.js +5 -2
  14. package/cjs/src/embed/conversation.js.map +1 -1
  15. package/cjs/src/embed/conversation.spec.js +25 -1
  16. package/cjs/src/embed/conversation.spec.js.map +1 -1
  17. package/cjs/src/embed/hostEventClient/contracts.d.ts +1 -11
  18. package/cjs/src/embed/hostEventClient/contracts.d.ts.map +1 -1
  19. package/cjs/src/embed/hostEventClient/contracts.js +0 -1
  20. package/cjs/src/embed/hostEventClient/contracts.js.map +1 -1
  21. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  22. package/cjs/src/embed/liveboard.js +5 -1
  23. package/cjs/src/embed/liveboard.js.map +1 -1
  24. package/cjs/src/embed/liveboard.spec.js +46 -0
  25. package/cjs/src/embed/liveboard.spec.js.map +1 -1
  26. package/cjs/src/embed/sage.d.ts +4 -4
  27. package/cjs/src/embed/search.d.ts.map +1 -1
  28. package/cjs/src/embed/search.js +1 -3
  29. package/cjs/src/embed/search.js.map +1 -1
  30. package/cjs/src/embed/ts-embed.d.ts +0 -2
  31. package/cjs/src/embed/ts-embed.d.ts.map +1 -1
  32. package/cjs/src/embed/ts-embed.js +14 -42
  33. package/cjs/src/embed/ts-embed.js.map +1 -1
  34. package/cjs/src/embed/ts-embed.spec.js +0 -2
  35. package/cjs/src/embed/ts-embed.spec.js.map +1 -1
  36. package/cjs/src/errors.js +1 -1
  37. package/cjs/src/errors.js.map +1 -1
  38. package/cjs/src/index.d.ts +3 -3
  39. package/cjs/src/index.d.ts.map +1 -1
  40. package/cjs/src/index.js +1 -2
  41. package/cjs/src/index.js.map +1 -1
  42. package/cjs/src/react/all-types-export.d.ts +1 -2
  43. package/cjs/src/react/all-types-export.d.ts.map +1 -1
  44. package/cjs/src/react/all-types-export.js +5 -3
  45. package/cjs/src/react/all-types-export.js.map +1 -1
  46. package/cjs/src/react/all-types-export.spec.js +0 -8
  47. package/cjs/src/react/all-types-export.spec.js.map +1 -1
  48. package/cjs/src/react/index.d.ts +1 -2
  49. package/cjs/src/react/index.d.ts.map +1 -1
  50. package/cjs/src/react/index.js +2 -1
  51. package/cjs/src/react/index.js.map +1 -1
  52. package/cjs/src/react/util.d.ts +1 -0
  53. package/cjs/src/react/util.d.ts.map +1 -1
  54. package/cjs/src/types.d.ts +58 -93
  55. package/cjs/src/types.d.ts.map +1 -1
  56. package/cjs/src/types.js +21 -46
  57. package/cjs/src/types.js.map +1 -1
  58. package/cjs/src/utils/custom-actions.d.ts.map +1 -1
  59. package/cjs/src/utils/custom-actions.js +9 -0
  60. package/cjs/src/utils/custom-actions.js.map +1 -1
  61. package/cjs/src/utils/custom-actions.spec.js +20 -0
  62. package/cjs/src/utils/custom-actions.spec.js.map +1 -1
  63. package/cjs/src/utils/processData.d.ts +1 -1
  64. package/cjs/src/utils/processData.d.ts.map +1 -1
  65. package/cjs/src/utils/processData.js +8 -8
  66. package/cjs/src/utils/processData.js.map +1 -1
  67. package/cjs/src/utils/processData.spec.js.map +1 -1
  68. package/dist/{index-DvNA626T.js → index-CjbriUI0.js} +1 -1
  69. package/dist/src/css-variables.d.ts +0 -48
  70. package/dist/src/css-variables.d.ts.map +1 -1
  71. package/dist/src/embed/app.d.ts +20 -0
  72. package/dist/src/embed/app.d.ts.map +1 -1
  73. package/dist/src/embed/bodyless-conversation.d.ts +1 -1
  74. package/dist/src/embed/conversation.d.ts +16 -0
  75. package/dist/src/embed/conversation.d.ts.map +1 -1
  76. package/dist/src/embed/hostEventClient/contracts.d.ts +1 -11
  77. package/dist/src/embed/hostEventClient/contracts.d.ts.map +1 -1
  78. package/dist/src/embed/liveboard.d.ts.map +1 -1
  79. package/dist/src/embed/sage.d.ts +4 -4
  80. package/dist/src/embed/search.d.ts.map +1 -1
  81. package/dist/src/embed/ts-embed.d.ts +0 -2
  82. package/dist/src/embed/ts-embed.d.ts.map +1 -1
  83. package/dist/src/index.d.ts +3 -3
  84. package/dist/src/index.d.ts.map +1 -1
  85. package/dist/src/react/all-types-export.d.ts +1 -2
  86. package/dist/src/react/all-types-export.d.ts.map +1 -1
  87. package/dist/src/react/index.d.ts +1 -2
  88. package/dist/src/react/index.d.ts.map +1 -1
  89. package/dist/src/react/util.d.ts +1 -0
  90. package/dist/src/react/util.d.ts.map +1 -1
  91. package/dist/src/types.d.ts +58 -93
  92. package/dist/src/types.d.ts.map +1 -1
  93. package/dist/src/utils/custom-actions.d.ts.map +1 -1
  94. package/dist/src/utils/processData.d.ts +1 -1
  95. package/dist/src/utils/processData.d.ts.map +1 -1
  96. package/dist/tsembed-react.es.js +86 -222
  97. package/dist/tsembed-react.js +230 -442
  98. package/dist/tsembed.es.js +85 -222
  99. package/dist/tsembed.js +228 -441
  100. package/dist/visual-embed-sdk-react-full.d.ts +104 -160
  101. package/dist/visual-embed-sdk-react.d.ts +95 -155
  102. package/dist/visual-embed-sdk.d.ts +95 -158
  103. package/lib/package.json +4 -3
  104. package/lib/src/css-variables.d.ts +0 -48
  105. package/lib/src/css-variables.d.ts.map +1 -1
  106. package/lib/src/embed/app.d.ts +20 -0
  107. package/lib/src/embed/app.d.ts.map +1 -1
  108. package/lib/src/embed/app.js +9 -4
  109. package/lib/src/embed/app.js.map +1 -1
  110. package/lib/src/embed/app.spec.js +62 -0
  111. package/lib/src/embed/app.spec.js.map +1 -1
  112. package/lib/src/embed/bodyless-conversation.d.ts +1 -1
  113. package/lib/src/embed/conversation.d.ts +16 -0
  114. package/lib/src/embed/conversation.d.ts.map +1 -1
  115. package/lib/src/embed/conversation.js +5 -2
  116. package/lib/src/embed/conversation.js.map +1 -1
  117. package/lib/src/embed/conversation.spec.js +25 -1
  118. package/lib/src/embed/conversation.spec.js.map +1 -1
  119. package/lib/src/embed/hostEventClient/contracts.d.ts +1 -11
  120. package/lib/src/embed/hostEventClient/contracts.d.ts.map +1 -1
  121. package/lib/src/embed/hostEventClient/contracts.js +0 -1
  122. package/lib/src/embed/hostEventClient/contracts.js.map +1 -1
  123. package/lib/src/embed/liveboard.d.ts.map +1 -1
  124. package/lib/src/embed/liveboard.js +5 -1
  125. package/lib/src/embed/liveboard.js.map +1 -1
  126. package/lib/src/embed/liveboard.spec.js +47 -1
  127. package/lib/src/embed/liveboard.spec.js.map +1 -1
  128. package/lib/src/embed/sage.d.ts +4 -4
  129. package/lib/src/embed/search.d.ts.map +1 -1
  130. package/lib/src/embed/search.js +1 -3
  131. package/lib/src/embed/search.js.map +1 -1
  132. package/lib/src/embed/ts-embed.d.ts +0 -2
  133. package/lib/src/embed/ts-embed.d.ts.map +1 -1
  134. package/lib/src/embed/ts-embed.js +14 -42
  135. package/lib/src/embed/ts-embed.js.map +1 -1
  136. package/lib/src/embed/ts-embed.spec.js +0 -2
  137. package/lib/src/embed/ts-embed.spec.js.map +1 -1
  138. package/lib/src/errors.js +1 -1
  139. package/lib/src/errors.js.map +1 -1
  140. package/lib/src/index.d.ts +3 -3
  141. package/lib/src/index.d.ts.map +1 -1
  142. package/lib/src/index.js +2 -2
  143. package/lib/src/index.js.map +1 -1
  144. package/lib/src/react/all-types-export.d.ts +1 -2
  145. package/lib/src/react/all-types-export.d.ts.map +1 -1
  146. package/lib/src/react/all-types-export.js +2 -2
  147. package/lib/src/react/all-types-export.js.map +1 -1
  148. package/lib/src/react/all-types-export.spec.js +0 -8
  149. package/lib/src/react/all-types-export.spec.js.map +1 -1
  150. package/lib/src/react/index.d.ts +1 -2
  151. package/lib/src/react/index.d.ts.map +1 -1
  152. package/lib/src/react/index.js +4 -3
  153. package/lib/src/react/index.js.map +1 -1
  154. package/lib/src/react/util.d.ts +1 -0
  155. package/lib/src/react/util.d.ts.map +1 -1
  156. package/lib/src/types.d.ts +58 -93
  157. package/lib/src/types.d.ts.map +1 -1
  158. package/lib/src/types.js +20 -45
  159. package/lib/src/types.js.map +1 -1
  160. package/lib/src/utils/custom-actions.d.ts.map +1 -1
  161. package/lib/src/utils/custom-actions.js +9 -0
  162. package/lib/src/utils/custom-actions.js.map +1 -1
  163. package/lib/src/utils/custom-actions.spec.js +20 -0
  164. package/lib/src/utils/custom-actions.spec.js.map +1 -1
  165. package/lib/src/utils/processData.d.ts +1 -1
  166. package/lib/src/utils/processData.d.ts.map +1 -1
  167. package/lib/src/utils/processData.js +8 -8
  168. package/lib/src/utils/processData.js.map +1 -1
  169. package/lib/src/utils/processData.spec.js.map +1 -1
  170. package/package.json +4 -3
  171. package/src/css-variables.ts +0 -58
  172. package/src/embed/app.spec.ts +87 -0
  173. package/src/embed/app.ts +35 -4
  174. package/src/embed/bodyless-conversation.ts +1 -1
  175. package/src/embed/conversation.spec.ts +35 -1
  176. package/src/embed/conversation.ts +22 -0
  177. package/src/embed/hostEventClient/contracts.ts +0 -10
  178. package/src/embed/liveboard.spec.ts +60 -0
  179. package/src/embed/liveboard.ts +9 -0
  180. package/src/embed/sage.ts +4 -4
  181. package/src/embed/search.ts +1 -3
  182. package/src/embed/ts-embed.spec.ts +7 -9
  183. package/src/embed/ts-embed.ts +31 -67
  184. package/src/errors.ts +1 -1
  185. package/src/index.ts +3 -4
  186. package/src/react/all-types-export.spec.ts +1 -9
  187. package/src/react/all-types-export.ts +8 -10
  188. package/src/react/index.tsx +130 -155
  189. package/src/types.ts +56 -94
  190. package/src/utils/custom-actions.spec.ts +22 -0
  191. package/src/utils/custom-actions.ts +11 -0
  192. package/src/utils/processData.spec.ts +1 -0
  193. package/src/utils/processData.ts +11 -11
  194. package/cjs/src/api-intercept.d.ts +0 -31
  195. package/cjs/src/api-intercept.d.ts.map +0 -1
  196. package/cjs/src/api-intercept.js +0 -119
  197. package/cjs/src/api-intercept.js.map +0 -1
  198. package/cjs/src/api-intercept.spec.d.ts +0 -2
  199. package/cjs/src/api-intercept.spec.d.ts.map +0 -1
  200. package/cjs/src/api-intercept.spec.js +0 -122
  201. package/cjs/src/api-intercept.spec.js.map +0 -1
  202. package/dist/index-BCC3Z072.js +0 -7371
  203. package/dist/index-BEzW4MDA.js +0 -7371
  204. package/dist/index-BaESA9rq.js +0 -7371
  205. package/dist/index-CFNZIcKr.js +0 -7447
  206. package/dist/index-CqKTa1Fe.js +0 -7447
  207. package/dist/index-DFnPKcjZ.js +0 -7447
  208. package/dist/index-DhFH7b7U.js +0 -7447
  209. package/dist/src/api-intercept.d.ts +0 -31
  210. package/dist/src/api-intercept.d.ts.map +0 -1
  211. package/dist/src/api-intercept.spec.d.ts +0 -2
  212. package/dist/src/api-intercept.spec.d.ts.map +0 -1
  213. package/lib/src/api-intercept.d.ts +0 -31
  214. package/lib/src/api-intercept.d.ts.map +0 -1
  215. package/lib/src/api-intercept.js +0 -112
  216. package/lib/src/api-intercept.js.map +0 -1
  217. package/lib/src/api-intercept.spec.d.ts +0 -2
  218. package/lib/src/api-intercept.spec.d.ts.map +0 -1
  219. package/lib/src/api-intercept.spec.js +0 -119
  220. package/lib/src/api-intercept.spec.js.map +0 -1
  221. 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
  */
@@ -1201,7 +1153,7 @@ export interface CustomisationsInterface {
1201
1153
  * if a trusted authentication server is used.
1202
1154
  * @group Authentication / Init
1203
1155
  */
1204
- export interface EmbedConfig extends InterceptV2Flags {
1156
+ export interface EmbedConfig {
1205
1157
  /**
1206
1158
  * The ThoughtSpot cluster hostname or IP address.
1207
1159
  */
@@ -1574,7 +1526,7 @@ export interface FrameParams {
1574
1526
  /**
1575
1527
  * The common configuration object for an embedded view.
1576
1528
  */
1577
- export interface BaseViewConfig extends InterceptV2Flags {
1529
+ export interface BaseViewConfig {
1578
1530
  /**
1579
1531
  * @hidden
1580
1532
  */
@@ -2356,6 +2308,24 @@ export interface LiveboardAppEmbedViewConfig {
2356
2308
  * ```
2357
2309
  */
2358
2310
  liveboardXLSXCSVDownload?: boolean;
2311
+ /**
2312
+ * This flag is used to enable or disable the new centralized Liveboard filter UX (v2).
2313
+ * When enabled, a unified modal is used to manage and update multiple filters at once,
2314
+ * replacing the older individual filter interactions.
2315
+ * To enable this feature on your instance, contact ThoughtSpot Support.
2316
+ *
2317
+ * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2318
+ * @version SDK: 1.42.0 | ThoughtSpot: 10.15.0.cl
2319
+ * @example
2320
+ * ```js
2321
+ * // Replace <EmbedComponent> with embed component name. For example, AppEmbed or LiveboardEmbed
2322
+ * const embed = new <EmbedComponent>('#tsEmbed', {
2323
+ * ... // other embed view config
2324
+ * isCentralizedLiveboardFilterUXEnabled: true,
2325
+ * })
2326
+ * ```
2327
+ */
2328
+ isCentralizedLiveboardFilterUXEnabled?: boolean;
2359
2329
  /**
2360
2330
  * This flag is used to enable or disable the link parameters in liveboard.
2361
2331
  *
@@ -2371,6 +2341,21 @@ export interface LiveboardAppEmbedViewConfig {
2371
2341
  * ```
2372
2342
  */
2373
2343
  isLinkParametersEnabled?: boolean;
2344
+ /**
2345
+ * This flag is used to enable or disable the enhanced filter interactivity in liveboard.
2346
+ *
2347
+ * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2348
+ * @version SDK: 1.42.0 | ThoughtSpot: 10.15.0.cl
2349
+ * @example
2350
+ * ```js
2351
+ * // Replace <EmbedComponent> with embed component name. For example, AppEmbed or LiveboardEmbed
2352
+ * const embed = new <EmbedComponent>('#tsEmbed', {
2353
+ * ... // other embed view config
2354
+ * isEnhancedFilterInteractivityEnabled: true,
2355
+ * })
2356
+ * ```
2357
+ */
2358
+ isEnhancedFilterInteractivityEnabled?: boolean;
2374
2359
  }
2375
2360
  export interface AllEmbedViewConfig extends BaseViewConfig, SearchLiveboardCommonViewConfig, HomePageConfig, LiveboardAppEmbedViewConfig {
2376
2361
  }
@@ -3569,7 +3554,7 @@ export declare enum EmbedEvent {
3569
3554
  * the table visualization.
3570
3555
  *
3571
3556
  * If the Row-Level Security (RLS) rules are applied on the
3572
- * Worksheet or Model, exercise caution when changing column
3557
+ * Model, exercise caution when changing column
3573
3558
  * or table cell values to maintain data security.
3574
3559
  *
3575
3560
  * @example
@@ -3627,7 +3612,7 @@ export declare enum EmbedEvent {
3627
3612
  */
3628
3613
  SpotterData = "SpotterData",
3629
3614
  /**
3630
- * Emitted when user opens up the worksheet preview modal in Spotter embed.
3615
+ * Emitted when user opens up the data source preview modal in Spotter embed.
3631
3616
  * @example
3632
3617
  * ```js
3633
3618
  * spotterEmbed.on(EmbedEvent.PreviewSpotterData, (payload) => {
@@ -3714,22 +3699,7 @@ export declare enum EmbedEvent {
3714
3699
  * ```
3715
3700
  * @version SDK: 1.41.0 | ThoughtSpot: 10.12.0.cl
3716
3701
  */
3717
- OrgSwitched = "orgSwitched",
3718
- /**
3719
- * Emitted when the user intercepts a URL.
3720
- *
3721
- * Supported on all embed types.
3722
- *
3723
- * @example
3724
- * ```js
3725
- * embed.on(EmbedEvent.ApiIntercept, (payload) => {
3726
- * console.log('payload', payload);
3727
- * })
3728
- * ```
3729
- *
3730
- * @version SDK: 1.42.0 | ThoughtSpot: 10.14.0.cl
3731
- */
3732
- ApiIntercept = "ApiIntercept"
3702
+ OrgSwitched = "orgSwitched"
3733
3703
  }
3734
3704
  /**
3735
3705
  * Event types that can be triggered by the host application
@@ -3867,9 +3837,7 @@ export declare enum HostEvent {
3867
3837
  */
3868
3838
  Reload = "reload",
3869
3839
  /**
3870
- * Get iframe URL for the current embed view on the playground.
3871
- * Developers can use this URL to embed a ThoughtSpot object
3872
- * in apps like Salesforce or Sharepoint.
3840
+ * Get iframe URL for the current embed view.
3873
3841
  * @example
3874
3842
  * ```js
3875
3843
  * const url = embed.trigger(HostEvent.GetIframeUrl);
@@ -4941,7 +4909,7 @@ export declare enum HostEvent {
4941
4909
  */
4942
4910
  EditLastPrompt = "EditLastPrompt",
4943
4911
  /**
4944
- * Opens the Worksheet preview modal in Spotter Embed.
4912
+ * Opens the data source preview modal in Spotter Embed.
4945
4913
  * @example
4946
4914
  * ```js
4947
4915
  * spotterEmbed.trigger(HostEvent.PreviewSpotterData);
@@ -5152,7 +5120,7 @@ export declare enum Action {
5152
5120
  */
5153
5121
  SchedulesList = "schedule-list",
5154
5122
  /**
5155
- * The **Share** action on a Liveboard, Answer, or Worksheet.
5123
+ * The **Share** action on a Liveboard, Answer, or Model.
5156
5124
  * Allows users to share an object with other users and groups.
5157
5125
  * @example
5158
5126
  * ```js
@@ -5610,7 +5578,7 @@ export declare enum Action {
5610
5578
  AnswerChartSwitcher = "answerChartSwitcher",
5611
5579
  /**
5612
5580
  * The Favorites icon (*) for Answers,
5613
- * Liveboard, and data objects like Worksheet, Model,
5581
+ * Liveboard, and data objects like Model,
5614
5582
  * Tables and Views.
5615
5583
  * Allows adding an object to the user's favorites list.
5616
5584
  * @example
@@ -6343,7 +6311,17 @@ export declare enum Action {
6343
6311
  * ```
6344
6312
  * @version SDK: 1.42.0 | ThoughtSpot Cloud: 10.14.0.cl
6345
6313
  */
6346
- RemoveAttachment = "removeAttachment"
6314
+ RemoveAttachment = "removeAttachment",
6315
+ /**
6316
+ * The **Style panel** on a Liveboard.
6317
+ * Controls the visibility of the Liveboard style panel.
6318
+ * @example
6319
+ * ```js
6320
+ * hiddenActions: [Action.LiveboardStylePanel]
6321
+ * ```
6322
+ * @version SDK: 1.43.0 | ThoughtSpot Cloud: 10.15.0.cl
6323
+ */
6324
+ LiveboardStylePanel = "liveboardStylePanel"
6347
6325
  }
6348
6326
  export declare enum PrefetchFeatures {
6349
6327
  FullApp = "FullApp",
@@ -6391,12 +6369,19 @@ export interface CustomAction {
6391
6369
  orgIds?: string[];
6392
6370
  groupIds?: string[];
6393
6371
  }
6394
- declare enum CustomActionsPosition {
6372
+ /**
6373
+ * Enum options to show custom actions at different
6374
+ * positions in the application.
6375
+ */
6376
+ export declare enum CustomActionsPosition {
6395
6377
  PRIMARY = "PRIMARY",
6396
6378
  MENU = "MENU",
6397
6379
  CONTEXTMENU = "CONTEXTMENU"
6398
6380
  }
6399
- declare enum CustomActionTarget {
6381
+ /**
6382
+ * Enum options to mention the target of the custom action.
6383
+ */
6384
+ export declare enum CustomActionTarget {
6400
6385
  LIVEBOARD = "LIVEBOARD",
6401
6386
  VIZ = "VIZ",
6402
6387
  ANSWER = "ANSWER",
@@ -6492,71 +6477,6 @@ export interface DefaultAppInitData {
6492
6477
  hiddenListColumns: ListPageColumns[];
6493
6478
  customActions: CustomAction[];
6494
6479
  }
6495
- /**
6496
- * Enum for the type of API intercepted
6497
- */
6498
- export declare enum InterceptedApiType {
6499
- /**
6500
- * The apis that are use to get the metadata for the embed
6501
- */
6502
- METADATA = "METADATA",
6503
- /**
6504
- * The apis that are use to get the data for the embed
6505
- */
6506
- ANSWER_DATA = "ANSWER_DATA",
6507
- /**
6508
- * This will intercept all the apis
6509
- */
6510
- ALL = "ALL",
6511
- /**
6512
- * The apis that are use to get the data for the liveboard
6513
- */
6514
- LIVEBOARD_DATA = "LIVEBOARD_DATA"
6515
- }
6516
- export type InterceptV2Flags = {
6517
- /**
6518
- * Enable intercepting the apis
6519
- *
6520
- * @example
6521
- * ```js
6522
- * const embed = new LiveboardEmbed('#embed', {
6523
- * ...viewConfig,
6524
- * enableApiIntercept: true,
6525
- * interceptUrls: [InterceptedApiType.DATA],
6526
- * })
6527
- * ```
6528
- *
6529
- */
6530
- enableApiIntercept?: boolean;
6531
- /**
6532
- * The apis to intercept
6533
- *
6534
- * @example
6535
- * ```js
6536
- * const embed = new LiveboardEmbed('#embed', {
6537
- * ...viewConfig,
6538
- * enableApiIntercept: true,
6539
- * interceptUrls: [InterceptedApiType.DATA],
6540
- * })
6541
- * ```
6542
- */
6543
- interceptUrls?: (string | InterceptedApiType)[];
6544
- /**
6545
- * The timeout for the intercept, default is 30000ms
6546
- * the api will error out if the timeout is reached
6547
- *
6548
- * @example
6549
- * ```js
6550
- * const embed = new LiveboardEmbed('#embed', {
6551
- * ...viewConfig,
6552
- * enableApiIntercept: true,
6553
- * interceptUrls: [InterceptedApiType.ALL],
6554
- * interceptTimeout: 1000,
6555
- * })
6556
- * ```
6557
- */
6558
- interceptTimeout?: number;
6559
- };
6560
6480
  /**
6561
6481
  * Enum for auth failure types. This is the parameter passed to the listner
6562
6482
  * of {@link AuthStatus.FAILURE}.
@@ -6665,8 +6585,7 @@ export declare enum UIPassthroughEvent {
6665
6585
  GetDiscoverabilityStatus = "getDiscoverabilityStatus",
6666
6586
  GetAvailableUIPassthroughs = "getAvailableUiPassthroughs",
6667
6587
  GetAnswerConfig = "getAnswerPageConfig",
6668
- GetLiveboardConfig = "getPinboardPageConfig",
6669
- GetUnsavedAnswerTML = "getUnsavedAnswerTML"
6588
+ GetLiveboardConfig = "getPinboardPageConfig"
6670
6589
  }
6671
6590
  export type UIPassthroughContractBase = {
6672
6591
  [UIPassthroughEvent.PinAnswerToLiveboard]: {
@@ -6721,15 +6640,6 @@ export type UIPassthroughContractBase = {
6721
6640
  request: any;
6722
6641
  response: any;
6723
6642
  };
6724
- [UIPassthroughEvent.GetUnsavedAnswerTML]: {
6725
- request: {
6726
- sessionId?: string;
6727
- vizId?: string;
6728
- };
6729
- response: {
6730
- tml: string;
6731
- };
6732
- };
6733
6643
  };
6734
6644
  export type UIPassthroughRequest<T extends keyof UIPassthroughContractBase> = UIPassthroughContractBase[T]["request"];
6735
6645
  export type UIPassthroughResponse<T extends keyof UIPassthroughContractBase> = UIPassthroughContractBase[T]["response"];
@@ -6885,7 +6795,6 @@ declare class TsEmbed {
6885
6795
  * work regardless of auth status
6886
6796
  */
6887
6797
  private subscribeToNetworkEvents;
6888
- private messageEventListener;
6889
6798
  /**
6890
6799
  * Subscribe to message events that depend on successful iframe setup
6891
6800
  */
@@ -6972,7 +6881,6 @@ declare class TsEmbed {
6972
6881
  * @param height The height in pixels
6973
6882
  */
6974
6883
  protected setIFrameHeight(height: number | string): void;
6975
- protected createEmbedEventResponder: (eventPort: MessagePort | void, eventType: EmbedEvent) => (payload: any) => void;
6976
6884
  /**
6977
6885
  * Executes all registered event handlers for a particular event type
6978
6886
  * @param eventType The event type
@@ -7702,12 +7610,12 @@ export interface SageViewConfig extends SearchLiveboardCommonViewConfig, Omit<Ba
7702
7610
  */
7703
7611
  hideSageAnswerHeader?: boolean;
7704
7612
  /**
7705
- * Disable the worksheet selection option.
7613
+ * Disable the data source selection option.
7706
7614
  * @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
7707
7615
  */
7708
7616
  disableWorksheetChange?: boolean;
7709
7617
  /**
7710
- * Hide the worksheet selection panel.
7618
+ * Hide the data source selection panel.
7711
7619
  * @version SDK: 1.26.0 | ThoughtSpot: 9.8.0.cl, 9.8.0.sw
7712
7620
  */
7713
7621
  hideWorksheetSelector?: boolean;
@@ -7725,7 +7633,7 @@ export interface SageViewConfig extends SearchLiveboardCommonViewConfig, Omit<Ba
7725
7633
  showObjectSuggestions?: boolean;
7726
7634
  /**
7727
7635
  * Show or hide sample questions.
7728
- * The sample questions are autogenerated based on the worksheet
7636
+ * The sample questions are autogenerated based on the data Model.
7729
7637
  * selected for the search operation.
7730
7638
  *
7731
7639
  * Supported embed types: `SageEmbed`
@@ -7740,7 +7648,7 @@ export interface SageViewConfig extends SearchLiveboardCommonViewConfig, Omit<Ba
7740
7648
  */
7741
7649
  hideSampleQuestions?: boolean;
7742
7650
  /**
7743
- * The data source GUID (Worksheet GUID) to set on load.
7651
+ * The data source GUID (Model GUID) to set on load.
7744
7652
  */
7745
7653
  dataSource?: string;
7746
7654
  /**
@@ -8119,6 +8027,26 @@ export interface AppViewConfig extends AllEmbedViewConfig {
8119
8027
  * ```
8120
8028
  */
8121
8029
  tag?: string;
8030
+ /**
8031
+ * Hide tag filter chips that appear when content is filtered by tags.
8032
+ * When enabled, this automatically:
8033
+ * - Hides tag filter indicators/chips from the UI
8034
+ *
8035
+ * This provides a clean interface without tag-related UI elements.
8036
+ *
8037
+ * Supported embed types: `AppEmbed`
8038
+ * @version SDK: 1.44.0 | ThoughtSpot: 10.15.0.cl
8039
+ * @example
8040
+ * ```js
8041
+ * // Simple usage - automatically hides all tag-related UI
8042
+ * const embed = new AppEmbed('#tsEmbed', {
8043
+ * ... // other embed view config
8044
+ * tag: 'Some Tag',
8045
+ * hideTagFilterChips: true, // This is all you need!
8046
+ * });
8047
+ * ```
8048
+ */
8049
+ hideTagFilterChips?: boolean;
8122
8050
  /**
8123
8051
  * The array of GUIDs to be hidden
8124
8052
  *
@@ -8865,7 +8793,7 @@ export declare class PinboardEmbed extends LiveboardEmbed {
8865
8793
  */
8866
8794
  export interface SpotterAgentEmbedViewConfig extends Omit<BaseViewConfig, "primaryAction"> {
8867
8795
  /**
8868
- * The ID of the worksheet to use for the conversation.
8796
+ * The ID of the Model to use for the conversation.
8869
8797
  */
8870
8798
  worksheetId: string;
8871
8799
  }
@@ -9049,6 +8977,22 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, "primaryAct
9049
8977
  * @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
9050
8978
  */
9051
8979
  excludeRuntimeParametersfromURL?: boolean;
8980
+ /**
8981
+ * enablePastConversationsSidebar : Controls the visibility of the past conversations
8982
+ * sidebar.
8983
+ *
8984
+ * Supported embed types: `SpotterEmbed`
8985
+ * @default false
8986
+ * @example
8987
+ * ```js
8988
+ * const embed = new SpotterEmbed('#tsEmbed', {
8989
+ * ... //other embed view config
8990
+ * enablePastConversationsSidebar : true,
8991
+ * })
8992
+ * ```
8993
+ * @version SDK: 1.43.0 | ThoughtSpot: 10.14.0.cl
8994
+ */
8995
+ enablePastConversationsSidebar?: boolean;
9052
8996
  }
9053
8997
  /**
9054
8998
  * The configuration for the embedded spotterEmbed options.