@unisphere/genie-types 1.34.0 → 1.34.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.34.0",
3
+ "version": "1.34.3",
4
4
  "author": "kaltura",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {
@@ -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 { AvatarConnectionStatus, CaptionConfig, CaptionState } from './shared-types';
5
+ import { AgentScreenShareInfo, AgentTapToTalkInfo, AvatarConnectionStatus, CaptionConfig, CaptionState } from './shared-types';
6
6
  /** Runtime name constant for avatar experiences */
7
7
  export declare const AvatarRuntimeName: "avatar";
8
8
  export interface Captions {
@@ -31,6 +31,7 @@ export type AvatarRuntime = UnisphereRuntimeBaseType<AvatarRuntimeSettings> & {
31
31
  threadId: string;
32
32
  messageId?: string;
33
33
  };
34
+ onThreadIdChange?: (threadId: string) => void;
34
35
  dynamicVariables?: Record<string, unknown>;
35
36
  }): void;
36
37
  /** Disconnect from the avatar service */
@@ -51,6 +52,14 @@ export type AvatarRuntime = UnisphereRuntimeBaseType<AvatarRuntimeSettings> & {
51
52
  startTapToTalk(): void;
52
53
  /** Stop talking tap-to-talk mode for the avatar */
53
54
  endTapToTalk(): void;
55
+ /** Observable tap-to-talk mode state */
56
+ tapToTalkInfo: TinyDataStoreConsumer<AgentTapToTalkInfo | null>;
57
+ /** Observable screen share info state */
58
+ screenShareInfo: TinyDataStoreConsumer<AgentScreenShareInfo | null>;
59
+ /** Start screen sharing */
60
+ startScreenShare(): void;
61
+ /** Stop screen sharing */
62
+ stopScreenShare(): void;
54
63
  /** Captions management API for the avatar runtime */
55
64
  captions: Captions;
56
65
  /** Client tools registration API for the avatar runtime */