@unisphere/genie-types 1.21.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 (37) hide show
  1. package/index.esm.js +46 -877
  2. package/package.json +2 -2
  3. package/src/index.d.ts +2 -9
  4. package/src/lib/{shared/chat-customizations-types.d.ts → chat-customizations-types.d.ts} +2 -2
  5. package/src/lib/chat-runtime/visuals-types.d.ts +1 -1
  6. package/src/lib/content-gallery-tool-runtime/genie-answer-visual-types.d.ts +1 -1
  7. package/src/lib/shared/index.d.ts +0 -2
  8. package/src/lib/types.d.ts +0 -53
  9. package/src/lib/flashcards-tool-runtime/index.d.ts +0 -2
  10. package/src/lib/flashcards-tool-runtime/runtime-types.d.ts +0 -41
  11. package/src/lib/flashcards-tool-runtime/visuals-types.d.ts +0 -52
  12. package/src/lib/followups-tool-runtime/avatar-visual-types.d.ts +0 -27
  13. package/src/lib/followups-tool-runtime/index.d.ts +0 -2
  14. package/src/lib/followups-tool-runtime/runtime-types.d.ts +0 -49
  15. package/src/lib/gen-ui-components-tool-runtime/card-visual-types.d.ts +0 -39
  16. package/src/lib/gen-ui-components-tool-runtime/index.d.ts +0 -6
  17. package/src/lib/gen-ui-components-tool-runtime/login-visual-types.d.ts +0 -10
  18. package/src/lib/gen-ui-components-tool-runtime/markdown-visual-types.d.ts +0 -7
  19. package/src/lib/gen-ui-components-tool-runtime/player-visual-types.d.ts +0 -25
  20. package/src/lib/gen-ui-components-tool-runtime/questions-presets-visual-types.d.ts +0 -9
  21. package/src/lib/gen-ui-components-tool-runtime/runtime-types.d.ts +0 -13
  22. package/src/lib/gen-ui-composer-tool-runtime/avatar-visual-types.d.ts +0 -50
  23. package/src/lib/gen-ui-composer-tool-runtime/index.d.ts +0 -2
  24. package/src/lib/gen-ui-composer-tool-runtime/runtime-types.d.ts +0 -13
  25. package/src/lib/gtc-agenda-list-tool-runtime/genie-answer-visual-types.d.ts +0 -23
  26. package/src/lib/gtc-agenda-list-tool-runtime/index.d.ts +0 -2
  27. package/src/lib/gtc-agenda-list-tool-runtime/runtime-types.d.ts +0 -27
  28. package/src/lib/gtc-agenda-tool-runtime/genie-answer-visual-types.d.ts +0 -16
  29. package/src/lib/gtc-agenda-tool-runtime/index.d.ts +0 -2
  30. package/src/lib/gtc-agenda-tool-runtime/runtime-types.d.ts +0 -27
  31. package/src/lib/nvidia-2026-event-tool-runtime/index.d.ts +0 -1
  32. package/src/lib/nvidia-2026-event-tool-runtime/runtime-types.d.ts +0 -82
  33. package/src/lib/sources-tool-runtime/index.d.ts +0 -1
  34. package/src/lib/sources-tool-runtime/runtime-types.d.ts +0 -57
  35. package/src/lib/summary-tool-runtime/index.d.ts +0 -1
  36. package/src/lib/summary-tool-runtime/runtime-types.d.ts +0 -79
  37. /package/src/lib/{shared/general-visual-types.d.ts → general-visual-types.d.ts} +0 -0
package/index.esm.js CHANGED
@@ -1813,303 +1813,6 @@ const popupVisualSettingsSchema = {
1813
1813
  }
1814
1814
  };
1815
1815
 
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
1816
  /** Runtime name constant for avatar experiences */
2114
1817
  const AvatarRuntimeName = 'avatar';
2115
1818
  const avatarRuntimeSettingsSchema = {
@@ -2515,66 +2218,6 @@ const applicationRuntimeSettingsSchema = {
2515
2218
  /** Runtime name constant for application-level experiences */
2516
2219
  const ApplicationRuntimeName = 'application';
2517
2220
 
2518
- /** Runtime name constant for summary tool */
2519
- const SummaryToolRuntimeName = 'summary-tool';
2520
- const summaryToolRuntimeSettingsSchema = {
2521
- type: 'object',
2522
- properties: {
2523
- schemaVersion: {
2524
- type: 'literal',
2525
- value: '1',
2526
- 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
- },
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
2221
  /** Runtime name constant for Kaltura video player tool */
2579
2222
  const KalturaVideoPlayerToolRuntimeName = 'kaltura-video-player-tool';
2580
2223
  const kalturaVideoPlayerToolRuntimeSettingsSchema = {
@@ -2609,537 +2252,35 @@ const kalturaVideoPlayerToolRuntimeAvatarVisualSettingsSchema = {
2609
2252
  }
2610
2253
  };
2611
2254
 
2612
- /** Runtime name constant for GTC agenda tool */
2613
- const GtcAgendaToolRuntimeName = 'gtc-agenda-tool';
2614
- const gtcAgendaToolRuntimeSettingsSchema = {
2255
+ const ContentGalleryToolRuntimeName = 'content-gallery-tool';
2256
+ const contentGalleryToolRuntimeSettingsSchema = {
2615
2257
  type: 'object',
2616
2258
  properties: {
2617
2259
  schemaVersion: {
2618
2260
  type: 'literal',
2619
2261
  value: '1',
2620
2262
  optional: true
2621
- }
2622
- }
2623
- };
2624
-
2625
- const gtcAgendaToolRuntimeAvatarVisualSettingsSchema = {
2626
- type: 'object',
2627
- properties: {
2628
- id: {
2263
+ },
2264
+ kalturaServerURI: {
2265
+ type: 'primitive',
2266
+ value: 'string'
2267
+ },
2268
+ partnerId: {
2269
+ type: 'primitive',
2270
+ value: 'string'
2271
+ },
2272
+ uiConfId: {
2273
+ type: 'primitive',
2274
+ value: 'string'
2275
+ },
2276
+ ks: {
2629
2277
  type: 'primitive',
2630
2278
  value: 'string'
2631
2279
  }
2632
2280
  }
2633
2281
  };
2634
2282
 
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 = {
2283
+ const clipSchema = {
3143
2284
  type: 'object',
3144
2285
  properties: {
3145
2286
  start_index: {
@@ -3255,6 +2396,34 @@ const contentGalleryToolRuntimeAvatarVisualSettingsSchema = {
3255
2396
  }
3256
2397
  };
3257
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
+
3258
2427
  const contentGalleryToolRuntimeGenieAnswerVisualSettingsSchema = {
3259
2428
  type: 'object',
3260
2429
  properties: {
@@ -3286,4 +2455,4 @@ const contentGalleryToolRuntimeGenieAnswerVisualSettingsSchema = {
3286
2455
  }
3287
2456
  };
3288
2457
 
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 };
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 };