@gengage/assistant-fe 0.3.23 → 0.3.25

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.
@@ -361,12 +361,11 @@ export declare const HandoffNoticeSchema: z.ZodObject<{
361
361
  }, z.core.$strip>;
362
362
  export declare const PhotoAnalysisCardSchema: z.ZodObject<{
363
363
  summary: z.ZodString;
364
- clues: z.ZodArray<z.ZodString>;
365
364
  strengths: z.ZodOptional<z.ZodArray<z.ZodString>>;
366
365
  focus_points: z.ZodOptional<z.ZodArray<z.ZodString>>;
367
366
  celeb_style: z.ZodOptional<z.ZodString>;
368
367
  celeb_style_reason: z.ZodOptional<z.ZodString>;
369
- details: z.ZodOptional<z.ZodArray<z.ZodString>>;
368
+ details: z.ZodArray<z.ZodString>;
370
369
  next_question: z.ZodOptional<z.ZodString>;
371
370
  style_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
372
371
  }, z.core.$strip>;
@@ -762,12 +761,11 @@ export declare const chatCatalog: {
762
761
  readonly PhotoAnalysisCard: {
763
762
  readonly schema: z.ZodObject<{
764
763
  summary: z.ZodString;
765
- clues: z.ZodArray<z.ZodString>;
766
764
  strengths: z.ZodOptional<z.ZodArray<z.ZodString>>;
767
765
  focus_points: z.ZodOptional<z.ZodArray<z.ZodString>>;
768
766
  celeb_style: z.ZodOptional<z.ZodString>;
769
767
  celeb_style_reason: z.ZodOptional<z.ZodString>;
770
- details: z.ZodOptional<z.ZodArray<z.ZodString>>;
768
+ details: z.ZodArray<z.ZodString>;
771
769
  next_question: z.ZodOptional<z.ZodString>;
772
770
  style_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
773
771
  }, z.core.$strip>;
@@ -302,12 +302,11 @@ export declare class ChatDrawer {
302
302
  /** Update a bot message's text content in the DOM (e.g. for fallback messages). */
303
303
  updateBotMessage(messageId: string, html: string, renderHint?: string, photoAnalysis?: {
304
304
  summary: string;
305
- clues: string[];
306
305
  strengths?: string[];
307
306
  focusPoints?: string[];
308
307
  celebStyle?: string;
309
308
  celebStyleReason?: string;
310
- details?: string[];
309
+ details: string[];
311
310
  nextQuestion?: string;
312
311
  }): void;
313
312
  /** Mark a message as the first bot message in its thread (for special styling). */
@@ -2,12 +2,11 @@ import { UIElement } from '../../common/types.js';
2
2
  import { ChatUISpecRenderContext } from '../types.js';
3
3
  export interface PhotoAnalysisData {
4
4
  summary: string;
5
- clues: string[];
6
5
  strengths?: string[];
7
6
  focusPoints?: string[];
8
7
  celebStyle?: string;
9
8
  celebStyleReason?: string;
10
- details?: string[];
9
+ details: string[];
11
10
  nextQuestion?: string;
12
11
  }
13
12
  /** Extract structured photo-analysis data from a UISpec element's props. */
@@ -374,12 +374,11 @@ export interface ChatMessage {
374
374
  /** Structured photo analysis data from PhotoAnalysisCard UISpec (preferred over sentence-splitting). */
375
375
  photoAnalysis?: {
376
376
  summary: string;
377
- clues: string[];
378
377
  strengths?: string[];
379
378
  focusPoints?: string[];
380
379
  celebStyle?: string;
381
380
  celebStyleReason?: string;
382
- details?: string[];
381
+ details: string[];
383
382
  nextQuestion?: string;
384
383
  };
385
384
  timestamp: number;