@unisphere/genie-types 1.39.1 → 1.39.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unisphere/genie-types",
|
|
3
|
-
"version": "1.39.
|
|
3
|
+
"version": "1.39.3",
|
|
4
4
|
"author": "kaltura",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"repository": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"types": "./src/index.d.ts",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@kaltura-sdk/rtc-core": "^1.25.
|
|
12
|
+
"@kaltura-sdk/rtc-core": "^1.25.21",
|
|
13
13
|
"@unisphere/core": "^1.99.0",
|
|
14
14
|
"@unisphere/runtime": "^1.98.0",
|
|
15
15
|
"@unisphere/runtime-js": "^1.96.0"
|
|
@@ -2,7 +2,7 @@ import { TinyDataStoreConsumer, ValidatorSchema } from '@unisphere/core';
|
|
|
2
2
|
import { UnisphereRuntimeBaseType } from '@unisphere/runtime';
|
|
3
3
|
import { widgetName } from '../widget-types';
|
|
4
4
|
import { ChatContext, GenieCapabilities } from '../chat-runtime/shared-settings';
|
|
5
|
-
import { AgentData, AgentScreenShareInfo, AgentTapToTalkInfo, AvatarConnectionStatus, CaptionConfig, CaptionState } from './shared-types';
|
|
5
|
+
import { AgentData, AgentScreenShareInfo, AgentTapToTalkInfo, AvatarConnectionStatus, CaptionConfig, CaptionState, DisconnectReasons } from './shared-types';
|
|
6
6
|
import { ChatEntry } from './chat-types';
|
|
7
7
|
/** Runtime name constant for avatar experiences */
|
|
8
8
|
export declare const AvatarRuntimeName: "avatar";
|
|
@@ -102,6 +102,13 @@ export type AvatarRuntime = UnisphereRuntimeBaseType<AvatarRuntimeSettings> & {
|
|
|
102
102
|
}>;
|
|
103
103
|
/** Observable agent data */
|
|
104
104
|
agentData: TinyDataStoreConsumer<AgentData>;
|
|
105
|
+
/** Observable disconnect data, including reason and error if applicable */
|
|
106
|
+
disconnectData: TinyDataStoreConsumer<{
|
|
107
|
+
reason: DisconnectReasons;
|
|
108
|
+
error?: Error;
|
|
109
|
+
suppressNotification?: boolean;
|
|
110
|
+
skipDisconnect?: boolean;
|
|
111
|
+
} | null>;
|
|
105
112
|
};
|
|
106
113
|
/** Event emitted when the avatar brain invokes a tool call */
|
|
107
114
|
export interface AvatarToolCallEvent {
|