@thoughtspot/visual-embed-sdk 1.25.0-alpha.3 → 1.25.0-alpha.4

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 (69) hide show
  1. package/cjs/package.json +1 -1
  2. package/cjs/src/embed/app.d.ts +6 -6
  3. package/cjs/src/embed/liveboard.d.ts +9 -9
  4. package/cjs/src/types.d.ts +5 -5
  5. package/cjs/src/types.js +5 -5
  6. package/cjs/src/utils/graphql/answerService/answerService.d.ts +2 -1
  7. package/cjs/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  8. package/cjs/src/utils/graphql/answerService/answerService.js +3 -5
  9. package/cjs/src/utils/graphql/answerService/answerService.js.map +1 -1
  10. package/cjs/src/utils/graphql/answerService/answerService.spec.js +1 -1
  11. package/cjs/src/utils/graphql/answerService/answerService.spec.js.map +1 -1
  12. package/cjs/src/utils/graphql/sourceService.d.ts.map +1 -1
  13. package/cjs/src/utils/graphql/sourceService.js +3 -1
  14. package/cjs/src/utils/graphql/sourceService.js.map +1 -1
  15. package/dist/src/embed/app.d.ts +6 -6
  16. package/dist/src/embed/liveboard.d.ts +9 -9
  17. package/dist/src/types.d.ts +5 -5
  18. package/dist/src/utils/graphql/answerService/answerService.d.ts +2 -1
  19. package/dist/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  20. package/dist/src/utils/graphql/sourceService.d.ts.map +1 -1
  21. package/dist/tsembed-react.es.js +12 -12
  22. package/dist/tsembed-react.js +12 -12
  23. package/dist/tsembed.es.js +12 -12
  24. package/dist/tsembed.js +12 -12
  25. package/dist/visual-embed-sdk-react-full.d.ts +22 -21
  26. package/dist/visual-embed-sdk-react.d.ts +22 -21
  27. package/dist/visual-embed-sdk.d.ts +22 -21
  28. package/lib/package.json +1 -1
  29. package/lib/src/embed/app.d.ts +6 -6
  30. package/lib/src/embed/liveboard.d.ts +9 -9
  31. package/lib/src/types.d.ts +5 -5
  32. package/lib/src/types.js +5 -5
  33. package/lib/src/utils/graphql/answerService/answerService.d.ts +2 -1
  34. package/lib/src/utils/graphql/answerService/answerService.d.ts.map +1 -1
  35. package/lib/src/utils/graphql/answerService/answerService.js +3 -5
  36. package/lib/src/utils/graphql/answerService/answerService.js.map +1 -1
  37. package/lib/src/utils/graphql/answerService/answerService.spec.js +1 -1
  38. package/lib/src/utils/graphql/answerService/answerService.spec.js.map +1 -1
  39. package/lib/src/utils/graphql/sourceService.d.ts.map +1 -1
  40. package/lib/src/utils/graphql/sourceService.js +3 -1
  41. package/lib/src/utils/graphql/sourceService.js.map +1 -1
  42. package/lib/src/visual-embed-sdk.d.ts +22 -21
  43. package/package.json +1 -1
  44. package/src/embed/app.ts +6 -6
  45. package/src/embed/liveboard.ts +9 -9
  46. package/src/types.ts +5 -5
  47. package/src/utils/graphql/answerService/answerService.spec.ts +1 -1
  48. package/src/utils/graphql/answerService/answerService.ts +3 -5
  49. package/src/utils/graphql/sourceService.ts +4 -1
  50. package/cjs/src/utils/answerService.d.ts +0 -10
  51. package/cjs/src/utils/answerService.d.ts.map +0 -1
  52. package/cjs/src/utils/answerService.js +0 -61
  53. package/cjs/src/utils/answerService.js.map +0 -1
  54. package/cjs/src/utils/answerService.spec.d.ts +0 -2
  55. package/cjs/src/utils/answerService.spec.d.ts.map +0 -1
  56. package/cjs/src/utils/answerService.spec.js +0 -31
  57. package/cjs/src/utils/answerService.spec.js.map +0 -1
  58. package/dist/src/utils/answerService.d.ts +0 -10
  59. package/dist/src/utils/answerService.d.ts.map +0 -1
  60. package/dist/src/utils/answerService.spec.d.ts +0 -2
  61. package/dist/src/utils/answerService.spec.d.ts.map +0 -1
  62. package/lib/src/utils/answerService.d.ts +0 -10
  63. package/lib/src/utils/answerService.d.ts.map +0 -1
  64. package/lib/src/utils/answerService.js +0 -57
  65. package/lib/src/utils/answerService.js.map +0 -1
  66. package/lib/src/utils/answerService.spec.d.ts +0 -2
  67. package/lib/src/utils/answerService.spec.d.ts.map +0 -1
  68. package/lib/src/utils/answerService.spec.js +0 -29
  69. package/lib/src/utils/answerService.spec.js.map +0 -1
@@ -1078,11 +1078,11 @@ var HostEvent;
1078
1078
  * @param - execute - executes the existing / updated query
1079
1079
  * @example
1080
1080
  * ```js
1081
- * searchEmbed.trigger(HostEvent.Search, {
1082
- * searchQuery: "[sales] by [item type],
1083
- * dataSources: ["cd252e5c-b552-49a8-821d-3eadaa049cca"]
1084
- * execute: true
1085
- * })
1081
+ * searchembed.trigger(HostEvent.Search, {
1082
+ searchQuery: "[sales] by [item type]",
1083
+ dataSources: ["cd252e5c-b552-49a8-821d-3eadaa049cca"],
1084
+ execute: true
1085
+ });
1086
1086
  * ```
1087
1087
  */
1088
1088
  HostEvent["Search"] = "search";
@@ -11216,7 +11216,9 @@ async function getSourceDetail(thoughtSpotHost, sourceId) {
11216
11216
  thoughtSpotHost,
11217
11217
  });
11218
11218
  const souceDetails = details[0];
11219
- sourceDetailCache.set(sourceId, souceDetails);
11219
+ if (details) {
11220
+ sourceDetailCache.set(sourceId, souceDetails);
11221
+ }
11220
11222
  return souceDetails;
11221
11223
  }
11222
11224
 
@@ -11362,13 +11364,11 @@ class AnswerService {
11362
11364
  *
11363
11365
  * @param userLocale
11364
11366
  * @param omitInfo Omit the download Info on top of the CSV
11367
+ * @param includeInfo
11365
11368
  * @returns Response
11366
11369
  */
11367
- async fetchCSVBlob(userLocale = 'en-us', omitInfo = false) {
11368
- if (omitInfo) {
11369
- console.warn('omitInfo not supported yet.');
11370
- }
11371
- const fetchUrl = `${this.thoughtSpotHost}/prism/download/answer/csv?sessionId=${this.session.sessionId}&genNo=${this.session.genNo}&userLocale=${userLocale}&exportFileName=data&omitInfo=${omitInfo}`;
11370
+ async fetchCSVBlob(userLocale = 'en-us', includeInfo = false) {
11371
+ const fetchUrl = `${this.thoughtSpotHost}/prism/download/answer/csv?sessionId=${this.session.sessionId}&genNo=${this.session.genNo}&userLocale=${userLocale}&exportFileName=data&hideCsvHeader=${!includeInfo}`;
11372
11372
  return fetch(fetchUrl, {
11373
11373
  credentials: 'include',
11374
11374
  });
@@ -11626,7 +11626,7 @@ function processTrigger(iFrame, messageType, thoughtSpotHost, data) {
11626
11626
  });
11627
11627
  }
11628
11628
 
11629
- var name="@thoughtspot/visual-embed-sdk";var version="1.25.0-alpha.3";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","fs-extra":"^10.0.0",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.js",limit:"40 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
11629
+ var name="@thoughtspot/visual-embed-sdk";var version="1.25.0-alpha.4";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","fs-extra":"^10.0.0",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.js",limit:"40 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
11630
11630
 
11631
11631
  /**
11632
11632
  * Copyright (c) 2022
package/dist/tsembed.js CHANGED
@@ -1019,11 +1019,11 @@
1019
1019
  * @param - execute - executes the existing / updated query
1020
1020
  * @example
1021
1021
  * ```js
1022
- * searchEmbed.trigger(HostEvent.Search, {
1023
- * searchQuery: "[sales] by [item type],
1024
- * dataSources: ["cd252e5c-b552-49a8-821d-3eadaa049cca"]
1025
- * execute: true
1026
- * })
1022
+ * searchembed.trigger(HostEvent.Search, {
1023
+ searchQuery: "[sales] by [item type]",
1024
+ dataSources: ["cd252e5c-b552-49a8-821d-3eadaa049cca"],
1025
+ execute: true
1026
+ });
1027
1027
  * ```
1028
1028
  */
1029
1029
  HostEvent["Search"] = "search";
@@ -11098,7 +11098,9 @@
11098
11098
  thoughtSpotHost,
11099
11099
  });
11100
11100
  const souceDetails = details[0];
11101
- sourceDetailCache.set(sourceId, souceDetails);
11101
+ if (details) {
11102
+ sourceDetailCache.set(sourceId, souceDetails);
11103
+ }
11102
11104
  return souceDetails;
11103
11105
  }
11104
11106
 
@@ -11244,13 +11246,11 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
11244
11246
  *
11245
11247
  * @param userLocale
11246
11248
  * @param omitInfo Omit the download Info on top of the CSV
11249
+ * @param includeInfo
11247
11250
  * @returns Response
11248
11251
  */
11249
- async fetchCSVBlob(userLocale = 'en-us', omitInfo = false) {
11250
- if (omitInfo) {
11251
- console.warn('omitInfo not supported yet.');
11252
- }
11253
- const fetchUrl = `${this.thoughtSpotHost}/prism/download/answer/csv?sessionId=${this.session.sessionId}&genNo=${this.session.genNo}&userLocale=${userLocale}&exportFileName=data&omitInfo=${omitInfo}`;
11252
+ async fetchCSVBlob(userLocale = 'en-us', includeInfo = false) {
11253
+ const fetchUrl = `${this.thoughtSpotHost}/prism/download/answer/csv?sessionId=${this.session.sessionId}&genNo=${this.session.genNo}&userLocale=${userLocale}&exportFileName=data&hideCsvHeader=${!includeInfo}`;
11254
11254
  return fetch(fetchUrl, {
11255
11255
  credentials: 'include',
11256
11256
  });
@@ -11508,7 +11508,7 @@ mutation RemoveColumns($session: BachSessionIdInput!, $logicalColumnIds: [GUID!]
11508
11508
  });
11509
11509
  }
11510
11510
 
11511
- var name="@thoughtspot/visual-embed-sdk";var version="1.25.0-alpha.3";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","fs-extra":"^10.0.0",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.js",limit:"40 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
11511
+ var name="@thoughtspot/visual-embed-sdk";var version="1.25.0-alpha.4";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs",start:"gatsby develop","build:gatsby":"npm run clean:gatsby && gatsby build --prefix-paths","build:gatsby:noprefix":"npm run clean:gatsby && gatsby build","serve:gatsby":"gatsby serve","clean:gatsby":"gatsby clean","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw","docs-cmd":"node scripts/gatsby-commands.js",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme","test-sdk":"jest -c jest.config.sdk.js --runInBand","test-docs":"jest -c jest.config.docs.js",test:"npm run test-sdk && npm run test-docs",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",dompurify:"^2.3.4","eslint-plugin-comment-length":"^0.9.2","eslint-plugin-jsdoc":"^40.1.0",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3","html-react-parser":"^1.4.12",lodash:"^4.17.21","mixpanel-browser":"^2.45.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","fs-extra":"^10.0.0",gatsby:"3.13.1","gatsby-plugin-algolia":"^0.22.2","gatsby-plugin-catch-links":"^3.1.0","gatsby-plugin-env-variables":"^2.1.0","gatsby-plugin-intl":"^0.3.3","gatsby-plugin-manifest":"^3.2.0","gatsby-plugin-output":"^0.1.3","gatsby-plugin-sass":"6.7.0","gatsby-plugin-sitemap":"^4.10.0","gatsby-source-filesystem":"3.1.0","gatsby-transformer-asciidoc":"2.1.0","gatsby-transformer-rehype":"2.0.0","gh-pages":"^3.1.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"2.30.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.js",limit:"40 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
11512
11512
 
11513
11513
  /**
11514
11514
  * Copyright (c) 2022
@@ -577,23 +577,23 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
577
577
  */
578
578
  dataPanelV2?: boolean;
579
579
  /**
580
- * Boolean to hide liveboard header
580
+ * Show or hide Liveboard header
581
581
  *
582
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
582
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
583
583
  * @default false
584
584
  */
585
585
  hideLiveboardHeader?: boolean;
586
586
  /**
587
- * Boolean to show liveboard title
587
+ * Show or hide Liveboard title
588
588
  *
589
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
589
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
590
590
  * @default false
591
591
  */
592
592
  showLiveboardTitle?: boolean;
593
593
  /**
594
- * Boolean to show liveboard description
594
+ * Show or hide Liveboard description
595
595
  *
596
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
596
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
597
597
  * @default false
598
598
  */
599
599
  showLiveboardDescription?: boolean;
@@ -742,7 +742,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
742
742
  */
743
743
  liveboardV2?: boolean;
744
744
  /**
745
- * Tab Id of the Liveboard that is supposed to be active
745
+ * Tab ID of the Liveboard that is supposed to be active
746
746
  *
747
747
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
748
748
  */
@@ -754,32 +754,32 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
754
754
  */
755
755
  hideTabPanel?: boolean;
756
756
  /**
757
- * Boolean to hide liveboard header
757
+ * Show or hide Liveboard header
758
758
  *
759
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
759
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
760
760
  * @default false
761
761
  */
762
762
  hideLiveboardHeader?: boolean;
763
763
  /**
764
- * Boolean to show liveboard title
764
+ * Show or hide Liveboard title
765
765
  *
766
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
766
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
767
767
  * @default false
768
768
  */
769
769
  showLiveboardTitle?: boolean;
770
770
  /**
771
- * Boolean to show liveboard description
771
+ * Show or hide Liveboard description
772
772
  *
773
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
773
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
774
774
  * @default false
775
775
  */
776
776
  showLiveboardDescription?: boolean;
777
777
  /**
778
- * The list of parameter override to apply to a Liveboard.
778
+ * The list of parameter overrides to apply to a Liveboard.
779
779
  */
780
780
  runtimeParameters?: RuntimeParameter[];
781
781
  /**
782
- * Boolean to control if Liveboard header is sticky or not.
782
+ * Boolean for sticky Liveboard header.
783
783
  *
784
784
  * @example
785
785
  * ```js
@@ -2594,11 +2594,11 @@ export declare enum HostEvent {
2594
2594
  * @param - execute - executes the existing / updated query
2595
2595
  * @example
2596
2596
  * ```js
2597
- * searchEmbed.trigger(HostEvent.Search, {
2598
- * searchQuery: "[sales] by [item type],
2599
- * dataSources: ["cd252e5c-b552-49a8-821d-3eadaa049cca"]
2600
- * execute: true
2601
- * })
2597
+ * searchembed.trigger(HostEvent.Search, {
2598
+ searchQuery: "[sales] by [item type]",
2599
+ dataSources: ["cd252e5c-b552-49a8-821d-3eadaa049cca"],
2600
+ execute: true
2601
+ });
2602
2602
  * ```
2603
2603
  */
2604
2604
  Search = "search",
@@ -4654,9 +4654,10 @@ export declare class AnswerService {
4654
4654
  *
4655
4655
  * @param userLocale
4656
4656
  * @param omitInfo Omit the download Info on top of the CSV
4657
+ * @param includeInfo
4657
4658
  * @returns Response
4658
4659
  */
4659
- fetchCSVBlob(userLocale?: string, omitInfo?: boolean): Promise<Response>;
4660
+ fetchCSVBlob(userLocale?: string, includeInfo?: boolean): Promise<Response>;
4660
4661
  getUnderlyingDataForPoint(outputColumnNames: string[], selectedPoints?: UnderlyingDataPoint[]): Promise<AnswerService>;
4661
4662
  executeQuery(query: string, variables: any): Promise<any>;
4662
4663
  getSession(): SessionInterface;
@@ -566,23 +566,23 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
566
566
  */
567
567
  dataPanelV2?: boolean;
568
568
  /**
569
- * Boolean to hide liveboard header
569
+ * Show or hide Liveboard header
570
570
  *
571
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
571
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
572
572
  * @default false
573
573
  */
574
574
  hideLiveboardHeader?: boolean;
575
575
  /**
576
- * Boolean to show liveboard title
576
+ * Show or hide Liveboard title
577
577
  *
578
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
578
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
579
579
  * @default false
580
580
  */
581
581
  showLiveboardTitle?: boolean;
582
582
  /**
583
- * Boolean to show liveboard description
583
+ * Show or hide Liveboard description
584
584
  *
585
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
585
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
586
586
  * @default false
587
587
  */
588
588
  showLiveboardDescription?: boolean;
@@ -731,7 +731,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
731
731
  */
732
732
  liveboardV2?: boolean;
733
733
  /**
734
- * Tab Id of the Liveboard that is supposed to be active
734
+ * Tab ID of the Liveboard that is supposed to be active
735
735
  *
736
736
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
737
737
  */
@@ -743,32 +743,32 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
743
743
  */
744
744
  hideTabPanel?: boolean;
745
745
  /**
746
- * Boolean to hide liveboard header
746
+ * Show or hide Liveboard header
747
747
  *
748
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
748
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
749
749
  * @default false
750
750
  */
751
751
  hideLiveboardHeader?: boolean;
752
752
  /**
753
- * Boolean to show liveboard title
753
+ * Show or hide Liveboard title
754
754
  *
755
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
755
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
756
756
  * @default false
757
757
  */
758
758
  showLiveboardTitle?: boolean;
759
759
  /**
760
- * Boolean to show liveboard description
760
+ * Show or hide Liveboard description
761
761
  *
762
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
762
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
763
763
  * @default false
764
764
  */
765
765
  showLiveboardDescription?: boolean;
766
766
  /**
767
- * The list of parameter override to apply to a Liveboard.
767
+ * The list of parameter overrides to apply to a Liveboard.
768
768
  */
769
769
  runtimeParameters?: RuntimeParameter[];
770
770
  /**
771
- * Boolean to control if Liveboard header is sticky or not.
771
+ * Boolean for sticky Liveboard header.
772
772
  *
773
773
  * @example
774
774
  * ```js
@@ -2303,11 +2303,11 @@ export declare enum HostEvent {
2303
2303
  * @param - execute - executes the existing / updated query
2304
2304
  * @example
2305
2305
  * ```js
2306
- * searchEmbed.trigger(HostEvent.Search, {
2307
- * searchQuery: "[sales] by [item type],
2308
- * dataSources: ["cd252e5c-b552-49a8-821d-3eadaa049cca"]
2309
- * execute: true
2310
- * })
2306
+ * searchembed.trigger(HostEvent.Search, {
2307
+ searchQuery: "[sales] by [item type]",
2308
+ dataSources: ["cd252e5c-b552-49a8-821d-3eadaa049cca"],
2309
+ execute: true
2310
+ });
2311
2311
  * ```
2312
2312
  */
2313
2313
  Search = "search",
@@ -4884,9 +4884,10 @@ export declare class AnswerService {
4884
4884
  *
4885
4885
  * @param userLocale
4886
4886
  * @param omitInfo Omit the download Info on top of the CSV
4887
+ * @param includeInfo
4887
4888
  * @returns Response
4888
4889
  */
4889
- fetchCSVBlob(userLocale?: string, omitInfo?: boolean): Promise<Response>;
4890
+ fetchCSVBlob(userLocale?: string, includeInfo?: boolean): Promise<Response>;
4890
4891
  getUnderlyingDataForPoint(outputColumnNames: string[], selectedPoints?: UnderlyingDataPoint[]): Promise<AnswerService>;
4891
4892
  executeQuery(query: string, variables: any): Promise<any>;
4892
4893
  getSession(): SessionInterface;
@@ -158,23 +158,23 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
158
158
  */
159
159
  dataPanelV2?: boolean;
160
160
  /**
161
- * Boolean to hide liveboard header
161
+ * Show or hide Liveboard header
162
162
  *
163
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
163
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
164
164
  * @default false
165
165
  */
166
166
  hideLiveboardHeader?: boolean;
167
167
  /**
168
- * Boolean to show liveboard title
168
+ * Show or hide Liveboard title
169
169
  *
170
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
170
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
171
171
  * @default false
172
172
  */
173
173
  showLiveboardTitle?: boolean;
174
174
  /**
175
- * Boolean to show liveboard description
175
+ * Show or hide Liveboard description
176
176
  *
177
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
177
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
178
178
  * @default false
179
179
  */
180
180
  showLiveboardDescription?: boolean;
@@ -431,7 +431,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
431
431
  */
432
432
  liveboardV2?: boolean;
433
433
  /**
434
- * Tab Id of the Liveboard that is supposed to be active
434
+ * Tab ID of the Liveboard that is supposed to be active
435
435
  *
436
436
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
437
437
  */
@@ -443,32 +443,32 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
443
443
  */
444
444
  hideTabPanel?: boolean;
445
445
  /**
446
- * Boolean to hide liveboard header
446
+ * Show or hide Liveboard header
447
447
  *
448
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
448
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
449
449
  * @default false
450
450
  */
451
451
  hideLiveboardHeader?: boolean;
452
452
  /**
453
- * Boolean to show liveboard title
453
+ * Show or hide Liveboard title
454
454
  *
455
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
455
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
456
456
  * @default false
457
457
  */
458
458
  showLiveboardTitle?: boolean;
459
459
  /**
460
- * Boolean to show liveboard description
460
+ * Show or hide Liveboard description
461
461
  *
462
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
462
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
463
463
  * @default false
464
464
  */
465
465
  showLiveboardDescription?: boolean;
466
466
  /**
467
- * The list of parameter override to apply to a Liveboard.
467
+ * The list of parameter overrides to apply to a Liveboard.
468
468
  */
469
469
  runtimeParameters?: RuntimeParameter[];
470
470
  /**
471
- * Boolean to control if Liveboard header is sticky or not.
471
+ * Boolean for sticky Liveboard header.
472
472
  *
473
473
  * @example
474
474
  * ```js
@@ -2332,11 +2332,11 @@ export enum HostEvent {
2332
2332
  * @param - execute - executes the existing / updated query
2333
2333
  * @example
2334
2334
  * ```js
2335
- * searchEmbed.trigger(HostEvent.Search, {
2336
- * searchQuery: "[sales] by [item type],
2337
- * dataSources: ["cd252e5c-b552-49a8-821d-3eadaa049cca"]
2338
- * execute: true
2339
- * })
2335
+ * searchembed.trigger(HostEvent.Search, {
2336
+ searchQuery: "[sales] by [item type]",
2337
+ dataSources: ["cd252e5c-b552-49a8-821d-3eadaa049cca"],
2338
+ execute: true
2339
+ });
2340
2340
  * ```
2341
2341
  */
2342
2342
  Search = "search",
@@ -4530,9 +4530,10 @@ export class AnswerService {
4530
4530
  *
4531
4531
  * @param userLocale
4532
4532
  * @param omitInfo Omit the download Info on top of the CSV
4533
+ * @param includeInfo
4533
4534
  * @returns Response
4534
4535
  */
4535
- fetchCSVBlob(userLocale?: string, omitInfo?: boolean): Promise<Response>;
4536
+ fetchCSVBlob(userLocale?: string, includeInfo?: boolean): Promise<Response>;
4536
4537
  getUnderlyingDataForPoint(outputColumnNames: string[], selectedPoints?: UnderlyingDataPoint[]): Promise<AnswerService>;
4537
4538
  executeQuery(query: string, variables: any): Promise<any>;
4538
4539
  getSession(): SessionInterface;
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thoughtspot/visual-embed-sdk",
3
- "version": "1.25.0-alpha.3",
3
+ "version": "1.25.0-alpha.4",
4
4
  "description": "ThoughtSpot Embed SDK",
5
5
  "module": "lib/src/index.js",
6
6
  "main": "dist/tsembed.js",
@@ -143,23 +143,23 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
143
143
  */
144
144
  dataPanelV2?: boolean;
145
145
  /**
146
- * Boolean to hide liveboard header
146
+ * Show or hide Liveboard header
147
147
  *
148
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
148
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
149
149
  * @default false
150
150
  */
151
151
  hideLiveboardHeader?: boolean;
152
152
  /**
153
- * Boolean to show liveboard title
153
+ * Show or hide Liveboard title
154
154
  *
155
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
155
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
156
156
  * @default false
157
157
  */
158
158
  showLiveboardTitle?: boolean;
159
159
  /**
160
- * Boolean to show liveboard description
160
+ * Show or hide Liveboard description
161
161
  *
162
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
162
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
163
163
  * @default false
164
164
  */
165
165
  showLiveboardDescription?: boolean;
@@ -81,7 +81,7 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
81
81
  */
82
82
  liveboardV2?: boolean;
83
83
  /**
84
- * Tab Id of the Liveboard that is supposed to be active
84
+ * Tab ID of the Liveboard that is supposed to be active
85
85
  *
86
86
  * @version SDK: 1.15.0 | ThoughtSpot: 8.7.0.cl, 8.8.1-sw
87
87
  */
@@ -93,32 +93,32 @@ export interface LiveboardViewConfig extends Omit<ViewConfig, 'hiddenHomepageMod
93
93
  */
94
94
  hideTabPanel?: boolean;
95
95
  /**
96
- * Boolean to hide liveboard header
96
+ * Show or hide Liveboard header
97
97
  *
98
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
98
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
99
99
  * @default false
100
100
  */
101
101
  hideLiveboardHeader?: boolean;
102
102
  /**
103
- * Boolean to show liveboard title
103
+ * Show or hide Liveboard title
104
104
  *
105
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
105
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
106
106
  * @default false
107
107
  */
108
108
  showLiveboardTitle?: boolean;
109
109
  /**
110
- * Boolean to show liveboard description
110
+ * Show or hide Liveboard description
111
111
  *
112
- * @version SDK: 1.23.0 | Thoughtspot: 9.6.0.cl
112
+ * @version SDK: 1.26.0 | Thoughtspot: 9.7.0.cl
113
113
  * @default false
114
114
  */
115
115
  showLiveboardDescription?: boolean;
116
116
  /**
117
- * The list of parameter override to apply to a Liveboard.
117
+ * The list of parameter overrides to apply to a Liveboard.
118
118
  */
119
119
  runtimeParameters?: RuntimeParameter[];
120
120
  /**
121
- * Boolean to control if Liveboard header is sticky or not.
121
+ * Boolean for sticky Liveboard header.
122
122
  *
123
123
  * @example
124
124
  * ```js
@@ -1447,11 +1447,11 @@ export declare enum HostEvent {
1447
1447
  * @param - execute - executes the existing / updated query
1448
1448
  * @example
1449
1449
  * ```js
1450
- * searchEmbed.trigger(HostEvent.Search, {
1451
- * searchQuery: "[sales] by [item type],
1452
- * dataSources: ["cd252e5c-b552-49a8-821d-3eadaa049cca"]
1453
- * execute: true
1454
- * })
1450
+ * searchembed.trigger(HostEvent.Search, {
1451
+ searchQuery: "[sales] by [item type]",
1452
+ dataSources: ["cd252e5c-b552-49a8-821d-3eadaa049cca"],
1453
+ execute: true
1454
+ });
1455
1455
  * ```
1456
1456
  */
1457
1457
  Search = "search",
package/lib/src/types.js CHANGED
@@ -813,11 +813,11 @@ export var HostEvent;
813
813
  * @param - execute - executes the existing / updated query
814
814
  * @example
815
815
  * ```js
816
- * searchEmbed.trigger(HostEvent.Search, {
817
- * searchQuery: "[sales] by [item type],
818
- * dataSources: ["cd252e5c-b552-49a8-821d-3eadaa049cca"]
819
- * execute: true
820
- * })
816
+ * searchembed.trigger(HostEvent.Search, {
817
+ searchQuery: "[sales] by [item type]",
818
+ dataSources: ["cd252e5c-b552-49a8-821d-3eadaa049cca"],
819
+ execute: true
820
+ });
821
821
  * ```
822
822
  */
823
823
  HostEvent["Search"] = "search";