@gengage/assistant-fe 0.3.41 → 0.4.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.
@@ -326,6 +326,11 @@ export declare const ProductDetailsPanelSchema: z.ZodObject<{
326
326
  }, z.core.$strip>;
327
327
  export declare const ProductGridSchema: z.ZodObject<{
328
328
  endOfList: z.ZodOptional<z.ZodBoolean>;
329
+ rankingState: z.ZodOptional<z.ZodEnum<{
330
+ pending: "pending";
331
+ final: "final";
332
+ }>>;
333
+ sequenceId: z.ZodOptional<z.ZodString>;
329
334
  }, z.core.$strip>;
330
335
  export declare const ReviewHighlightsSchema: z.ZodObject<{
331
336
  reviews: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -711,6 +716,11 @@ export declare const chatCatalog: {
711
716
  readonly ProductGrid: {
712
717
  readonly schema: z.ZodObject<{
713
718
  endOfList: z.ZodOptional<z.ZodBoolean>;
719
+ rankingState: z.ZodOptional<z.ZodEnum<{
720
+ pending: "pending";
721
+ final: "final";
722
+ }>>;
723
+ sequenceId: z.ZodOptional<z.ZodString>;
714
724
  }, z.core.$strip>;
715
725
  readonly description: "A scrollable grid of ProductCard children with optional \"more\" pagination.";
716
726
  };
@@ -112,6 +112,11 @@ export interface ChatWidgetConfig extends BaseWidgetConfig {
112
112
  productDetailsExtended?: boolean;
113
113
  /** Product price presentation (cards, summary, details, AI Top Picks). */
114
114
  productPriceUi?: ProductPriceUiConfig;
115
+ /**
116
+ * When true, hides the circular percent discount badge on product card images and the
117
+ * inline percent badge in the product details price row. List/sale price and campaign badges are unchanged.
118
+ */
119
+ hideProductDiscountBadge?: boolean;
115
120
  /** Enable browser-native voice input. Default: false. */
116
121
  voiceEnabled?: boolean;
117
122
  onOpen?: () => void;
@@ -340,6 +345,7 @@ export interface ChatUISpecRenderContext {
340
345
  onProductSelect?: (product: Record<string, unknown>) => void;
341
346
  pricing?: import('../common/price-formatter.js').PriceFormatConfig | undefined;
342
347
  productPriceUi?: ProductPriceUiConfig | undefined;
348
+ hideProductDiscountBadge?: boolean | undefined;
343
349
  i18n?: Pick<ChatI18n, 'productCtaLabel' | 'viewOnSiteLabel' | 'aiTopPicksTitle' | 'roleWinner' | 'roleBestValue' | 'roleBestAlternative' | 'viewDetails' | 'groundingReviewCta' | 'groundingReviewSubtitle' | 'variantsLabel' | 'sortRelated' | 'sortPriceAsc' | 'sortPriceDesc' | 'sortToolbarAriaLabel' | 'compareSelected' | 'compareMinHint' | 'comparisonSelectLabel' | 'comparisonSelectedLabel' | 'comparisonSelectCardHint' | 'panelTitleProductDetails' | 'panelTitleSimilarProducts' | 'panelTitleComparisonResults' | 'panelTitleCategories' | 'panelTitleSearchResults' | 'inStockLabel' | 'outOfStockLabel' | 'findSimilarLabel' | 'galleryPrevAriaLabel' | 'galleryNextAriaLabel' | 'beautyStylesPreparedTitle' | 'watchStylesPreparedTitle' | 'consultingOtherCompatibleProductsLabel' | 'consultingFallbackGroupLabel' | 'consultingFallbackStyleLabel' | 'consultingStyleLoadingDescription' | 'consultingStyleUnavailableDescription' | 'consultingStyleLoadingBadge' | 'consultingStyleUnavailableBadge' | 'viewMoreLabel' | 'similarProductsLabel' | 'addToCartButton' | 'shareButton' | 'productInfoTab' | 'specificationsTab' | 'recommendedChoiceLabel' | 'highlightsLabel' | 'keyDifferencesLabel' | 'specialCasesLabel' | 'emptyReviewsMessage' | 'closeAriaLabel' | 'dismissAriaLabel' | 'startChatLabel' | 'handoffHeading' | 'customerReviewsTitle' | 'addToFavoritesLabel' | 'reviewFilterPositive' | 'reviewFilterNegative' | 'decreaseLabel' | 'increaseLabel' | 'reviewCustomersMentionSingular' | 'reviewCustomersMentionPlural' | 'reviewSubjectsHeading' | 'aiBrowseCategoriesTitle' | 'photoAnalysisBadge' | 'photoAnalysisStrengthsLabel' | 'photoAnalysisFocusLabel' | 'photoAnalysisCelebStyleLabel' | 'beautyPhotoStepTitle' | 'beautyPhotoStepDescription' | 'beautyPhotoStepUpload' | 'beautyPhotoStepProcessing' | 'beautyPhotoStepSkip'>;
344
350
  productSort?: ProductSortState | undefined;
345
351
  onSortChange?: ((sort: ProductSortState) => void) | undefined;