@unisphere/genie-types 1.21.0 → 1.22.0-tools.1

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 (41) hide show
  1. package/index.esm.js +72 -931
  2. package/package.json +2 -2
  3. package/src/index.d.ts +2 -10
  4. package/src/lib/{shared/chat-customizations-types.d.ts → chat-customizations-types.d.ts} +2 -2
  5. package/src/lib/chat-runtime/shared-settings.d.ts +2 -0
  6. package/src/lib/chat-runtime/visuals-types.d.ts +1 -1
  7. package/src/lib/content-gallery-tool-runtime/genie-answer-visual-types.d.ts +1 -1
  8. package/src/lib/shared/index.d.ts +0 -2
  9. package/src/lib/types.d.ts +0 -53
  10. package/src/lib/flashcards-tool-runtime/index.d.ts +0 -2
  11. package/src/lib/flashcards-tool-runtime/runtime-types.d.ts +0 -41
  12. package/src/lib/flashcards-tool-runtime/visuals-types.d.ts +0 -52
  13. package/src/lib/followups-tool-runtime/avatar-visual-types.d.ts +0 -27
  14. package/src/lib/followups-tool-runtime/index.d.ts +0 -2
  15. package/src/lib/followups-tool-runtime/runtime-types.d.ts +0 -49
  16. package/src/lib/gen-ui-components-tool-runtime/card-visual-types.d.ts +0 -39
  17. package/src/lib/gen-ui-components-tool-runtime/index.d.ts +0 -6
  18. package/src/lib/gen-ui-components-tool-runtime/login-visual-types.d.ts +0 -10
  19. package/src/lib/gen-ui-components-tool-runtime/markdown-visual-types.d.ts +0 -7
  20. package/src/lib/gen-ui-components-tool-runtime/player-visual-types.d.ts +0 -25
  21. package/src/lib/gen-ui-components-tool-runtime/questions-presets-visual-types.d.ts +0 -9
  22. package/src/lib/gen-ui-components-tool-runtime/runtime-types.d.ts +0 -13
  23. package/src/lib/gen-ui-composer-tool-runtime/avatar-visual-types.d.ts +0 -50
  24. package/src/lib/gen-ui-composer-tool-runtime/index.d.ts +0 -2
  25. package/src/lib/gen-ui-composer-tool-runtime/runtime-types.d.ts +0 -13
  26. package/src/lib/gtc-agenda-list-tool-runtime/genie-answer-visual-types.d.ts +0 -23
  27. package/src/lib/gtc-agenda-list-tool-runtime/index.d.ts +0 -2
  28. package/src/lib/gtc-agenda-list-tool-runtime/runtime-types.d.ts +0 -27
  29. package/src/lib/gtc-agenda-tool-runtime/genie-answer-visual-types.d.ts +0 -16
  30. package/src/lib/gtc-agenda-tool-runtime/index.d.ts +0 -2
  31. package/src/lib/gtc-agenda-tool-runtime/runtime-types.d.ts +0 -27
  32. package/src/lib/kaltura-video-player-tool-runtime/genie-answer-visual-types.d.ts +0 -16
  33. package/src/lib/kaltura-video-player-tool-runtime/index.d.ts +0 -2
  34. package/src/lib/kaltura-video-player-tool-runtime/runtime-types.d.ts +0 -38
  35. package/src/lib/nvidia-2026-event-tool-runtime/index.d.ts +0 -1
  36. package/src/lib/nvidia-2026-event-tool-runtime/runtime-types.d.ts +0 -82
  37. package/src/lib/sources-tool-runtime/index.d.ts +0 -1
  38. package/src/lib/sources-tool-runtime/runtime-types.d.ts +0 -57
  39. package/src/lib/summary-tool-runtime/index.d.ts +0 -1
  40. package/src/lib/summary-tool-runtime/runtime-types.d.ts +0 -79
  41. /package/src/lib/{shared/general-visual-types.d.ts → general-visual-types.d.ts} +0 -0
package/index.esm.js CHANGED
@@ -1098,6 +1098,12 @@ const getAvatarDefaultCapabilities = context => {
1098
1098
  }
1099
1099
  return AVATAR_DEFAULT_CAPABILITIES;
1100
1100
  };
1101
+ const CHAT_CONTEXT_TYPE = {
1102
+ entry: 'entry',
1103
+ category: 'category',
1104
+ 'ancestor-category': 'ancestor_category'
1105
+ };
1106
+ const CHAT_CONTEXT_TYPE_GLOBAL = 'global';
1101
1107
  const chatContextSchema = {
1102
1108
  type: 'orByType',
1103
1109
  optional: true,
@@ -1813,303 +1819,6 @@ const popupVisualSettingsSchema = {
1813
1819
  }
1814
1820
  };
1815
1821
 
1816
- /** Runtime name constant for flashcards tool */
1817
- const FlashcardsToolRuntimeName = 'flashcards-tool';
1818
- const flashcardsToolRuntimeSettingsSchema = {
1819
- type: 'object',
1820
- properties: {
1821
- schemaVersion: {
1822
- type: 'literal',
1823
- value: '1',
1824
- optional: true
1825
- },
1826
- customization: chatCustomizationSchema
1827
- }
1828
- };
1829
-
1830
- const blockVisualContextSchema = {
1831
- type: 'object',
1832
- optional: true,
1833
- allowUnknownProperties: true,
1834
- properties: {
1835
- customization: chatCustomizationSchema,
1836
- threadId: {
1837
- type: 'primitive',
1838
- value: 'string',
1839
- optional: true
1840
- },
1841
- messageId: {
1842
- type: 'primitive',
1843
- value: 'string',
1844
- optional: true
1845
- },
1846
- status: {
1847
- type: 'enum',
1848
- values: ['loading', 'ready', 'error']
1849
- },
1850
- groupIndex: {
1851
- type: 'primitive',
1852
- value: 'number',
1853
- optional: true
1854
- }
1855
- }
1856
- };
1857
-
1858
- const genieAnswerVisualSettingsSchema = {
1859
- type: 'object',
1860
- properties: {
1861
- blockContext: blockVisualContextSchema,
1862
- title: {
1863
- type: 'primitive',
1864
- value: 'string',
1865
- optional: true
1866
- },
1867
- summary: {
1868
- type: 'primitive',
1869
- value: 'string',
1870
- optional: true
1871
- },
1872
- keypoints: {
1873
- type: 'array',
1874
- items: {
1875
- type: 'object',
1876
- properties: {
1877
- title: {
1878
- type: 'primitive',
1879
- value: 'string',
1880
- optional: true
1881
- },
1882
- summary: {
1883
- type: 'primitive',
1884
- value: 'string',
1885
- optional: true
1886
- },
1887
- citation: {
1888
- type: 'object',
1889
- optional: true,
1890
- properties: {
1891
- clips: {
1892
- type: 'array',
1893
- optional: true,
1894
- items: {
1895
- type: 'object',
1896
- properties: {
1897
- end_time: {
1898
- type: 'primitive',
1899
- value: 'number',
1900
- optional: true
1901
- },
1902
- entry_id: {
1903
- type: 'primitive',
1904
- value: 'string',
1905
- optional: true
1906
- },
1907
- last_index: {
1908
- type: 'primitive',
1909
- value: 'number',
1910
- optional: true
1911
- },
1912
- type: {
1913
- type: 'or',
1914
- properties: [{
1915
- type: 'literal',
1916
- value: 'CAPTION'
1917
- }, {
1918
- type: 'literal',
1919
- value: 'OCR'
1920
- }, {
1921
- type: 'literal',
1922
- value: 'DOCUMENT'
1923
- }, {
1924
- type: 'literal',
1925
- value: 'EXTERNAL'
1926
- }],
1927
- optional: true
1928
- },
1929
- start_index: {
1930
- type: 'primitive',
1931
- value: 'number',
1932
- optional: true
1933
- },
1934
- start_time: {
1935
- type: 'primitive',
1936
- value: 'number',
1937
- optional: true
1938
- },
1939
- thumbnail: {
1940
- type: 'primitive',
1941
- value: 'string',
1942
- optional: true
1943
- },
1944
- video_link: {
1945
- type: 'primitive',
1946
- value: 'string',
1947
- optional: true
1948
- },
1949
- title: {
1950
- type: 'primitive',
1951
- value: 'string',
1952
- optional: true
1953
- }
1954
- }
1955
- }
1956
- }
1957
- }
1958
- }
1959
- }
1960
- },
1961
- optional: true
1962
- }
1963
- }
1964
- };
1965
-
1966
- /** Runtime name constant for followups tool */
1967
- const FollowupsToolRuntimeName = 'followups-tool';
1968
- const followupsToolRuntimeSettingsSchema = {
1969
- type: 'object',
1970
- properties: {
1971
- schemaVersion: {
1972
- type: 'literal',
1973
- value: '1',
1974
- optional: true
1975
- }
1976
- }
1977
- };
1978
- const followupsToolRuntimeGenieAnswerVisualSettingsSchema = {
1979
- type: 'object',
1980
- properties: {
1981
- blockContext: blockVisualContextSchema,
1982
- questions: {
1983
- type: 'array',
1984
- items: {
1985
- type: 'primitive',
1986
- value: 'string'
1987
- },
1988
- optional: true
1989
- }
1990
- }
1991
- };
1992
-
1993
- const followupsToolRuntimeAvatarVisualSettingsSchema = {
1994
- type: 'object',
1995
- properties: {
1996
- schemaVersion: {
1997
- type: 'literal',
1998
- value: '1',
1999
- optional: true
2000
- },
2001
- blockContext: blockVisualContextSchema,
2002
- questions: {
2003
- type: 'array',
2004
- items: {
2005
- type: 'primitive',
2006
- value: 'string'
2007
- },
2008
- optional: true
2009
- },
2010
- onAction: {
2011
- type: 'function'
2012
- }
2013
- }
2014
- };
2015
-
2016
- /** Runtime name constant for sources tool */
2017
- const SourcesToolRuntimeName = 'sources-tool';
2018
- const sourcesToolRuntimeSettingsSchema = {
2019
- type: 'object',
2020
- properties: {
2021
- schemaVersion: {
2022
- type: 'literal',
2023
- value: '1',
2024
- optional: true
2025
- }
2026
- }
2027
- };
2028
- const sourcesToolRuntimeGenieAnswerVisualSettingsSchema = {
2029
- type: 'object',
2030
- properties: {
2031
- blockContext: blockVisualContextSchema,
2032
- variant: {
2033
- type: 'enum',
2034
- values: ['default', 'compact'],
2035
- optional: true
2036
- },
2037
- sources: {
2038
- type: 'array',
2039
- optional: true,
2040
- items: {
2041
- type: 'or',
2042
- properties: [{
2043
- type: 'object',
2044
- properties: {
2045
- type: {
2046
- type: 'literal',
2047
- value: 'video'
2048
- },
2049
- title: {
2050
- type: 'primitive',
2051
- value: 'string'
2052
- },
2053
- entry_id: {
2054
- type: 'primitive',
2055
- value: 'string'
2056
- },
2057
- duration: {
2058
- type: 'primitive',
2059
- value: 'number'
2060
- },
2061
- has_short: {
2062
- type: 'primitive',
2063
- value: 'boolean'
2064
- }
2065
- }
2066
- }, {
2067
- type: 'object',
2068
- properties: {
2069
- type: {
2070
- type: 'literal',
2071
- value: 'document'
2072
- },
2073
- title: {
2074
- type: 'primitive',
2075
- value: 'string'
2076
- },
2077
- entry_id: {
2078
- type: 'primitive',
2079
- value: 'string'
2080
- },
2081
- duration: {
2082
- type: 'primitive',
2083
- value: 'number',
2084
- optional: true
2085
- },
2086
- has_short: {
2087
- type: 'primitive',
2088
- value: 'boolean'
2089
- }
2090
- }
2091
- }, {
2092
- type: 'object',
2093
- properties: {
2094
- type: {
2095
- type: 'literal',
2096
- value: 'web'
2097
- },
2098
- title: {
2099
- type: 'primitive',
2100
- value: 'string'
2101
- },
2102
- url: {
2103
- type: 'primitive',
2104
- value: 'string'
2105
- }
2106
- }
2107
- }]
2108
- }
2109
- }
2110
- }
2111
- };
2112
-
2113
1822
  /** Runtime name constant for avatar experiences */
2114
1823
  const AvatarRuntimeName = 'avatar';
2115
1824
  const avatarRuntimeSettingsSchema = {
@@ -2515,71 +2224,15 @@ const applicationRuntimeSettingsSchema = {
2515
2224
  /** Runtime name constant for application-level experiences */
2516
2225
  const ApplicationRuntimeName = 'application';
2517
2226
 
2518
- /** Runtime name constant for summary tool */
2519
- const SummaryToolRuntimeName = 'summary-tool';
2520
- const summaryToolRuntimeSettingsSchema = {
2227
+ const ContentGalleryToolRuntimeName = 'content-gallery-tool';
2228
+ const contentGalleryToolRuntimeSettingsSchema = {
2521
2229
  type: 'object',
2522
2230
  properties: {
2523
2231
  schemaVersion: {
2524
2232
  type: 'literal',
2525
2233
  value: '1',
2526
2234
  optional: true
2527
- }
2528
- }
2529
- };
2530
- const summaryToolRuntimeGenieAnswerVisualSettingsSchema = {
2531
- type: 'object',
2532
- properties: {
2533
- blockContext: blockVisualContextSchema,
2534
- summary: {
2535
- type: 'primitive',
2536
- value: 'string'
2537
2235
  },
2538
- chapters: {
2539
- type: 'array',
2540
- optional: true,
2541
- items: {
2542
- type: 'object',
2543
- properties: {
2544
- start_time: {
2545
- type: 'primitive',
2546
- value: 'string',
2547
- optional: true
2548
- },
2549
- title: {
2550
- type: 'primitive',
2551
- value: 'string',
2552
- optional: true
2553
- },
2554
- description: {
2555
- type: 'primitive',
2556
- value: 'string',
2557
- optional: true
2558
- }
2559
- }
2560
- }
2561
- }
2562
- }
2563
- };
2564
-
2565
- /** Runtime name constant for NVIDIA 2026 event tool */
2566
- const Nvidia2026EventToolRuntimeName = 'nvidia-2026-event-tool';
2567
- const nvidia2026EventToolRuntimeSettingsSchema = {
2568
- type: 'object',
2569
- properties: {
2570
- schemaVersion: {
2571
- type: 'literal',
2572
- value: '1',
2573
- optional: true
2574
- }
2575
- }
2576
- };
2577
-
2578
- /** Runtime name constant for Kaltura video player tool */
2579
- const KalturaVideoPlayerToolRuntimeName = 'kaltura-video-player-tool';
2580
- const kalturaVideoPlayerToolRuntimeSettingsSchema = {
2581
- type: 'object',
2582
- properties: {
2583
2236
  kalturaServerURI: {
2584
2237
  type: 'primitive',
2585
2238
  value: 'string'
@@ -2599,584 +2252,44 @@ const kalturaVideoPlayerToolRuntimeSettingsSchema = {
2599
2252
  }
2600
2253
  };
2601
2254
 
2602
- const kalturaVideoPlayerToolRuntimeAvatarVisualSettingsSchema = {
2255
+ const clipSchema = {
2603
2256
  type: 'object',
2604
2257
  properties: {
2605
- id: {
2258
+ start_index: {
2606
2259
  type: 'primitive',
2607
- value: 'string'
2608
- }
2609
- }
2610
- };
2611
-
2612
- /** Runtime name constant for GTC agenda tool */
2613
- const GtcAgendaToolRuntimeName = 'gtc-agenda-tool';
2614
- const gtcAgendaToolRuntimeSettingsSchema = {
2615
- type: 'object',
2616
- properties: {
2617
- schemaVersion: {
2618
- type: 'literal',
2619
- value: '1',
2620
- optional: true
2621
- }
2622
- }
2623
- };
2624
-
2625
- const gtcAgendaToolRuntimeAvatarVisualSettingsSchema = {
2626
- type: 'object',
2627
- properties: {
2628
- id: {
2629
- type: 'primitive',
2630
- value: 'string'
2631
- }
2632
- }
2633
- };
2634
-
2635
- /** Runtime name constant for GTC agenda list tool */
2636
- const GtcAgendaListToolRuntimeName = 'gtc-agenda-list-tool';
2637
- const gtcAgendaListToolRuntimeSettingsSchema = {
2638
- type: 'object',
2639
- properties: {
2640
- schemaVersion: {
2641
- type: 'literal',
2642
- value: '1',
2643
- optional: true
2644
- }
2645
- }
2646
- };
2647
-
2648
- const gtcAgendaListToolRuntimeAvatarVisualSettingsSchema = {
2649
- type: 'object',
2650
- properties: {
2651
- schemaVersion: {
2652
- type: 'literal',
2653
- value: '1',
2654
- optional: true
2655
- },
2656
- sessions: {
2657
- type: 'array',
2658
- items: {
2659
- type: 'object',
2660
- properties: {
2661
- id: {
2662
- type: 'primitive',
2663
- value: 'string'
2664
- }
2665
- }
2666
- }
2667
- }
2668
- }
2669
- };
2670
-
2671
- const GenUiComposerToolRuntimeName = 'gen-ui-composer-tool';
2672
- const genUiComposerToolRuntimeSettingsSchema = {
2673
- type: 'object',
2674
- properties: {
2675
- schemaVersion: {
2676
- type: 'literal',
2677
- value: '1',
2678
- optional: true
2679
- },
2680
- baseVisualSettings: {
2681
- type: 'object',
2682
- optional: true,
2683
- properties: {},
2684
- allowUnknownProperties: true
2685
- }
2686
- }
2687
- };
2688
-
2689
- const genUiComposerToolRuntimeAvatarVisualSettingsSchema = {
2690
- type: 'object',
2691
- properties: {
2692
- schemaVersion: {
2693
- type: 'literal',
2694
- value: '1',
2695
- optional: true
2696
- },
2697
- layoutHint: {
2698
- type: 'primitive',
2699
- value: 'string',
2700
- optional: true
2701
- },
2702
- layout: {
2703
- type: 'object',
2704
- optional: true,
2705
- properties: {
2706
- type: {
2707
- type: 'literal',
2708
- value: 'cssGrid'
2709
- },
2710
- gridTemplateAreas: {
2711
- type: 'primitive',
2712
- value: 'string',
2713
- optional: true
2714
- },
2715
- gridTemplateRows: {
2716
- type: 'primitive',
2717
- value: 'string',
2718
- optional: true
2719
- },
2720
- gridTemplateColumns: {
2721
- type: 'primitive',
2722
- value: 'string',
2723
- optional: true
2724
- },
2725
- gap: {
2726
- type: 'primitive',
2727
- value: 'string',
2728
- optional: true
2729
- },
2730
- cells: {
2731
- type: 'array',
2732
- optional: true,
2733
- items: {
2734
- type: 'object',
2735
- properties: {
2736
- id: {
2737
- type: 'primitive',
2738
- value: 'string'
2739
- },
2740
- name: {
2741
- type: 'primitive',
2742
- value: 'string',
2743
- optional: true
2744
- },
2745
- width: {
2746
- type: 'object',
2747
- optional: true,
2748
- properties: {
2749
- type: {
2750
- type: 'enum',
2751
- values: ['fill', 'fit', 'fixed', 'percentage', 'custom']
2752
- },
2753
- value: {
2754
- type: 'primitive',
2755
- value: 'string',
2756
- optional: true
2757
- }
2758
- }
2759
- },
2760
- rowSpan: {
2761
- type: 'primitive',
2762
- value: 'number',
2763
- optional: true
2764
- },
2765
- visual: {
2766
- type: 'object',
2767
- optional: true,
2768
- properties: {
2769
- widgetName: {
2770
- type: 'primitive',
2771
- value: 'string'
2772
- },
2773
- runtimeName: {
2774
- type: 'primitive',
2775
- value: 'string'
2776
- },
2777
- visualType: {
2778
- type: 'primitive',
2779
- value: 'string'
2780
- },
2781
- visualSettings: {
2782
- type: 'object',
2783
- properties: {},
2784
- optional: true,
2785
- allowUnknownProperties: true
2786
- }
2787
- }
2788
- },
2789
- runtime: {
2790
- type: 'object',
2791
- optional: true,
2792
- properties: {
2793
- widgetName: {
2794
- type: 'primitive',
2795
- value: 'string'
2796
- },
2797
- runtimeName: {
2798
- type: 'primitive',
2799
- value: 'string'
2800
- },
2801
- runtimeSettings: {
2802
- type: 'object',
2803
- properties: {},
2804
- allowUnknownProperties: true
2805
- }
2806
- }
2807
- },
2808
- style: {
2809
- type: 'object',
2810
- properties: {},
2811
- optional: true,
2812
- allowUnknownProperties: true
2813
- }
2814
- }
2815
- }
2816
- },
2817
- rows: {
2818
- type: 'array',
2819
- optional: true,
2820
- items: {
2821
- type: 'object',
2822
- properties: {
2823
- id: {
2824
- type: 'primitive',
2825
- value: 'string'
2826
- },
2827
- height: {
2828
- type: 'object',
2829
- properties: {
2830
- type: {
2831
- type: 'enum',
2832
- values: ['auto', 'fixed', 'fill', 'percentage']
2833
- },
2834
- value: {
2835
- type: 'primitive',
2836
- value: 'number',
2837
- optional: true
2838
- }
2839
- }
2840
- },
2841
- columns: {
2842
- type: 'primitive',
2843
- value: 'string'
2844
- },
2845
- cells: {
2846
- type: 'array',
2847
- items: {
2848
- type: 'object',
2849
- properties: {
2850
- id: {
2851
- type: 'primitive',
2852
- value: 'string'
2853
- },
2854
- name: {
2855
- type: 'primitive',
2856
- value: 'string',
2857
- optional: true
2858
- },
2859
- width: {
2860
- type: 'object',
2861
- optional: true,
2862
- properties: {
2863
- type: {
2864
- type: 'enum',
2865
- values: ['fill', 'fit', 'fixed', 'percentage', 'custom']
2866
- },
2867
- value: {
2868
- type: 'primitive',
2869
- value: 'string',
2870
- optional: true
2871
- }
2872
- }
2873
- },
2874
- rowSpan: {
2875
- type: 'primitive',
2876
- value: 'number',
2877
- optional: true
2878
- },
2879
- visual: {
2880
- type: 'object',
2881
- properties: {
2882
- widgetName: {
2883
- type: 'primitive',
2884
- value: 'string'
2885
- },
2886
- runtimeName: {
2887
- type: 'primitive',
2888
- value: 'string'
2889
- },
2890
- visualType: {
2891
- type: 'primitive',
2892
- value: 'string'
2893
- },
2894
- visualSettings: {
2895
- type: 'object',
2896
- properties: {},
2897
- optional: true,
2898
- allowUnknownProperties: true
2899
- }
2900
- }
2901
- },
2902
- runtime: {
2903
- type: 'object',
2904
- optional: true,
2905
- properties: {
2906
- widgetName: {
2907
- type: 'primitive',
2908
- value: 'string'
2909
- },
2910
- runtimeName: {
2911
- type: 'primitive',
2912
- value: 'string'
2913
- },
2914
- runtimeSettings: {
2915
- type: 'object',
2916
- properties: {},
2917
- allowUnknownProperties: true
2918
- }
2919
- }
2920
- },
2921
- style: {
2922
- type: 'object',
2923
- properties: {},
2924
- optional: true,
2925
- allowUnknownProperties: true
2926
- }
2927
- }
2928
- }
2929
- }
2930
- }
2931
- }
2932
- }
2933
- }
2934
- }
2935
- }
2936
- };
2937
-
2938
- const GenUiComponentsToolRuntimeName = 'gen-ui-components-tool';
2939
- const genUiComponentsToolRuntimeSettingsSchema = {
2940
- type: 'object',
2941
- properties: {
2942
- schemaVersion: {
2943
- type: 'literal',
2944
- value: '1',
2945
- optional: true
2946
- },
2947
- baseVisualSettings: {
2948
- type: 'object',
2949
- optional: true,
2950
- properties: {},
2951
- allowUnknownProperties: true
2952
- }
2953
- }
2954
- };
2955
-
2956
- const genUiComponentsToolRuntimeCardVisualSettingsSchema = {
2957
- type: 'object',
2958
- properties: {
2959
- schemaVersion: {
2960
- type: 'literal',
2961
- value: '1',
2962
- optional: true
2963
- },
2964
- title: {
2965
- type: 'primitive',
2966
- value: 'string',
2967
- optional: true
2968
- },
2969
- body: {
2970
- type: 'primitive',
2971
- value: 'string',
2972
- optional: true
2973
- },
2974
- loading: {
2975
- type: 'primitive',
2976
- value: 'boolean',
2977
- optional: true
2978
- },
2979
- isTranslucent: {
2980
- type: 'primitive',
2981
- value: 'boolean',
2982
- optional: true
2983
- },
2984
- action: {
2985
- type: 'object',
2986
- optional: true,
2987
- allowUnknownProperties: true,
2988
- properties: {
2989
- label: {
2990
- type: 'primitive',
2991
- value: 'string'
2992
- }
2993
- }
2994
- },
2995
- media: {
2996
- type: 'object',
2997
- optional: true,
2998
- allowUnknownProperties: true,
2999
- properties: {
3000
- type: {
3001
- type: 'enum',
3002
- values: ['image', 'video', 'kaltura']
3003
- }
3004
- }
3005
- }
3006
- }
3007
- };
3008
-
3009
- const genUiComponentsToolRuntimeMarkdownVisualSettingsSchema = {
3010
- type: 'object',
3011
- properties: {
3012
- schemaVersion: {
3013
- type: 'literal',
3014
- value: '1',
3015
- optional: true
3016
- },
3017
- content: {
3018
- type: 'primitive',
3019
- value: 'string'
3020
- },
3021
- isTranslucent: {
3022
- type: 'primitive',
3023
- value: 'boolean',
3024
- optional: true
3025
- }
3026
- }
3027
- };
3028
-
3029
- const genUiComponentsToolRuntimePlayerVisualSettingsSchema = {
3030
- type: 'object',
3031
- properties: {
3032
- schemaVersion: {
3033
- type: 'literal',
3034
- value: '1',
3035
- optional: true
3036
- },
3037
- title: {
3038
- type: 'primitive',
3039
- value: 'string',
3040
- optional: true
3041
- },
3042
- loading: {
3043
- type: 'primitive',
3044
- value: 'boolean',
3045
- optional: true
3046
- },
3047
- isTranslucent: {
3048
- type: 'primitive',
3049
- value: 'boolean',
3050
- optional: true
3051
- },
3052
- source: {
3053
- type: 'object',
3054
- allowUnknownProperties: true,
3055
- properties: {
3056
- type: {
3057
- type: 'enum',
3058
- values: ['native', 'kaltura']
3059
- }
3060
- }
3061
- }
3062
- }
3063
- };
3064
-
3065
- const genUiComponentsToolRuntimeLoginVisualSettingsSchema = {
3066
- type: 'object',
3067
- properties: {
3068
- schemaVersion: {
3069
- type: 'literal',
3070
- value: '1',
3071
- optional: true
3072
- },
3073
- title: {
3074
- type: 'primitive',
3075
- value: 'string',
3076
- optional: true
3077
- },
3078
- subtitle: {
3079
- type: 'primitive',
3080
- value: 'string',
3081
- optional: true
3082
- }
3083
- }
3084
- };
3085
-
3086
- const genUiComponentsToolRuntimeQuestionsPresetsVisualSettingsSchema = {
3087
- type: 'object',
3088
- properties: {
3089
- schemaVersion: {
3090
- type: 'literal',
3091
- value: '1',
3092
- optional: true
3093
- },
3094
- questions: {
3095
- type: 'array',
3096
- optional: true,
3097
- items: {
3098
- type: 'primitive',
3099
- value: 'string'
3100
- }
3101
- },
3102
- isTranslucent: {
3103
- type: 'primitive',
3104
- value: 'boolean',
3105
- optional: true
3106
- },
3107
- onSelect: {
3108
- type: 'function',
3109
- optional: true
3110
- }
3111
- }
3112
- };
3113
-
3114
- const ContentGalleryToolRuntimeName = 'content-gallery-tool';
3115
- const contentGalleryToolRuntimeSettingsSchema = {
3116
- type: 'object',
3117
- properties: {
3118
- schemaVersion: {
3119
- type: 'literal',
3120
- value: '1',
3121
- optional: true
3122
- },
3123
- kalturaServerURI: {
3124
- type: 'primitive',
3125
- value: 'string'
3126
- },
3127
- partnerId: {
3128
- type: 'primitive',
3129
- value: 'string'
3130
- },
3131
- uiConfId: {
3132
- type: 'primitive',
3133
- value: 'string'
3134
- },
3135
- ks: {
3136
- type: 'primitive',
3137
- value: 'string'
3138
- }
3139
- }
3140
- };
3141
-
3142
- const clipSchema = {
3143
- type: 'object',
3144
- properties: {
3145
- start_index: {
3146
- type: 'primitive',
3147
- value: 'number'
3148
- },
3149
- last_index: {
3150
- type: 'primitive',
3151
- value: 'number'
3152
- },
3153
- entry_id: {
3154
- type: 'primitive',
3155
- value: 'string',
3156
- optional: true
3157
- },
3158
- start_time: {
3159
- type: 'primitive',
3160
- value: 'number'
3161
- },
3162
- end_time: {
3163
- type: 'primitive',
3164
- value: 'number'
3165
- },
3166
- type: {
3167
- type: 'primitive',
3168
- value: 'string',
3169
- optional: true
3170
- },
3171
- thumbnail: {
3172
- type: 'primitive',
3173
- value: 'string',
3174
- optional: true
3175
- },
3176
- video_link: {
3177
- type: 'primitive',
3178
- value: 'string',
3179
- optional: true
2260
+ value: 'number'
2261
+ },
2262
+ last_index: {
2263
+ type: 'primitive',
2264
+ value: 'number'
2265
+ },
2266
+ entry_id: {
2267
+ type: 'primitive',
2268
+ value: 'string',
2269
+ optional: true
2270
+ },
2271
+ start_time: {
2272
+ type: 'primitive',
2273
+ value: 'number'
2274
+ },
2275
+ end_time: {
2276
+ type: 'primitive',
2277
+ value: 'number'
2278
+ },
2279
+ type: {
2280
+ type: 'primitive',
2281
+ value: 'string',
2282
+ optional: true
2283
+ },
2284
+ thumbnail: {
2285
+ type: 'primitive',
2286
+ value: 'string',
2287
+ optional: true
2288
+ },
2289
+ video_link: {
2290
+ type: 'primitive',
2291
+ value: 'string',
2292
+ optional: true
3180
2293
  }
3181
2294
  }
3182
2295
  };
@@ -3255,6 +2368,34 @@ const contentGalleryToolRuntimeAvatarVisualSettingsSchema = {
3255
2368
  }
3256
2369
  };
3257
2370
 
2371
+ const blockVisualContextSchema = {
2372
+ type: 'object',
2373
+ optional: true,
2374
+ allowUnknownProperties: true,
2375
+ properties: {
2376
+ customization: chatCustomizationSchema,
2377
+ threadId: {
2378
+ type: 'primitive',
2379
+ value: 'string',
2380
+ optional: true
2381
+ },
2382
+ messageId: {
2383
+ type: 'primitive',
2384
+ value: 'string',
2385
+ optional: true
2386
+ },
2387
+ status: {
2388
+ type: 'enum',
2389
+ values: ['loading', 'ready', 'error']
2390
+ },
2391
+ groupIndex: {
2392
+ type: 'primitive',
2393
+ value: 'number',
2394
+ optional: true
2395
+ }
2396
+ }
2397
+ };
2398
+
3258
2399
  const contentGalleryToolRuntimeGenieAnswerVisualSettingsSchema = {
3259
2400
  type: 'object',
3260
2401
  properties: {
@@ -3286,4 +2427,4 @@ const contentGalleryToolRuntimeGenieAnswerVisualSettingsSchema = {
3286
2427
  }
3287
2428
  };
3288
2429
 
3289
- 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, chatContextSchema, 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 };
2430
+ export { AVATAR_DEFAULT_CAPABILITIES, AdminDemoRuntimeName, AdminRuntimeName, AgentUnavailabilityReasons, AnswerModelEnum, AnswerTypeEnum, ApplicationRuntimeName, AvatarConnectionStatus, AvatarRuntimeName, AvatarStatus, CHAT_CONTEXT_TYPE, CHAT_CONTEXT_TYPE_GLOBAL, CHAT_DEFAULT_CAPABILITIES, ChatRuntimeName, ContentGalleryToolRuntimeName, DeviceType, DisconnectReasons, 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, pageVisualSettingsSchema, popupVisualSettingsSchema, shareUrlSchema, slideSchema, widgetName };