@thoughtspot/visual-embed-sdk 1.35.5-hostEvent.7 → 1.35.5-hostEvent.8

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 (58) hide show
  1. package/cjs/package.json +1 -1
  2. package/cjs/src/embed/app.d.ts +1 -1
  3. package/cjs/src/embed/base.d.ts +1 -1
  4. package/cjs/src/embed/base.js +1 -1
  5. package/cjs/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
  6. package/cjs/src/embed/hostEventClient/host-event-client.js +1 -1
  7. package/cjs/src/embed/hostEventClient/host-event-client.js.map +1 -1
  8. package/cjs/src/embed/liveboard.d.ts +8 -7
  9. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  10. package/cjs/src/embed/liveboard.js +2 -2
  11. package/cjs/src/embed/liveboard.js.map +1 -1
  12. package/cjs/src/embed/ts-embed.d.ts +1 -1
  13. package/cjs/src/embed/ts-embed.js +1 -1
  14. package/cjs/src/types.d.ts +25 -20
  15. package/cjs/src/types.d.ts.map +1 -1
  16. package/cjs/src/types.js +19 -18
  17. package/cjs/src/types.js.map +1 -1
  18. package/dist/index-nWevLycs.js +7370 -0
  19. package/dist/src/embed/app.d.ts +1 -1
  20. package/dist/src/embed/base.d.ts +1 -1
  21. package/dist/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
  22. package/dist/src/embed/liveboard.d.ts +8 -7
  23. package/dist/src/embed/liveboard.d.ts.map +1 -1
  24. package/dist/src/embed/ts-embed.d.ts +1 -1
  25. package/dist/src/types.d.ts +25 -20
  26. package/dist/src/types.d.ts.map +1 -1
  27. package/dist/tsembed-react.es.js +26 -25
  28. package/dist/tsembed-react.js +25 -24
  29. package/dist/tsembed.es.js +27 -26
  30. package/dist/tsembed.js +26 -25
  31. package/dist/visual-embed-sdk-react-full.d.ts +36 -30
  32. package/dist/visual-embed-sdk-react.d.ts +36 -30
  33. package/dist/visual-embed-sdk.d.ts +36 -30
  34. package/lib/package.json +1 -1
  35. package/lib/src/embed/app.d.ts +1 -1
  36. package/lib/src/embed/base.d.ts +1 -1
  37. package/lib/src/embed/base.js +1 -1
  38. package/lib/src/embed/hostEventClient/host-event-client.d.ts.map +1 -1
  39. package/lib/src/embed/hostEventClient/host-event-client.js +1 -1
  40. package/lib/src/embed/hostEventClient/host-event-client.js.map +1 -1
  41. package/lib/src/embed/liveboard.d.ts +8 -7
  42. package/lib/src/embed/liveboard.d.ts.map +1 -1
  43. package/lib/src/embed/liveboard.js +2 -2
  44. package/lib/src/embed/liveboard.js.map +1 -1
  45. package/lib/src/embed/ts-embed.d.ts +1 -1
  46. package/lib/src/embed/ts-embed.js +1 -1
  47. package/lib/src/types.d.ts +25 -20
  48. package/lib/src/types.d.ts.map +1 -1
  49. package/lib/src/types.js +19 -18
  50. package/lib/src/types.js.map +1 -1
  51. package/lib/src/visual-embed-sdk.d.ts +36 -30
  52. package/package.json +1 -1
  53. package/src/embed/app.ts +1 -1
  54. package/src/embed/base.ts +1 -1
  55. package/src/embed/hostEventClient/host-event-client.ts +1 -6
  56. package/src/embed/liveboard.ts +8 -7
  57. package/src/embed/ts-embed.ts +1 -1
  58. package/src/types.ts +25 -20
@@ -1170,7 +1170,7 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
1170
1170
  */
1171
1171
  showLiveboardVerifiedBadge?: boolean;
1172
1172
  /**
1173
- * This flag is used to enable/disable hide irrelevant filters in liveboard tab
1173
+ * This flag is used to enable/disable hide irrelevant filters in Liveboard tab
1174
1174
  * @type {boolean}
1175
1175
  * @default false
1176
1176
  * @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
@@ -1484,7 +1484,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
1484
1484
  */
1485
1485
  enableAskSage?: boolean;
1486
1486
  /**
1487
- * This flag is used to enable the 2 column layout in liveboard
1487
+ * This flag is used to enable the 2 column layout on a Liveboard
1488
1488
  * @type {boolean}
1489
1489
  * @default false
1490
1490
  * @version SDK: 1.32.0 | ThoughtSpot:10.1.0.cl
@@ -1519,7 +1519,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
1519
1519
  */
1520
1520
  showPreviewLoader?: boolean;
1521
1521
  /**
1522
- * This flag is used to enable the compact header in liveboard
1522
+ * This flag is used to enable the compact header on a Liveboard
1523
1523
  * @type {boolean}
1524
1524
  * @default false
1525
1525
  * @version SDK: 1.35.0 | ThoughtSpot:10.3.0.cl
@@ -1533,7 +1533,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
1533
1533
  */
1534
1534
  isLiveboardCompactHeaderEnabled?: boolean;
1535
1535
  /**
1536
- * This flag is used to show/hide verified Icon in liveboard compact header
1536
+ * This flag is used to show/hide verified icon in the Liveboard compact header
1537
1537
  * @type {boolean}
1538
1538
  * @default true
1539
1539
  * @version SDK: 1.35.0 | ThoughtSpot:10.4.0.cl
@@ -1547,7 +1547,8 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
1547
1547
  */
1548
1548
  showLiveboardVerifiedBadge?: boolean;
1549
1549
  /**
1550
- * This flag is used to show/hide re-verify banner in liveboard compact header
1550
+ * This flag is used to show/hide the re-verify banner
1551
+ * in Liveboard compact header
1551
1552
  * @type {boolean}
1552
1553
  * @default true
1553
1554
  * @version SDK: 1.35.0 | ThoughtSpot:10.4.0.cl
@@ -1561,7 +1562,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
1561
1562
  */
1562
1563
  showLiveboardReverifyBanner?: boolean;
1563
1564
  /**
1564
- * This flag is used to enable/disable hide irrelevant filters in liveboard tab
1565
+ * This flag is used to enable/disable hide irrelevant filters in a Liveboard tab
1565
1566
  * @type {boolean}
1566
1567
  * @default false
1567
1568
  * @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
@@ -1650,8 +1651,8 @@ export declare class LiveboardEmbed extends V1Embed {
1650
1651
  render(): Promise<LiveboardEmbed>;
1651
1652
  navigateToLiveboard(liveboardId: string, vizId?: string, activeTabId?: string): void;
1652
1653
  /**
1653
- * Returns the full url of the liveboard/viz which can be used to open
1654
- * this liveboard inside the full Thoughtspot application in a new tab.
1654
+ * Returns the full url of the Liveboard/visualization which can be used to open
1655
+ * this Liveboard inside the full Thoughtspot application in a new tab.
1655
1656
  * @returns url string
1656
1657
  */
1657
1658
  getLiveboardUrl(): string;
@@ -1783,7 +1784,7 @@ export declare const prefetch: (url?: string, prefetchFeatures?: PrefetchFeature
1783
1784
  /**
1784
1785
  * Initializes the Visual Embed SDK globally and perform
1785
1786
  * authentication if applicable. This function needs to be called before any ThoughtSpot
1786
- * component like liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS
1787
+ * component like Liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS
1787
1788
  * to actually embed. That is handled internally.
1788
1789
  * @param embedConfig The configuration object containing ThoughtSpot host,
1789
1790
  * authentication mechanism and so on.
@@ -3212,8 +3213,12 @@ export interface ViewConfig {
3212
3213
  */
3213
3214
  enableCustomColumnGroups?: boolean;
3214
3215
  /**
3215
- * View content for another org directly without having to use the org switcher
3216
- * This flag is honoured if orgPerUrl feature is enabled for the ThoughtSpot cluster
3216
+ * Overrides an Org context for embedding application users.
3217
+ * This parameter allows a user authenticated to one Org to view the
3218
+ * objects from another Org.
3219
+ * The `overrideOrgId` setting is honoured only if the
3220
+ * Per Org URL feature is enabled on your ThoughtSpot instance.
3221
+ *
3217
3222
  * @example
3218
3223
  * ```js
3219
3224
  * const embed = new LiveboardEmbed('#embed', {
@@ -4470,7 +4475,7 @@ export declare enum HostEvent {
4470
4475
  * @param - autoDrillDown - Optional. If true, the drill down will be
4471
4476
  * done automatically on the most popular column.
4472
4477
  * @param - vizId [TS >= 9.8.0] - Optional. The GUID of the visualization to drill
4473
- * in case of a liveboard.
4478
+ * in case of a Liveboard.
4474
4479
  * @example
4475
4480
  * ```js
4476
4481
  * searchEmbed.on(EmbedEvent.VizPointDoubleClick, (payload) => {
@@ -4557,26 +4562,26 @@ export declare enum HostEvent {
4557
4562
  */
4558
4563
  SetActiveTab = "SetActiveTab",
4559
4564
  /**
4560
- * Update runtime filters applied on a Saved Answer or Liveboard. The
4561
- * runtime filters passed here are appended to the existing runtime
4562
- * filters.
4565
+ * Updates the runtime filters applied on a Liveboard. The filter
4566
+ * attributes passed with this event are appended to the existing runtime
4567
+ * filters applied on a Liveboard.
4568
+ *
4563
4569
  * Pass an array of runtime filters with the following attributes:
4564
4570
  *
4565
- * `columnName`
4566
- * _String_. The name of the column to filter on.
4571
+ * `columnName` - _String_. The name of the column to filter on.
4567
4572
  *
4568
- * `operator`
4569
- * Runtime filter operator to apply. For information,
4573
+ * `operator` - Runtime filter operator to apply. For more information,
4570
4574
  * see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
4571
4575
  *
4572
- * `values`
4573
- * List of operands. Some operators such as EQ, LE allow a single value, whereas
4574
- * operators such as BW and IN accept multiple operands.
4576
+ * `values` - List of operands. Some operators such as EQ and LE allow a
4577
+ * single value, whereas BW and IN accept multiple values.
4578
+ *
4579
+ * **Note**: `HostEvent.UpdateRuntimeFilters` is supported in `LiveboardEmbed`
4580
+ * and `AppEmbed` only. In full application embedding, this event updates
4581
+ * the runtime filters applied on the Liveboard and saved Answer objects.
4575
4582
  *
4576
- * **Note**: `HostEvent.UpdateRuntimeFilters` is not supported in
4577
- * Search embedding (SearchEmbed) and Natural Language Search
4578
- * embedding (SageEmbed).
4579
4583
  * @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
4584
+ *
4580
4585
  * @example
4581
4586
  * ```js
4582
4587
  * liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
@@ -5275,7 +5280,7 @@ export declare enum HostEvent {
5275
5280
  */
5276
5281
  ResetLiveboardPersonalisedView = "ResetLiveboardPersonalisedView",
5277
5282
  /**
5278
- * Triggers Update RuntimeParameters for answers and liveboard
5283
+ * Triggers an event to Update Parameter values for Answers and Liveboard
5279
5284
  * @example
5280
5285
  * ```js
5281
5286
  * liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
@@ -5297,7 +5302,7 @@ export declare enum HostEvent {
5297
5302
  */
5298
5303
  GetParameters = "GetParameters",
5299
5304
  /**
5300
- * Triggers update of persoanlised view for a liveboard
5305
+ * Triggers an event to update a persoanlised view of a Liveboard
5301
5306
  * ```js
5302
5307
  * liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
5303
5308
  * ```
@@ -6286,7 +6291,7 @@ export declare enum Action {
6286
6291
  */
6287
6292
  ModifySageAnswer = "modifySageAnswer",
6288
6293
  /**
6289
- * The **Move to Tab** menu action on visualizations in liveboard edit mode.
6294
+ * The **Move to Tab** menu action on visualizations in Liveboard edit mode.
6290
6295
  * Allows moving a visualization to a different tab.
6291
6296
  * @example
6292
6297
  * ```js
@@ -6339,7 +6344,8 @@ export declare enum Action {
6339
6344
  */
6340
6345
  TML = "tml",
6341
6346
  /**
6342
- * Action Id for CreateLiveboard for liveboard list page & Pin Modal
6347
+ * Action ID for the create Liveboard option on the Liveboard list page
6348
+ * and Pin modal
6343
6349
  * @example
6344
6350
  * ```js
6345
6351
  * hiddenAction: [Action.CreateLiveboard]
@@ -7680,7 +7686,7 @@ export declare class TsEmbed {
7680
7686
  /**
7681
7687
  * Returns the answerService which can be used to make arbitrary graphql calls on top
7682
7688
  * session.
7683
- * @param vizId [Optional] to get for a specific viz in case of a liveboard.
7689
+ * @param vizId [Optional] to get for a specific viz in case of a Liveboard.
7684
7690
  * @version SDK: 1.25.0 / ThoughtSpot 9.10.0
7685
7691
  */
7686
7692
  getAnswerService(vizId?: string): Promise<AnswerService>;
@@ -1160,7 +1160,7 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
1160
1160
  */
1161
1161
  showLiveboardVerifiedBadge?: boolean;
1162
1162
  /**
1163
- * This flag is used to enable/disable hide irrelevant filters in liveboard tab
1163
+ * This flag is used to enable/disable hide irrelevant filters in Liveboard tab
1164
1164
  * @type {boolean}
1165
1165
  * @default false
1166
1166
  * @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
@@ -1474,7 +1474,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
1474
1474
  */
1475
1475
  enableAskSage?: boolean;
1476
1476
  /**
1477
- * This flag is used to enable the 2 column layout in liveboard
1477
+ * This flag is used to enable the 2 column layout on a Liveboard
1478
1478
  * @type {boolean}
1479
1479
  * @default false
1480
1480
  * @version SDK: 1.32.0 | ThoughtSpot:10.1.0.cl
@@ -1509,7 +1509,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
1509
1509
  */
1510
1510
  showPreviewLoader?: boolean;
1511
1511
  /**
1512
- * This flag is used to enable the compact header in liveboard
1512
+ * This flag is used to enable the compact header on a Liveboard
1513
1513
  * @type {boolean}
1514
1514
  * @default false
1515
1515
  * @version SDK: 1.35.0 | ThoughtSpot:10.3.0.cl
@@ -1523,7 +1523,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
1523
1523
  */
1524
1524
  isLiveboardCompactHeaderEnabled?: boolean;
1525
1525
  /**
1526
- * This flag is used to show/hide verified Icon in liveboard compact header
1526
+ * This flag is used to show/hide verified icon in the Liveboard compact header
1527
1527
  * @type {boolean}
1528
1528
  * @default true
1529
1529
  * @version SDK: 1.35.0 | ThoughtSpot:10.4.0.cl
@@ -1537,7 +1537,8 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
1537
1537
  */
1538
1538
  showLiveboardVerifiedBadge?: boolean;
1539
1539
  /**
1540
- * This flag is used to show/hide re-verify banner in liveboard compact header
1540
+ * This flag is used to show/hide the re-verify banner
1541
+ * in Liveboard compact header
1541
1542
  * @type {boolean}
1542
1543
  * @default true
1543
1544
  * @version SDK: 1.35.0 | ThoughtSpot:10.4.0.cl
@@ -1551,7 +1552,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
1551
1552
  */
1552
1553
  showLiveboardReverifyBanner?: boolean;
1553
1554
  /**
1554
- * This flag is used to enable/disable hide irrelevant filters in liveboard tab
1555
+ * This flag is used to enable/disable hide irrelevant filters in a Liveboard tab
1555
1556
  * @type {boolean}
1556
1557
  * @default false
1557
1558
  * @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
@@ -1640,8 +1641,8 @@ export declare class LiveboardEmbed extends V1Embed {
1640
1641
  render(): Promise<LiveboardEmbed>;
1641
1642
  navigateToLiveboard(liveboardId: string, vizId?: string, activeTabId?: string): void;
1642
1643
  /**
1643
- * Returns the full url of the liveboard/viz which can be used to open
1644
- * this liveboard inside the full Thoughtspot application in a new tab.
1644
+ * Returns the full url of the Liveboard/visualization which can be used to open
1645
+ * this Liveboard inside the full Thoughtspot application in a new tab.
1645
1646
  * @returns url string
1646
1647
  */
1647
1648
  getLiveboardUrl(): string;
@@ -2804,8 +2805,12 @@ export interface ViewConfig {
2804
2805
  */
2805
2806
  enableCustomColumnGroups?: boolean;
2806
2807
  /**
2807
- * View content for another org directly without having to use the org switcher
2808
- * This flag is honoured if orgPerUrl feature is enabled for the ThoughtSpot cluster
2808
+ * Overrides an Org context for embedding application users.
2809
+ * This parameter allows a user authenticated to one Org to view the
2810
+ * objects from another Org.
2811
+ * The `overrideOrgId` setting is honoured only if the
2812
+ * Per Org URL feature is enabled on your ThoughtSpot instance.
2813
+ *
2809
2814
  * @example
2810
2815
  * ```js
2811
2816
  * const embed = new LiveboardEmbed('#embed', {
@@ -4062,7 +4067,7 @@ export declare enum HostEvent {
4062
4067
  * @param - autoDrillDown - Optional. If true, the drill down will be
4063
4068
  * done automatically on the most popular column.
4064
4069
  * @param - vizId [TS >= 9.8.0] - Optional. The GUID of the visualization to drill
4065
- * in case of a liveboard.
4070
+ * in case of a Liveboard.
4066
4071
  * @example
4067
4072
  * ```js
4068
4073
  * searchEmbed.on(EmbedEvent.VizPointDoubleClick, (payload) => {
@@ -4149,26 +4154,26 @@ export declare enum HostEvent {
4149
4154
  */
4150
4155
  SetActiveTab = "SetActiveTab",
4151
4156
  /**
4152
- * Update runtime filters applied on a Saved Answer or Liveboard. The
4153
- * runtime filters passed here are appended to the existing runtime
4154
- * filters.
4157
+ * Updates the runtime filters applied on a Liveboard. The filter
4158
+ * attributes passed with this event are appended to the existing runtime
4159
+ * filters applied on a Liveboard.
4160
+ *
4155
4161
  * Pass an array of runtime filters with the following attributes:
4156
4162
  *
4157
- * `columnName`
4158
- * _String_. The name of the column to filter on.
4163
+ * `columnName` - _String_. The name of the column to filter on.
4159
4164
  *
4160
- * `operator`
4161
- * Runtime filter operator to apply. For information,
4165
+ * `operator` - Runtime filter operator to apply. For more information,
4162
4166
  * see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
4163
4167
  *
4164
- * `values`
4165
- * List of operands. Some operators such as EQ, LE allow a single value, whereas
4166
- * operators such as BW and IN accept multiple operands.
4168
+ * `values` - List of operands. Some operators such as EQ and LE allow a
4169
+ * single value, whereas BW and IN accept multiple values.
4170
+ *
4171
+ * **Note**: `HostEvent.UpdateRuntimeFilters` is supported in `LiveboardEmbed`
4172
+ * and `AppEmbed` only. In full application embedding, this event updates
4173
+ * the runtime filters applied on the Liveboard and saved Answer objects.
4167
4174
  *
4168
- * **Note**: `HostEvent.UpdateRuntimeFilters` is not supported in
4169
- * Search embedding (SearchEmbed) and Natural Language Search
4170
- * embedding (SageEmbed).
4171
4175
  * @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
4176
+ *
4172
4177
  * @example
4173
4178
  * ```js
4174
4179
  * liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
@@ -4867,7 +4872,7 @@ export declare enum HostEvent {
4867
4872
  */
4868
4873
  ResetLiveboardPersonalisedView = "ResetLiveboardPersonalisedView",
4869
4874
  /**
4870
- * Triggers Update RuntimeParameters for answers and liveboard
4875
+ * Triggers an event to Update Parameter values for Answers and Liveboard
4871
4876
  * @example
4872
4877
  * ```js
4873
4878
  * liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
@@ -4889,7 +4894,7 @@ export declare enum HostEvent {
4889
4894
  */
4890
4895
  GetParameters = "GetParameters",
4891
4896
  /**
4892
- * Triggers update of persoanlised view for a liveboard
4897
+ * Triggers an event to update a persoanlised view of a Liveboard
4893
4898
  * ```js
4894
4899
  * liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
4895
4900
  * ```
@@ -5878,7 +5883,7 @@ export declare enum Action {
5878
5883
  */
5879
5884
  ModifySageAnswer = "modifySageAnswer",
5880
5885
  /**
5881
- * The **Move to Tab** menu action on visualizations in liveboard edit mode.
5886
+ * The **Move to Tab** menu action on visualizations in Liveboard edit mode.
5882
5887
  * Allows moving a visualization to a different tab.
5883
5888
  * @example
5884
5889
  * ```js
@@ -5931,7 +5936,8 @@ export declare enum Action {
5931
5936
  */
5932
5937
  TML = "tml",
5933
5938
  /**
5934
- * Action Id for CreateLiveboard for liveboard list page & Pin Modal
5939
+ * Action ID for the create Liveboard option on the Liveboard list page
5940
+ * and Pin modal
5935
5941
  * @example
5936
5942
  * ```js
5937
5943
  * hiddenAction: [Action.CreateLiveboard]
@@ -6522,7 +6528,7 @@ export declare class TsEmbed {
6522
6528
  /**
6523
6529
  * Returns the answerService which can be used to make arbitrary graphql calls on top
6524
6530
  * session.
6525
- * @param vizId [Optional] to get for a specific viz in case of a liveboard.
6531
+ * @param vizId [Optional] to get for a specific viz in case of a Liveboard.
6526
6532
  * @version SDK: 1.25.0 / ThoughtSpot 9.10.0
6527
6533
  */
6528
6534
  getAnswerService(vizId?: string): Promise<AnswerService>;
@@ -6682,7 +6688,7 @@ export declare const prefetch: (url?: string, prefetchFeatures?: PrefetchFeature
6682
6688
  /**
6683
6689
  * Initializes the Visual Embed SDK globally and perform
6684
6690
  * authentication if applicable. This function needs to be called before any ThoughtSpot
6685
- * component like liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS
6691
+ * component like Liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS
6686
6692
  * to actually embed. That is handled internally.
6687
6693
  * @param embedConfig The configuration object containing ThoughtSpot host,
6688
6694
  * authentication mechanism and so on.
@@ -418,7 +418,7 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
418
418
  */
419
419
  showLiveboardVerifiedBadge?: boolean;
420
420
  /**
421
- * This flag is used to enable/disable hide irrelevant filters in liveboard tab
421
+ * This flag is used to enable/disable hide irrelevant filters in Liveboard tab
422
422
  * @type {boolean}
423
423
  * @default false
424
424
  * @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
@@ -540,7 +540,7 @@ export const prefetch: (url?: string, prefetchFeatures?: PrefetchFeatures[], add
540
540
  /**
541
541
  * Initializes the Visual Embed SDK globally and perform
542
542
  * authentication if applicable. This function needs to be called before any ThoughtSpot
543
- * component like liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS
543
+ * component like Liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS
544
544
  * to actually embed. That is handled internally.
545
545
  * @param embedConfig The configuration object containing ThoughtSpot host,
546
546
  * authentication mechanism and so on.
@@ -869,7 +869,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
869
869
  */
870
870
  enableAskSage?: boolean;
871
871
  /**
872
- * This flag is used to enable the 2 column layout in liveboard
872
+ * This flag is used to enable the 2 column layout on a Liveboard
873
873
  * @type {boolean}
874
874
  * @default false
875
875
  * @version SDK: 1.32.0 | ThoughtSpot:10.1.0.cl
@@ -904,7 +904,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
904
904
  */
905
905
  showPreviewLoader?: boolean;
906
906
  /**
907
- * This flag is used to enable the compact header in liveboard
907
+ * This flag is used to enable the compact header on a Liveboard
908
908
  * @type {boolean}
909
909
  * @default false
910
910
  * @version SDK: 1.35.0 | ThoughtSpot:10.3.0.cl
@@ -918,7 +918,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
918
918
  */
919
919
  isLiveboardCompactHeaderEnabled?: boolean;
920
920
  /**
921
- * This flag is used to show/hide verified Icon in liveboard compact header
921
+ * This flag is used to show/hide verified icon in the Liveboard compact header
922
922
  * @type {boolean}
923
923
  * @default true
924
924
  * @version SDK: 1.35.0 | ThoughtSpot:10.4.0.cl
@@ -932,7 +932,8 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
932
932
  */
933
933
  showLiveboardVerifiedBadge?: boolean;
934
934
  /**
935
- * This flag is used to show/hide re-verify banner in liveboard compact header
935
+ * This flag is used to show/hide the re-verify banner
936
+ * in Liveboard compact header
936
937
  * @type {boolean}
937
938
  * @default true
938
939
  * @version SDK: 1.35.0 | ThoughtSpot:10.4.0.cl
@@ -946,7 +947,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
946
947
  */
947
948
  showLiveboardReverifyBanner?: boolean;
948
949
  /**
949
- * This flag is used to enable/disable hide irrelevant filters in liveboard tab
950
+ * This flag is used to enable/disable hide irrelevant filters in a Liveboard tab
950
951
  * @type {boolean}
951
952
  * @default false
952
953
  * @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
@@ -1035,8 +1036,8 @@ export class LiveboardEmbed extends V1Embed {
1035
1036
  render(): Promise<LiveboardEmbed>;
1036
1037
  navigateToLiveboard(liveboardId: string, vizId?: string, activeTabId?: string): void;
1037
1038
  /**
1038
- * Returns the full url of the liveboard/viz which can be used to open
1039
- * this liveboard inside the full Thoughtspot application in a new tab.
1039
+ * Returns the full url of the Liveboard/visualization which can be used to open
1040
+ * this Liveboard inside the full Thoughtspot application in a new tab.
1040
1041
  * @returns url string
1041
1042
  */
1042
1043
  getLiveboardUrl(): string;
@@ -2801,8 +2802,12 @@ export interface ViewConfig {
2801
2802
  */
2802
2803
  enableCustomColumnGroups?: boolean;
2803
2804
  /**
2804
- * View content for another org directly without having to use the org switcher
2805
- * This flag is honoured if orgPerUrl feature is enabled for the ThoughtSpot cluster
2805
+ * Overrides an Org context for embedding application users.
2806
+ * This parameter allows a user authenticated to one Org to view the
2807
+ * objects from another Org.
2808
+ * The `overrideOrgId` setting is honoured only if the
2809
+ * Per Org URL feature is enabled on your ThoughtSpot instance.
2810
+ *
2806
2811
  * @example
2807
2812
  * ```js
2808
2813
  * const embed = new LiveboardEmbed('#embed', {
@@ -4059,7 +4064,7 @@ export enum HostEvent {
4059
4064
  * @param - autoDrillDown - Optional. If true, the drill down will be
4060
4065
  * done automatically on the most popular column.
4061
4066
  * @param - vizId [TS >= 9.8.0] - Optional. The GUID of the visualization to drill
4062
- * in case of a liveboard.
4067
+ * in case of a Liveboard.
4063
4068
  * @example
4064
4069
  * ```js
4065
4070
  * searchEmbed.on(EmbedEvent.VizPointDoubleClick, (payload) => {
@@ -4146,26 +4151,26 @@ export enum HostEvent {
4146
4151
  */
4147
4152
  SetActiveTab = "SetActiveTab",
4148
4153
  /**
4149
- * Update runtime filters applied on a Saved Answer or Liveboard. The
4150
- * runtime filters passed here are appended to the existing runtime
4151
- * filters.
4154
+ * Updates the runtime filters applied on a Liveboard. The filter
4155
+ * attributes passed with this event are appended to the existing runtime
4156
+ * filters applied on a Liveboard.
4157
+ *
4152
4158
  * Pass an array of runtime filters with the following attributes:
4153
4159
  *
4154
- * `columnName`
4155
- * _String_. The name of the column to filter on.
4160
+ * `columnName` - _String_. The name of the column to filter on.
4156
4161
  *
4157
- * `operator`
4158
- * Runtime filter operator to apply. For information,
4162
+ * `operator` - Runtime filter operator to apply. For more information,
4159
4163
  * see link:https://developers.thoughtspot.com/docs/?pageid=runtime-filters#rtOperator[Developer Documentation].
4160
4164
  *
4161
- * `values`
4162
- * List of operands. Some operators such as EQ, LE allow a single value, whereas
4163
- * operators such as BW and IN accept multiple operands.
4165
+ * `values` - List of operands. Some operators such as EQ and LE allow a
4166
+ * single value, whereas BW and IN accept multiple values.
4167
+ *
4168
+ * **Note**: `HostEvent.UpdateRuntimeFilters` is supported in `LiveboardEmbed`
4169
+ * and `AppEmbed` only. In full application embedding, this event updates
4170
+ * the runtime filters applied on the Liveboard and saved Answer objects.
4164
4171
  *
4165
- * **Note**: `HostEvent.UpdateRuntimeFilters` is not supported in
4166
- * Search embedding (SearchEmbed) and Natural Language Search
4167
- * embedding (SageEmbed).
4168
4172
  * @param - {@link RuntimeFilter}[] an array of {@link RuntimeFilter} Types.
4173
+ *
4169
4174
  * @example
4170
4175
  * ```js
4171
4176
  * liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [
@@ -4864,7 +4869,7 @@ export enum HostEvent {
4864
4869
  */
4865
4870
  ResetLiveboardPersonalisedView = "ResetLiveboardPersonalisedView",
4866
4871
  /**
4867
- * Triggers Update RuntimeParameters for answers and liveboard
4872
+ * Triggers an event to Update Parameter values for Answers and Liveboard
4868
4873
  * @example
4869
4874
  * ```js
4870
4875
  * liveboardEmbed.trigger(HostEvent.UpdateParameters, [{
@@ -4886,7 +4891,7 @@ export enum HostEvent {
4886
4891
  */
4887
4892
  GetParameters = "GetParameters",
4888
4893
  /**
4889
- * Triggers update of persoanlised view for a liveboard
4894
+ * Triggers an event to update a persoanlised view of a Liveboard
4890
4895
  * ```js
4891
4896
  * liveboardEmbed.trigger(HostEvent.UpdatePersonalisedView, {viewId: '1234'})
4892
4897
  * ```
@@ -5875,7 +5880,7 @@ export enum Action {
5875
5880
  */
5876
5881
  ModifySageAnswer = "modifySageAnswer",
5877
5882
  /**
5878
- * The **Move to Tab** menu action on visualizations in liveboard edit mode.
5883
+ * The **Move to Tab** menu action on visualizations in Liveboard edit mode.
5879
5884
  * Allows moving a visualization to a different tab.
5880
5885
  * @example
5881
5886
  * ```js
@@ -5928,7 +5933,8 @@ export enum Action {
5928
5933
  */
5929
5934
  TML = "tml",
5930
5935
  /**
5931
- * Action Id for CreateLiveboard for liveboard list page & Pin Modal
5936
+ * Action ID for the create Liveboard option on the Liveboard list page
5937
+ * and Pin modal
5932
5938
  * @example
5933
5939
  * ```js
5934
5940
  * hiddenAction: [Action.CreateLiveboard]
@@ -7415,7 +7421,7 @@ export class TsEmbed {
7415
7421
  /**
7416
7422
  * Returns the answerService which can be used to make arbitrary graphql calls on top
7417
7423
  * session.
7418
- * @param vizId [Optional] to get for a specific viz in case of a liveboard.
7424
+ * @param vizId [Optional] to get for a specific viz in case of a Liveboard.
7419
7425
  * @version SDK: 1.25.0 / ThoughtSpot 9.10.0
7420
7426
  */
7421
7427
  getAnswerService(vizId?: string): Promise<AnswerService>;
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thoughtspot/visual-embed-sdk",
3
- "version": "1.35.5-hostEvent.7",
3
+ "version": "1.35.5-hostEvent.8",
4
4
  "description": "ThoughtSpot Embed SDK",
5
5
  "module": "lib/src/index.js",
6
6
  "main": "dist/tsembed.js",
@@ -404,7 +404,7 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
404
404
  */
405
405
  showLiveboardVerifiedBadge?: boolean;
406
406
  /**
407
- * This flag is used to enable/disable hide irrelevant filters in liveboard tab
407
+ * This flag is used to enable/disable hide irrelevant filters in Liveboard tab
408
408
  * @type {boolean}
409
409
  * @default false
410
410
  * @version SDK: 1.36.0 | ThoughtSpot:10.6.0.cl
@@ -37,7 +37,7 @@ export declare const prefetch: (url?: string, prefetchFeatures?: PrefetchFeature
37
37
  /**
38
38
  * Initializes the Visual Embed SDK globally and perform
39
39
  * authentication if applicable. This function needs to be called before any ThoughtSpot
40
- * component like liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS
40
+ * component like Liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS
41
41
  * to actually embed. That is handled internally.
42
42
  * @param embedConfig The configuration object containing ThoughtSpot host,
43
43
  * authentication mechanism and so on.
@@ -120,7 +120,7 @@ function backwardCompat(embedConfig) {
120
120
  /**
121
121
  * Initializes the Visual Embed SDK globally and perform
122
122
  * authentication if applicable. This function needs to be called before any ThoughtSpot
123
- * component like liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS
123
+ * component like Liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS
124
124
  * to actually embed. That is handled internally.
125
125
  * @param embedConfig The configuration object containing ThoughtSpot host,
126
126
  * authentication mechanism and so on.
@@ -1 +1 @@
1
- {"version":3,"file":"host-event-client.d.ts","sourceRoot":"","sources":["../../../../src/embed/hostEventClient/host-event-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,OAAO,EACH,0BAA0B,EAC1B,kBAAkB,EAAE,gBAAgB,EAAE,iBAAiB,EACvD,oBAAoB,EACpB,qBAAqB,EACrB,cAAc,EACd,eAAe,EAClB,MAAM,aAAa,CAAC;AAOrB,qBAAa,eAAe;IAC1B,MAAM,EAAE,iBAAiB,CAAC;gBAEd,MAAM,CAAC,EAAE,iBAAiB;IAItC;;;;;OAKG;cACa,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;IAc9D,wBAAwB,CAAC,mBAAmB,SAAS,kBAAkB,EAChF,OAAO,EAAE,mBAAmB,EAC5B,UAAU,EAAE,oBAAoB,CAAC,mBAAmB,CAAC,GACtD,OAAO,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,CAAC;IAsBzC,iBAAiB,CAC1B,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,GAAG,GACV,OAAO,CAAC,GAAG,CAAC;IAIf;;;OAGG;IACI,gBAAgB,CAAC,MAAM,EAAE,iBAAiB,GAAG,IAAI;IAI3C,uBAAuB,CAAC,mBAAmB,SAAS,kBAAkB,EAC/E,OAAO,EAAE,mBAAmB,EAC5B,UAAU,EAAE,oBAAoB,CAAC,mBAAmB,CAAC,GACtD,OAAO,CAAC,0BAA0B,CAAC,m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BAAgB,CAAC,MAAM,EAAE,iBAAiB,GAAG,IAAI;IAI3C,uBAAuB,CAAC,mBAAmB,SAAS,kBAAkB,EAC/E,OAAO,EAAE,mBAAmB,EAC5B,UAAU,EAAE,oBAAoB,CAAC,mBAAmB,CAAC,GACtD,OAAO,CAAC,0BAA0B,CAAC,mBAAmB,CAAC,CAAC;cAS3C,cAAc,CAC1B,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,GAAG,CAAC,GACzC,OAAO,CAAC,iBAAiB,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;cAU5B,qBAAqB,CACjC,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,UAAU,CAAC,GAChD,OAAO,CAAC,GAAG,CAAC;IAeF,gBAAgB,CAC3B,UAAU,SAAS,SAAS,EAC5B,QAAQ,EAEN,SAAS,EAAE,UAAU,EACrB,OAAO,CAAC,EAAE,cAAc,CAAC,QAAQ,EAAE,UAAU,CAAC,GAC/C,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;CAYlD"}
@@ -32,7 +32,7 @@ export class HostEventClient {
32
32
  || ((_d = response.value) === null || _d === void 0 ? void 0 : _d.error);
33
33
  if (errors) {
34
34
  // eslint-disable-next-line no-throw-literal
35
- throw { error: response.error };
35
+ throw { error: errors };
36
36
  }
37
37
  return { ...response.value };
38
38
  }
@@ -1 +1 @@
1
- {"version":3,"file":"host-event-client.js","sourceRoot":"","sources":["../../../../src/embed/hostEventClient/host-event-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACrF,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAEH,kBAAkB,GAKrB,MAAM,aAAa,CAAC;AAOrB,MAAM,OAAO,eAAe;IAG1B,YAAY,MAA0B;QAClC,IAAI,CAAC,M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IAEM,KAAK,CAAC,gBAAgB,CAIzB,SAAqB,EACrB,OAA8C;QAE9C,QAAQ,SAAS,EAAE;YACf,KAAK,SAAS,CAAC,GAAG;gBACd,OAAO,IAAI,CAAC,cAAc,CAAC,OAA0C,CAAQ,CAAC;YAClF,KAAK,SAAS,CAAC,UAAU;gBACrB,OAAO,IAAI,CAAC,qBAAqB,CAC7B,OAAiD,CAC7C,CAAC;YACb;gBACI,OAAO,IAAI,CAAC,iBAAiB,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;SACzD;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"host-event-client.js","sourceRoot":"","sources":["../../../../src/embed/hostEventClient/host-event-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACrF,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAEH,kBAAkB,GAKrB,MAAM,aAAa,CAAC;AAErB,MAAM,OAAO,eAAe;IAG1B,YAAY,MAA0B;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAED;;;;;OAKG;IACO,KAAK,CAAC,cAAc,CAAC,OAAkB,EAAE,IAAS;QACxD,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;YACd,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;SAChD;QAED,MAAM,eAAe,GAAG,cAAc,EAAE,CAAC,eAAe,CAAC;QACzD,OAAO,qBAAqB,CACxB,IAAI,CAAC,MAAM,EACX,OAAO,EACP,eAAe,EACf,IAAI,CACP,CAAC;IACN,CAAC;IAEM,KAAK,CAAC,wBAAwB,CACjC,OAA4B,EAC5B,UAAqD;;QAErD,MAAM,QAAQ,GAAG,MAAA,MAAA,CAAC,MAAM,IAAI,CAAC,uBAAuB,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,0C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