@unisphere/genie-types 1.25.3 → 1.25.5

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.
package/index.esm.js CHANGED
@@ -2091,6 +2091,11 @@ const avatarRuntimeSettingsSchema = {
2091
2091
  value: 'string',
2092
2092
  optional: true
2093
2093
  },
2094
+ genieServerUrl: {
2095
+ type: 'primitive',
2096
+ value: 'string',
2097
+ optional: true
2098
+ },
2094
2099
  clientId: {
2095
2100
  type: 'primitive',
2096
2101
  value: 'string',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unisphere/genie-types",
3
- "version": "1.25.3",
3
+ "version": "1.25.5",
4
4
  "author": "kaltura",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {
@@ -1,8 +1,11 @@
1
1
  import { UnisphereService } from '@unisphere/runtime';
2
2
  import { AvatarVisualBridgeType } from './visual-bridge-types';
3
+ import { TinyDataStoreConsumer } from '@unisphere/core';
4
+ import { AvatarConnectionProxyType } from './shared-types';
3
5
  export interface AvatarServiceType extends UnisphereService {
4
6
  id: 'unisphere.widget.genie.avatar';
5
7
  readonly visualBridge: AvatarVisualBridgeType;
8
+ readonly connection: TinyDataStoreConsumer<AvatarConnectionProxyType | null>;
6
9
  connect(options?: {
7
10
  threadId?: string;
8
11
  messageId?: string;
@@ -15,4 +18,5 @@ export interface AvatarServiceType extends UnisphereService {
15
18
  } | null;
16
19
  getEntrySourceUrl(entryId: string, startTime?: number): string;
17
20
  clearContent(): void;
21
+ askViaText(question: string): void;
18
22
  }
@@ -95,6 +95,8 @@ export interface AvatarRuntimeSettings {
95
95
  agentMode?: boolean;
96
96
  /** Enable audio noise reduction for clearer audio */
97
97
  noiseReductionEnabled?: boolean;
98
+ /** Genie service server URL */
99
+ genieServerUrl?: string;
98
100
  /** Kaltura service integration settings */
99
101
  kaltura: {
100
102
  /** Kaltura session token for authentication */