Skip to content

Commit f51ba27

Browse files
[SCAL-276944] Added Hostevent and Embedevent for AI highlights (#336)
1 parent 6649d3a commit f51ba27

File tree

2 files changed

+1983
-1904
lines changed

2 files changed

+1983
-1904
lines changed

src/types.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2302,6 +2302,17 @@ export enum EmbedEvent {
23022302
*```
23032303
*/
23042304
AnswerDelete = 'answerDelete',
2305+
/**
2306+
* Emitted when the AI Highlights action is triggered on a Liveboard
2307+
* @version SDK: 1.44.0 | ThoughtSpot: 10.15.0.cl
2308+
* @example
2309+
*```js
2310+
* liveboardEmbed.on(EmbedEvent.AIHighlights, (payload) => {
2311+
* console.log('AI Highlights', payload);
2312+
* })
2313+
*```
2314+
*/
2315+
AIHighlights = 'AIHighlights',
23052316
/**
23062317
* Emitted when a user initiates the Pin action to
23072318
* add an Answer to a Liveboard.
@@ -3391,6 +3402,16 @@ export enum HostEvent {
33913402
* @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
33923403
*/
33933404
DownloadAsPdf = 'downloadAsPdf',
3405+
/**
3406+
* Trigger the **AI Highlights** action on an embedded Liveboard
3407+
*
3408+
* @example
3409+
* ```js
3410+
* liveboardEmbed.trigger(HostEvent.AIHighlights)
3411+
* ```
3412+
* @version SDK: 1.44.0 | ThoughtSpot: 10.15.0.cl
3413+
*/
3414+
AIHighlights = 'AIHighlights',
33943415
/**
33953416
* Trigger the **Make a copy** action on a Liveboard,
33963417
* visualization, or Answer page.

0 commit comments

Comments
 (0)