@unisphere/genie-types 1.19.4 → 1.20.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unisphere/genie-types",
3
- "version": "1.19.4",
3
+ "version": "1.20.0",
4
4
  "author": "kaltura",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {
@@ -9,8 +9,8 @@
9
9
  },
10
10
  "types": "./src/index.d.ts",
11
11
  "dependencies": {
12
- "@kaltura-sdk/rtc-core": "^1.25.11",
13
- "@unisphere/core": "^1.97.1",
12
+ "@kaltura-sdk/rtc-core": "^1.25.12",
13
+ "@unisphere/core": "^1.98.0",
14
14
  "@unisphere/runtime": "^1.97.0"
15
15
  },
16
16
  "module": "./index.esm.js",
@@ -96,6 +96,14 @@ export type AgentData = {
96
96
  messageId?: string;
97
97
  };
98
98
  };
99
+ /**
100
+ * Agent screen sharing data
101
+ */
102
+ export type AgentScreenShareInfo = {
103
+ active: boolean;
104
+ stream: MediaStream | null;
105
+ analysisReady: boolean;
106
+ };
99
107
  /**
100
108
  * Content data for avatar tool integrations.
101
109
  *
@@ -199,10 +207,8 @@ export interface AvatarConnectionProxyType {
199
207
  readonly threadId: TinyDataStoreConsumer<string | null>;
200
208
  /** Observable chat log entries */
201
209
  readonly chatLog: TinyDataStoreConsumer<ChatEntry[]>;
202
- /** Observable screen share active state */
203
- readonly screenShareActive: TinyDataStoreConsumer<boolean>;
204
- /** Observable screen share stream */
205
- readonly screenShareStream: TinyDataStoreConsumer<MediaStream | null>;
210
+ /** Observable screen share info state */
211
+ readonly screenShareInfo: TinyDataStoreConsumer<AgentScreenShareInfo | null>;
206
212
  /** Unique connection identifier */
207
213
  readonly id: string;
208
214
  /** Send text message to avatar */
@@ -219,7 +225,6 @@ export interface AvatarConnectionProxyType {
219
225
  export declare const isAvatarConnectionProxyInternalType: (x: any) => x is AvatarConnectionProxInternalType;
220
226
  export interface AvatarServiceType extends UnisphereService {
221
227
  id: 'unisphere.widgets.genie.avatar';
222
- status: TinyDataStoreConsumer<AvatarClientStatus>;
223
228
  connection: TinyDataStoreConsumer<AvatarConnectionProxyType | null>;
224
229
  audioState: TinyDataStoreConsumer<{
225
230
  muted: boolean;
@@ -228,10 +233,6 @@ export interface AvatarServiceType extends UnisphereService {
228
233
  devicesList: TinyDataStoreConsumer<UserDevicesList | null>;
229
234
  agentPreviewUrl: TinyDataStoreConsumer<string | null>;
230
235
  agentPreviewImageUrl: TinyDataStoreConsumer<string | null>;
231
- agentStatus: TinyDataStoreConsumer<{
232
- available: boolean;
233
- reason?: AgentUnavailabilityReasons;
234
- } | null>;
235
236
  threadId: TinyDataStoreConsumer<string | null>;
236
237
  setThreadId(id: string | null): void;
237
238
  isPreviewMode: TinyDataStoreConsumer<boolean>;