@@ -338,6 +338,45 @@ export interface LiveboardViewConfig
338338 * ```
339339 */
340340 hideIrrelevantChipsInLiveboardTabs ?: boolean ;
341+
342+ /**
343+ * The Liveboard to run on regular intervals to fetch the cdw token.
344+ * @hidden
345+ * @version SDK: 1.35.0 | ThoughtSpot:10.6.0.cl
346+ * @example
347+ * ```js
348+ * const embed = new LiveboardEmbed('#embed-container', {
349+ * ... // other options
350+ * oAuthPollingInterval: value in milliseconds,
351+ * })
352+ */
353+ oAuthPollingInterval ?: number ;
354+
355+ /**
356+ * The Liveboard is set to force a token fetch during the initial load.
357+ * @hidden
358+ * @version SDK: 1.35.0 | ThoughtSpot:10.6.0.cl
359+ * @example
360+ * ```js
361+ * const embed = new LiveboardEmbed('#embed-container', {
362+ * ... // other options
363+ * isForceRedirect: false,
364+ * })
365+ */
366+ isForceRedirect ?: boolean ;
367+
368+ /**
369+ * The source connection ID for authentication.
370+ * @hidden
371+ * @version SDK: 1.35.0 | ThoughtSpot:10.6.0.cl
372+ * @example
373+ * ```js
374+ * const embed = new LiveboardEmbed('#embed-container', {
375+ * ... // other options
376+ * dataSourceId: '',
377+ * })
378+ */
379+ dataSourceId ?: string ;
341380}
342381
343382/**
@@ -399,6 +438,9 @@ export class LiveboardEmbed extends V1Embed {
399438 enable2ColumnLayout,
400439 dataPanelV2 = false ,
401440 enableCustomColumnGroups = false ,
441+ oAuthPollingInterval,
442+ isForceRedirect,
443+ dataSourceId,
402444 } = this . viewConfig ;
403445
404446 const preventLiveboardFilterRemoval = this . viewConfig . preventLiveboardFilterRemoval
@@ -445,6 +487,18 @@ export class LiveboardEmbed extends V1Embed {
445487 params [ Param . enableAskSage ] = enableAskSage ;
446488 }
447489
490+ if ( oAuthPollingInterval !== undefined ) {
491+ params [ Param . OauthPollingInterval ] = oAuthPollingInterval ;
492+ }
493+
494+ if ( isForceRedirect ) {
495+ params [ Param . IsForceRedirect ] = isForceRedirect ;
496+ }
497+
498+ if ( dataSourceId !== undefined ) {
499+ params [ Param . DataSourceId ] = dataSourceId ;
500+ }
501+
448502 params [ Param . LiveboardHeaderSticky ] = isLiveboardHeaderSticky ;
449503 params [ Param . LiveboardHeaderV2 ] = isLiveboardCompactHeaderEnabled ;
450504 params [ Param . ShowLiveboardVerifiedBadge ] = showLiveboardVerifiedBadge ;
0 commit comments