@thoughtspot/visual-embed-sdk 1.44.5 → 1.45.0

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 (77) hide show
  1. package/cjs/package.json +1 -1
  2. package/cjs/src/embed/app.d.ts +1 -1
  3. package/cjs/src/embed/app.d.ts.map +1 -1
  4. package/cjs/src/embed/app.js +4 -1
  5. package/cjs/src/embed/app.js.map +1 -1
  6. package/cjs/src/embed/app.spec.js +10 -0
  7. package/cjs/src/embed/app.spec.js.map +1 -1
  8. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  9. package/cjs/src/embed/liveboard.js +4 -1
  10. package/cjs/src/embed/liveboard.js.map +1 -1
  11. package/cjs/src/embed/liveboard.spec.js +11 -0
  12. package/cjs/src/embed/liveboard.spec.js.map +1 -1
  13. package/cjs/src/embed/search.d.ts +1 -0
  14. package/cjs/src/embed/search.d.ts.map +1 -1
  15. package/cjs/src/embed/search.js +4 -1
  16. package/cjs/src/embed/search.js.map +1 -1
  17. package/cjs/src/embed/search.spec.js +10 -0
  18. package/cjs/src/embed/search.spec.js.map +1 -1
  19. package/cjs/src/types.d.ts +102 -23
  20. package/cjs/src/types.d.ts.map +1 -1
  21. package/cjs/src/types.js +77 -14
  22. package/cjs/src/types.js.map +1 -1
  23. package/cjs/src/utils/processTrigger.js +1 -1
  24. package/cjs/src/utils/processTrigger.js.map +1 -1
  25. package/cjs/src/utils/processTrigger.spec.js +12 -0
  26. package/cjs/src/utils/processTrigger.spec.js.map +1 -1
  27. package/dist/{index-_2rRJf4J.js → index-Dk-SLdNk.js} +1 -1
  28. package/dist/src/embed/app.d.ts +1 -1
  29. package/dist/src/embed/app.d.ts.map +1 -1
  30. package/dist/src/embed/liveboard.d.ts.map +1 -1
  31. package/dist/src/embed/search.d.ts +1 -0
  32. package/dist/src/embed/search.d.ts.map +1 -1
  33. package/dist/src/types.d.ts +102 -23
  34. package/dist/src/types.d.ts.map +1 -1
  35. package/dist/tsembed-react.es.js +93 -21
  36. package/dist/tsembed-react.js +92 -20
  37. package/dist/tsembed.es.js +93 -21
  38. package/dist/tsembed.js +92 -20
  39. package/dist/visual-embed-sdk-react-full.d.ts +102 -23
  40. package/dist/visual-embed-sdk-react.d.ts +102 -23
  41. package/dist/visual-embed-sdk.d.ts +102 -23
  42. package/lib/package.json +1 -1
  43. package/lib/src/embed/app.d.ts +1 -1
  44. package/lib/src/embed/app.d.ts.map +1 -1
  45. package/lib/src/embed/app.js +4 -1
  46. package/lib/src/embed/app.js.map +1 -1
  47. package/lib/src/embed/app.spec.js +10 -0
  48. package/lib/src/embed/app.spec.js.map +1 -1
  49. package/lib/src/embed/liveboard.d.ts.map +1 -1
  50. package/lib/src/embed/liveboard.js +4 -1
  51. package/lib/src/embed/liveboard.js.map +1 -1
  52. package/lib/src/embed/liveboard.spec.js +11 -0
  53. package/lib/src/embed/liveboard.spec.js.map +1 -1
  54. package/lib/src/embed/search.d.ts +1 -0
  55. package/lib/src/embed/search.d.ts.map +1 -1
  56. package/lib/src/embed/search.js +4 -1
  57. package/lib/src/embed/search.js.map +1 -1
  58. package/lib/src/embed/search.spec.js +10 -0
  59. package/lib/src/embed/search.spec.js.map +1 -1
  60. package/lib/src/types.d.ts +102 -23
  61. package/lib/src/types.d.ts.map +1 -1
  62. package/lib/src/types.js +77 -14
  63. package/lib/src/types.js.map +1 -1
  64. package/lib/src/utils/processTrigger.js +1 -1
  65. package/lib/src/utils/processTrigger.js.map +1 -1
  66. package/lib/src/utils/processTrigger.spec.js +12 -0
  67. package/lib/src/utils/processTrigger.spec.js.map +1 -1
  68. package/package.json +1 -1
  69. package/src/embed/app.spec.ts +14 -0
  70. package/src/embed/app.ts +6 -1
  71. package/src/embed/liveboard.spec.ts +15 -0
  72. package/src/embed/liveboard.ts +5 -0
  73. package/src/embed/search.spec.ts +14 -0
  74. package/src/embed/search.ts +6 -0
  75. package/src/types.ts +125 -46
  76. package/src/utils/processTrigger.spec.ts +18 -0
  77. package/src/utils/processTrigger.ts +1 -1
@@ -2150,6 +2150,22 @@ export interface SearchLiveboardCommonViewConfig {
2150
2150
  * ```
2151
2151
  */
2152
2152
  enableCustomColumnGroups?: boolean;
2153
+ /**
2154
+ * To enable **Include current period** checkbox for date filters.
2155
+ * Controls the visibility of the option to include
2156
+ * the current time period in filter results.
2157
+ *
2158
+ * Supported embed types: `AppEmbed`, `SearchBarEmbed`, `LiveboardEmbed`, `SearchEmbed`
2159
+ * @example
2160
+ * ```js
2161
+ * const embed = new <EmbedComponent>('#tsEmbed', {
2162
+ * ... // other embed view config
2163
+ * isThisPeriodInDateFiltersEnabled: true,
2164
+ * })
2165
+ * ```
2166
+ * @version SDK: 1.45.0 | ThoughtSpot: 26.4.0.cl
2167
+ */
2168
+ isThisPeriodInDateFiltersEnabled?: boolean;
2153
2169
  }
2154
2170
  /**
2155
2171
  * The configuration object for common Liveboard and App embeds configs.
@@ -2159,7 +2175,7 @@ export interface LiveboardAppEmbedViewConfig {
2159
2175
  * Show or hide Liveboard header
2160
2176
  *
2161
2177
  * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2162
- * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
2178
+ * @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
2163
2179
  * @default false
2164
2180
  * @example
2165
2181
  * ```js
@@ -2175,7 +2191,7 @@ export interface LiveboardAppEmbedViewConfig {
2175
2191
  * Show or hide Liveboard title
2176
2192
  *
2177
2193
  * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2178
- * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
2194
+ * @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
2179
2195
  * @default false
2180
2196
  * @example
2181
2197
  * ```js
@@ -2191,7 +2207,7 @@ export interface LiveboardAppEmbedViewConfig {
2191
2207
  * Show or hide Liveboard description
2192
2208
  *
2193
2209
  * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2194
- * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
2210
+ * @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
2195
2211
  * @default false
2196
2212
  * @example
2197
2213
  * ```js
@@ -2215,7 +2231,7 @@ export interface LiveboardAppEmbedViewConfig {
2215
2231
  * isLiveboardHeaderSticky: true,
2216
2232
  * });
2217
2233
  * ```
2218
- * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
2234
+ * @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
2219
2235
  */
2220
2236
  isLiveboardHeaderSticky?: boolean;
2221
2237
  /**
@@ -2309,7 +2325,7 @@ export interface LiveboardAppEmbedViewConfig {
2309
2325
  * enable or disable ask sage
2310
2326
  *
2311
2327
  * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2312
- * @version SDK: 1.29.0 | Thoughtspot: 9.12.0.cl
2328
+ * @version SDK: 1.29.0 | ThoughtSpot: 9.12.0.cl
2313
2329
  * @default false
2314
2330
  * @example
2315
2331
  * ```js
@@ -2389,7 +2405,7 @@ export interface LiveboardAppEmbedViewConfig {
2389
2405
  * Show or hide masked filter chips
2390
2406
  *
2391
2407
  * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2392
- * @version SDK: 1.45.0 | Thoughtspot: 26.2.0.cl
2408
+ * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
2393
2409
  * @default false
2394
2410
  * @example
2395
2411
  * ```js
@@ -2405,7 +2421,7 @@ export interface LiveboardAppEmbedViewConfig {
2405
2421
  * Enable or disable Liveboard styling and grouping
2406
2422
  *
2407
2423
  * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2408
- * @version SDK: 1.45.0 | Thoughtspot: 26.2.0.cl
2424
+ * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
2409
2425
  * @default false
2410
2426
  * @example
2411
2427
  * ```js
@@ -5306,7 +5322,7 @@ export declare enum DataSourceVisualMode {
5306
5322
  * ```js
5307
5323
  * const embed = new LiveboardEmbed('#tsEmbed', {
5308
5324
  * ... //other embed view config
5309
- * visibleActions: [Action.Save, Action.Edit, Action.Present, ActionAction.Explore],
5325
+ * visibleActions: [Action.Save, Action.Edit, Action.Present, Action.Explore],
5310
5326
  * disabledActions: [Action.Download],
5311
5327
  * //hiddenActions: [], // Set either this or visibleActions
5312
5328
  * })
@@ -5317,7 +5333,7 @@ export declare enum DataSourceVisualMode {
5317
5333
  * ... //other embed view config
5318
5334
  * //visibleActions: [],
5319
5335
  * disabledActions: [Action.Download],
5320
- * hiddenActions: [Action.Edit, ActionAction.Explore],
5336
+ * hiddenActions: [Action.Edit, Action.Explore],
5321
5337
  * })
5322
5338
  * ```
5323
5339
  * See also link:https://developers.thoughtspot.com/docs/actions[Developer Documentation].
@@ -5836,13 +5852,15 @@ export declare enum Action {
5836
5852
  */
5837
5853
  RequestAccess = "requestAccess",
5838
5854
  /**
5839
- * The **Query visualizer** and **Query SQL** buttons in
5840
- * Query details panel of the Answer page.
5855
+ * Controls the display and availability of the **Query visualizer** and
5856
+ * **Query SQL** buttons in the Query details panel on the Answer page.
5857
+ *
5858
+ * **Query visualizer** - Displays the tables and filters used in the search query.
5859
+ * **Query SQL** - Displays the SQL statements used to retrieve data for the query.
5841
5860
  *
5842
- * **Query visualizer** - Displays the tables
5843
- * and filters used in a search query.
5844
- * **Query SQL** - Displays the SQL statements used
5845
- * in a search query to fetch data.
5861
+ * Note: This action ID only affects the visibility of the buttons within the
5862
+ * Query details panel. It does not control the visibility
5863
+ * of the query details icon on the Answer page.
5846
5864
  * @example
5847
5865
  * ```js
5848
5866
  * disabledActions: [Action.QueryDetailsButtons]
@@ -6547,12 +6565,11 @@ export declare enum Action {
6547
6565
  */
6548
6566
  CoverAndFilterOptionInPDF = "coverAndFilterOptionInPDF",
6549
6567
  /**
6550
- * Action ID to hide or disable the Spotter in the conversation training widget.
6551
- * When disabled, users cannot access **Add to Coaching**, which allows adding reference
6552
- * questions and business terms to improve Spotter’s responses.
6553
- * The **Add to Coaching** feature is generally available from version 26.2.0.cl and
6554
- * enabled by default on embed deployments.
6555
-
6568
+ * Action ID to hide or disable the Coaching workflow in Spotter conversations.
6569
+ * When disabled, users cannot access **Add to Coaching** workflow in conversation.
6570
+ * The **Add to Coaching** feature allows adding reference questions and
6571
+ * business terms to improve Spotter’s responses. This feature is generally available
6572
+ * (GA) from version 26.2.0.cl and enabled by default on embed deployments.
6556
6573
  * @example
6557
6574
  * ```js
6558
6575
  * hiddenAction: [Action.InConversationTraining]
@@ -6628,6 +6645,55 @@ export declare enum Action {
6628
6645
  * @version SDK: 1.43.0 | ThoughtSpot Cloud: 10.15.0.cl
6629
6646
  */
6630
6647
  LiveboardStylePanel = "liveboardStylePanel",
6648
+ /**
6649
+ * The **Publish** action for Liveboards, Answers and Models.
6650
+ * Opens the publishing modal. It's a parent action for the
6651
+ * **Manage Publishing** and **Unpublish** actions if the object
6652
+ * is already published, otherwise appears standalone.
6653
+ * @example
6654
+ * ```js
6655
+ * hiddenActions: [Action.Publish]
6656
+ * disabledActions: [Action.Publish]
6657
+ * ```
6658
+ * @version SDK: 1.45.0 | ThoughtSpot Cloud: 26.2.0.cl
6659
+ */
6660
+ Publish = "publish",
6661
+ /**
6662
+ * The **Manage Publishing** action for Liveboards, Answers and Models.
6663
+ * Opens the same publishing modal as the **Publish** action.
6664
+ * Appears as a child action to the **Publish** action if the
6665
+ * object is already published.
6666
+ * @example
6667
+ * ```js
6668
+ * hiddenActions: [Action.ManagePublishing]
6669
+ * disabledActions: [Action.ManagePublishing]
6670
+ * ```
6671
+ * @version SDK: 1.45.0 | ThoughtSpot Cloud: 26.2.0.cl
6672
+ */
6673
+ ManagePublishing = "managePublishing",
6674
+ /**
6675
+ * The **Unpublish** action for Liveboards, Answers and Models.
6676
+ * Opens the unpublishing modal. Appears as a child action to
6677
+ * the **Publish** action if the object is already published.
6678
+ * @example
6679
+ * ```js
6680
+ * hiddenActions: [Action.Unpublish]
6681
+ * disabledActions: [Action.Unpublish]
6682
+ * ```
6683
+ * @version SDK: 1.45.0 | ThoughtSpot Cloud: 26.2.0.cl
6684
+ */
6685
+ Unpublish = "unpublish",
6686
+ /**
6687
+ * The **Parameterize** action for Tables and Connections.
6688
+ * Opens the parameterization modal.
6689
+ * @example
6690
+ * ```js
6691
+ * hiddenActions: [Action.Parameterize]
6692
+ * disabledActions: [Action.Parameterize]
6693
+ * ```
6694
+ * @version SDK: 1.45.0 | ThoughtSpot Cloud: 26.2.0.cl
6695
+ */
6696
+ Parameterize = "parameterise",
6631
6697
  /**
6632
6698
  * The **Move to Group** menu action on a Liveboard.
6633
6699
  * Allows moving a visualization to a different group.
@@ -6667,7 +6733,19 @@ export declare enum Action {
6667
6733
  * ```
6668
6734
  * @version SDK: 1.44.0 | ThoughtSpot Cloud: 26.2.0.cl
6669
6735
  */
6670
- UngroupLiveboardGroup = "ungroupLiveboardGroup"
6736
+ UngroupLiveboardGroup = "ungroupLiveboardGroup",
6737
+ /**
6738
+ * The **Include current period** checkbox for date filters.
6739
+ * Controls the visibility and availability of the option to include
6740
+ * the current time period in filter results.
6741
+ * @example
6742
+ * ```js
6743
+ * hiddenActions: [Action.IncludeCurrentPeriod]
6744
+ * disabledActions: [Action.IncludeCurrentPeriod]
6745
+ * ```
6746
+ * @version SDK: 1.45.0 | ThoughtSpot: 26.4.0.cl
6747
+ */
6748
+ IncludeCurrentPeriod = "includeCurrentPeriod"
6671
6749
  }
6672
6750
  export declare enum PrefetchFeatures {
6673
6751
  FullApp = "FullApp",
@@ -7773,6 +7851,7 @@ export interface SearchViewConfig extends SearchLiveboardCommonViewConfig, Omit<
7773
7851
  * ... // other embed view config
7774
7852
  * forceTable:true,
7775
7853
  * })
7854
+ * ```
7776
7855
  */
7777
7856
  forceTable?: boolean;
7778
7857
  /**
@@ -8542,7 +8621,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
8542
8621
  * ```js
8543
8622
  * const embed = new AppEmbed('#tsEmbed', {
8544
8623
  * ... // other embed view config
8545
- * pageId : Page.Answers | Page.Data,
8624
+ * pageId: Page.Answers, // or Page.Data
8546
8625
  * })
8547
8626
  * ```
8548
8627
  */
@@ -2150,6 +2150,22 @@ export interface SearchLiveboardCommonViewConfig {
2150
2150
  * ```
2151
2151
  */
2152
2152
  enableCustomColumnGroups?: boolean;
2153
+ /**
2154
+ * To enable **Include current period** checkbox for date filters.
2155
+ * Controls the visibility of the option to include
2156
+ * the current time period in filter results.
2157
+ *
2158
+ * Supported embed types: `AppEmbed`, `SearchBarEmbed`, `LiveboardEmbed`, `SearchEmbed`
2159
+ * @example
2160
+ * ```js
2161
+ * const embed = new <EmbedComponent>('#tsEmbed', {
2162
+ * ... // other embed view config
2163
+ * isThisPeriodInDateFiltersEnabled: true,
2164
+ * })
2165
+ * ```
2166
+ * @version SDK: 1.45.0 | ThoughtSpot: 26.4.0.cl
2167
+ */
2168
+ isThisPeriodInDateFiltersEnabled?: boolean;
2153
2169
  }
2154
2170
  /**
2155
2171
  * The configuration object for common Liveboard and App embeds configs.
@@ -2159,7 +2175,7 @@ export interface LiveboardAppEmbedViewConfig {
2159
2175
  * Show or hide Liveboard header
2160
2176
  *
2161
2177
  * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2162
- * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
2178
+ * @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
2163
2179
  * @default false
2164
2180
  * @example
2165
2181
  * ```js
@@ -2175,7 +2191,7 @@ export interface LiveboardAppEmbedViewConfig {
2175
2191
  * Show or hide Liveboard title
2176
2192
  *
2177
2193
  * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2178
- * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
2194
+ * @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
2179
2195
  * @default false
2180
2196
  * @example
2181
2197
  * ```js
@@ -2191,7 +2207,7 @@ export interface LiveboardAppEmbedViewConfig {
2191
2207
  * Show or hide Liveboard description
2192
2208
  *
2193
2209
  * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2194
- * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
2210
+ * @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
2195
2211
  * @default false
2196
2212
  * @example
2197
2213
  * ```js
@@ -2215,7 +2231,7 @@ export interface LiveboardAppEmbedViewConfig {
2215
2231
  * isLiveboardHeaderSticky: true,
2216
2232
  * });
2217
2233
  * ```
2218
- * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
2234
+ * @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl
2219
2235
  */
2220
2236
  isLiveboardHeaderSticky?: boolean;
2221
2237
  /**
@@ -2309,7 +2325,7 @@ export interface LiveboardAppEmbedViewConfig {
2309
2325
  * enable or disable ask sage
2310
2326
  *
2311
2327
  * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2312
- * @version SDK: 1.29.0 | Thoughtspot: 9.12.0.cl
2328
+ * @version SDK: 1.29.0 | ThoughtSpot: 9.12.0.cl
2313
2329
  * @default false
2314
2330
  * @example
2315
2331
  * ```js
@@ -2389,7 +2405,7 @@ export interface LiveboardAppEmbedViewConfig {
2389
2405
  * Show or hide masked filter chips
2390
2406
  *
2391
2407
  * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2392
- * @version SDK: 1.45.0 | Thoughtspot: 26.2.0.cl
2408
+ * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
2393
2409
  * @default false
2394
2410
  * @example
2395
2411
  * ```js
@@ -2405,7 +2421,7 @@ export interface LiveboardAppEmbedViewConfig {
2405
2421
  * Enable or disable Liveboard styling and grouping
2406
2422
  *
2407
2423
  * Supported embed types: `AppEmbed`, `LiveboardEmbed`
2408
- * @version SDK: 1.45.0 | Thoughtspot: 26.2.0.cl
2424
+ * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
2409
2425
  * @default false
2410
2426
  * @example
2411
2427
  * ```js
@@ -5301,7 +5317,7 @@ export declare enum HostEvent {
5301
5317
  * ```js
5302
5318
  * const embed = new LiveboardEmbed('#tsEmbed', {
5303
5319
  * ... //other embed view config
5304
- * visibleActions: [Action.Save, Action.Edit, Action.Present, ActionAction.Explore],
5320
+ * visibleActions: [Action.Save, Action.Edit, Action.Present, Action.Explore],
5305
5321
  * disabledActions: [Action.Download],
5306
5322
  * //hiddenActions: [], // Set either this or visibleActions
5307
5323
  * })
@@ -5312,7 +5328,7 @@ export declare enum HostEvent {
5312
5328
  * ... //other embed view config
5313
5329
  * //visibleActions: [],
5314
5330
  * disabledActions: [Action.Download],
5315
- * hiddenActions: [Action.Edit, ActionAction.Explore],
5331
+ * hiddenActions: [Action.Edit, Action.Explore],
5316
5332
  * })
5317
5333
  * ```
5318
5334
  * See also link:https://developers.thoughtspot.com/docs/actions[Developer Documentation].
@@ -5831,13 +5847,15 @@ export declare enum Action {
5831
5847
  */
5832
5848
  RequestAccess = "requestAccess",
5833
5849
  /**
5834
- * The **Query visualizer** and **Query SQL** buttons in
5835
- * Query details panel of the Answer page.
5850
+ * Controls the display and availability of the **Query visualizer** and
5851
+ * **Query SQL** buttons in the Query details panel on the Answer page.
5852
+ *
5853
+ * **Query visualizer** - Displays the tables and filters used in the search query.
5854
+ * **Query SQL** - Displays the SQL statements used to retrieve data for the query.
5836
5855
  *
5837
- * **Query visualizer** - Displays the tables
5838
- * and filters used in a search query.
5839
- * **Query SQL** - Displays the SQL statements used
5840
- * in a search query to fetch data.
5856
+ * Note: This action ID only affects the visibility of the buttons within the
5857
+ * Query details panel. It does not control the visibility
5858
+ * of the query details icon on the Answer page.
5841
5859
  * @example
5842
5860
  * ```js
5843
5861
  * disabledActions: [Action.QueryDetailsButtons]
@@ -6542,12 +6560,11 @@ export declare enum Action {
6542
6560
  */
6543
6561
  CoverAndFilterOptionInPDF = "coverAndFilterOptionInPDF",
6544
6562
  /**
6545
- * Action ID to hide or disable the Spotter in the conversation training widget.
6546
- * When disabled, users cannot access **Add to Coaching**, which allows adding reference
6547
- * questions and business terms to improve Spotter’s responses.
6548
- * The **Add to Coaching** feature is generally available from version 26.2.0.cl and
6549
- * enabled by default on embed deployments.
6550
-
6563
+ * Action ID to hide or disable the Coaching workflow in Spotter conversations.
6564
+ * When disabled, users cannot access **Add to Coaching** workflow in conversation.
6565
+ * The **Add to Coaching** feature allows adding reference questions and
6566
+ * business terms to improve Spotter’s responses. This feature is generally available
6567
+ * (GA) from version 26.2.0.cl and enabled by default on embed deployments.
6551
6568
  * @example
6552
6569
  * ```js
6553
6570
  * hiddenAction: [Action.InConversationTraining]
@@ -6623,6 +6640,55 @@ export declare enum Action {
6623
6640
  * @version SDK: 1.43.0 | ThoughtSpot Cloud: 10.15.0.cl
6624
6641
  */
6625
6642
  LiveboardStylePanel = "liveboardStylePanel",
6643
+ /**
6644
+ * The **Publish** action for Liveboards, Answers and Models.
6645
+ * Opens the publishing modal. It's a parent action for the
6646
+ * **Manage Publishing** and **Unpublish** actions if the object
6647
+ * is already published, otherwise appears standalone.
6648
+ * @example
6649
+ * ```js
6650
+ * hiddenActions: [Action.Publish]
6651
+ * disabledActions: [Action.Publish]
6652
+ * ```
6653
+ * @version SDK: 1.45.0 | ThoughtSpot Cloud: 26.2.0.cl
6654
+ */
6655
+ Publish = "publish",
6656
+ /**
6657
+ * The **Manage Publishing** action for Liveboards, Answers and Models.
6658
+ * Opens the same publishing modal as the **Publish** action.
6659
+ * Appears as a child action to the **Publish** action if the
6660
+ * object is already published.
6661
+ * @example
6662
+ * ```js
6663
+ * hiddenActions: [Action.ManagePublishing]
6664
+ * disabledActions: [Action.ManagePublishing]
6665
+ * ```
6666
+ * @version SDK: 1.45.0 | ThoughtSpot Cloud: 26.2.0.cl
6667
+ */
6668
+ ManagePublishing = "managePublishing",
6669
+ /**
6670
+ * The **Unpublish** action for Liveboards, Answers and Models.
6671
+ * Opens the unpublishing modal. Appears as a child action to
6672
+ * the **Publish** action if the object is already published.
6673
+ * @example
6674
+ * ```js
6675
+ * hiddenActions: [Action.Unpublish]
6676
+ * disabledActions: [Action.Unpublish]
6677
+ * ```
6678
+ * @version SDK: 1.45.0 | ThoughtSpot Cloud: 26.2.0.cl
6679
+ */
6680
+ Unpublish = "unpublish",
6681
+ /**
6682
+ * The **Parameterize** action for Tables and Connections.
6683
+ * Opens the parameterization modal.
6684
+ * @example
6685
+ * ```js
6686
+ * hiddenActions: [Action.Parameterize]
6687
+ * disabledActions: [Action.Parameterize]
6688
+ * ```
6689
+ * @version SDK: 1.45.0 | ThoughtSpot Cloud: 26.2.0.cl
6690
+ */
6691
+ Parameterize = "parameterise",
6626
6692
  /**
6627
6693
  * The **Move to Group** menu action on a Liveboard.
6628
6694
  * Allows moving a visualization to a different group.
@@ -6662,7 +6728,19 @@ export declare enum Action {
6662
6728
  * ```
6663
6729
  * @version SDK: 1.44.0 | ThoughtSpot Cloud: 26.2.0.cl
6664
6730
  */
6665
- UngroupLiveboardGroup = "ungroupLiveboardGroup"
6731
+ UngroupLiveboardGroup = "ungroupLiveboardGroup",
6732
+ /**
6733
+ * The **Include current period** checkbox for date filters.
6734
+ * Controls the visibility and availability of the option to include
6735
+ * the current time period in filter results.
6736
+ * @example
6737
+ * ```js
6738
+ * hiddenActions: [Action.IncludeCurrentPeriod]
6739
+ * disabledActions: [Action.IncludeCurrentPeriod]
6740
+ * ```
6741
+ * @version SDK: 1.45.0 | ThoughtSpot: 26.4.0.cl
6742
+ */
6743
+ IncludeCurrentPeriod = "includeCurrentPeriod"
6666
6744
  }
6667
6745
  declare enum ContextMenuTriggerOptions {
6668
6746
  LEFT_CLICK = "left-click",
@@ -7749,6 +7827,7 @@ export interface SearchViewConfig extends SearchLiveboardCommonViewConfig, Omit<
7749
7827
  * ... // other embed view config
7750
7828
  * forceTable:true,
7751
7829
  * })
7830
+ * ```
7752
7831
  */
7753
7832
  forceTable?: boolean;
7754
7833
  /**
@@ -8514,7 +8593,7 @@ export interface AppViewConfig extends AllEmbedViewConfig {
8514
8593
  * ```js
8515
8594
  * const embed = new AppEmbed('#tsEmbed', {
8516
8595
  * ... // other embed view config
8517
- * pageId : Page.Answers | Page.Data,
8596
+ * pageId: Page.Answers, // or Page.Data
8518
8597
  * })
8519
8598
  * ```
8520
8599
  */