@thoughtspot/visual-embed-sdk 1.28.4 → 1.28.5

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 (61) hide show
  1. package/cjs/package.json +1 -1
  2. package/cjs/src/authToken.d.ts.map +1 -1
  3. package/cjs/src/authToken.js +8 -1
  4. package/cjs/src/authToken.js.map +1 -1
  5. package/cjs/src/authToken.spec.d.ts +2 -0
  6. package/cjs/src/authToken.spec.d.ts.map +1 -0
  7. package/cjs/src/authToken.spec.js +29 -0
  8. package/cjs/src/authToken.spec.js.map +1 -0
  9. package/cjs/src/types.d.ts +93 -48
  10. package/cjs/src/types.d.ts.map +1 -1
  11. package/cjs/src/types.js +76 -48
  12. package/cjs/src/types.js.map +1 -1
  13. package/dist/src/authToken.d.ts.map +1 -1
  14. package/dist/src/authToken.spec.d.ts +2 -0
  15. package/dist/src/authToken.spec.d.ts.map +1 -0
  16. package/dist/src/types.d.ts +93 -48
  17. package/dist/src/types.d.ts.map +1 -1
  18. package/dist/tsembed-react.es.js +84 -50
  19. package/dist/tsembed-react.js +84 -50
  20. package/dist/tsembed.es.js +84 -50
  21. package/dist/tsembed.js +84 -50
  22. package/dist/visual-embed-sdk-react-full.d.ts +93 -48
  23. package/dist/visual-embed-sdk-react.d.ts +93 -48
  24. package/dist/visual-embed-sdk.d.ts +93 -48
  25. package/lib/package.json +1 -1
  26. package/lib/src/authToken.d.ts.map +1 -1
  27. package/lib/src/authToken.js +8 -1
  28. package/lib/src/authToken.js.map +1 -1
  29. package/lib/src/authToken.spec.d.ts +2 -0
  30. package/lib/src/authToken.spec.d.ts.map +1 -0
  31. package/lib/src/authToken.spec.js +26 -0
  32. package/lib/src/authToken.spec.js.map +1 -0
  33. package/lib/src/types.d.ts +93 -48
  34. package/lib/src/types.d.ts.map +1 -1
  35. package/lib/src/types.js +76 -48
  36. package/lib/src/types.js.map +1 -1
  37. package/lib/src/visual-embed-sdk.d.ts +93 -48
  38. package/package.json +1 -1
  39. package/src/authToken.spec.ts +31 -0
  40. package/src/authToken.ts +8 -1
  41. package/src/types.ts +94 -48
  42. package/cjs/src/utils/authService/tokenizedAuthService.spec.d.ts +0 -2
  43. package/cjs/src/utils/authService/tokenizedAuthService.spec.d.ts.map +0 -1
  44. package/cjs/src/utils/authService/tokenizedAuthService.spec.js +0 -32
  45. package/cjs/src/utils/authService/tokenizedAuthService.spec.js.map +0 -1
  46. package/cjs/src/utils/sessionInfoService.d.ts +0 -66
  47. package/cjs/src/utils/sessionInfoService.d.ts.map +0 -1
  48. package/cjs/src/utils/sessionInfoService.js +0 -92
  49. package/cjs/src/utils/sessionInfoService.js.map +0 -1
  50. package/dist/src/utils/authService/tokenizedAuthService.spec.d.ts +0 -2
  51. package/dist/src/utils/authService/tokenizedAuthService.spec.d.ts.map +0 -1
  52. package/dist/src/utils/sessionInfoService.d.ts +0 -66
  53. package/dist/src/utils/sessionInfoService.d.ts.map +0 -1
  54. package/lib/src/utils/authService/tokenizedAuthService.spec.d.ts +0 -2
  55. package/lib/src/utils/authService/tokenizedAuthService.spec.d.ts.map +0 -1
  56. package/lib/src/utils/authService/tokenizedAuthService.spec.js +0 -29
  57. package/lib/src/utils/authService/tokenizedAuthService.spec.js.map +0 -1
  58. package/lib/src/utils/sessionInfoService.d.ts +0 -66
  59. package/lib/src/utils/sessionInfoService.d.ts.map +0 -1
  60. package/lib/src/utils/sessionInfoService.js +0 -85
  61. package/lib/src/utils/sessionInfoService.js.map +0 -1
@@ -2406,6 +2406,23 @@ export interface EmbedConfig {
2406
2406
  * @version SDK: 1.28.4 | Thoughtspot: 10.0.0.cl, 9.5.0.sw
2407
2407
  */
2408
2408
  currencyFormat?: string;
2409
+ /**
2410
+ * This flag is used to disable the token verification in the SDK.
2411
+ * Enabling this flag will also disable the caching of the token.
2412
+ *
2413
+ * @hidden
2414
+ *
2415
+ * @example
2416
+ * ```js
2417
+ * init({
2418
+ * ...embedConfig,
2419
+ * disableTokenVerification : true
2420
+ * })
2421
+ * ```
2422
+ *
2423
+ * @version SDK: 1.28.5 | Thoughtspot: *
2424
+ */
2425
+ disableTokenVerification?: boolean;
2409
2426
  }
2410
2427
  export interface LayoutConfig {
2411
2428
  }
@@ -3056,6 +3073,8 @@ export declare enum EmbedEvent {
3056
3073
  /**
3057
3074
  * Authentication has either succeeded or failed.
3058
3075
  *
3076
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
3077
+ *
3059
3078
  * @example
3060
3079
  *```js
3061
3080
  * appEmbed.on(EmbedEvent.AuthInit, payload => {
@@ -3069,6 +3088,8 @@ export declare enum EmbedEvent {
3069
3088
  * The embed object container has loaded.
3070
3089
  *
3071
3090
  * @returns timestamp - The timestamp when the event was generated.
3091
+ *
3092
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
3072
3093
  * @example
3073
3094
  *```js
3074
3095
  * liveboardEmbed.on(EmbedEvent.Load, hideLoader)
@@ -3083,6 +3104,8 @@ export declare enum EmbedEvent {
3083
3104
  * Data pertaining to answer or Liveboard is received
3084
3105
  *
3085
3106
  * @return data - The answer or Liveboard data
3107
+ *
3108
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
3086
3109
  * @example
3087
3110
  *```js
3088
3111
  * liveboardEmbed.on(EmbedEvent.Data, payload => {
@@ -3101,6 +3124,7 @@ export declare enum EmbedEvent {
3101
3124
  /**
3102
3125
  * Search query has been updated by the user.
3103
3126
  *
3127
+ * @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 8.4.1.sw
3104
3128
  * @example
3105
3129
  *```js
3106
3130
  * searchEmbed.on(EmbedEvent.QueryChanged, payload => console.log('data', payload))
@@ -3110,12 +3134,14 @@ export declare enum EmbedEvent {
3110
3134
  /**
3111
3135
  * A drill-down operation has been performed.
3112
3136
  *
3137
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
3138
+ *
3113
3139
  * @returns additionalFilters - Any additional filters applied
3114
3140
  * @returns drillDownColumns - The columns on which drill down was performed
3115
3141
  * @returns nonFilteredColumns - The columns that were not filtered
3116
3142
  * @example
3117
3143
  *```js
3118
- * searchEmbed.trigger(EmbedEvent.DrillDown, {
3144
+ * searchEmbed.on(EmbedEvent.DrillDown, {
3119
3145
  * points: {
3120
3146
  * clickedPoint,
3121
3147
  * selectedPoints: selectedPoint
@@ -3148,6 +3174,8 @@ export declare enum EmbedEvent {
3148
3174
  * One or more data sources have been selected.
3149
3175
  *
3150
3176
  * @returns dataSourceIds - the list of data sources
3177
+ *
3178
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
3151
3179
  * @example
3152
3180
  * ```js
3153
3181
  * searchEmbed.on(EmbedEvent.DataSourceSelected, payload => {
@@ -3175,6 +3203,8 @@ export declare enum EmbedEvent {
3175
3203
  * @returns actionId - ID of the custom action
3176
3204
  * @returns payload {@link CustomActionPayload} - Response payload with the
3177
3205
  * Answer or Liveboard data
3206
+ *
3207
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
3178
3208
  * @example
3179
3209
  * ```js
3180
3210
  * appEmbed.on(EmbedEvent.customAction, payload => {
@@ -3222,22 +3252,23 @@ export declare enum EmbedEvent {
3222
3252
  /**
3223
3253
  * An error has occurred. This event is fired for the following error types:
3224
3254
  *
3225
- * API - API call failure error.
3255
+ * `API`: API call failure error.
3226
3256
  *
3227
- * FULLSCREEN - Error when presenting a Liveboard or visualization in full screen
3228
- * mode.
3257
+ * `FULLSCREEN`: Error when presenting a Liveboard or visualization in full screen mode.
3229
3258
  *
3230
- * SINGLE_VALUE_FILTER - Error due to multiple values in the single value filter.
3259
+ * `SINGLE_VALUE_FILTER`: Error due to multiple values in the single value filter.
3231
3260
  *
3232
- * NON_EXIST_FILTER - Error due to a non-existent filter.
3261
+ * `NON_EXIST_FILTER`: Error due to a non-existent filter.
3233
3262
  *
3234
- * INVALID_DATE_VALUE - Invalid date value error.
3263
+ * `INVALID_DATE_VALUE`: Invalid date value error.
3235
3264
  *
3236
- * INVALID_OPERATOR - Use of invalid operator during filter application.
3265
+ * `INVALID_OPERATOR`: Use of invalid operator during filter application.
3237
3266
  *
3238
- * For more information, see [Developer Documentation](https://developers.thoughtspot.com/docs/events-app-integration#errorType)
3267
+ * For more information, see https://developers.thoughtspot.com/docs/events-app-integration#errorType.
3239
3268
  *
3240
3269
  * @returns error - An error object or message
3270
+ *
3271
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
3241
3272
  * @example
3242
3273
  * ```js
3243
3274
  * // API error
@@ -3263,6 +3294,9 @@ export declare enum EmbedEvent {
3263
3294
  * The embedded object has sent an alert.
3264
3295
  *
3265
3296
  * @returns alert - An alert object
3297
+ *
3298
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
3299
+ *
3266
3300
  * @example
3267
3301
  * ```js
3268
3302
  * searchEmbed.on(EmbedEvent.Alert)
@@ -3272,6 +3306,8 @@ export declare enum EmbedEvent {
3272
3306
  /**
3273
3307
  * The ThoughtSpot auth session has expired.
3274
3308
  *
3309
+ * @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 8.4.1.sw
3310
+ *
3275
3311
  * @example
3276
3312
  *```js
3277
3313
  * appEmbed.on(EmbedEvent.AuthExpire, showAuthExpired)
@@ -3325,6 +3361,7 @@ export declare enum EmbedEvent {
3325
3361
  /**
3326
3362
  * Detects the route change.
3327
3363
  *
3364
+ * @version SDK: 1.7.0 | ThoughtSpot: 8.0.0.cl, 8.4.1.sw
3328
3365
  * @example
3329
3366
  *```js
3330
3367
  * searchEmbed.on(EmbedEvent.RouteChange, payload =>
@@ -3341,7 +3378,7 @@ export declare enum EmbedEvent {
3341
3378
  /**
3342
3379
  * Emitted when the embed does not have cookie access. This happens
3343
3380
  * when Safari and other Web browsers block third-party cookies
3344
- * are blocked by default. `NoCookieAccess` can trigger
3381
+ * are blocked by default.
3345
3382
  *
3346
3383
  * @example
3347
3384
  *```js
@@ -3384,7 +3421,7 @@ export declare enum EmbedEvent {
3384
3421
  /**
3385
3422
  * Emitted when the Liveboard shell loads.
3386
3423
  * You can use this event as a hook to trigger
3387
- * other events on the rendered Liveboard.
3424
+ * actions on the rendered Liveboard.
3388
3425
  *
3389
3426
  * @version SDK: 1.9.1 | ThoughtSpot: 8.1.0.cl, 8.4.1.sw
3390
3427
  * @example
@@ -3405,8 +3442,7 @@ export declare enum EmbedEvent {
3405
3442
  */
3406
3443
  LiveboardRendered = "PinboardRendered",
3407
3444
  /**
3408
- * This can be used to register an event listener which
3409
- * is triggered on all events.
3445
+ * Emits all events.
3410
3446
  *
3411
3447
  * @Version SDK: 1.10.0 | ThoughtSpot: 8.2.0.cl, 8.4.1.sw
3412
3448
  * @example
@@ -3423,13 +3459,13 @@ export declare enum EmbedEvent {
3423
3459
  * @Version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3424
3460
  * @example
3425
3461
  *```js
3426
- * //trigger when action starts
3462
+ * //Emit when action starts
3427
3463
  * searchEmbed.on(EmbedEvent.Save, payload => {
3428
3464
  * console.log('Save', payload)
3429
3465
  * }, {
3430
3466
  * start: true
3431
3467
  * })
3432
- * //trigger when action ends
3468
+ * //emit when action ends
3433
3469
  * searchEmbed.on(EmbedEvent.Save, payload => {
3434
3470
  * console.log('Save', payload)
3435
3471
  * })
@@ -3439,7 +3475,7 @@ export declare enum EmbedEvent {
3439
3475
  /**
3440
3476
  * Emitted when the download action is triggered on an answer
3441
3477
  *
3442
- * **Note**: This event is deprecated in v1.21.0.
3478
+ * **Note**: This event is deprecated in v1.21.0.
3443
3479
  * To fire an event when a download action is initiated on a chart or table,
3444
3480
  * use `EmbedEvent.DownloadAsPng`, `EmbedEvent.DownloadAsPDF`, `EmbedEvent.DownloadAsCSV`,
3445
3481
  * or `EmbedEvent.DownloadAsXLSX`
@@ -3447,7 +3483,7 @@ export declare enum EmbedEvent {
3447
3483
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3448
3484
  * @example
3449
3485
  *```js
3450
- * liveboardEmbed.trigger(HostEvent.Download, {
3486
+ * liveboardEmbed.on(EmbedEvent.Download, {
3451
3487
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'
3452
3488
  * })
3453
3489
  *```
@@ -3459,10 +3495,10 @@ export declare enum EmbedEvent {
3459
3495
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.0.sw
3460
3496
  * @example
3461
3497
  *```js
3462
- * //trigger when action starts
3498
+ * //emit when action starts
3463
3499
  * searchEmbed.on(EmbedEvent.DownloadAsPng, payload => {
3464
3500
  * console.log('download PNG', payload)}, {start: true })
3465
- * //trigger when action ends
3501
+ * //emit when action ends
3466
3502
  * searchEmbed.on(EmbedEvent.DownloadAsPng, payload => {
3467
3503
  * console.log('download PNG', payload)})
3468
3504
  *```
@@ -3474,10 +3510,10 @@ export declare enum EmbedEvent {
3474
3510
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3475
3511
  * @example
3476
3512
  *```js
3477
- * //trigger when action starts
3513
+ * //emit when action starts
3478
3514
  * searchEmbed.on(EmbedEvent.DownloadAsPdf, payload => {
3479
3515
  * console.log('download PDF', payload)}, {start: true })
3480
- * //trigger when action ends
3516
+ * //emit when action ends
3481
3517
  * searchEmbed.on(EmbedEvent.DownloadAsPdf, payload => {
3482
3518
  * console.log('download PDF', payload)})
3483
3519
  *```
@@ -3489,10 +3525,10 @@ export declare enum EmbedEvent {
3489
3525
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3490
3526
  * @example
3491
3527
  *```js
3492
- * //trigger when action starts
3528
+ * //emit when action starts
3493
3529
  * searchEmbed.on(EmbedEvent.DownloadAsCSV, payload => {
3494
3530
  * console.log('download CSV', payload)}, {start: true })
3495
- * //trigger when action ends
3531
+ * //emit when action ends
3496
3532
  * searchEmbed.on(EmbedEvent.DownloadAsCSV, payload => {
3497
3533
  * console.log('download CSV', payload)})
3498
3534
  *```
@@ -3504,10 +3540,10 @@ export declare enum EmbedEvent {
3504
3540
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3505
3541
  * @example
3506
3542
  *```js
3507
- * //trigger when action starts
3543
+ * //emit when action starts
3508
3544
  * searchEmbed.on(EmbedEvent.DownloadAsXlsx, payload => {
3509
3545
  * console.log('download Xlsx', payload)}, { start: true })
3510
- * //trigger when action ends
3546
+ * //emit when action ends
3511
3547
  * searchEmbed.on(EmbedEvent.DownloadAsXlsx, payload => {
3512
3548
  * console.log('download Xlsx', payload)})
3513
3549
  *```
@@ -3519,10 +3555,10 @@ export declare enum EmbedEvent {
3519
3555
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3520
3556
  * @example
3521
3557
  *```js
3522
- * //trigger when action starts
3558
+ * //emit when action starts
3523
3559
  * appEmbed.on(EmbedEvent.AnswerDelete, payload => {
3524
3560
  * console.log('delete answer', payload)}, {start: true })
3525
- * //trigger when action is completed
3561
+ * //emit when action is completed
3526
3562
  * appEmbed.on(EmbedEvent.AnswerDelete, payload => {
3527
3563
  * console.log('delete answer', payload)})
3528
3564
  *```
@@ -3534,13 +3570,13 @@ export declare enum EmbedEvent {
3534
3570
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3535
3571
  * @example
3536
3572
  *```js
3537
- * //trigger when action starts
3573
+ * //emit when action starts
3538
3574
  * searchEmbed.on(EmbedEvent.Pin, payload => {
3539
3575
  * console.log('pin', payload)
3540
3576
  * }, {
3541
3577
  * start: true
3542
3578
  * })
3543
- * //trigger when action ends
3579
+ * //emit when action ends
3544
3580
  * searchEmbed.on(EmbedEvent.Pin, payload => {
3545
3581
  * console.log('pin', payload)
3546
3582
  * })
@@ -3553,13 +3589,13 @@ export declare enum EmbedEvent {
3553
3589
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3554
3590
  * @example
3555
3591
  *```js
3556
- * //trigger when action starts
3592
+ * //emit when action starts
3557
3593
  * searchEmbed.on(EmbedEvent.SpotIQAnalyze, payload => {
3558
3594
  * console.log('SpotIQAnalyze', payload)
3559
3595
  * }, {
3560
3596
  * start: true
3561
3597
  * })
3562
- * //trigger when action ends
3598
+ * //emit when action ends
3563
3599
  * searchEmbed.on(EmbedEvent.SpotIQAnalyze, payload => {
3564
3600
  * console.log('SpotIQ analyze', payload)
3565
3601
  * })
@@ -3572,13 +3608,13 @@ export declare enum EmbedEvent {
3572
3608
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3573
3609
  * @example
3574
3610
  *```js
3575
- * //trigger when action starts
3611
+ * //emit when action starts
3576
3612
  * searchEmbed.on(EmbedEvent.Share, payload => {
3577
3613
  * console.log('Share', payload)
3578
3614
  * }, {
3579
3615
  * start: true
3580
3616
  * })
3581
- * //trigger when action ends
3617
+ * //emit when action ends
3582
3618
  * searchEmbed.on(EmbedEvent.Share, payload => {
3583
3619
  * console.log('Share', payload)
3584
3620
  * })
@@ -3653,10 +3689,10 @@ export declare enum EmbedEvent {
3653
3689
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3654
3690
  * @example
3655
3691
  *```js
3656
- * //trigger when action starts
3692
+ * //emit when action starts
3657
3693
  * searchEmbed.on(EmbedEvent.ExportTML, payload => {
3658
3694
  * console.log('Export TML', payload)}, { start: true })
3659
- * //trigger when action ends
3695
+ * //emit when action ends
3660
3696
  * searchEmbed.on(EmbedEvent.ExportTML, payload => {
3661
3697
  * console.log('Export TML', payload)})
3662
3698
  *```
@@ -3680,10 +3716,10 @@ export declare enum EmbedEvent {
3680
3716
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3681
3717
  * @example
3682
3718
  *```js
3683
- * //trigger when action starts
3719
+ * //emit when action starts
3684
3720
  * appEmbed.on(EmbedEvent.CopyAEdit, payload => {
3685
3721
  * console.log('Copy and edit', payload)}, {start: true })
3686
- * //trigger when action ends
3722
+ * //emit when action ends
3687
3723
  * appEmbed.on(EmbedEvent.CopyAEdit, payload => {
3688
3724
  * console.log('Copy and edit', payload)})
3689
3725
  *```
@@ -3785,7 +3821,7 @@ export declare enum EmbedEvent {
3785
3821
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
3786
3822
  * @example
3787
3823
  *```js
3788
- * liveboardEmbed.trigger(HostEvent.Present)
3824
+ * liveboardEmbed.on(EmbedEvent.Present)
3789
3825
  *```
3790
3826
  * @example
3791
3827
  *```js
@@ -3801,7 +3837,7 @@ export declare enum EmbedEvent {
3801
3837
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
3802
3838
  * @example
3803
3839
  *```js
3804
- * liveboardEmbed.trigger(EmbedEvent.Delete,
3840
+ * liveboardEmbed.on(EmbedEvent.Delete,
3805
3841
  * {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
3806
3842
  *```
3807
3843
  */
@@ -3812,7 +3848,7 @@ export declare enum EmbedEvent {
3812
3848
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
3813
3849
  * @example
3814
3850
  *```js
3815
- * liveboardEmbed.trigger(EmbedEvent.SchedulesList)
3851
+ * liveboardEmbed.on(EmbedEvent.SchedulesList)
3816
3852
  *```
3817
3853
  */
3818
3854
  SchedulesList = "schedule-list",
@@ -3822,7 +3858,7 @@ export declare enum EmbedEvent {
3822
3858
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
3823
3859
  * @example
3824
3860
  *```js
3825
- * liveboardEmbed.trigger(EmbedEvent.Cancel)
3861
+ * liveboardEmbed.on(EmbedEvent.Cancel)
3826
3862
  *```
3827
3863
  */
3828
3864
  Cancel = "cancel",
@@ -3832,7 +3868,7 @@ export declare enum EmbedEvent {
3832
3868
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
3833
3869
  * @example
3834
3870
  *```js
3835
- * liveboardEmbed.trigger(EmbedEvent.Explore, {
3871
+ * liveboardEmbed.on(EmbedEvent.Explore, {
3836
3872
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
3837
3873
  *```
3838
3874
  */
@@ -3843,7 +3879,7 @@ export declare enum EmbedEvent {
3843
3879
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
3844
3880
  * @example
3845
3881
  *```js
3846
- * liveboardEmbed.trigger(EmbedEvent.CopyLink, {
3882
+ * liveboardEmbed.on(EmbedEvent.CopyLink, {
3847
3883
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
3848
3884
  *```
3849
3885
  */
@@ -3854,7 +3890,7 @@ export declare enum EmbedEvent {
3854
3890
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
3855
3891
  * @example
3856
3892
  *```js
3857
- * liveboardEmbed.trigger(HostEvent.CrossFilterChanged, {
3893
+ * liveboardEmbed.on(EmbedEvent.CrossFilterChanged, {
3858
3894
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
3859
3895
  *```
3860
3896
  */
@@ -3878,9 +3914,18 @@ export declare enum EmbedEvent {
3878
3914
  */
3879
3915
  InsertIntoSlide = "insertInToSlide",
3880
3916
  /**
3881
- * @hidden
3882
3917
  * Emitted when a user changes any filter on a Liveboard.
3918
+ * Returns filter type and name, column name and ID, and runtime
3919
+ * filter details.
3920
+ *
3883
3921
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl, 9.5.0.sw
3922
+ * @example
3923
+ *
3924
+ *```js
3925
+ * LiveboardEmbed.on(EmbedEvent.FilterChanged, (payload) => {
3926
+ * console.log('payload', payload);
3927
+ * })
3928
+ *```
3884
3929
  */
3885
3930
  FilterChanged = "filterChanged",
3886
3931
  /**
@@ -4415,7 +4460,7 @@ export declare enum HostEvent {
4415
4460
  * ```js
4416
4461
  * searchEmbed.trigger(HostEvent.GetTML).then((tml) => {
4417
4462
  * console.log(
4418
- * tml.search_query // TML representation of the search query
4463
+ * tml.answer.search_query // TML representation of the search query
4419
4464
  * );
4420
4465
  * })
4421
4466
  * ```
@@ -4658,7 +4703,7 @@ export declare enum HostEvent {
4658
4703
  *
4659
4704
  * ```js
4660
4705
  * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
4661
- * filter: { column: 'column name', oper: 'IN', values: [1,2,3], is_mandatory: false }
4706
+ * filter: { column: 'column name', oper: 'IN', values: [1,2,3]}
4662
4707
  * })
4663
4708
  * ```
4664
4709
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
@@ -5796,7 +5841,7 @@ export declare enum Action {
5796
5841
  * disabledActions: [Action.TML] // to disable all TML actions
5797
5842
  * ```
5798
5843
  *
5799
- * @version SDK : 1.28.2 | Thoughtspot: 9.10.5.cl
5844
+ * @version SDK : 1.28.3 | Thoughtspot: 9.12.0.cl
5800
5845
  */
5801
5846
  TML = "tml",
5802
5847
  /**