@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
@@ -2081,6 +2081,23 @@ export interface EmbedConfig {
2081
2081
  * @version SDK: 1.28.4 | Thoughtspot: 10.0.0.cl, 9.5.0.sw
2082
2082
  */
2083
2083
  currencyFormat?: string;
2084
+ /**
2085
+ * This flag is used to disable the token verification in the SDK.
2086
+ * Enabling this flag will also disable the caching of the token.
2087
+ *
2088
+ * @hidden
2089
+ *
2090
+ * @example
2091
+ * ```js
2092
+ * init({
2093
+ * ...embedConfig,
2094
+ * disableTokenVerification : true
2095
+ * })
2096
+ * ```
2097
+ *
2098
+ * @version SDK: 1.28.5 | Thoughtspot: *
2099
+ */
2100
+ disableTokenVerification?: boolean;
2084
2101
  }
2085
2102
  export interface LayoutConfig {
2086
2103
  }
@@ -2731,6 +2748,8 @@ export declare enum EmbedEvent {
2731
2748
  /**
2732
2749
  * Authentication has either succeeded or failed.
2733
2750
  *
2751
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
2752
+ *
2734
2753
  * @example
2735
2754
  *```js
2736
2755
  * appEmbed.on(EmbedEvent.AuthInit, payload => {
@@ -2744,6 +2763,8 @@ export declare enum EmbedEvent {
2744
2763
  * The embed object container has loaded.
2745
2764
  *
2746
2765
  * @returns timestamp - The timestamp when the event was generated.
2766
+ *
2767
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
2747
2768
  * @example
2748
2769
  *```js
2749
2770
  * liveboardEmbed.on(EmbedEvent.Load, hideLoader)
@@ -2758,6 +2779,8 @@ export declare enum EmbedEvent {
2758
2779
  * Data pertaining to answer or Liveboard is received
2759
2780
  *
2760
2781
  * @return data - The answer or Liveboard data
2782
+ *
2783
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
2761
2784
  * @example
2762
2785
  *```js
2763
2786
  * liveboardEmbed.on(EmbedEvent.Data, payload => {
@@ -2776,6 +2799,7 @@ export declare enum EmbedEvent {
2776
2799
  /**
2777
2800
  * Search query has been updated by the user.
2778
2801
  *
2802
+ * @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 8.4.1.sw
2779
2803
  * @example
2780
2804
  *```js
2781
2805
  * searchEmbed.on(EmbedEvent.QueryChanged, payload => console.log('data', payload))
@@ -2785,12 +2809,14 @@ export declare enum EmbedEvent {
2785
2809
  /**
2786
2810
  * A drill-down operation has been performed.
2787
2811
  *
2812
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
2813
+ *
2788
2814
  * @returns additionalFilters - Any additional filters applied
2789
2815
  * @returns drillDownColumns - The columns on which drill down was performed
2790
2816
  * @returns nonFilteredColumns - The columns that were not filtered
2791
2817
  * @example
2792
2818
  *```js
2793
- * searchEmbed.trigger(EmbedEvent.DrillDown, {
2819
+ * searchEmbed.on(EmbedEvent.DrillDown, {
2794
2820
  * points: {
2795
2821
  * clickedPoint,
2796
2822
  * selectedPoints: selectedPoint
@@ -2823,6 +2849,8 @@ export declare enum EmbedEvent {
2823
2849
  * One or more data sources have been selected.
2824
2850
  *
2825
2851
  * @returns dataSourceIds - the list of data sources
2852
+ *
2853
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
2826
2854
  * @example
2827
2855
  * ```js
2828
2856
  * searchEmbed.on(EmbedEvent.DataSourceSelected, payload => {
@@ -2850,6 +2878,8 @@ export declare enum EmbedEvent {
2850
2878
  * @returns actionId - ID of the custom action
2851
2879
  * @returns payload {@link CustomActionPayload} - Response payload with the
2852
2880
  * Answer or Liveboard data
2881
+ *
2882
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
2853
2883
  * @example
2854
2884
  * ```js
2855
2885
  * appEmbed.on(EmbedEvent.customAction, payload => {
@@ -2897,22 +2927,23 @@ export declare enum EmbedEvent {
2897
2927
  /**
2898
2928
  * An error has occurred. This event is fired for the following error types:
2899
2929
  *
2900
- * API - API call failure error.
2930
+ * `API`: API call failure error.
2901
2931
  *
2902
- * FULLSCREEN - Error when presenting a Liveboard or visualization in full screen
2903
- * mode.
2932
+ * `FULLSCREEN`: Error when presenting a Liveboard or visualization in full screen mode.
2904
2933
  *
2905
- * SINGLE_VALUE_FILTER - Error due to multiple values in the single value filter.
2934
+ * `SINGLE_VALUE_FILTER`: Error due to multiple values in the single value filter.
2906
2935
  *
2907
- * NON_EXIST_FILTER - Error due to a non-existent filter.
2936
+ * `NON_EXIST_FILTER`: Error due to a non-existent filter.
2908
2937
  *
2909
- * INVALID_DATE_VALUE - Invalid date value error.
2938
+ * `INVALID_DATE_VALUE`: Invalid date value error.
2910
2939
  *
2911
- * INVALID_OPERATOR - Use of invalid operator during filter application.
2940
+ * `INVALID_OPERATOR`: Use of invalid operator during filter application.
2912
2941
  *
2913
- * For more information, see [Developer Documentation](https://developers.thoughtspot.com/docs/events-app-integration#errorType)
2942
+ * For more information, see https://developers.thoughtspot.com/docs/events-app-integration#errorType.
2914
2943
  *
2915
2944
  * @returns error - An error object or message
2945
+ *
2946
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
2916
2947
  * @example
2917
2948
  * ```js
2918
2949
  * // API error
@@ -2938,6 +2969,9 @@ export declare enum EmbedEvent {
2938
2969
  * The embedded object has sent an alert.
2939
2970
  *
2940
2971
  * @returns alert - An alert object
2972
+ *
2973
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 8.4.1.sw
2974
+ *
2941
2975
  * @example
2942
2976
  * ```js
2943
2977
  * searchEmbed.on(EmbedEvent.Alert)
@@ -2947,6 +2981,8 @@ export declare enum EmbedEvent {
2947
2981
  /**
2948
2982
  * The ThoughtSpot auth session has expired.
2949
2983
  *
2984
+ * @version SDK: 1.4.0 | ThoughtSpot: ts7.sep.cl, 8.4.1.sw
2985
+ *
2950
2986
  * @example
2951
2987
  *```js
2952
2988
  * appEmbed.on(EmbedEvent.AuthExpire, showAuthExpired)
@@ -3000,6 +3036,7 @@ export declare enum EmbedEvent {
3000
3036
  /**
3001
3037
  * Detects the route change.
3002
3038
  *
3039
+ * @version SDK: 1.7.0 | ThoughtSpot: 8.0.0.cl, 8.4.1.sw
3003
3040
  * @example
3004
3041
  *```js
3005
3042
  * searchEmbed.on(EmbedEvent.RouteChange, payload =>
@@ -3016,7 +3053,7 @@ export declare enum EmbedEvent {
3016
3053
  /**
3017
3054
  * Emitted when the embed does not have cookie access. This happens
3018
3055
  * when Safari and other Web browsers block third-party cookies
3019
- * are blocked by default. `NoCookieAccess` can trigger
3056
+ * are blocked by default.
3020
3057
  *
3021
3058
  * @example
3022
3059
  *```js
@@ -3059,7 +3096,7 @@ export declare enum EmbedEvent {
3059
3096
  /**
3060
3097
  * Emitted when the Liveboard shell loads.
3061
3098
  * You can use this event as a hook to trigger
3062
- * other events on the rendered Liveboard.
3099
+ * actions on the rendered Liveboard.
3063
3100
  *
3064
3101
  * @version SDK: 1.9.1 | ThoughtSpot: 8.1.0.cl, 8.4.1.sw
3065
3102
  * @example
@@ -3080,8 +3117,7 @@ export declare enum EmbedEvent {
3080
3117
  */
3081
3118
  LiveboardRendered = "PinboardRendered",
3082
3119
  /**
3083
- * This can be used to register an event listener which
3084
- * is triggered on all events.
3120
+ * Emits all events.
3085
3121
  *
3086
3122
  * @Version SDK: 1.10.0 | ThoughtSpot: 8.2.0.cl, 8.4.1.sw
3087
3123
  * @example
@@ -3098,13 +3134,13 @@ export declare enum EmbedEvent {
3098
3134
  * @Version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3099
3135
  * @example
3100
3136
  *```js
3101
- * //trigger when action starts
3137
+ * //Emit when action starts
3102
3138
  * searchEmbed.on(EmbedEvent.Save, payload => {
3103
3139
  * console.log('Save', payload)
3104
3140
  * }, {
3105
3141
  * start: true
3106
3142
  * })
3107
- * //trigger when action ends
3143
+ * //emit when action ends
3108
3144
  * searchEmbed.on(EmbedEvent.Save, payload => {
3109
3145
  * console.log('Save', payload)
3110
3146
  * })
@@ -3114,7 +3150,7 @@ export declare enum EmbedEvent {
3114
3150
  /**
3115
3151
  * Emitted when the download action is triggered on an answer
3116
3152
  *
3117
- * **Note**: This event is deprecated in v1.21.0.
3153
+ * **Note**: This event is deprecated in v1.21.0.
3118
3154
  * To fire an event when a download action is initiated on a chart or table,
3119
3155
  * use `EmbedEvent.DownloadAsPng`, `EmbedEvent.DownloadAsPDF`, `EmbedEvent.DownloadAsCSV`,
3120
3156
  * or `EmbedEvent.DownloadAsXLSX`
@@ -3122,7 +3158,7 @@ export declare enum EmbedEvent {
3122
3158
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3123
3159
  * @example
3124
3160
  *```js
3125
- * liveboardEmbed.trigger(HostEvent.Download, {
3161
+ * liveboardEmbed.on(EmbedEvent.Download, {
3126
3162
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'
3127
3163
  * })
3128
3164
  *```
@@ -3134,10 +3170,10 @@ export declare enum EmbedEvent {
3134
3170
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.4.0.sw
3135
3171
  * @example
3136
3172
  *```js
3137
- * //trigger when action starts
3173
+ * //emit when action starts
3138
3174
  * searchEmbed.on(EmbedEvent.DownloadAsPng, payload => {
3139
3175
  * console.log('download PNG', payload)}, {start: true })
3140
- * //trigger when action ends
3176
+ * //emit when action ends
3141
3177
  * searchEmbed.on(EmbedEvent.DownloadAsPng, payload => {
3142
3178
  * console.log('download PNG', payload)})
3143
3179
  *```
@@ -3149,10 +3185,10 @@ export declare enum EmbedEvent {
3149
3185
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3150
3186
  * @example
3151
3187
  *```js
3152
- * //trigger when action starts
3188
+ * //emit when action starts
3153
3189
  * searchEmbed.on(EmbedEvent.DownloadAsPdf, payload => {
3154
3190
  * console.log('download PDF', payload)}, {start: true })
3155
- * //trigger when action ends
3191
+ * //emit when action ends
3156
3192
  * searchEmbed.on(EmbedEvent.DownloadAsPdf, payload => {
3157
3193
  * console.log('download PDF', payload)})
3158
3194
  *```
@@ -3164,10 +3200,10 @@ export declare enum EmbedEvent {
3164
3200
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3165
3201
  * @example
3166
3202
  *```js
3167
- * //trigger when action starts
3203
+ * //emit when action starts
3168
3204
  * searchEmbed.on(EmbedEvent.DownloadAsCSV, payload => {
3169
3205
  * console.log('download CSV', payload)}, {start: true })
3170
- * //trigger when action ends
3206
+ * //emit when action ends
3171
3207
  * searchEmbed.on(EmbedEvent.DownloadAsCSV, payload => {
3172
3208
  * console.log('download CSV', payload)})
3173
3209
  *```
@@ -3179,10 +3215,10 @@ export declare enum EmbedEvent {
3179
3215
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3180
3216
  * @example
3181
3217
  *```js
3182
- * //trigger when action starts
3218
+ * //emit when action starts
3183
3219
  * searchEmbed.on(EmbedEvent.DownloadAsXlsx, payload => {
3184
3220
  * console.log('download Xlsx', payload)}, { start: true })
3185
- * //trigger when action ends
3221
+ * //emit when action ends
3186
3222
  * searchEmbed.on(EmbedEvent.DownloadAsXlsx, payload => {
3187
3223
  * console.log('download Xlsx', payload)})
3188
3224
  *```
@@ -3194,10 +3230,10 @@ export declare enum EmbedEvent {
3194
3230
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3195
3231
  * @example
3196
3232
  *```js
3197
- * //trigger when action starts
3233
+ * //emit when action starts
3198
3234
  * appEmbed.on(EmbedEvent.AnswerDelete, payload => {
3199
3235
  * console.log('delete answer', payload)}, {start: true })
3200
- * //trigger when action is completed
3236
+ * //emit when action is completed
3201
3237
  * appEmbed.on(EmbedEvent.AnswerDelete, payload => {
3202
3238
  * console.log('delete answer', payload)})
3203
3239
  *```
@@ -3209,13 +3245,13 @@ export declare enum EmbedEvent {
3209
3245
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3210
3246
  * @example
3211
3247
  *```js
3212
- * //trigger when action starts
3248
+ * //emit when action starts
3213
3249
  * searchEmbed.on(EmbedEvent.Pin, payload => {
3214
3250
  * console.log('pin', payload)
3215
3251
  * }, {
3216
3252
  * start: true
3217
3253
  * })
3218
- * //trigger when action ends
3254
+ * //emit when action ends
3219
3255
  * searchEmbed.on(EmbedEvent.Pin, payload => {
3220
3256
  * console.log('pin', payload)
3221
3257
  * })
@@ -3228,13 +3264,13 @@ export declare enum EmbedEvent {
3228
3264
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3229
3265
  * @example
3230
3266
  *```js
3231
- * //trigger when action starts
3267
+ * //emit when action starts
3232
3268
  * searchEmbed.on(EmbedEvent.SpotIQAnalyze, payload => {
3233
3269
  * console.log('SpotIQAnalyze', payload)
3234
3270
  * }, {
3235
3271
  * start: true
3236
3272
  * })
3237
- * //trigger when action ends
3273
+ * //emit when action ends
3238
3274
  * searchEmbed.on(EmbedEvent.SpotIQAnalyze, payload => {
3239
3275
  * console.log('SpotIQ analyze', payload)
3240
3276
  * })
@@ -3247,13 +3283,13 @@ export declare enum EmbedEvent {
3247
3283
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3248
3284
  * @example
3249
3285
  *```js
3250
- * //trigger when action starts
3286
+ * //emit when action starts
3251
3287
  * searchEmbed.on(EmbedEvent.Share, payload => {
3252
3288
  * console.log('Share', payload)
3253
3289
  * }, {
3254
3290
  * start: true
3255
3291
  * })
3256
- * //trigger when action ends
3292
+ * //emit when action ends
3257
3293
  * searchEmbed.on(EmbedEvent.Share, payload => {
3258
3294
  * console.log('Share', payload)
3259
3295
  * })
@@ -3328,10 +3364,10 @@ export declare enum EmbedEvent {
3328
3364
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3329
3365
  * @example
3330
3366
  *```js
3331
- * //trigger when action starts
3367
+ * //emit when action starts
3332
3368
  * searchEmbed.on(EmbedEvent.ExportTML, payload => {
3333
3369
  * console.log('Export TML', payload)}, { start: true })
3334
- * //trigger when action ends
3370
+ * //emit when action ends
3335
3371
  * searchEmbed.on(EmbedEvent.ExportTML, payload => {
3336
3372
  * console.log('Export TML', payload)})
3337
3373
  *```
@@ -3355,10 +3391,10 @@ export declare enum EmbedEvent {
3355
3391
  * @version SDK: 1.11.0 | ThoughtSpot: 8.3.0.cl, 8.4.1.sw
3356
3392
  * @example
3357
3393
  *```js
3358
- * //trigger when action starts
3394
+ * //emit when action starts
3359
3395
  * appEmbed.on(EmbedEvent.CopyAEdit, payload => {
3360
3396
  * console.log('Copy and edit', payload)}, {start: true })
3361
- * //trigger when action ends
3397
+ * //emit when action ends
3362
3398
  * appEmbed.on(EmbedEvent.CopyAEdit, payload => {
3363
3399
  * console.log('Copy and edit', payload)})
3364
3400
  *```
@@ -3460,7 +3496,7 @@ export declare enum EmbedEvent {
3460
3496
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
3461
3497
  * @example
3462
3498
  *```js
3463
- * liveboardEmbed.trigger(HostEvent.Present)
3499
+ * liveboardEmbed.on(EmbedEvent.Present)
3464
3500
  *```
3465
3501
  * @example
3466
3502
  *```js
@@ -3476,7 +3512,7 @@ export declare enum EmbedEvent {
3476
3512
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
3477
3513
  * @example
3478
3514
  *```js
3479
- * liveboardEmbed.trigger(EmbedEvent.Delete,
3515
+ * liveboardEmbed.on(EmbedEvent.Delete,
3480
3516
  * {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
3481
3517
  *```
3482
3518
  */
@@ -3487,7 +3523,7 @@ export declare enum EmbedEvent {
3487
3523
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
3488
3524
  * @example
3489
3525
  *```js
3490
- * liveboardEmbed.trigger(EmbedEvent.SchedulesList)
3526
+ * liveboardEmbed.on(EmbedEvent.SchedulesList)
3491
3527
  *```
3492
3528
  */
3493
3529
  SchedulesList = "schedule-list",
@@ -3497,7 +3533,7 @@ export declare enum EmbedEvent {
3497
3533
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
3498
3534
  * @example
3499
3535
  *```js
3500
- * liveboardEmbed.trigger(EmbedEvent.Cancel)
3536
+ * liveboardEmbed.on(EmbedEvent.Cancel)
3501
3537
  *```
3502
3538
  */
3503
3539
  Cancel = "cancel",
@@ -3507,7 +3543,7 @@ export declare enum EmbedEvent {
3507
3543
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
3508
3544
  * @example
3509
3545
  *```js
3510
- * liveboardEmbed.trigger(EmbedEvent.Explore, {
3546
+ * liveboardEmbed.on(EmbedEvent.Explore, {
3511
3547
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
3512
3548
  *```
3513
3549
  */
@@ -3518,7 +3554,7 @@ export declare enum EmbedEvent {
3518
3554
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1.sw
3519
3555
  * @example
3520
3556
  *```js
3521
- * liveboardEmbed.trigger(EmbedEvent.CopyLink, {
3557
+ * liveboardEmbed.on(EmbedEvent.CopyLink, {
3522
3558
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
3523
3559
  *```
3524
3560
  */
@@ -3529,7 +3565,7 @@ export declare enum EmbedEvent {
3529
3565
  * @version SDK: 1.21.0 | ThoughtSpot: 9.2.0.cl, 9.5.0.sw
3530
3566
  * @example
3531
3567
  *```js
3532
- * liveboardEmbed.trigger(HostEvent.CrossFilterChanged, {
3568
+ * liveboardEmbed.on(EmbedEvent.CrossFilterChanged, {
3533
3569
  * vizId: '730496d6-6903-4601-937e-2c691821af3c'})
3534
3570
  *```
3535
3571
  */
@@ -3553,9 +3589,18 @@ export declare enum EmbedEvent {
3553
3589
  */
3554
3590
  InsertIntoSlide = "insertInToSlide",
3555
3591
  /**
3556
- * @hidden
3557
3592
  * Emitted when a user changes any filter on a Liveboard.
3593
+ * Returns filter type and name, column name and ID, and runtime
3594
+ * filter details.
3595
+ *
3558
3596
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl, 9.5.0.sw
3597
+ * @example
3598
+ *
3599
+ *```js
3600
+ * LiveboardEmbed.on(EmbedEvent.FilterChanged, (payload) => {
3601
+ * console.log('payload', payload);
3602
+ * })
3603
+ *```
3559
3604
  */
3560
3605
  FilterChanged = "filterChanged",
3561
3606
  /**
@@ -4090,7 +4135,7 @@ export declare enum HostEvent {
4090
4135
  * ```js
4091
4136
  * searchEmbed.trigger(HostEvent.GetTML).then((tml) => {
4092
4137
  * console.log(
4093
- * tml.search_query // TML representation of the search query
4138
+ * tml.answer.search_query // TML representation of the search query
4094
4139
  * );
4095
4140
  * })
4096
4141
  * ```
@@ -4333,7 +4378,7 @@ export declare enum HostEvent {
4333
4378
  *
4334
4379
  * ```js
4335
4380
  * liveboardEmbed.trigger(HostEvent.UpdateFilters, {
4336
- * filter: { column: 'column name', oper: 'IN', values: [1,2,3], is_mandatory: false }
4381
+ * filter: { column: 'column name', oper: 'IN', values: [1,2,3]}
4337
4382
  * })
4338
4383
  * ```
4339
4384
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
@@ -5471,7 +5516,7 @@ export declare enum Action {
5471
5516
  * disabledActions: [Action.TML] // to disable all TML actions
5472
5517
  * ```
5473
5518
  *
5474
- * @version SDK : 1.28.2 | Thoughtspot: 9.10.5.cl
5519
+ * @version SDK : 1.28.3 | Thoughtspot: 9.12.0.cl
5475
5520
  */
5476
5521
  TML = "tml",
5477
5522
  /**