@serenity-star/sdk 2.6.5 → 2.6.7

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/dist/index.d.mts CHANGED
@@ -443,11 +443,13 @@ type MessageAdditionalInfo = {
443
443
  };
444
444
  type ConversationInfoResult = {
445
445
  agent: {
446
+ audioInputEnabled: boolean;
447
+ description: string;
446
448
  isRealtime: boolean;
449
+ name: string;
450
+ photoUrl: string;
447
451
  version: number;
448
452
  visionEnabled: boolean;
449
- audioInputEnabled: boolean;
450
- imageId: string;
451
453
  };
452
454
  conversation: {
453
455
  initialMessage: string;
@@ -473,6 +475,8 @@ type ChatWidgetRes = {
473
475
  theme: ThemeRes;
474
476
  enableFeedbackRecollection: boolean;
475
477
  targetAgentVersion?: number;
478
+ fabPhotoURL?: string;
479
+ closeFabOnOpen: boolean;
476
480
  };
477
481
  type EngagementMessageRes = {
478
482
  enabled: boolean;
package/dist/index.d.ts CHANGED
@@ -443,11 +443,13 @@ type MessageAdditionalInfo = {
443
443
  };
444
444
  type ConversationInfoResult = {
445
445
  agent: {
446
+ audioInputEnabled: boolean;
447
+ description: string;
446
448
  isRealtime: boolean;
449
+ name: string;
450
+ photoUrl: string;
447
451
  version: number;
448
452
  visionEnabled: boolean;
449
- audioInputEnabled: boolean;
450
- imageId: string;
451
453
  };
452
454
  conversation: {
453
455
  initialMessage: string;
@@ -473,6 +475,8 @@ type ChatWidgetRes = {
473
475
  theme: ThemeRes;
474
476
  enableFeedbackRecollection: boolean;
475
477
  targetAgentVersion?: number;
478
+ fabPhotoURL?: string;
479
+ closeFabOnOpen: boolean;
476
480
  };
477
481
  type EngagementMessageRes = {
478
482
  enabled: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serenity-star/sdk",
3
- "version": "2.6.5",
3
+ "version": "2.6.7",
4
4
  "description": "The Serenity Star JavaScript SDK provides a convenient way to interact with the Serenity Star API, enabling you to build custom applications.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/readme.md CHANGED
@@ -183,7 +183,7 @@ console.log(
183
183
  agentInfo.agent.visionEnabled, // true/false
184
184
  agentInfo.agent.isRealtime, // true/false
185
185
  agentInfo.channel, // Optional chat widget configuration
186
- agentInfo.agent.imageId // Agent's profile image ID
186
+ agentInfo.agent.photoUrl // Agent's profile image URL
187
187
  );
188
188
 
189
189
  // Get information about an assistant agent conversation (advanced example with options)