@gengage/assistant-fe 0.5.4 → 0.5.6

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.
@@ -1,9 +1,9 @@
1
1
  import { a as i, c as o, l as p, n as t, o as a, r as n, s as l, t as s, u as e } from "./schemas-CLo8wCjs.js";
2
- var u = a({
2
+ var h = a({
3
3
  role: s(["user", "assistant"]),
4
4
  content: o(),
5
5
  timestamp: i().optional()
6
- }), h = a({
6
+ }), u = a({
7
7
  sku: o(),
8
8
  name: o(),
9
9
  imageUrl: o().url().optional(),
@@ -22,6 +22,7 @@ var u = a({
22
22
  sku: o(),
23
23
  name: o(),
24
24
  price: o(),
25
+ url: o().optional(),
25
26
  imageUrl: o().optional(),
26
27
  rating: i().optional(),
27
28
  reviewCount: i().optional()
@@ -184,6 +185,9 @@ var u = a({
184
185
  groups: t(a({
185
186
  groupName: o(),
186
187
  image: o().optional(),
188
+ description: o().optional(),
189
+ highlight: o().optional(),
190
+ labels: t(o()).optional(),
187
191
  products: t(l(o(), e())).optional()
188
192
  })).optional(),
189
193
  filterTags: t(a({
@@ -222,11 +226,11 @@ var u = a({
222
226
  skip_label: o().optional()
223
227
  }), D = { components: {
224
228
  MessageBubble: {
225
- schema: u,
229
+ schema: h,
226
230
  description: "A single chat message bubble for user or assistant turns."
227
231
  },
228
232
  ProductCard: {
229
- schema: h,
233
+ schema: u,
230
234
  description: "A product card rendered inline in the chat stream."
231
235
  },
232
236
  ActionButtons: {
@@ -1,4 +1,4 @@
1
- import { c as e, d as t, i as r, l as s, n, o as i, r as l, s as C, t as c, u as d } from "./runtime-BD5Aes4y.js";
1
+ import { c as e, d as t, i as r, l as s, n, o as i, r as l, s as C, t as c, u as d } from "./runtime-CFHFFIU0.js";
2
2
  export {
3
3
  s as CHAT_SCROLL_ELEMENT_ID,
4
4
  r as ChatPresentationState,