@@ -3654,6 +3654,20 @@ export enum EmbedEvent {
36543654 * @version SDK: 1.45.2 | ThoughtSpot: 26.3.0.cl
36553655 */
36563656 RefreshAuthToken = 'RefreshAuthToken' ,
3657+ /**
3658+ * Emitted when a user clicks the **Send Test Email** button in the
3659+ * Liveboard schedule modal. Requires `isSendNowLiveboardSchedulingEnabled`
3660+ * to be enabled.
3661+ * @example
3662+ * ```js
3663+ * liveboardEmbed.on(EmbedEvent.SendTestScheduleEmail, (payload) => {
3664+ * console.log('Send test email', payload);
3665+ * // payload: { liveboardId: string, sendToSelf: boolean }
3666+ * })
3667+ * ```
3668+ * @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
3669+ */
3670+ SendTestScheduleEmail = 'sendTestScheduleEmail' ,
36573671}
36583672
36593673/**
@@ -5369,7 +5383,8 @@ export enum HostEvent {
53695383 * ```js
53705384 * // Get parameters from liveboard context
53715385 * import { ContextType } from '@thoughtspot/visual-embed-sdk';
5372- * liveboardEmbed.trigger(HostEvent.GetParameters, {}, ContextType.Liveboard).then((parameters) => {
5386+ * liveboardEmbed.trigger(HostEvent.GetParameters, {},
5387+ * ContextType.Liveboard).then((parameters) => {
53735388 * console.log('parameters', parameters);
53745389 * });
53755390 * ```
@@ -5715,14 +5730,34 @@ export enum HostEvent {
57155730 /**
57165731 * @hidden
57175732 * Get the current context of the embedded page.
5718- *
5733+ *
57195734 * @example
57205735 * ```js
57215736 * const context = await liveboardEmbed.trigger(HostEvent.GetPageContext);
57225737 * ```
57235738 * @version SDK: 1.45.0 | ThoughtSpot: 26.2.0.cl
57245739 */
57255740 GetPageContext = 'GetPageContext' ,
5741+ /**
5742+ * Trigger the **Send Test Email** action in the Liveboard schedule modal.
5743+ * Sends a test schedule email to self or all recipients.
5744+ * Requires `isSendNowLiveboardSchedulingEnabled` to be enabled.
5745+ * @example
5746+ * ```js
5747+ * liveboardEmbed.trigger(HostEvent.SendTestScheduleEmail, {
5748+ * sendToSelf: true,
5749+ * })
5750+ * ```
5751+ * @example
5752+ * ```js
5753+ * // Send to all recipients
5754+ * liveboardEmbed.trigger(HostEvent.SendTestScheduleEmail, {
5755+ * sendToSelf: false,
5756+ * })
5757+ * ```
5758+ * @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
5759+ */
5760+ SendTestScheduleEmail = 'sendTestScheduleEmail' ,
57265761}
57275762
57285763/**
@@ -5880,6 +5915,7 @@ export enum Param {
58805915 IsWYSIWYGLiveboardPDFEnabled = 'isWYSIWYGLiveboardPDFEnabled' ,
58815916 isLiveboardXLSXCSVDownloadEnabled = 'isLiveboardXLSXCSVDownloadEnabled' ,
58825917 isGranularXLSXCSVSchedulesEnabled = 'isGranularXLSXCSVSchedulesEnabled' ,
5918+ isSendNowLiveboardSchedulingEnabled = 'isSendNowLiveboardSchedulingEnabled' ,
58835919 isCentralizedLiveboardFilterUXEnabled = 'isCentralizedLiveboardFilterUXEnabled' ,
58845920 isLinkParametersEnabled = 'isLinkParametersEnabled' ,
58855921 EnablePastConversationsSidebar = 'enablePastConversationsSidebar' ,
@@ -7514,6 +7550,18 @@ export enum Action {
75147550 * @version SDK: 1.45.0 | ThoughtSpot: 26.4.0.cl
75157551 */
75167552 IncludeCurrentPeriod = 'includeCurrentPeriod' ,
7553+ /**
7554+ * The **Send Test Email** button in the Liveboard schedule modal.
7555+ * Allows sending a test schedule email to self or all recipients.
7556+ * Requires `isSendNowLiveboardSchedulingEnabled` to be enabled.
7557+ * @example
7558+ * ```js
7559+ * disabledActions: [Action.SendTestScheduleEmail]
7560+ * hiddenActions: [Action.SendTestScheduleEmail]
7561+ * ```
7562+ * @version SDK: 1.48.0 | ThoughtSpot Cloud: 26.5.0.cl
7563+ */
7564+ SendTestScheduleEmail = 'sendTestScheduleEmail' ,
75177565}
75187566export interface AnswerServiceType {
75197567 getAnswer ?: ( offset : number , batchSize : number ) => any ;
0 commit comments