@unisphere/genie-types 1.12.0 → 1.13.0-cmx.1

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
@@ -678,6 +678,11 @@ const sourcesToolRuntimeGenieAnswerVisualSettingsSchema = {
678
678
  type: 'object',
679
679
  properties: {
680
680
  blockContext: blockVisualContextSchema,
681
+ variant: {
682
+ type: 'enum',
683
+ values: ['default', 'compact'],
684
+ optional: true
685
+ },
681
686
  sources: {
682
687
  type: 'array',
683
688
  optional: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unisphere/genie-types",
3
- "version": "1.12.0",
3
+ "version": "1.13.0-cmx.1",
4
4
  "author": "kaltura",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {
@@ -11,8 +11,10 @@ export type AvatarIntegration = {
11
11
  roomId: string;
12
12
  flowId: string;
13
13
  loadingVideoURL?: string;
14
+ previewImageUrl?: string;
14
15
  } | {
15
16
  type: 'byKS';
17
+ previewImageUrl?: string;
16
18
  };
17
19
  export interface KalturaIntegration {
18
20
  entryId?: string;
@@ -22,6 +22,11 @@ export interface GenieChatServiceType extends UnisphereService {
22
22
  clearPreviousChat?: boolean;
23
23
  answerType?: AnswerType;
24
24
  answerModel?: AnswerModel;
25
+ retryBlockId?: string;
26
+ }>;
27
+ getThreadMessages: TinyPubSub<{
28
+ threadId?: string;
29
+ retryBlockId?: string;
25
30
  }>;
26
31
  stopAnswer: TinyPubSub<void>;
27
32
  answerTypeChanged: TinyPubSub<AnswerType>;
@@ -15,5 +15,6 @@ export declare const sourcesToolRuntimeSettingsSchema: ValidatorSchema;
15
15
  export type SourcesToolRuntimeGenieAnswerVisualSettings = {
16
16
  blockContext?: BlockVisualContext;
17
17
  sources?: SourcesItemType[];
18
+ variant?: 'default' | 'compact';
18
19
  };
19
20
  export declare const sourcesToolRuntimeGenieAnswerVisualSettingsSchema: ValidatorSchema;