@thoughtspot/visual-embed-sdk 1.17.0-alpha.5 → 1.17.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.
package/src/types.ts CHANGED
@@ -239,6 +239,7 @@ export interface EmbedConfig {
239
239
  * @version SDK: 1.12.0 | ThoughtSpot: 8.4.0.cl, 8.4.1-sw*
240
240
  */
241
241
  suppressSearchEmbedBetaWarning?: boolean;
242
+
242
243
  /**
243
244
  * Custom style params for embed Config.
244
245
  *
@@ -777,10 +778,7 @@ export enum HostEvent {
777
778
  * Triggers the Pin action on an embedded object
778
779
  * @param - incase of Liveboard embed, takes in an object with vizId as a key
779
780
  * can be left empty for search and visualization embeds
780
- * @example
781
- * liveboardEmbed.trigger(HostEvent.Pin, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
782
- * vizEmbed.trigger(HostEvent.Pin)
783
- * searchEmbed.trigger(HostEvent.Pin)
781
+ * @example liveboardEmbed.trigger(HostEvent.Pin, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
784
782
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
785
783
  */
786
784
  Pin = 'pin',
@@ -827,11 +825,8 @@ export enum HostEvent {
827
825
  */
828
826
  DownloadAsPdf = 'downloadAsPdf',
829
827
  /**
830
- * Triggers the Make a copy action on a Liveboard, search or visualization
831
- * @example
832
- * liveboardEmbed.trigger(HostEvent.MakeACopy, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
833
- * vizEmbed.trigger(HostEvent.MakeACopy)
834
- * searchEmbed.trigger(HostEvent.MakeACopy)
828
+ * Triggers the Make a copy action on a Liveboard
829
+ * @example liveboardEmbed.trigger(HostEvent.MakeACopy)
835
830
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
836
831
  */
837
832
  MakeACopy = 'makeACopy',
@@ -898,65 +893,6 @@ export enum HostEvent {
898
893
  * @version SDK: 1.18.0 | ThoughtSpot: 8.10.0.cl
899
894
  */
900
895
  GetTML = 'getTML',
901
- /**
902
- * Triggers the ShowUnderlyingData action on visualization or search
903
- * @param - an object with vizId as a key
904
- * @example
905
- * liveboardEmbed.trigger(HostEvent.ShowUnderlyingData, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
906
- * vizEmbed.trigger(HostEvent.ShowUnderlyingData)
907
- * searchEmbed.trigger(HostEvent.ShowUnderlyingData)
908
- * @version SDK: 1.18.0 | ThoughtSpot: 9.0.0.cl
909
- */
910
- ShowUnderlyingData = 'showUnderlyingData',
911
- /**
912
- * Triggers the Delete action on visualization or search
913
- * @param - incase of Liveboard embed, takes in an object with vizId as a key
914
- * can be left empty for search and visualization embeds
915
- * @example
916
- * liveboardEmbed.trigger(HostEvent.Delete, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
917
- * vizEmbed.trigger(HostEvent.Delete)
918
- * searchEmbed.trigger(HostEvent.Delete)
919
- * @version SDK: 1.18.0 | ThoughtSpot: 9.0.0.cl
920
- */
921
- Delete = 'delete',
922
- /**
923
- * Triggers the SpotIQAnalyze action on visualization or search
924
- * @param - incase of Liveboard embed, takes in an object with vizId as a key
925
- * can be left empty for search and visualization embeds
926
- * @example
927
- * liveboardEmbed.trigger(HostEvent.SpotIQAnalyze, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
928
- * vizEmbed.trigger(HostEvent.SpotIQAnalyze)
929
- * searchEmbed.trigger(HostEvent.SpotIQAnalyze)
930
- * @version SDK: 1.18.0 | ThoughtSpot: 9.0.0.cl
931
- */
932
- SpotIQAnalyze = 'spotIQAnalyze',
933
- /**
934
- * Triggers the Download action on visualization or search when Displaymode is Chart
935
- * @example
936
- * liveboardEmbed.trigger(HostEvent.Download, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
937
- * vizEmbed.trigger(HostEvent.Download)
938
- * searchEmbed.trigger(HostEvent.Download)
939
- * @version SDK: 1.18.0 | ThoughtSpot: 9.0.0.cl
940
- */
941
- Download = 'download',
942
- /**
943
- * Triggers the downloadAsCSV action on visualization or search when Displaymode is Table
944
- * @example
945
- * liveboardEmbed.trigger(HostEvent.DownloadAsCsv, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
946
- * vizEmbed.trigger(HostEvent.DownloadAsCsv)
947
- * searchEmbed.trigger(HostEvent.DownloadAsCsv)
948
- * @version SDK: 1.18.0 | ThoughtSpot: 9.0.0.cl
949
- */
950
- DownloadAsCsv = 'downloadAsCSV',
951
- /**
952
- * Triggers the downloadAsXLSX action on visualization or search when Displaymode is Table
953
- * @example
954
- * liveboardEmbed.trigger(HostEvent.DownloadAsXlsx, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
955
- * vizEmbed.trigger(HostEvent.DownloadAsXlsx)
956
- * searchEmbed.trigger(HostEvent.DownloadAsXlsx)
957
- * @version SDK: 1.18.0 | ThoughtSpot: 9.0.0.cl
958
- */
959
- DownloadAsXlsx = 'downloadAsXLSX',
960
896
  /**
961
897
  * Triggers the Share action on a liveboard or answer
962
898
  * @example
@@ -973,33 +909,6 @@ export enum HostEvent {
973
909
  * @version SDK: 1.18.0 | Thoughtspot: 9.0.0.cl
974
910
  */
975
911
  Save = 'save',
976
- /**
977
- * Triggers the SyncToSheets action on visualization
978
- * @param - an object with vizId as a key
979
- * @example
980
- * liveboardEmbed.trigger(HostEvent.SyncToSheets, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
981
- * vizEmbed.trigger(HostEvent.SyncToSheets)
982
- * @version SDK: 1.18.0 | ThoughtSpot: 9.0.0.cl
983
- */
984
- SyncToSheets = 'sync-to-sheets',
985
- /**
986
- * Triggers the SyncToOtherApps action on visualization
987
- * @param - an object with vizId as a key
988
- * @example
989
- * liveboardEmbed.trigger(HostEvent.SyncToOtherApps, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
990
- * vizEmbed.trigger(HostEvent.SyncToOtherApps)
991
- * @version SDK: 1.18.0 | ThoughtSpot: 9.0.0.cl
992
- */
993
- SyncToOtherApps = 'sync-to-other-apps',
994
- /**
995
- * Triggers the ManagePipelines action on visualization
996
- * @param - an object with vizId as a key
997
- * @example
998
- * liveboardEmbed.trigger(HostEvent.ManagePipelines, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
999
- * vizEmbed.trigger(HostEvent.ManagePipelines)
1000
- * @version SDK: 1.18.0 | ThoughtSpot: 9.0.0.cl
1001
- */
1002
- ManagePipelines = 'manage-pipeline',
1003
912
  }
1004
913
 
1005
914
  /**