@unisphere/genie-types 1.20.0 → 1.22.0-tools.0

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 (43) hide show
  1. package/index.esm.js +239 -1019
  2. package/package.json +3 -3
  3. package/src/index.d.ts +2 -9
  4. package/src/lib/application-runtime/runtime-types.d.ts +6 -2
  5. package/src/lib/avatar-runtime/lobby-visual-types.d.ts +2 -6
  6. package/src/lib/avatar-runtime/runtime-types.d.ts +4 -1
  7. package/src/lib/{shared/chat-customizations-types.d.ts → chat-customizations-types.d.ts} +2 -2
  8. package/src/lib/chat-runtime/runtime-player-plugin-types.d.ts +1 -6
  9. package/src/lib/chat-runtime/runtime-types.d.ts +2 -7
  10. package/src/lib/chat-runtime/shared-settings.d.ts +17 -4
  11. package/src/lib/chat-runtime/visuals-types.d.ts +7 -7
  12. package/src/lib/content-gallery-tool-runtime/genie-answer-visual-types.d.ts +1 -1
  13. package/src/lib/shared/index.d.ts +0 -2
  14. package/src/lib/types.d.ts +0 -53
  15. package/src/lib/flashcards-tool-runtime/index.d.ts +0 -2
  16. package/src/lib/flashcards-tool-runtime/runtime-types.d.ts +0 -41
  17. package/src/lib/flashcards-tool-runtime/visuals-types.d.ts +0 -52
  18. package/src/lib/followups-tool-runtime/avatar-visual-types.d.ts +0 -27
  19. package/src/lib/followups-tool-runtime/index.d.ts +0 -2
  20. package/src/lib/followups-tool-runtime/runtime-types.d.ts +0 -49
  21. package/src/lib/gen-ui-components-tool-runtime/card-visual-types.d.ts +0 -39
  22. package/src/lib/gen-ui-components-tool-runtime/index.d.ts +0 -6
  23. package/src/lib/gen-ui-components-tool-runtime/login-visual-types.d.ts +0 -10
  24. package/src/lib/gen-ui-components-tool-runtime/markdown-visual-types.d.ts +0 -7
  25. package/src/lib/gen-ui-components-tool-runtime/player-visual-types.d.ts +0 -25
  26. package/src/lib/gen-ui-components-tool-runtime/questions-presets-visual-types.d.ts +0 -9
  27. package/src/lib/gen-ui-components-tool-runtime/runtime-types.d.ts +0 -13
  28. package/src/lib/gen-ui-composer-tool-runtime/avatar-visual-types.d.ts +0 -50
  29. package/src/lib/gen-ui-composer-tool-runtime/index.d.ts +0 -2
  30. package/src/lib/gen-ui-composer-tool-runtime/runtime-types.d.ts +0 -13
  31. package/src/lib/gtc-agenda-list-tool-runtime/genie-answer-visual-types.d.ts +0 -23
  32. package/src/lib/gtc-agenda-list-tool-runtime/index.d.ts +0 -2
  33. package/src/lib/gtc-agenda-list-tool-runtime/runtime-types.d.ts +0 -27
  34. package/src/lib/gtc-agenda-tool-runtime/genie-answer-visual-types.d.ts +0 -16
  35. package/src/lib/gtc-agenda-tool-runtime/index.d.ts +0 -2
  36. package/src/lib/gtc-agenda-tool-runtime/runtime-types.d.ts +0 -27
  37. package/src/lib/nvidia-2026-event-tool-runtime/index.d.ts +0 -1
  38. package/src/lib/nvidia-2026-event-tool-runtime/runtime-types.d.ts +0 -82
  39. package/src/lib/sources-tool-runtime/index.d.ts +0 -1
  40. package/src/lib/sources-tool-runtime/runtime-types.d.ts +0 -57
  41. package/src/lib/summary-tool-runtime/index.d.ts +0 -1
  42. package/src/lib/summary-tool-runtime/runtime-types.d.ts +0 -79
  43. /package/src/lib/{shared/general-visual-types.d.ts → general-visual-types.d.ts} +0 -0
package/index.esm.js CHANGED
@@ -1098,6 +1098,71 @@ const getAvatarDefaultCapabilities = context => {
1098
1098
  }
1099
1099
  return AVATAR_DEFAULT_CAPABILITIES;
1100
1100
  };
1101
+ const chatContextSchema = {
1102
+ type: 'orByType',
1103
+ optional: true,
1104
+ schemas: {
1105
+ entry: {
1106
+ type: 'object',
1107
+ properties: {
1108
+ type: {
1109
+ type: 'literal',
1110
+ value: 'entry'
1111
+ },
1112
+ id: {
1113
+ type: 'primitive',
1114
+ value: 'string'
1115
+ },
1116
+ imageUrl: {
1117
+ type: 'primitive',
1118
+ value: 'string',
1119
+ optional: true
1120
+ },
1121
+ title: {
1122
+ type: 'primitive',
1123
+ value: 'string',
1124
+ optional: true
1125
+ }
1126
+ }
1127
+ },
1128
+ category: {
1129
+ type: 'object',
1130
+ properties: {
1131
+ type: {
1132
+ type: 'literal',
1133
+ value: 'category'
1134
+ },
1135
+ id: {
1136
+ type: 'primitive',
1137
+ value: 'string'
1138
+ },
1139
+ title: {
1140
+ type: 'primitive',
1141
+ value: 'string',
1142
+ optional: true
1143
+ }
1144
+ }
1145
+ },
1146
+ 'ancestor-category': {
1147
+ type: 'object',
1148
+ properties: {
1149
+ type: {
1150
+ type: 'literal',
1151
+ value: 'ancestor-category'
1152
+ },
1153
+ id: {
1154
+ type: 'primitive',
1155
+ value: 'string'
1156
+ },
1157
+ title: {
1158
+ type: 'primitive',
1159
+ value: 'string',
1160
+ optional: true
1161
+ }
1162
+ }
1163
+ }
1164
+ }
1165
+ };
1101
1166
  const integrationsSchema = {
1102
1167
  type: 'object',
1103
1168
  properties: {
@@ -1264,20 +1329,7 @@ const chatRuntimeSettingsSchema = {
1264
1329
  },
1265
1330
  optional: true
1266
1331
  },
1267
- context: {
1268
- type: 'object',
1269
- optional: true,
1270
- properties: {
1271
- type: {
1272
- type: 'enum',
1273
- values: ['entry', 'category']
1274
- },
1275
- id: {
1276
- type: 'primitive',
1277
- value: 'string'
1278
- }
1279
- }
1280
- },
1332
+ context: chatContextSchema,
1281
1333
  // @deprecated - kept for backward compatibility
1282
1334
  entryId: {
1283
1335
  type: 'primitive',
@@ -1322,20 +1374,7 @@ const chatRuntimePlayerPluginSettingsSchema = {
1322
1374
  value: 'string',
1323
1375
  optional: true
1324
1376
  },
1325
- context: {
1326
- type: 'object',
1327
- optional: true,
1328
- properties: {
1329
- type: {
1330
- type: 'enum',
1331
- values: ['entry', 'category']
1332
- },
1333
- id: {
1334
- type: 'primitive',
1335
- value: 'string'
1336
- }
1337
- }
1338
- },
1377
+ context: chatContextSchema,
1339
1378
  // @deprecated - kept for backward compatibility
1340
1379
  entryId: {
1341
1380
  type: 'primitive',
@@ -1529,7 +1568,8 @@ const floaterVisualSettingsSchema = {
1529
1568
  type: 'enum',
1530
1569
  values: ['chat', 'everywhere'],
1531
1570
  optional: true
1532
- }
1571
+ },
1572
+ context: chatContextSchema
1533
1573
  }
1534
1574
  };
1535
1575
  const floaterCTAVisualSettingsSchema = {
@@ -1555,6 +1595,7 @@ const floaterCTAVisualSettingsSchema = {
1555
1595
  value: 'boolean',
1556
1596
  optional: true
1557
1597
  },
1598
+ context: chatContextSchema,
1558
1599
  type: {
1559
1600
  type: 'literal',
1560
1601
  value: 'button',
@@ -1604,13 +1645,24 @@ const containedVisualSettingsSchema = {
1604
1645
  values: ['body', 'container', 'modal'],
1605
1646
  optional: true
1606
1647
  },
1607
- context: {
1648
+ context: chatContextSchema,
1649
+ closeButtonType: {
1650
+ type: 'enum',
1651
+ values: ['none', 'drawer', 'close'],
1652
+ optional: true
1653
+ }
1654
+ }
1655
+ };
1656
+ const pageContextSchema = {
1657
+ type: 'orByType',
1658
+ optional: true,
1659
+ schemas: {
1660
+ entry: {
1608
1661
  type: 'object',
1609
- optional: true,
1610
1662
  properties: {
1611
1663
  type: {
1612
- type: 'enum',
1613
- values: ['entry', 'category', 'ancestor-category']
1664
+ type: 'literal',
1665
+ value: 'entry'
1614
1666
  },
1615
1667
  id: {
1616
1668
  type: 'primitive',
@@ -1618,10 +1670,31 @@ const containedVisualSettingsSchema = {
1618
1670
  }
1619
1671
  }
1620
1672
  },
1621
- closeButtonType: {
1622
- type: 'enum',
1623
- values: ['none', 'drawer', 'close'],
1624
- optional: true
1673
+ category: {
1674
+ type: 'object',
1675
+ properties: {
1676
+ type: {
1677
+ type: 'literal',
1678
+ value: 'category'
1679
+ },
1680
+ id: {
1681
+ type: 'primitive',
1682
+ value: 'string'
1683
+ }
1684
+ }
1685
+ },
1686
+ 'ancestor-category': {
1687
+ type: 'object',
1688
+ properties: {
1689
+ type: {
1690
+ type: 'literal',
1691
+ value: 'ancestor-category'
1692
+ },
1693
+ id: {
1694
+ type: 'primitive',
1695
+ value: 'string'
1696
+ }
1697
+ }
1625
1698
  }
1626
1699
  }
1627
1700
  };
@@ -1639,6 +1712,7 @@ const pageVisualSettingsSchema = {
1639
1712
  optional: true
1640
1713
  },
1641
1714
  customization: chatCustomizationSchema,
1715
+ context: pageContextSchema,
1642
1716
  initialQuestion: {
1643
1717
  type: 'object',
1644
1718
  optional: true,
@@ -1739,9 +1813,9 @@ const popupVisualSettingsSchema = {
1739
1813
  }
1740
1814
  };
1741
1815
 
1742
- /** Runtime name constant for flashcards tool */
1743
- const FlashcardsToolRuntimeName = 'flashcards-tool';
1744
- const flashcardsToolRuntimeSettingsSchema = {
1816
+ /** Runtime name constant for avatar experiences */
1817
+ const AvatarRuntimeName = 'avatar';
1818
+ const avatarRuntimeSettingsSchema = {
1745
1819
  type: 'object',
1746
1820
  properties: {
1747
1821
  schemaVersion: {
@@ -1749,432 +1823,122 @@ const flashcardsToolRuntimeSettingsSchema = {
1749
1823
  value: '1',
1750
1824
  optional: true
1751
1825
  },
1752
- customization: chatCustomizationSchema
1753
- }
1754
- };
1755
-
1756
- const blockVisualContextSchema = {
1757
- type: 'object',
1758
- optional: true,
1759
- allowUnknownProperties: true,
1760
- properties: {
1761
- customization: chatCustomizationSchema,
1762
- threadId: {
1826
+ turnServerUrl: {
1827
+ type: 'primitive',
1828
+ value: 'string'
1829
+ },
1830
+ srsBaseUrl: {
1831
+ type: 'primitive',
1832
+ value: 'string'
1833
+ },
1834
+ serverUrl: {
1763
1835
  type: 'primitive',
1764
1836
  value: 'string',
1765
1837
  optional: true
1766
1838
  },
1767
- messageId: {
1839
+ clientId: {
1768
1840
  type: 'primitive',
1769
1841
  value: 'string',
1770
1842
  optional: true
1771
1843
  },
1772
- status: {
1773
- type: 'enum',
1774
- values: ['loading', 'ready', 'error']
1844
+ roomId: {
1845
+ type: 'primitive',
1846
+ value: 'string',
1847
+ optional: true
1775
1848
  },
1776
- groupIndex: {
1849
+ flowId: {
1777
1850
  type: 'primitive',
1778
- value: 'number',
1851
+ value: 'string',
1779
1852
  optional: true
1780
- }
1781
- }
1782
- };
1783
-
1784
- const genieAnswerVisualSettingsSchema = {
1785
- type: 'object',
1786
- properties: {
1787
- blockContext: blockVisualContextSchema,
1788
- title: {
1853
+ },
1854
+ loadingVideoURL: {
1789
1855
  type: 'primitive',
1790
1856
  value: 'string',
1791
1857
  optional: true
1792
1858
  },
1793
- summary: {
1859
+ avatarId: {
1794
1860
  type: 'primitive',
1795
1861
  value: 'string',
1796
1862
  optional: true
1797
1863
  },
1798
- keypoints: {
1799
- type: 'array',
1800
- items: {
1801
- type: 'object',
1802
- properties: {
1803
- title: {
1804
- type: 'primitive',
1805
- value: 'string',
1806
- optional: true
1807
- },
1808
- summary: {
1809
- type: 'primitive',
1810
- value: 'string',
1811
- optional: true
1812
- },
1813
- citation: {
1814
- type: 'object',
1815
- optional: true,
1816
- properties: {
1817
- clips: {
1818
- type: 'array',
1819
- optional: true,
1820
- items: {
1821
- type: 'object',
1822
- properties: {
1823
- end_time: {
1824
- type: 'primitive',
1825
- value: 'number',
1826
- optional: true
1827
- },
1828
- entry_id: {
1829
- type: 'primitive',
1830
- value: 'string',
1831
- optional: true
1832
- },
1833
- last_index: {
1834
- type: 'primitive',
1835
- value: 'number',
1836
- optional: true
1837
- },
1838
- type: {
1839
- type: 'or',
1840
- properties: [{
1841
- type: 'literal',
1842
- value: 'CAPTION'
1843
- }, {
1844
- type: 'literal',
1845
- value: 'OCR'
1846
- }, {
1847
- type: 'literal',
1848
- value: 'DOCUMENT'
1849
- }, {
1850
- type: 'literal',
1851
- value: 'EXTERNAL'
1852
- }],
1853
- optional: true
1854
- },
1855
- start_index: {
1856
- type: 'primitive',
1857
- value: 'number',
1858
- optional: true
1859
- },
1860
- start_time: {
1861
- type: 'primitive',
1862
- value: 'number',
1863
- optional: true
1864
- },
1865
- thumbnail: {
1866
- type: 'primitive',
1867
- value: 'string',
1868
- optional: true
1869
- },
1870
- video_link: {
1871
- type: 'primitive',
1872
- value: 'string',
1873
- optional: true
1874
- },
1875
- title: {
1876
- type: 'primitive',
1877
- value: 'string',
1878
- optional: true
1879
- }
1880
- }
1881
- }
1882
- }
1883
- }
1884
- }
1885
- }
1886
- },
1864
+ previewImageUrl: {
1865
+ type: 'primitive',
1866
+ value: 'string',
1867
+ optional: true
1868
+ },
1869
+ agentMode: {
1870
+ type: 'primitive',
1871
+ value: 'boolean',
1887
1872
  optional: true
1873
+ },
1874
+ noiseReductionEnabled: {
1875
+ type: 'primitive',
1876
+ value: 'boolean',
1877
+ optional: true
1878
+ },
1879
+ castMode: {
1880
+ type: 'primitive',
1881
+ value: 'string',
1882
+ optional: true
1883
+ },
1884
+ kaltura: {
1885
+ type: 'object',
1886
+ properties: {
1887
+ ks: {
1888
+ type: 'primitive',
1889
+ value: 'string'
1890
+ },
1891
+ context: chatContextSchema,
1892
+ capabilities: {
1893
+ type: 'object',
1894
+ optional: true,
1895
+ allowUnknownProperties: true,
1896
+ properties: {}
1897
+ },
1898
+ // @deprecated - kept for backward compatibility
1899
+ entryId: {
1900
+ type: 'primitive',
1901
+ value: 'string',
1902
+ optional: true,
1903
+ deprecationMessage: 'Use context instead: { type: "entry", id: "your-entry-id" }'
1904
+ },
1905
+ kalturaServerURI: {
1906
+ type: 'primitive',
1907
+ value: 'string',
1908
+ optional: true
1909
+ },
1910
+ partnerId: {
1911
+ type: 'primitive',
1912
+ value: 'string',
1913
+ optional: true
1914
+ },
1915
+ uiConfId: {
1916
+ type: 'primitive',
1917
+ value: 'string',
1918
+ optional: true
1919
+ }
1920
+ }
1921
+ },
1922
+ features: {
1923
+ type: 'object',
1924
+ optional: true,
1925
+ properties: {
1926
+ screenShare: {
1927
+ type: 'primitive',
1928
+ value: 'boolean',
1929
+ optional: true
1930
+ },
1931
+ chat: {
1932
+ type: 'primitive',
1933
+ value: 'boolean',
1934
+ optional: true
1935
+ }
1936
+ }
1888
1937
  }
1889
1938
  }
1890
1939
  };
1891
1940
 
1892
- /** Runtime name constant for followups tool */
1893
- const FollowupsToolRuntimeName = 'followups-tool';
1894
- const followupsToolRuntimeSettingsSchema = {
1895
- type: 'object',
1896
- properties: {
1897
- schemaVersion: {
1898
- type: 'literal',
1899
- value: '1',
1900
- optional: true
1901
- }
1902
- }
1903
- };
1904
- const followupsToolRuntimeGenieAnswerVisualSettingsSchema = {
1905
- type: 'object',
1906
- properties: {
1907
- blockContext: blockVisualContextSchema,
1908
- questions: {
1909
- type: 'array',
1910
- items: {
1911
- type: 'primitive',
1912
- value: 'string'
1913
- },
1914
- optional: true
1915
- }
1916
- }
1917
- };
1918
-
1919
- const followupsToolRuntimeAvatarVisualSettingsSchema = {
1920
- type: 'object',
1921
- properties: {
1922
- schemaVersion: {
1923
- type: 'literal',
1924
- value: '1',
1925
- optional: true
1926
- },
1927
- blockContext: blockVisualContextSchema,
1928
- questions: {
1929
- type: 'array',
1930
- items: {
1931
- type: 'primitive',
1932
- value: 'string'
1933
- },
1934
- optional: true
1935
- },
1936
- onAction: {
1937
- type: 'function'
1938
- }
1939
- }
1940
- };
1941
-
1942
- /** Runtime name constant for sources tool */
1943
- const SourcesToolRuntimeName = 'sources-tool';
1944
- const sourcesToolRuntimeSettingsSchema = {
1945
- type: 'object',
1946
- properties: {
1947
- schemaVersion: {
1948
- type: 'literal',
1949
- value: '1',
1950
- optional: true
1951
- }
1952
- }
1953
- };
1954
- const sourcesToolRuntimeGenieAnswerVisualSettingsSchema = {
1955
- type: 'object',
1956
- properties: {
1957
- blockContext: blockVisualContextSchema,
1958
- variant: {
1959
- type: 'enum',
1960
- values: ['default', 'compact'],
1961
- optional: true
1962
- },
1963
- sources: {
1964
- type: 'array',
1965
- optional: true,
1966
- items: {
1967
- type: 'or',
1968
- properties: [{
1969
- type: 'object',
1970
- properties: {
1971
- type: {
1972
- type: 'literal',
1973
- value: 'video'
1974
- },
1975
- title: {
1976
- type: 'primitive',
1977
- value: 'string'
1978
- },
1979
- entry_id: {
1980
- type: 'primitive',
1981
- value: 'string'
1982
- },
1983
- duration: {
1984
- type: 'primitive',
1985
- value: 'number'
1986
- },
1987
- has_short: {
1988
- type: 'primitive',
1989
- value: 'boolean'
1990
- }
1991
- }
1992
- }, {
1993
- type: 'object',
1994
- properties: {
1995
- type: {
1996
- type: 'literal',
1997
- value: 'document'
1998
- },
1999
- title: {
2000
- type: 'primitive',
2001
- value: 'string'
2002
- },
2003
- entry_id: {
2004
- type: 'primitive',
2005
- value: 'string'
2006
- },
2007
- duration: {
2008
- type: 'primitive',
2009
- value: 'number',
2010
- optional: true
2011
- },
2012
- has_short: {
2013
- type: 'primitive',
2014
- value: 'boolean'
2015
- }
2016
- }
2017
- }, {
2018
- type: 'object',
2019
- properties: {
2020
- type: {
2021
- type: 'literal',
2022
- value: 'web'
2023
- },
2024
- title: {
2025
- type: 'primitive',
2026
- value: 'string'
2027
- },
2028
- url: {
2029
- type: 'primitive',
2030
- value: 'string'
2031
- }
2032
- }
2033
- }]
2034
- }
2035
- }
2036
- }
2037
- };
2038
-
2039
- /** Runtime name constant for avatar experiences */
2040
- const AvatarRuntimeName = 'avatar';
2041
- const avatarRuntimeSettingsSchema = {
2042
- type: 'object',
2043
- properties: {
2044
- schemaVersion: {
2045
- type: 'literal',
2046
- value: '1',
2047
- optional: true
2048
- },
2049
- turnServerUrl: {
2050
- type: 'primitive',
2051
- value: 'string'
2052
- },
2053
- srsBaseUrl: {
2054
- type: 'primitive',
2055
- value: 'string'
2056
- },
2057
- serverUrl: {
2058
- type: 'primitive',
2059
- value: 'string',
2060
- optional: true
2061
- },
2062
- clientId: {
2063
- type: 'primitive',
2064
- value: 'string',
2065
- optional: true
2066
- },
2067
- roomId: {
2068
- type: 'primitive',
2069
- value: 'string',
2070
- optional: true
2071
- },
2072
- flowId: {
2073
- type: 'primitive',
2074
- value: 'string',
2075
- optional: true
2076
- },
2077
- loadingVideoURL: {
2078
- type: 'primitive',
2079
- value: 'string',
2080
- optional: true
2081
- },
2082
- avatarId: {
2083
- type: 'primitive',
2084
- value: 'string',
2085
- optional: true
2086
- },
2087
- previewImageUrl: {
2088
- type: 'primitive',
2089
- value: 'string',
2090
- optional: true
2091
- },
2092
- agentMode: {
2093
- type: 'primitive',
2094
- value: 'boolean',
2095
- optional: true
2096
- },
2097
- noiseReductionEnabled: {
2098
- type: 'primitive',
2099
- value: 'boolean',
2100
- optional: true
2101
- },
2102
- castMode: {
2103
- type: 'primitive',
2104
- value: 'string',
2105
- optional: true
2106
- },
2107
- kaltura: {
2108
- type: 'object',
2109
- properties: {
2110
- ks: {
2111
- type: 'primitive',
2112
- value: 'string'
2113
- },
2114
- context: {
2115
- type: 'object',
2116
- optional: true,
2117
- properties: {
2118
- type: {
2119
- type: 'enum',
2120
- values: ['entry', 'category']
2121
- },
2122
- id: {
2123
- type: 'primitive',
2124
- value: 'string'
2125
- }
2126
- }
2127
- },
2128
- capabilities: {
2129
- type: 'object',
2130
- optional: true,
2131
- allowUnknownProperties: true,
2132
- properties: {}
2133
- },
2134
- // @deprecated - kept for backward compatibility
2135
- entryId: {
2136
- type: 'primitive',
2137
- value: 'string',
2138
- optional: true,
2139
- deprecationMessage: 'Use context instead: { type: "entry", id: "your-entry-id" }'
2140
- },
2141
- kalturaServerURI: {
2142
- type: 'primitive',
2143
- value: 'string',
2144
- optional: true
2145
- },
2146
- partnerId: {
2147
- type: 'primitive',
2148
- value: 'string',
2149
- optional: true
2150
- },
2151
- uiConfId: {
2152
- type: 'primitive',
2153
- value: 'string',
2154
- optional: true
2155
- }
2156
- }
2157
- },
2158
- features: {
2159
- type: 'object',
2160
- optional: true,
2161
- properties: {
2162
- screenShare: {
2163
- type: 'primitive',
2164
- value: 'boolean',
2165
- optional: true
2166
- },
2167
- chat: {
2168
- type: 'primitive',
2169
- value: 'boolean',
2170
- optional: true
2171
- }
2172
- }
2173
- }
2174
- }
2175
- };
2176
-
2177
- const avatarRuntimeChatVisualSettingsSchema = {
1941
+ const avatarRuntimeChatVisualSettingsSchema = {
2178
1942
  type: 'object',
2179
1943
  properties: {
2180
1944
  schemaVersion: {
@@ -2285,12 +2049,7 @@ const avatarRuntimeLobbyVisualSettingsSchema = {
2285
2049
  },
2286
2050
  variant: {
2287
2051
  type: 'enum',
2288
- values: ['default', 'mini', 'buttonOnly', 'agent'],
2289
- optional: true
2290
- },
2291
- isTranslucent: {
2292
- type: 'primitive',
2293
- value: 'boolean',
2052
+ values: ['agent'],
2294
2053
  optional: true
2295
2054
  },
2296
2055
  threadId: {
@@ -2331,11 +2090,6 @@ const avatarRuntimeLobbyVisualSettingsSchema = {
2331
2090
  },
2332
2091
  optional: true
2333
2092
  },
2334
- hideStartButton: {
2335
- type: 'primitive',
2336
- value: 'boolean',
2337
- optional: true
2338
- },
2339
2093
  onOpen: {
2340
2094
  type: 'function',
2341
2095
  optional: true
@@ -2464,69 +2218,9 @@ const applicationRuntimeSettingsSchema = {
2464
2218
  /** Runtime name constant for application-level experiences */
2465
2219
  const ApplicationRuntimeName = 'application';
2466
2220
 
2467
- /** Runtime name constant for summary tool */
2468
- const SummaryToolRuntimeName = 'summary-tool';
2469
- const summaryToolRuntimeSettingsSchema = {
2470
- type: 'object',
2471
- properties: {
2472
- schemaVersion: {
2473
- type: 'literal',
2474
- value: '1',
2475
- optional: true
2476
- }
2477
- }
2478
- };
2479
- const summaryToolRuntimeGenieAnswerVisualSettingsSchema = {
2480
- type: 'object',
2481
- properties: {
2482
- blockContext: blockVisualContextSchema,
2483
- summary: {
2484
- type: 'primitive',
2485
- value: 'string'
2486
- },
2487
- chapters: {
2488
- type: 'array',
2489
- optional: true,
2490
- items: {
2491
- type: 'object',
2492
- properties: {
2493
- start_time: {
2494
- type: 'primitive',
2495
- value: 'string',
2496
- optional: true
2497
- },
2498
- title: {
2499
- type: 'primitive',
2500
- value: 'string',
2501
- optional: true
2502
- },
2503
- description: {
2504
- type: 'primitive',
2505
- value: 'string',
2506
- optional: true
2507
- }
2508
- }
2509
- }
2510
- }
2511
- }
2512
- };
2513
-
2514
- /** Runtime name constant for NVIDIA 2026 event tool */
2515
- const Nvidia2026EventToolRuntimeName = 'nvidia-2026-event-tool';
2516
- const nvidia2026EventToolRuntimeSettingsSchema = {
2517
- type: 'object',
2518
- properties: {
2519
- schemaVersion: {
2520
- type: 'literal',
2521
- value: '1',
2522
- optional: true
2523
- }
2524
- }
2525
- };
2526
-
2527
- /** Runtime name constant for Kaltura video player tool */
2528
- const KalturaVideoPlayerToolRuntimeName = 'kaltura-video-player-tool';
2529
- const kalturaVideoPlayerToolRuntimeSettingsSchema = {
2221
+ /** Runtime name constant for Kaltura video player tool */
2222
+ const KalturaVideoPlayerToolRuntimeName = 'kaltura-video-player-tool';
2223
+ const kalturaVideoPlayerToolRuntimeSettingsSchema = {
2530
2224
  type: 'object',
2531
2225
  properties: {
2532
2226
  kalturaServerURI: {
@@ -2558,508 +2252,6 @@ const kalturaVideoPlayerToolRuntimeAvatarVisualSettingsSchema = {
2558
2252
  }
2559
2253
  };
2560
2254
 
2561
- /** Runtime name constant for GTC agenda tool */
2562
- const GtcAgendaToolRuntimeName = 'gtc-agenda-tool';
2563
- const gtcAgendaToolRuntimeSettingsSchema = {
2564
- type: 'object',
2565
- properties: {
2566
- schemaVersion: {
2567
- type: 'literal',
2568
- value: '1',
2569
- optional: true
2570
- }
2571
- }
2572
- };
2573
-
2574
- const gtcAgendaToolRuntimeAvatarVisualSettingsSchema = {
2575
- type: 'object',
2576
- properties: {
2577
- id: {
2578
- type: 'primitive',
2579
- value: 'string'
2580
- }
2581
- }
2582
- };
2583
-
2584
- /** Runtime name constant for GTC agenda list tool */
2585
- const GtcAgendaListToolRuntimeName = 'gtc-agenda-list-tool';
2586
- const gtcAgendaListToolRuntimeSettingsSchema = {
2587
- type: 'object',
2588
- properties: {
2589
- schemaVersion: {
2590
- type: 'literal',
2591
- value: '1',
2592
- optional: true
2593
- }
2594
- }
2595
- };
2596
-
2597
- const gtcAgendaListToolRuntimeAvatarVisualSettingsSchema = {
2598
- type: 'object',
2599
- properties: {
2600
- schemaVersion: {
2601
- type: 'literal',
2602
- value: '1',
2603
- optional: true
2604
- },
2605
- sessions: {
2606
- type: 'array',
2607
- items: {
2608
- type: 'object',
2609
- properties: {
2610
- id: {
2611
- type: 'primitive',
2612
- value: 'string'
2613
- }
2614
- }
2615
- }
2616
- }
2617
- }
2618
- };
2619
-
2620
- const GenUiComposerToolRuntimeName = 'gen-ui-composer-tool';
2621
- const genUiComposerToolRuntimeSettingsSchema = {
2622
- type: 'object',
2623
- properties: {
2624
- schemaVersion: {
2625
- type: 'literal',
2626
- value: '1',
2627
- optional: true
2628
- },
2629
- baseVisualSettings: {
2630
- type: 'object',
2631
- optional: true,
2632
- properties: {},
2633
- allowUnknownProperties: true
2634
- }
2635
- }
2636
- };
2637
-
2638
- const genUiComposerToolRuntimeAvatarVisualSettingsSchema = {
2639
- type: 'object',
2640
- properties: {
2641
- schemaVersion: {
2642
- type: 'literal',
2643
- value: '1',
2644
- optional: true
2645
- },
2646
- layoutHint: {
2647
- type: 'primitive',
2648
- value: 'string',
2649
- optional: true
2650
- },
2651
- layout: {
2652
- type: 'object',
2653
- optional: true,
2654
- properties: {
2655
- type: {
2656
- type: 'literal',
2657
- value: 'cssGrid'
2658
- },
2659
- gridTemplateAreas: {
2660
- type: 'primitive',
2661
- value: 'string',
2662
- optional: true
2663
- },
2664
- gridTemplateRows: {
2665
- type: 'primitive',
2666
- value: 'string',
2667
- optional: true
2668
- },
2669
- gridTemplateColumns: {
2670
- type: 'primitive',
2671
- value: 'string',
2672
- optional: true
2673
- },
2674
- gap: {
2675
- type: 'primitive',
2676
- value: 'string',
2677
- optional: true
2678
- },
2679
- cells: {
2680
- type: 'array',
2681
- optional: true,
2682
- items: {
2683
- type: 'object',
2684
- properties: {
2685
- id: {
2686
- type: 'primitive',
2687
- value: 'string'
2688
- },
2689
- name: {
2690
- type: 'primitive',
2691
- value: 'string',
2692
- optional: true
2693
- },
2694
- width: {
2695
- type: 'object',
2696
- optional: true,
2697
- properties: {
2698
- type: {
2699
- type: 'enum',
2700
- values: ['fill', 'fit', 'fixed', 'percentage', 'custom']
2701
- },
2702
- value: {
2703
- type: 'primitive',
2704
- value: 'string',
2705
- optional: true
2706
- }
2707
- }
2708
- },
2709
- rowSpan: {
2710
- type: 'primitive',
2711
- value: 'number',
2712
- optional: true
2713
- },
2714
- visual: {
2715
- type: 'object',
2716
- optional: true,
2717
- properties: {
2718
- widgetName: {
2719
- type: 'primitive',
2720
- value: 'string'
2721
- },
2722
- runtimeName: {
2723
- type: 'primitive',
2724
- value: 'string'
2725
- },
2726
- visualType: {
2727
- type: 'primitive',
2728
- value: 'string'
2729
- },
2730
- visualSettings: {
2731
- type: 'object',
2732
- properties: {},
2733
- optional: true,
2734
- allowUnknownProperties: true
2735
- }
2736
- }
2737
- },
2738
- runtime: {
2739
- type: 'object',
2740
- optional: true,
2741
- properties: {
2742
- widgetName: {
2743
- type: 'primitive',
2744
- value: 'string'
2745
- },
2746
- runtimeName: {
2747
- type: 'primitive',
2748
- value: 'string'
2749
- },
2750
- runtimeSettings: {
2751
- type: 'object',
2752
- properties: {},
2753
- allowUnknownProperties: true
2754
- }
2755
- }
2756
- },
2757
- style: {
2758
- type: 'object',
2759
- properties: {},
2760
- optional: true,
2761
- allowUnknownProperties: true
2762
- }
2763
- }
2764
- }
2765
- },
2766
- rows: {
2767
- type: 'array',
2768
- optional: true,
2769
- items: {
2770
- type: 'object',
2771
- properties: {
2772
- id: {
2773
- type: 'primitive',
2774
- value: 'string'
2775
- },
2776
- height: {
2777
- type: 'object',
2778
- properties: {
2779
- type: {
2780
- type: 'enum',
2781
- values: ['auto', 'fixed', 'fill', 'percentage']
2782
- },
2783
- value: {
2784
- type: 'primitive',
2785
- value: 'number',
2786
- optional: true
2787
- }
2788
- }
2789
- },
2790
- columns: {
2791
- type: 'primitive',
2792
- value: 'string'
2793
- },
2794
- cells: {
2795
- type: 'array',
2796
- items: {
2797
- type: 'object',
2798
- properties: {
2799
- id: {
2800
- type: 'primitive',
2801
- value: 'string'
2802
- },
2803
- name: {
2804
- type: 'primitive',
2805
- value: 'string',
2806
- optional: true
2807
- },
2808
- width: {
2809
- type: 'object',
2810
- optional: true,
2811
- properties: {
2812
- type: {
2813
- type: 'enum',
2814
- values: ['fill', 'fit', 'fixed', 'percentage', 'custom']
2815
- },
2816
- value: {
2817
- type: 'primitive',
2818
- value: 'string',
2819
- optional: true
2820
- }
2821
- }
2822
- },
2823
- rowSpan: {
2824
- type: 'primitive',
2825
- value: 'number',
2826
- optional: true
2827
- },
2828
- visual: {
2829
- type: 'object',
2830
- properties: {
2831
- widgetName: {
2832
- type: 'primitive',
2833
- value: 'string'
2834
- },
2835
- runtimeName: {
2836
- type: 'primitive',
2837
- value: 'string'
2838
- },
2839
- visualType: {
2840
- type: 'primitive',
2841
- value: 'string'
2842
- },
2843
- visualSettings: {
2844
- type: 'object',
2845
- properties: {},
2846
- optional: true,
2847
- allowUnknownProperties: true
2848
- }
2849
- }
2850
- },
2851
- runtime: {
2852
- type: 'object',
2853
- optional: true,
2854
- properties: {
2855
- widgetName: {
2856
- type: 'primitive',
2857
- value: 'string'
2858
- },
2859
- runtimeName: {
2860
- type: 'primitive',
2861
- value: 'string'
2862
- },
2863
- runtimeSettings: {
2864
- type: 'object',
2865
- properties: {},
2866
- allowUnknownProperties: true
2867
- }
2868
- }
2869
- },
2870
- style: {
2871
- type: 'object',
2872
- properties: {},
2873
- optional: true,
2874
- allowUnknownProperties: true
2875
- }
2876
- }
2877
- }
2878
- }
2879
- }
2880
- }
2881
- }
2882
- }
2883
- }
2884
- }
2885
- };
2886
-
2887
- const GenUiComponentsToolRuntimeName = 'gen-ui-components-tool';
2888
- const genUiComponentsToolRuntimeSettingsSchema = {
2889
- type: 'object',
2890
- properties: {
2891
- schemaVersion: {
2892
- type: 'literal',
2893
- value: '1',
2894
- optional: true
2895
- },
2896
- baseVisualSettings: {
2897
- type: 'object',
2898
- optional: true,
2899
- properties: {},
2900
- allowUnknownProperties: true
2901
- }
2902
- }
2903
- };
2904
-
2905
- const genUiComponentsToolRuntimeCardVisualSettingsSchema = {
2906
- type: 'object',
2907
- properties: {
2908
- schemaVersion: {
2909
- type: 'literal',
2910
- value: '1',
2911
- optional: true
2912
- },
2913
- title: {
2914
- type: 'primitive',
2915
- value: 'string',
2916
- optional: true
2917
- },
2918
- body: {
2919
- type: 'primitive',
2920
- value: 'string',
2921
- optional: true
2922
- },
2923
- loading: {
2924
- type: 'primitive',
2925
- value: 'boolean',
2926
- optional: true
2927
- },
2928
- isTranslucent: {
2929
- type: 'primitive',
2930
- value: 'boolean',
2931
- optional: true
2932
- },
2933
- action: {
2934
- type: 'object',
2935
- optional: true,
2936
- allowUnknownProperties: true,
2937
- properties: {
2938
- label: {
2939
- type: 'primitive',
2940
- value: 'string'
2941
- }
2942
- }
2943
- },
2944
- media: {
2945
- type: 'object',
2946
- optional: true,
2947
- allowUnknownProperties: true,
2948
- properties: {
2949
- type: {
2950
- type: 'enum',
2951
- values: ['image', 'video', 'kaltura']
2952
- }
2953
- }
2954
- }
2955
- }
2956
- };
2957
-
2958
- const genUiComponentsToolRuntimeMarkdownVisualSettingsSchema = {
2959
- type: 'object',
2960
- properties: {
2961
- schemaVersion: {
2962
- type: 'literal',
2963
- value: '1',
2964
- optional: true
2965
- },
2966
- content: {
2967
- type: 'primitive',
2968
- value: 'string'
2969
- },
2970
- isTranslucent: {
2971
- type: 'primitive',
2972
- value: 'boolean',
2973
- optional: true
2974
- }
2975
- }
2976
- };
2977
-
2978
- const genUiComponentsToolRuntimePlayerVisualSettingsSchema = {
2979
- type: 'object',
2980
- properties: {
2981
- schemaVersion: {
2982
- type: 'literal',
2983
- value: '1',
2984
- optional: true
2985
- },
2986
- title: {
2987
- type: 'primitive',
2988
- value: 'string',
2989
- optional: true
2990
- },
2991
- loading: {
2992
- type: 'primitive',
2993
- value: 'boolean',
2994
- optional: true
2995
- },
2996
- isTranslucent: {
2997
- type: 'primitive',
2998
- value: 'boolean',
2999
- optional: true
3000
- },
3001
- source: {
3002
- type: 'object',
3003
- allowUnknownProperties: true,
3004
- properties: {
3005
- type: {
3006
- type: 'enum',
3007
- values: ['native', 'kaltura']
3008
- }
3009
- }
3010
- }
3011
- }
3012
- };
3013
-
3014
- const genUiComponentsToolRuntimeLoginVisualSettingsSchema = {
3015
- type: 'object',
3016
- properties: {
3017
- schemaVersion: {
3018
- type: 'literal',
3019
- value: '1',
3020
- optional: true
3021
- },
3022
- title: {
3023
- type: 'primitive',
3024
- value: 'string',
3025
- optional: true
3026
- },
3027
- subtitle: {
3028
- type: 'primitive',
3029
- value: 'string',
3030
- optional: true
3031
- }
3032
- }
3033
- };
3034
-
3035
- const genUiComponentsToolRuntimeQuestionsPresetsVisualSettingsSchema = {
3036
- type: 'object',
3037
- properties: {
3038
- schemaVersion: {
3039
- type: 'literal',
3040
- value: '1',
3041
- optional: true
3042
- },
3043
- questions: {
3044
- type: 'array',
3045
- optional: true,
3046
- items: {
3047
- type: 'primitive',
3048
- value: 'string'
3049
- }
3050
- },
3051
- isTranslucent: {
3052
- type: 'primitive',
3053
- value: 'boolean',
3054
- optional: true
3055
- },
3056
- onSelect: {
3057
- type: 'function',
3058
- optional: true
3059
- }
3060
- }
3061
- };
3062
-
3063
2255
  const ContentGalleryToolRuntimeName = 'content-gallery-tool';
3064
2256
  const contentGalleryToolRuntimeSettingsSchema = {
3065
2257
  type: 'object',
@@ -3204,6 +2396,34 @@ const contentGalleryToolRuntimeAvatarVisualSettingsSchema = {
3204
2396
  }
3205
2397
  };
3206
2398
 
2399
+ const blockVisualContextSchema = {
2400
+ type: 'object',
2401
+ optional: true,
2402
+ allowUnknownProperties: true,
2403
+ properties: {
2404
+ customization: chatCustomizationSchema,
2405
+ threadId: {
2406
+ type: 'primitive',
2407
+ value: 'string',
2408
+ optional: true
2409
+ },
2410
+ messageId: {
2411
+ type: 'primitive',
2412
+ value: 'string',
2413
+ optional: true
2414
+ },
2415
+ status: {
2416
+ type: 'enum',
2417
+ values: ['loading', 'ready', 'error']
2418
+ },
2419
+ groupIndex: {
2420
+ type: 'primitive',
2421
+ value: 'number',
2422
+ optional: true
2423
+ }
2424
+ }
2425
+ };
2426
+
3207
2427
  const contentGalleryToolRuntimeGenieAnswerVisualSettingsSchema = {
3208
2428
  type: 'object',
3209
2429
  properties: {
@@ -3235,4 +2455,4 @@ const contentGalleryToolRuntimeGenieAnswerVisualSettingsSchema = {
3235
2455
  }
3236
2456
  };
3237
2457
 
3238
- export { AVATAR_DEFAULT_CAPABILITIES, AdminDemoRuntimeName, AdminRuntimeName, AgentUnavailabilityReasons, AnswerModelEnum, AnswerTypeEnum, ApplicationRuntimeName, AvatarConnectionStatus, AvatarRuntimeName, AvatarStatus, CHAT_DEFAULT_CAPABILITIES, ChatRuntimeName, ContentGalleryToolRuntimeName, DeviceType, DisconnectReasons, FlashcardsToolRuntimeName, FollowupsToolRuntimeName, GenUiComponentsToolRuntimeName, GenUiComposerToolRuntimeName, GtcAgendaListToolRuntimeName, GtcAgendaToolRuntimeName, KalturaVideoPlayerToolRuntimeName, Nvidia2026EventToolRuntimeName, SourcesToolRuntimeName, SummaryToolRuntimeName, adminDemoRuntimeSettingsSchema, adminRuntimeSettingsSchema, applicationRuntimeSettingsSchema, avatarRuntimeAgentVisualSettingsSchema, avatarRuntimeChatVisualSettingsSchema, avatarRuntimeContainedVisualSettingsSchema, avatarRuntimeLobbyVisualSettingsSchema, avatarRuntimeSettingsSchema, bannerVisualSettingsSchema, blockVisualContextSchema, chatCustomizationSchema, chatRuntimePlayerPluginSettingsSchema, chatRuntimeSettingsSchema, containedVisualSettingsSchema, contentGalleryToolRuntimeAvatarVisualSettingsSchema, contentGalleryToolRuntimeGenieAnswerVisualSettingsSchema, contentGalleryToolRuntimeSettingsSchema, flashcardsToolRuntimeSettingsSchema, floaterCTAVisualSettingsSchema, floaterVisualSettingsSchema, followupsToolRuntimeAvatarVisualSettingsSchema, followupsToolRuntimeGenieAnswerVisualSettingsSchema, followupsToolRuntimeSettingsSchema, genUiComponentsToolRuntimeCardVisualSettingsSchema, genUiComponentsToolRuntimeLoginVisualSettingsSchema, genUiComponentsToolRuntimeMarkdownVisualSettingsSchema, genUiComponentsToolRuntimePlayerVisualSettingsSchema, genUiComponentsToolRuntimeQuestionsPresetsVisualSettingsSchema, genUiComponentsToolRuntimeSettingsSchema, genUiComposerToolRuntimeAvatarVisualSettingsSchema, genUiComposerToolRuntimeSettingsSchema, genieAnswerVisualSettingsSchema, getAvatarDefaultCapabilities, getChatDefaultCapabilities, getSourceUrlSchema, gtcAgendaListToolRuntimeAvatarVisualSettingsSchema, gtcAgendaListToolRuntimeSettingsSchema, gtcAgendaToolRuntimeAvatarVisualSettingsSchema, gtcAgendaToolRuntimeSettingsSchema, integrationsSchema, isAvatarConnectionProxyInternalType, kalturaVideoPlayerToolRuntimeAvatarVisualSettingsSchema, kalturaVideoPlayerToolRuntimeSettingsSchema, nvidia2026EventToolRuntimeSettingsSchema, pageVisualSettingsSchema, popupVisualSettingsSchema, shareUrlSchema, slideSchema, sourcesToolRuntimeGenieAnswerVisualSettingsSchema, sourcesToolRuntimeSettingsSchema, summaryToolRuntimeGenieAnswerVisualSettingsSchema, summaryToolRuntimeSettingsSchema, widgetName };
2458
+ export { AVATAR_DEFAULT_CAPABILITIES, AdminDemoRuntimeName, AdminRuntimeName, AgentUnavailabilityReasons, AnswerModelEnum, AnswerTypeEnum, ApplicationRuntimeName, AvatarConnectionStatus, AvatarRuntimeName, AvatarStatus, CHAT_DEFAULT_CAPABILITIES, ChatRuntimeName, ContentGalleryToolRuntimeName, DeviceType, DisconnectReasons, KalturaVideoPlayerToolRuntimeName, adminDemoRuntimeSettingsSchema, adminRuntimeSettingsSchema, applicationRuntimeSettingsSchema, avatarRuntimeAgentVisualSettingsSchema, avatarRuntimeChatVisualSettingsSchema, avatarRuntimeContainedVisualSettingsSchema, avatarRuntimeLobbyVisualSettingsSchema, avatarRuntimeSettingsSchema, bannerVisualSettingsSchema, blockVisualContextSchema, chatContextSchema, chatCustomizationSchema, chatRuntimePlayerPluginSettingsSchema, chatRuntimeSettingsSchema, containedVisualSettingsSchema, contentGalleryToolRuntimeAvatarVisualSettingsSchema, contentGalleryToolRuntimeGenieAnswerVisualSettingsSchema, contentGalleryToolRuntimeSettingsSchema, floaterCTAVisualSettingsSchema, floaterVisualSettingsSchema, getAvatarDefaultCapabilities, getChatDefaultCapabilities, getSourceUrlSchema, integrationsSchema, isAvatarConnectionProxyInternalType, kalturaVideoPlayerToolRuntimeAvatarVisualSettingsSchema, kalturaVideoPlayerToolRuntimeSettingsSchema, pageVisualSettingsSchema, popupVisualSettingsSchema, shareUrlSchema, slideSchema, widgetName };