@@ -338,6 +338,45 @@ export interface LiveboardViewConfig
338
338
* ```
339
339
*/
340
340
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 ;
341
380
}
342
381
343
382
/**
@@ -399,6 +438,9 @@ export class LiveboardEmbed extends V1Embed {
399
438
enable2ColumnLayout,
400
439
dataPanelV2 = false ,
401
440
enableCustomColumnGroups = false ,
441
+ oAuthPollingInterval,
442
+ isForceRedirect,
443
+ dataSourceId,
402
444
} = this . viewConfig ;
403
445
404
446
const preventLiveboardFilterRemoval = this . viewConfig . preventLiveboardFilterRemoval
@@ -445,6 +487,18 @@ export class LiveboardEmbed extends V1Embed {
445
487
params [ Param . enableAskSage ] = enableAskSage ;
446
488
}
447
489
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
+
448
502
params [ Param . LiveboardHeaderSticky ] = isLiveboardHeaderSticky ;
449
503
params [ Param . LiveboardHeaderV2 ] = isLiveboardCompactHeaderEnabled ;
450
504
params [ Param . ShowLiveboardVerifiedBadge ] = showLiveboardVerifiedBadge ;
0 commit comments