@thoughtspot/visual-embed-sdk 1.46.1 → 1.46.2

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 (173) hide show
  1. package/cjs/package.json +1 -1
  2. package/cjs/src/auth.d.ts +29 -4
  3. package/cjs/src/auth.d.ts.map +1 -1
  4. package/cjs/src/auth.js +29 -4
  5. package/cjs/src/auth.js.map +1 -1
  6. package/cjs/src/css-variables.d.ts +17 -17
  7. package/cjs/src/embed/app.d.ts +60 -32
  8. package/cjs/src/embed/app.d.ts.map +1 -1
  9. package/cjs/src/embed/app.js +10 -3
  10. package/cjs/src/embed/app.js.map +1 -1
  11. package/cjs/src/embed/app.spec.js +34 -1
  12. package/cjs/src/embed/app.spec.js.map +1 -1
  13. package/cjs/src/embed/base.d.ts +2 -2
  14. package/cjs/src/embed/base.js +2 -2
  15. package/cjs/src/embed/bodyless-conversation.d.ts +5 -5
  16. package/cjs/src/embed/bodyless-conversation.js +4 -4
  17. package/cjs/src/embed/conversation.d.ts +43 -30
  18. package/cjs/src/embed/conversation.d.ts.map +1 -1
  19. package/cjs/src/embed/conversation.js +10 -11
  20. package/cjs/src/embed/conversation.js.map +1 -1
  21. package/cjs/src/embed/conversation.spec.js +27 -0
  22. package/cjs/src/embed/conversation.spec.js.map +1 -1
  23. package/cjs/src/embed/liveboard.d.ts +40 -34
  24. package/cjs/src/embed/liveboard.d.ts.map +1 -1
  25. package/cjs/src/embed/liveboard.js +1 -1
  26. package/cjs/src/embed/liveboard.js.map +1 -1
  27. package/cjs/src/embed/liveboard.spec.js +1 -1
  28. package/cjs/src/embed/liveboard.spec.js.map +1 -1
  29. package/cjs/src/embed/sage.d.ts +5 -5
  30. package/cjs/src/embed/sage.js +1 -1
  31. package/cjs/src/embed/search-bar.d.ts +7 -7
  32. package/cjs/src/embed/search-bar.js +1 -1
  33. package/cjs/src/embed/search.d.ts +13 -12
  34. package/cjs/src/embed/search.d.ts.map +1 -1
  35. package/cjs/src/embed/search.js.map +1 -1
  36. package/cjs/src/embed/ts-embed.d.ts +3 -3
  37. package/cjs/src/embed/ts-embed.d.ts.map +1 -1
  38. package/cjs/src/embed/ts-embed.js +12 -6
  39. package/cjs/src/embed/ts-embed.js.map +1 -1
  40. package/cjs/src/embed/ts-embed.spec.js +35 -0
  41. package/cjs/src/embed/ts-embed.spec.js.map +1 -1
  42. package/cjs/src/react/index.d.ts +15 -15
  43. package/cjs/src/react/index.js +12 -12
  44. package/cjs/src/tokenizedFetch.d.ts +1 -1
  45. package/cjs/src/tokenizedFetch.js +1 -1
  46. package/cjs/src/types.d.ts +294 -255
  47. package/cjs/src/types.d.ts.map +1 -1
  48. package/cjs/src/types.js +206 -200
  49. package/cjs/src/types.js.map +1 -1
  50. package/cjs/src/utils/graphql/answerService/answerService.d.ts +4 -2
  51. package/cjs/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  52. package/cjs/src/utils/graphql/answerService/answerService.js +6 -4
  53. package/cjs/src/utils/graphql/answerService/answerService.js.map +1 -1
  54. package/cjs/src/utils/graphql/answerService/answerService.spec.js +55 -0
  55. package/cjs/src/utils/graphql/answerService/answerService.spec.js.map +1 -1
  56. package/cjs/src/utils.d.ts +9 -0
  57. package/cjs/src/utils.d.ts.map +1 -1
  58. package/cjs/src/utils.js +10 -1
  59. package/cjs/src/utils.js.map +1 -1
  60. package/dist/{index-Vyh6Ha5f.js → index-DkizS4xM.js} +1 -1
  61. package/dist/src/auth.d.ts +29 -4
  62. package/dist/src/auth.d.ts.map +1 -1
  63. package/dist/src/css-variables.d.ts +17 -17
  64. package/dist/src/embed/app.d.ts +60 -32
  65. package/dist/src/embed/app.d.ts.map +1 -1
  66. package/dist/src/embed/base.d.ts +2 -2
  67. package/dist/src/embed/bodyless-conversation.d.ts +5 -5
  68. package/dist/src/embed/conversation.d.ts +43 -30
  69. package/dist/src/embed/conversation.d.ts.map +1 -1
  70. package/dist/src/embed/liveboard.d.ts +40 -34
  71. package/dist/src/embed/liveboard.d.ts.map +1 -1
  72. package/dist/src/embed/sage.d.ts +5 -5
  73. package/dist/src/embed/search-bar.d.ts +7 -7
  74. package/dist/src/embed/search.d.ts +13 -12
  75. package/dist/src/embed/search.d.ts.map +1 -1
  76. package/dist/src/embed/ts-embed.d.ts +3 -3
  77. package/dist/src/embed/ts-embed.d.ts.map +1 -1
  78. package/dist/src/react/index.d.ts +15 -15
  79. package/dist/src/tokenizedFetch.d.ts +1 -1
  80. package/dist/src/types.d.ts +294 -255
  81. package/dist/src/types.d.ts.map +1 -1
  82. package/dist/src/utils/graphql/answerService/answerService.d.ts +4 -2
  83. package/dist/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  84. package/dist/src/utils.d.ts +9 -0
  85. package/dist/src/utils.d.ts.map +1 -1
  86. package/dist/tsembed-react.es.js +307 -275
  87. package/dist/tsembed-react.js +306 -274
  88. package/dist/tsembed.es.js +299 -267
  89. package/dist/tsembed.js +298 -266
  90. package/dist/visual-embed-sdk-react-full.d.ts +520 -409
  91. package/dist/visual-embed-sdk-react.d.ts +518 -407
  92. package/dist/visual-embed-sdk.d.ts +519 -408
  93. package/lib/package.json +1 -1
  94. package/lib/src/auth.d.ts +29 -4
  95. package/lib/src/auth.d.ts.map +1 -1
  96. package/lib/src/auth.js +29 -4
  97. package/lib/src/auth.js.map +1 -1
  98. package/lib/src/css-variables.d.ts +17 -17
  99. package/lib/src/embed/app.d.ts +60 -32
  100. package/lib/src/embed/app.d.ts.map +1 -1
  101. package/lib/src/embed/app.js +11 -4
  102. package/lib/src/embed/app.js.map +1 -1
  103. package/lib/src/embed/app.spec.js +34 -1
  104. package/lib/src/embed/app.spec.js.map +1 -1
  105. package/lib/src/embed/base.d.ts +2 -2
  106. package/lib/src/embed/base.js +2 -2
  107. package/lib/src/embed/bodyless-conversation.d.ts +5 -5
  108. package/lib/src/embed/bodyless-conversation.js +4 -4
  109. package/lib/src/embed/conversation.d.ts +43 -30
  110. package/lib/src/embed/conversation.d.ts.map +1 -1
  111. package/lib/src/embed/conversation.js +11 -11
  112. package/lib/src/embed/conversation.js.map +1 -1
  113. package/lib/src/embed/conversation.spec.js +27 -0
  114. package/lib/src/embed/conversation.spec.js.map +1 -1
  115. package/lib/src/embed/liveboard.d.ts +40 -34
  116. package/lib/src/embed/liveboard.d.ts.map +1 -1
  117. package/lib/src/embed/liveboard.js +1 -1
  118. package/lib/src/embed/liveboard.js.map +1 -1
  119. package/lib/src/embed/liveboard.spec.js +1 -1
  120. package/lib/src/embed/liveboard.spec.js.map +1 -1
  121. package/lib/src/embed/sage.d.ts +5 -5
  122. package/lib/src/embed/sage.js +1 -1
  123. package/lib/src/embed/search-bar.d.ts +7 -7
  124. package/lib/src/embed/search-bar.js +1 -1
  125. package/lib/src/embed/search.d.ts +13 -12
  126. package/lib/src/embed/search.d.ts.map +1 -1
  127. package/lib/src/embed/search.js.map +1 -1
  128. package/lib/src/embed/ts-embed.d.ts +3 -3
  129. package/lib/src/embed/ts-embed.d.ts.map +1 -1
  130. package/lib/src/embed/ts-embed.js +12 -6
  131. package/lib/src/embed/ts-embed.js.map +1 -1
  132. package/lib/src/embed/ts-embed.spec.js +35 -0
  133. package/lib/src/embed/ts-embed.spec.js.map +1 -1
  134. package/lib/src/react/index.d.ts +15 -15
  135. package/lib/src/react/index.js +12 -12
  136. package/lib/src/tokenizedFetch.d.ts +1 -1
  137. package/lib/src/tokenizedFetch.js +1 -1
  138. package/lib/src/types.d.ts +294 -255
  139. package/lib/src/types.d.ts.map +1 -1
  140. package/lib/src/types.js +206 -200
  141. package/lib/src/types.js.map +1 -1
  142. package/lib/src/utils/graphql/answerService/answerService.d.ts +4 -2
  143. package/lib/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  144. package/lib/src/utils/graphql/answerService/answerService.js +5 -3
  145. package/lib/src/utils/graphql/answerService/answerService.js.map +1 -1
  146. package/lib/src/utils/graphql/answerService/answerService.spec.js +55 -0
  147. package/lib/src/utils/graphql/answerService/answerService.spec.js.map +1 -1
  148. package/lib/src/utils.d.ts +9 -0
  149. package/lib/src/utils.d.ts.map +1 -1
  150. package/lib/src/utils.js +8 -0
  151. package/lib/src/utils.js.map +1 -1
  152. package/package.json +1 -1
  153. package/src/auth.ts +29 -4
  154. package/src/css-variables.ts +17 -17
  155. package/src/embed/app.spec.ts +46 -1
  156. package/src/embed/app.ts +72 -35
  157. package/src/embed/base.ts +2 -2
  158. package/src/embed/bodyless-conversation.ts +5 -5
  159. package/src/embed/conversation.spec.ts +37 -0
  160. package/src/embed/conversation.ts +55 -38
  161. package/src/embed/liveboard.spec.ts +1 -1
  162. package/src/embed/liveboard.ts +40 -34
  163. package/src/embed/sage.ts +5 -5
  164. package/src/embed/search-bar.tsx +7 -7
  165. package/src/embed/search.ts +13 -12
  166. package/src/embed/ts-embed.spec.ts +42 -0
  167. package/src/embed/ts-embed.ts +11 -6
  168. package/src/react/index.tsx +15 -15
  169. package/src/tokenizedFetch.ts +1 -1
  170. package/src/types.ts +293 -254
  171. package/src/utils/graphql/answerService/answerService.spec.ts +62 -0
  172. package/src/utils/graphql/answerService/answerService.ts +6 -3
  173. package/src/utils.ts +14 -0
@@ -13,81 +13,81 @@ export interface SearchOptions {
13
13
  * Configuration for the Spotter sidebar.
14
14
  * Can be used in SpotterEmbed and AppEmbed.
15
15
  * @group Embed components
16
- * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
16
+ * @version SDK: 1.47.0 | ThoughtSpot: 26.4.0.cl
17
17
  */
18
18
  export interface SpotterSidebarViewConfig {
19
19
  /**
20
20
  * Controls the visibility of the past conversations sidebar.
21
21
  * @default false
22
- * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
22
+ * @version SDK: 1.47.0 | ThoughtSpot: 26.4.0.cl
23
23
  */
24
24
  enablePastConversationsSidebar?: boolean;
25
25
  /**
26
26
  * Custom title text for the sidebar header.
27
27
  * Defaults to translated "Spotter" text.
28
- * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
28
+ * @version SDK: 1.47.0 | ThoughtSpot: 26.4.0.cl
29
29
  */
30
30
  spotterSidebarTitle?: string;
31
31
  /**
32
32
  * Boolean to set the default expanded state of the sidebar.
33
33
  * @default false
34
- * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
34
+ * @version SDK: 1.47.0 | ThoughtSpot: 26.4.0.cl
35
35
  */
36
36
  spotterSidebarDefaultExpanded?: boolean;
37
37
  /**
38
38
  * Custom label text for the rename action in the conversation edit menu.
39
39
  * Defaults to translated "Rename" text.
40
- * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
40
+ * @version SDK: 1.47.0 | ThoughtSpot: 26.4.0.cl
41
41
  */
42
42
  spotterChatRenameLabel?: string;
43
43
  /**
44
44
  * Custom label text for the delete action in the conversation edit menu.
45
45
  * Defaults to translated "DELETE" text.
46
- * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
46
+ * @version SDK: 1.47.0 | ThoughtSpot: 26.4.0.cl
47
47
  */
48
48
  spotterChatDeleteLabel?: string;
49
49
  /**
50
50
  * Custom title text for the delete conversation confirmation modal.
51
51
  * Defaults to translated "Delete chat" text.
52
- * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
52
+ * @version SDK: 1.47.0 | ThoughtSpot: 26.4.0.cl
53
53
  */
54
54
  spotterDeleteConversationModalTitle?: string;
55
55
  /**
56
56
  * Custom message text for the past conversation banner alert.
57
57
  * Defaults to translated alert message.
58
- * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
58
+ * @version SDK: 1.47.0 | ThoughtSpot: 26.4.0.cl
59
59
  */
60
60
  spotterPastConversationAlertMessage?: string;
61
61
  /**
62
62
  * Custom URL for the documentation/best practices link.
63
63
  * Defaults to ThoughtSpot docs URL based on release version.
64
64
  * Note: URL must include the protocol (e.g., `https://www.example.com`).
65
- * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
65
+ * @version SDK: 1.47.0 | ThoughtSpot: 26.4.0.cl
66
66
  */
67
67
  spotterDocumentationUrl?: string;
68
68
  /**
69
69
  * Custom label text for the best practices button in the footer.
70
70
  * Defaults to translated "Best Practices" text.
71
- * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
71
+ * @version SDK: 1.47.0 | ThoughtSpot: 26.4.0.cl
72
72
  */
73
73
  spotterBestPracticesLabel?: string;
74
74
  /**
75
75
  * Number of conversations to fetch per batch when loading conversation history.
76
76
  * @default 30
77
- * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
77
+ * @version SDK: 1.47.0 | ThoughtSpot: 26.4.0.cl
78
78
  */
79
79
  spotterConversationsBatchSize?: number;
80
80
  /**
81
81
  * Custom title text for the "New Chat" button in the sidebar.
82
82
  * Defaults to translated "New Chat" text.
83
- * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
83
+ * @version SDK: 1.47.0 | ThoughtSpot: 26.4.0.cl
84
84
  */
85
85
  spotterNewChatButtonTitle?: string;
86
86
  }
87
87
  /**
88
88
  * Configuration for customizing Spotter chat UI branding.
89
- * @group Embed components
90
89
  * @version SDK: 1.46.0 | ThoughtSpot: 26.4.0.cl
90
+ * @group Embed components
91
91
  */
92
92
  export interface SpotterChatViewConfig {
93
93
  /**
@@ -126,6 +126,7 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
126
126
  * but still display the selected data source.
127
127
  *
128
128
  * Supported embed types: `SpotterEmbed`
129
+ * @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
129
130
  * @example
130
131
  * ```js
131
132
  * const embed = new SpotterEmbed('#tsEmbed', {
@@ -133,13 +134,13 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
133
134
  * disableSourceSelection : true,
134
135
  * })
135
136
  * ```
136
- * @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
137
137
  */
138
138
  disableSourceSelection?: boolean;
139
139
  /**
140
140
  * hideSourceSelection : Hide data source selection
141
141
  *
142
142
  * Supported embed types: `SpotterEmbed`
143
+ * @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
143
144
  * @example
144
145
  * ```js
145
146
  * const embed = new SpotterEmbed('#tsEmbed', {
@@ -147,15 +148,14 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
147
148
  * hideSourceSelection : true,
148
149
  * })
149
150
  * ```
150
- * @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
151
151
  */
152
152
  hideSourceSelection?: boolean;
153
153
  /**
154
154
  * Flag to control Data panel experience
155
155
  *
156
156
  * Supported embed types: `SageEmbed`, `AppEmbed`, `SearchBarEmbed`, `LiveboardEmbed`, `SearchEmbed`
157
+ * @deprecated from SDK: 1.46.0 | ThoughtSpot Cloud: 26.3.0.cl
157
158
  * @default true
158
- * @deprecated from SDK 1.46.0 | ThoughtSpot Cloud: 26.3.0.cl
159
159
  * @example
160
160
  * ```js
161
161
  * // Replace <EmbedComponent> with embed component name. For example, SageEmbed, AppEmbed, or SearchBarEmbed
@@ -172,6 +172,7 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
172
172
  * default is false.
173
173
  *
174
174
  * Supported embed types: `SpotterEmbed`
175
+ * @version SDK: 1.36.0 | ThoughtSpot: 10.5.0.cl
175
176
  * @example
176
177
  * ```js
177
178
  * const embed = new SpotterEmbed('#tsEmbed', {
@@ -179,7 +180,6 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
179
180
  * showSpotterLimitations : true,
180
181
  * })
181
182
  * ```
182
- * @version SDK: 1.36.0 | ThoughtSpot: 10.5.0.cl
183
183
  */
184
184
  showSpotterLimitations?: boolean;
185
185
  /**
@@ -187,6 +187,7 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
187
187
  * the initial screen of the conversation.
188
188
  *
189
189
  * Supported embed types: `SpotterEmbed`
190
+ * @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
190
191
  * @example
191
192
  * ```js
192
193
  * const embed = new SpotterEmbed('#tsEmbed', {
@@ -194,7 +195,6 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
194
195
  * hideSampleQuestions : true,
195
196
  * })
196
197
  * ```
197
- * @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
198
198
  */
199
199
  hideSampleQuestions?: boolean;
200
200
  /**
@@ -202,6 +202,7 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
202
202
  * visualization, or Liveboard.
203
203
  *
204
204
  * Supported embed types: `SpotterEmbed`
205
+ * @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
205
206
  * @example
206
207
  * ```js
207
208
  * const embed = new SpotterEmbed('#tsEmbed', {
@@ -215,7 +216,6 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
215
216
  * ],
216
217
  * })
217
218
  * ```
218
- * @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
219
219
  */
220
220
  runtimeFilters?: RuntimeFilter[];
221
221
  /**
@@ -226,14 +226,15 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
226
226
  * (default behavior before SDK 1.45.0).
227
227
  *
228
228
  * Supported embed types: `SpotterEmbed`
229
- * @default true
230
229
  * @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
230
+ * @default true
231
231
  */
232
232
  excludeRuntimeFiltersfromURL?: boolean;
233
233
  /**
234
234
  * The list of runtime parameters to apply to the conversation.
235
235
  *
236
236
  * Supported embed types: `SpotterEmbed`
237
+ * @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
237
238
  * @example
238
239
  * ```js
239
240
  * const embed = new SpotterEmbed('#tsEmbed', {
@@ -246,7 +247,6 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
246
247
  * ],
247
248
  * })
248
249
  * ```
249
- * @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
250
250
  */
251
251
  runtimeParameters?: RuntimeParameter[];
252
252
  /**
@@ -257,14 +257,15 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
257
257
  * the iframe URL instead (default behavior before SDK 1.45.0).
258
258
  *
259
259
  * Supported embed types: `SpotterEmbed`
260
- * @default true
261
260
  * @version SDK: 1.41.0 | ThoughtSpot: 10.13.0.cl
261
+ * @default true
262
262
  */
263
263
  excludeRuntimeParametersfromURL?: boolean;
264
264
  /**
265
265
  * updatedSpotterChatPrompt : Controls the updated spotter chat prompt.
266
266
  *
267
267
  * Supported embed types: `SpotterEmbed`
268
+ * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
268
269
  * @default false
269
270
  * @example
270
271
  * ```js
@@ -273,17 +274,30 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
273
274
  * updatedSpotterChatPrompt : true,
274
275
  * })
275
276
  * ```
276
- * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
277
277
  */
278
278
  updatedSpotterChatPrompt?: boolean;
279
+ /**
280
+ * Controls the visibility of the past conversations sidebar.
281
+ *
282
+ * Supported embed types: `SpotterEmbed`
283
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
284
+ * @deprecated from SDK: 1.47.0 | ThoughtSpot: 26.4.0.cl
285
+ * Use `spotterSidebarConfig.enablePastConversationsSidebar`.
286
+ * @default false
287
+ */
288
+ enablePastConversationsSidebar?: boolean;
279
289
  /**
280
290
  * Configuration for the Spotter sidebar UI customization.
281
291
  *
282
292
  * Supported embed types: `SpotterEmbed`, `AppEmbed`
293
+ * @version SDK: 1.47.0 | ThoughtSpot: 26.4.0.cl
283
294
  * @example
284
295
  * ```js
285
296
  * const embed = new SpotterEmbed('#tsEmbed', {
286
- * ... //other embed view config
297
+ * worksheetId: 'worksheet-id',
298
+ * // Deprecated standalone flag (backward compatibility)
299
+ * enablePastConversationsSidebar: false,
300
+ * // Recommended config; this value takes precedence
287
301
  * spotterSidebarConfig: {
288
302
  * enablePastConversationsSidebar: true,
289
303
  * spotterSidebarTitle: 'My Conversations',
@@ -291,7 +305,6 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
291
305
  * },
292
306
  * })
293
307
  * ```
294
- * @version SDK: 1.46.0 | ThoughtSpot: 26.3.0.cl
295
308
  */
296
309
  spotterSidebarConfig?: SpotterSidebarViewConfig;
297
310
  /**
@@ -299,6 +312,7 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
299
312
  * branding in tool response cards.
300
313
  *
301
314
  * Supported embed types: `SpotterEmbed`
315
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.4.0.cl
302
316
  * @example
303
317
  * ```js
304
318
  * const embed = new SpotterEmbed('#tsEmbed', {
@@ -309,20 +323,20 @@ export interface SpotterEmbedViewConfig extends Omit<BaseViewConfig, 'primaryAct
309
323
  * },
310
324
  * })
311
325
  * ```
312
- * @version SDK: 1.46.0 | ThoughtSpot: 26.4.0.cl
313
326
  */
314
327
  spotterChatConfig?: SpotterChatViewConfig;
315
328
  }
316
329
  /**
317
330
  * The configuration for the embedded spotterEmbed options.
318
- * @deprecated from SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
319
331
  * Use {@link SpotterEmbedViewConfig} instead
332
+ * @deprecated from SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
320
333
  * @group Embed components
321
334
  */
322
335
  export interface ConversationViewConfig extends SpotterEmbedViewConfig {
323
336
  }
324
337
  /**
325
338
  * Embed ThoughtSpot AI Conversation.
339
+ * @version SDK: 1.37.0 | ThoughtSpot: 10.9.0.cl
326
340
  * @group Embed components
327
341
  * @example
328
342
  * ```js
@@ -334,7 +348,6 @@ export interface ConversationViewConfig extends SpotterEmbedViewConfig {
334
348
  * });
335
349
  * conversation.render();
336
350
  * ```
337
- * @version SDK: 1.37.0 | ThoughtSpot: 10.9.0.cl
338
351
  */
339
352
  export declare class SpotterEmbed extends TsEmbed {
340
353
  protected viewConfig: SpotterEmbedViewConfig;
@@ -345,8 +358,9 @@ export declare class SpotterEmbed extends TsEmbed {
345
358
  }
346
359
  /**
347
360
  * Embed ThoughtSpot AI Conversation.
348
- * @deprecated from SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
349
361
  * Use {@link SpotterEmbed} instead
362
+ * @version SDK: 1.37.0 | ThoughtSpot: 10.9.0.cl
363
+ * @deprecated from SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
350
364
  * @group Embed components
351
365
  * @example
352
366
  * ```js
@@ -358,7 +372,6 @@ export declare class SpotterEmbed extends TsEmbed {
358
372
  * });
359
373
  * conversation.render();
360
374
  * ```
361
- * @version SDK: 1.37.0 | ThoughtSpot: 10.9.0.cl
362
375
  */
363
376
  export declare class ConversationEmbed extends SpotterEmbed {
364
377
  protected viewConfig: ConversationViewConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["conversation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAS,cAAc,EAAE,aAAa,EAAE,gBAAgB,EAAsC,MAAM,UAAU,CAAC;AACtH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAGrC;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;;;;GAKG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,6BAA6B,CAAC,EAAE,OAAO,CAAC;IACxC;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,mCAAmC,CAAC,EAAE,MAAM,CAAC;IAC7C;;;;OAIG;IACH,mCAAmC,C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AC;IAC1C;;;;;;;;;;;;;OAaG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC;;;;;;;;OAQG;IACH,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,oBAAoB,CAAC,EAAE,wBAAwB,CAAC;IAChD;;;;;;;;;;;;;;;;OAgBG;IACH,iBAAiB,CAAC,EAAE,qBAAqB,CAAC;CAC7C;AAED;;;;;GAKG;AAEH,MAAM,WAAW,sBAAuB,SAAQ,sBAAsB;CAAG;AAEzE;;;;;;;;;;;;;;GAcG;AACH,qBAAa,YAAa,SAAQ,OAAO;IACD,SAAS,CAAC,UAAU,EAAE,sBAAsB;gBAApE,SAAS,EAAE,WAAW,EAAY,UAAU,EAAE,sBAAsB;IAUhF,SAAS,CAAC,oBAAoB;IAsGvB,YAAY,IAAI,MAAM;IAmChB,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC;CAO/C;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,iBAAkB,SAAQ,YAAY;IACX,SAAS,CAAC,UAAU,EAAE,sBAAsB;gBAApE,SAAS,EAAE,WAAW,EAAY,UAAU,EAAE,sBAAsB;CASnF"}
@@ -27,9 +27,9 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
27
27
  * Setting `fullHeight` to `false` fetches visualizations
28
28
  * incrementally as users scroll the page to view the charts and tables.
29
29
  *
30
- * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 7.2.1
31
30
  *
32
31
  * Supported embed types: `LiveboardEmbed`
32
+ * @version SDK: 1.1.0 | ThoughtSpot: ts7.may.cl, 7.2.1
33
33
  * @example
34
34
  * ```js
35
35
  * const embed = new LiveboardEmbed('#embed', {
@@ -40,14 +40,14 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
40
40
  */
41
41
  fullHeight?: boolean;
42
42
  /**
43
- * This is the minimum height(in pixels) for a full-height Liveboard.
43
+ * This is the minimum height (in pixels) for a full-height Liveboard.
44
44
  * Setting this height helps resolve issues with empty Liveboards and
45
45
  * other screens navigable from a Liveboard.
46
46
  *
47
47
  * Supported embed types: `LiveboardEmbed`
48
48
  * @version SDK: 1.5.0 | ThoughtSpot: ts7.oct.cl, 7.2.1
49
- * @default 500
50
49
  * @deprecated Use `minimumHeight` instead.
50
+ * @default 500
51
51
  * @example
52
52
  * ```js
53
53
  * const embed = new LiveboardEmbed('#embed', {
@@ -76,7 +76,9 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
76
76
  */
77
77
  minimumHeight?: number;
78
78
  /**
79
- * @Deprecated If set to true, the context menu in visualizations will be enabled.
79
+ * If set to true, the context menu in visualizations will be enabled.
80
+ * @version SDK: 1.1.0 | ThoughtSpot: 8.1.0.sw
81
+ * @deprecated this option is deprecated.
80
82
  * @example
81
83
  * ```js
82
84
  * const embed = new LiveboardEmbed('#tsEmbed', {
@@ -84,7 +86,6 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
84
86
  * enableVizTransformations:true,
85
87
  * })
86
88
  * ```
87
- * @version: SDK: 1.1.0 | ThoughtSpot: 8.1.0.sw
88
89
  */
89
90
  enableVizTransformations?: boolean;
90
91
  /**
@@ -97,8 +98,9 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
97
98
  * ```js
98
99
  * const embed = new LiveboardEmbed('#tsEmbed', {
99
100
  * ... //other embed view config
100
- * liveboardId:id of liveboard,
101
+ * liveboardId:'id of liveboard',
101
102
  * })
103
+ * ```
102
104
  */
103
105
  liveboardId?: string;
104
106
  /**
@@ -151,6 +153,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
151
153
  * 'f547ec54-2a37-4516-a222-2b06719af726'
152
154
  * ]
153
155
  * })
156
+ * ```
154
157
  */
155
158
  visibleVizs?: string[];
156
159
  /**
@@ -178,6 +181,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
178
181
  * Specify the tab ID.
179
182
  *
180
183
  * Supported embed types: `LiveboardEmbed`
184
+ * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
181
185
  * @example
182
186
  * ```js
183
187
  * const embed = new LiveboardEmbed('#tsEmbed', {
@@ -185,7 +189,6 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
185
189
  * activeTabId:'id-1234',
186
190
  * })
187
191
  * ```
188
- * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
189
192
  */
190
193
  activeTabId?: string;
191
194
  /**
@@ -194,6 +197,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
194
197
  * that includes specific filter selections.
195
198
  *
196
199
  * Supported embed types: `LiveboardEmbed`
200
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.4.0.cl
197
201
  * @example
198
202
  * ```js
199
203
  * const embed = new LiveboardEmbed('#tsEmbed', {
@@ -202,7 +206,6 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
202
206
  * activeTabId: 'tab-guid',
203
207
  * })
204
208
  * ```
205
- * @version SDK: 1.46.0 | ThoughtSpot: 26.4.0.cl
206
209
  */
207
210
  personalizedViewId?: string;
208
211
  /**
@@ -223,13 +226,14 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
223
226
  * Show a preview image of the visualization before the visualization loads.
224
227
  * Only works for visualizations embeds with a viz id.
225
228
  *
226
- * Also, viz snashot should be enabled in the ThoughtSpot instance.
229
+ * Also, viz snapshot should be enabled in the ThoughtSpot instance.
227
230
  * Contact ThoughtSpot support to enable this feature.
228
231
  *
229
- * Since, this will show preview images, be careful that it may show
232
+ * Since this will show preview images, be careful that it may show
230
233
  * undesired data to the user when using row level security.
231
234
  *
232
235
  * Supported embed types: `LiveboardEmbed`
236
+ * @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl
233
237
  * @example
234
238
  * ```js
235
239
  * const embed = new LiveboardEmbed('#tsEmbed', {
@@ -239,7 +243,6 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
239
243
  * });
240
244
  * embed.render();
241
245
  * ```
242
- * @version SDK: 1.32.0 | ThoughtSpot: 10.0.0.cl
243
246
  */
244
247
  showPreviewLoader?: boolean;
245
248
  /**
@@ -247,13 +250,14 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
247
250
  *
248
251
  * Supported embed types: `LiveboardEmbed`
249
252
  * @hidden
250
- * @version SDK: 1.35.0 | ThoughtSpot:10.6.0.cl
253
+ * @version SDK: 1.35.0 | ThoughtSpot: 10.6.0.cl
251
254
  * @example
252
255
  * ```js
253
256
  * const embed = new LiveboardEmbed('#tsEmbed', {
254
257
  * ... //other embed view config
255
- * oAuthPollingInterval: value in milliseconds,
258
+ * oAuthPollingInterval: 30000,
256
259
  * })
260
+ * ```
257
261
  */
258
262
  oAuthPollingInterval?: number;
259
263
  /**
@@ -261,35 +265,38 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
261
265
  *
262
266
  * Supported embed types: `LiveboardEmbed`
263
267
  * @hidden
264
- * @version SDK: 1.35.0 | ThoughtSpot:10.6.0.cl
268
+ * @version SDK: 1.35.0 | ThoughtSpot: 10.6.0.cl
265
269
  * @example
266
270
  * ```js
267
271
  * const embed = new LiveboardEmbed('#tsEmbed', {
268
272
  * ... //other embed view config
269
273
  * isForceRedirect: false,
270
274
  * })
275
+ * ```
271
276
  */
272
277
  isForceRedirect?: boolean;
273
278
  /**
274
279
  * The source connection ID for authentication.
275
- * @hidden
276
- * @version SDK: 1.35.0 | ThoughtSpot:10.6.0.cl
277
280
  *
278
281
  * Supported embed types: `LiveboardEmbed`
282
+ * @hidden
283
+ * @version SDK: 1.35.0 | ThoughtSpot: 10.6.0.cl
279
284
  * @example
280
285
  * ```js
281
286
  * const embed = new LiveboardEmbed('#tsEmbed', {
282
287
  * ... //other embed view config
283
288
  * dataSourceId: '',
284
289
  * })
290
+ * ```
285
291
  */
286
292
  dataSourceId?: string;
287
293
  /**
288
- * The list of tab IDs to hide from the embedded.
289
- * This Tabs will be hidden from their respective LBs.
290
- * Use this to hide an tabID.
294
+ * The list of tab IDs to hide from the embedded Liveboard.
295
+ * These tabs will be hidden from their respective Liveboards.
296
+ * Use this to hide a tab ID.
291
297
  *
292
298
  * Supported embed types: `LiveboardEmbed`
299
+ * @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
293
300
  * @example
294
301
  * ```js
295
302
  * const embed = new LiveboardEmbed('#tsEmbed', {
@@ -300,7 +307,6 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
300
307
  * ]
301
308
  * });
302
309
  * ```
303
- * @version SDK: 1.26.0 | ThoughtSpot: 9.7.0.cl, 10.1.0.sw
304
310
  */
305
311
  hiddenTabs?: string[];
306
312
  /**
@@ -324,7 +330,8 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
324
330
  */
325
331
  visibleTabs?: string[];
326
332
  /**
327
- * This flag is used to enable/disable the styling and grouping in a Liveboard
333
+ * This flag is used to enable/disable the styling and grouping in a Liveboard. Use {@link isLiveboardMasterpiecesEnabled} instead.
334
+ * @deprecated This flag is deprecated.
328
335
  *
329
336
  * Supported embed types: `LiveboardEmbed`, `AppEmbed`
330
337
  * @type {boolean}
@@ -390,6 +397,9 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
390
397
  /**
391
398
  * This flag is used to enable the full height lazy load data.
392
399
  *
400
+ * @type {boolean}
401
+ * @version SDK: 1.40.0 | ThoughtSpot: 10.12.0.cl
402
+ * @default false
393
403
  * @example
394
404
  * ```js
395
405
  * const embed = new LiveboardEmbed('#embed-container', {
@@ -398,33 +408,29 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
398
408
  * lazyLoadingForFullHeight: true,
399
409
  * })
400
410
  * ```
401
- *
402
- * @type {boolean}
403
- * @default false
404
- * @version SDK: 1.40.0 | ThoughtSpot:10.12.0.cl
405
411
  */
406
412
  lazyLoadingForFullHeight?: boolean;
407
413
  /**
408
414
  * The margin to be used for lazy loading.
409
415
  *
410
416
  * For example, if the margin is set to '10px',
411
- * the visualization will be loaded 10px before the its top edge is visible in the
417
+ * the visualization will be loaded 10px before its top edge is visible in the
412
418
  * viewport.
413
419
  *
414
420
  * The format is similar to CSS margin.
415
421
  *
422
+ * @type {string}
423
+ * @version SDK: 1.40.0 | ThoughtSpot: 10.12.0.cl
416
424
  * @example
417
425
  * ```js
418
426
  * const embed = new LiveboardEmbed('#embed-container', {
419
427
  * // ...other options
420
428
  * fullHeight: true,
421
429
  * lazyLoadingForFullHeight: true,
422
- * // Using 0px, the visualization will be only loaded when its visible in the viewport.
430
+ * // Using 0px, the visualization will be only loaded when it's visible in the viewport.
423
431
  * lazyLoadingMargin: '0px',
424
432
  * })
425
433
  * ```
426
- * @type {string}
427
- * @version SDK: 1.40.0 | ThoughtSpot:10.12.0.cl
428
434
  */
429
435
  lazyLoadingMargin?: string;
430
436
  /**
@@ -432,6 +438,8 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
432
438
  * of the spotter underneath the chat input.
433
439
  * default is false.
434
440
  *
441
+ * @type {boolean}
442
+ * @version SDK: 1.41.1 | ThoughtSpot: 10.5.0.cl
435
443
  * @example
436
444
  * ```js
437
445
  * const embed = new LiveboardEmbed('#embed-container', {
@@ -439,14 +447,13 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
439
447
  * showSpotterLimitations: true,
440
448
  * })
441
449
  * ```
442
- * @type {boolean}
443
- * @version SDK: 1.41.1 | ThoughtSpot: 10.5.0.cl
444
450
  */
445
451
  showSpotterLimitations?: boolean;
446
452
  /**
447
453
  * updatedSpotterChatPrompt : Controls the updated spotter chat prompt.
448
454
  *
449
455
  * Supported embed types: `LiveboardEmbed`
456
+ * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
450
457
  * @default false
451
458
  * @example
452
459
  * ```js
@@ -455,7 +462,6 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
455
462
  * updatedSpotterChatPrompt : true,
456
463
  * })
457
464
  * ```
458
- * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
459
465
  */
460
466
  updatedSpotterChatPrompt?: boolean;
461
467
  /**
@@ -463,6 +469,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
463
469
  * branding in tool response cards.
464
470
  *
465
471
  * Supported embed types: `LiveboardEmbed`
472
+ * @version SDK: 1.46.0 | ThoughtSpot: 26.4.0.cl
466
473
  * @example
467
474
  * ```js
468
475
  * const embed = new LiveboardEmbed('#tsEmbed', {
@@ -473,7 +480,6 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
473
480
  * },
474
481
  * })
475
482
  * ```
476
- * @version SDK: 1.46.0 | ThoughtSpot: 26.4.0.cl
477
483
  */
478
484
  spotterChatConfig?: SpotterChatViewConfig;
479
485
  }
@@ -481,6 +487,7 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
481
487
  * Embed a ThoughtSpot Liveboard or visualization. When rendered it already
482
488
  * waits for the authentication to complete, so you need not wait for
483
489
  * `AuthStatus.SUCCESS`.
490
+ * @group Embed components
484
491
  * @example
485
492
  * ```js
486
493
  * import { .. } from '@thoughtspot/visual-embed-sdk';
@@ -490,7 +497,6 @@ export interface LiveboardViewConfig extends BaseViewConfig, LiveboardOtherViewC
490
497
  * // .. other params here.
491
498
  * })
492
499
  * ```
493
- * @group Embed components
494
500
  */
495
501
  export declare class LiveboardEmbed extends V1Embed {
496
502
  protected viewConfig: LiveboardViewConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"liveboard.d.ts","sourceRoot":"","sources":["liveboard.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EAKH,WA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