@gengage/assistant-fe 0.1.0 → 0.1.2

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.
Files changed (150) hide show
  1. package/LICENSE +2 -2
  2. package/README.md +2 -2
  3. package/dist/assistant-fe.css +1 -1
  4. package/dist/chat/api.d.ts +12 -2
  5. package/dist/chat/api.d.ts.map +1 -1
  6. package/dist/chat/catalog.d.ts +246 -896
  7. package/dist/chat/catalog.d.ts.map +1 -1
  8. package/dist/chat/components/AIGroupingCards.d.ts.map +1 -1
  9. package/dist/chat/components/AISuggestedSearchCards.d.ts.map +1 -1
  10. package/dist/chat/components/AITopPicks.d.ts.map +1 -1
  11. package/dist/chat/components/CategoriesContainer.d.ts.map +1 -1
  12. package/dist/chat/components/ChatDrawer.d.ts +16 -3
  13. package/dist/chat/components/ChatDrawer.d.ts.map +1 -1
  14. package/dist/chat/components/ComparisonTable.d.ts +9 -0
  15. package/dist/chat/components/ComparisonTable.d.ts.map +1 -1
  16. package/dist/chat/components/GroundingReviewCard.d.ts.map +1 -1
  17. package/dist/chat/components/HandoffNotice.d.ts +5 -0
  18. package/dist/chat/components/HandoffNotice.d.ts.map +1 -0
  19. package/dist/chat/components/KvkkBanner.d.ts +1 -0
  20. package/dist/chat/components/KvkkBanner.d.ts.map +1 -1
  21. package/dist/chat/components/ProactivePopup.d.ts +9 -0
  22. package/dist/chat/components/ProactivePopup.d.ts.map +1 -1
  23. package/dist/chat/components/ProductSummaryCard.d.ts +4 -0
  24. package/dist/chat/components/ProductSummaryCard.d.ts.map +1 -0
  25. package/dist/chat/components/ReviewHighlights.d.ts +3 -1
  26. package/dist/chat/components/ReviewHighlights.d.ts.map +1 -1
  27. package/dist/chat/components/ThumbnailsColumn.d.ts.map +1 -1
  28. package/dist/chat/components/renderUISpec.d.ts +4 -3
  29. package/dist/chat/components/renderUISpec.d.ts.map +1 -1
  30. package/dist/chat/heartbeat.d.ts +71 -0
  31. package/dist/chat/heartbeat.d.ts.map +1 -0
  32. package/dist/chat/index.d.ts +39 -78
  33. package/dist/chat/index.d.ts.map +1 -1
  34. package/dist/chat/kvkk.d.ts +21 -0
  35. package/dist/chat/kvkk.d.ts.map +1 -0
  36. package/dist/chat/locales/en.d.ts.map +1 -1
  37. package/dist/chat/locales/tr.d.ts.map +1 -1
  38. package/dist/chat/panel-manager.d.ts +81 -0
  39. package/dist/chat/panel-manager.d.ts.map +1 -0
  40. package/dist/chat/session-persistence.d.ts +56 -0
  41. package/dist/chat/session-persistence.d.ts.map +1 -0
  42. package/dist/chat/types.d.ts +39 -1
  43. package/dist/chat/types.d.ts.map +1 -1
  44. package/dist/chat.cjs +1 -1
  45. package/dist/chat.iife.js +48 -10
  46. package/dist/chat.iife.js.map +1 -1
  47. package/dist/chat.js +9 -8
  48. package/dist/chat.js.map +1 -1
  49. package/dist/common/analytics-events.d.ts +2 -0
  50. package/dist/common/analytics-events.d.ts.map +1 -1
  51. package/dist/common/analytics.d.ts.map +1 -1
  52. package/dist/common/api-paths.d.ts +5 -0
  53. package/dist/common/api-paths.d.ts.map +1 -1
  54. package/dist/common/client.d.ts +4 -1
  55. package/dist/common/client.d.ts.map +1 -1
  56. package/dist/common/communication-bridge.d.ts.map +1 -1
  57. package/dist/common/config-schema.d.ts +33 -195
  58. package/dist/common/config-schema.d.ts.map +1 -1
  59. package/dist/common/ga-datalayer.d.ts +62 -0
  60. package/dist/common/ga-datalayer.d.ts.map +1 -0
  61. package/dist/common/index.d.ts +7 -0
  62. package/dist/common/index.d.ts.map +1 -1
  63. package/dist/common/indexed-db.d.ts +1 -1
  64. package/dist/common/indexed-db.d.ts.map +1 -1
  65. package/dist/common/merchant-configs.d.ts +22 -0
  66. package/dist/common/merchant-configs.d.ts.map +1 -0
  67. package/dist/common/overlay.d.ts +5 -0
  68. package/dist/common/overlay.d.ts.map +1 -1
  69. package/dist/common/page-detect.d.ts +31 -0
  70. package/dist/common/page-detect.d.ts.map +1 -0
  71. package/dist/common/preflight.d.ts +3 -1
  72. package/dist/common/preflight.d.ts.map +1 -1
  73. package/dist/common/price-formatter.d.ts +33 -0
  74. package/dist/common/price-formatter.d.ts.map +1 -0
  75. package/dist/common/product-utils.d.ts +26 -0
  76. package/dist/common/product-utils.d.ts.map +1 -0
  77. package/dist/common/quantity-stepper.d.ts +22 -0
  78. package/dist/common/quantity-stepper.d.ts.map +1 -0
  79. package/dist/common/safe-html.d.ts +10 -6
  80. package/dist/common/safe-html.d.ts.map +1 -1
  81. package/dist/common/streaming.d.ts +6 -0
  82. package/dist/common/streaming.d.ts.map +1 -1
  83. package/dist/common/tts-player.d.ts +12 -0
  84. package/dist/common/tts-player.d.ts.map +1 -0
  85. package/dist/common/types.d.ts +51 -0
  86. package/dist/common/types.d.ts.map +1 -1
  87. package/dist/common/v1-protocol-adapter.d.ts +9 -0
  88. package/dist/common/v1-protocol-adapter.d.ts.map +1 -1
  89. package/dist/common/voice-input.d.ts +74 -0
  90. package/dist/common/voice-input.d.ts.map +1 -0
  91. package/dist/common/widget-base.d.ts +18 -1
  92. package/dist/common/widget-base.d.ts.map +1 -1
  93. package/dist/common.cjs +1 -1
  94. package/dist/common.cjs.map +1 -1
  95. package/dist/common.js +564 -244
  96. package/dist/common.js.map +1 -1
  97. package/dist/index-CXbH-cw8.js +4337 -0
  98. package/dist/index-CXbH-cw8.js.map +1 -0
  99. package/dist/index-DHfTHscz.cjs +13 -0
  100. package/dist/index-DHfTHscz.cjs.map +1 -0
  101. package/dist/index.cjs +1 -1
  102. package/dist/index.d.ts +2 -2
  103. package/dist/index.d.ts.map +1 -1
  104. package/dist/index.js +61 -53
  105. package/dist/qna/catalog.d.ts +30 -96
  106. package/dist/qna/catalog.d.ts.map +1 -1
  107. package/dist/qna/components/TextInput.d.ts.map +1 -1
  108. package/dist/qna/components/renderUISpec.d.ts.map +1 -1
  109. package/dist/qna/index.d.ts +2 -0
  110. package/dist/qna/index.d.ts.map +1 -1
  111. package/dist/qna.cjs +1 -1
  112. package/dist/qna.cjs.map +1 -1
  113. package/dist/qna.iife.js +46 -8
  114. package/dist/qna.iife.js.map +1 -1
  115. package/dist/qna.js +94 -86
  116. package/dist/qna.js.map +1 -1
  117. package/dist/quantity-stepper-B8kX8GbN.js +209 -0
  118. package/dist/quantity-stepper-B8kX8GbN.js.map +1 -0
  119. package/dist/quantity-stepper-UbAp53Ow.cjs +2 -0
  120. package/dist/quantity-stepper-UbAp53Ow.cjs.map +1 -0
  121. package/dist/schemas-CPkzbgia.js +4572 -0
  122. package/dist/schemas-CPkzbgia.js.map +1 -0
  123. package/dist/schemas-tCxs1sED.cjs +86 -0
  124. package/dist/schemas-tCxs1sED.cjs.map +1 -0
  125. package/dist/simrel/api.d.ts.map +1 -1
  126. package/dist/simrel/catalog.d.ts +32 -240
  127. package/dist/simrel/catalog.d.ts.map +1 -1
  128. package/dist/simrel/components/GroupTabs.d.ts.map +1 -1
  129. package/dist/simrel/components/ProductCard.d.ts +2 -0
  130. package/dist/simrel/components/ProductCard.d.ts.map +1 -1
  131. package/dist/simrel/components/renderUISpec.d.ts.map +1 -1
  132. package/dist/simrel/index.d.ts.map +1 -1
  133. package/dist/simrel/types.d.ts +5 -0
  134. package/dist/simrel/types.d.ts.map +1 -1
  135. package/dist/simrel.cjs +1 -1
  136. package/dist/simrel.cjs.map +1 -1
  137. package/dist/simrel.css +1 -1
  138. package/dist/simrel.iife.js +46 -8
  139. package/dist/simrel.iife.js.map +1 -1
  140. package/dist/simrel.js +319 -279
  141. package/dist/simrel.js.map +1 -1
  142. package/package.json +28 -8
  143. package/dist/index-CFA70IGF.js +0 -3626
  144. package/dist/index-CFA70IGF.js.map +0 -1
  145. package/dist/index-Dfl89zpe.cjs +0 -13
  146. package/dist/index-Dfl89zpe.cjs.map +0 -1
  147. package/dist/types-CeON7iBO.cjs +0 -48
  148. package/dist/types-CeON7iBO.cjs.map +0 -1
  149. package/dist/types-yxW8WA7u.js +0 -4132
  150. package/dist/types-yxW8WA7u.js.map +0 -1
@@ -1,17 +1,12 @@
1
1
  import { z } from 'zod';
2
2
  export declare const MessageBubbleSchema: z.ZodObject<{
3
- role: z.ZodEnum<["user", "assistant"]>;
3
+ role: z.ZodEnum<{
4
+ user: "user";
5
+ assistant: "assistant";
6
+ }>;
4
7
  content: z.ZodString;
5
8
  timestamp: z.ZodOptional<z.ZodNumber>;
6
- }, "strip", z.ZodTypeAny, {
7
- role: "user" | "assistant";
8
- content: string;
9
- timestamp?: number | undefined;
10
- }, {
11
- role: "user" | "assistant";
12
- content: string;
13
- timestamp?: number | undefined;
14
- }>;
9
+ }, z.core.$strip>;
15
10
  export declare const ProductCardSchema: z.ZodObject<{
16
11
  sku: z.ZodString;
17
12
  name: z.ZodString;
@@ -19,84 +14,22 @@ export declare const ProductCardSchema: z.ZodObject<{
19
14
  price: z.ZodOptional<z.ZodString>;
20
15
  originalPrice: z.ZodOptional<z.ZodString>;
21
16
  url: z.ZodString;
22
- /** Override CTA label (default: "View product") */
23
17
  ctaLabel: z.ZodOptional<z.ZodString>;
24
- }, "strip", z.ZodTypeAny, {
25
- sku: string;
26
- url: string;
27
- name: string;
28
- price?: string | undefined;
29
- imageUrl?: string | undefined;
30
- ctaLabel?: string | undefined;
31
- originalPrice?: string | undefined;
32
- }, {
33
- sku: string;
34
- url: string;
35
- name: string;
36
- price?: string | undefined;
37
- imageUrl?: string | undefined;
38
- ctaLabel?: string | undefined;
39
- originalPrice?: string | undefined;
40
- }>;
18
+ }, z.core.$strip>;
41
19
  export declare const ActionButtonsSchema: z.ZodObject<{
42
20
  buttons: z.ZodArray<z.ZodObject<{
43
21
  label: z.ZodString;
44
- /** Opaque action payload forwarded to the backend when clicked. */
45
22
  action: z.ZodObject<{
46
23
  title: z.ZodString;
47
24
  type: z.ZodString;
48
25
  payload: z.ZodOptional<z.ZodUnknown>;
49
- }, "strip", z.ZodTypeAny, {
50
- type: string;
51
- title: string;
52
- payload?: unknown;
53
- }, {
54
- type: string;
55
- title: string;
56
- payload?: unknown;
57
- }>;
58
- }, "strip", z.ZodTypeAny, {
59
- label: string;
60
- action: {
61
- type: string;
62
- title: string;
63
- payload?: unknown;
64
- };
65
- }, {
66
- label: string;
67
- action: {
68
- type: string;
69
- title: string;
70
- payload?: unknown;
71
- };
72
- }>, "many">;
73
- }, "strip", z.ZodTypeAny, {
74
- buttons: {
75
- label: string;
76
- action: {
77
- type: string;
78
- title: string;
79
- payload?: unknown;
80
- };
81
- }[];
82
- }, {
83
- buttons: {
84
- label: string;
85
- action: {
86
- type: string;
87
- title: string;
88
- payload?: unknown;
89
- };
90
- }[];
91
- }>;
92
- export declare const TypingIndicatorSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
+ }, z.core.$strip>;
27
+ }, z.core.$strip>>;
28
+ }, z.core.$strip>;
29
+ export declare const TypingIndicatorSchema: z.ZodObject<{}, z.core.$strip>;
93
30
  export declare const DividerSchema: z.ZodObject<{
94
31
  label: z.ZodOptional<z.ZodString>;
95
- }, "strip", z.ZodTypeAny, {
96
- label?: string | undefined;
97
- }, {
98
- label?: string | undefined;
99
- }>;
32
+ }, z.core.$strip>;
100
33
  export declare const ComparisonTableSchema: z.ZodObject<{
101
34
  recommended: z.ZodObject<{
102
35
  sku: z.ZodString;
@@ -105,21 +38,7 @@ export declare const ComparisonTableSchema: z.ZodObject<{
105
38
  imageUrl: z.ZodOptional<z.ZodString>;
106
39
  rating: z.ZodOptional<z.ZodNumber>;
107
40
  reviewCount: z.ZodOptional<z.ZodNumber>;
108
- }, "strip", z.ZodTypeAny, {
109
- sku: string;
110
- price: string;
111
- name: string;
112
- reviewCount?: number | undefined;
113
- imageUrl?: string | undefined;
114
- rating?: number | undefined;
115
- }, {
116
- sku: string;
117
- price: string;
118
- name: string;
119
- reviewCount?: number | undefined;
120
- imageUrl?: string | undefined;
121
- rating?: number | undefined;
122
- }>;
41
+ }, z.core.$strip>;
123
42
  products: z.ZodArray<z.ZodObject<{
124
43
  sku: z.ZodString;
125
44
  name: z.ZodString;
@@ -127,194 +46,52 @@ export declare const ComparisonTableSchema: z.ZodObject<{
127
46
  imageUrl: z.ZodOptional<z.ZodString>;
128
47
  rating: z.ZodOptional<z.ZodNumber>;
129
48
  reviewCount: z.ZodOptional<z.ZodNumber>;
130
- }, "strip", z.ZodTypeAny, {
131
- sku: string;
132
- price: string;
133
- name: string;
134
- reviewCount?: number | undefined;
135
- imageUrl?: string | undefined;
136
- rating?: number | undefined;
137
- }, {
138
- sku: string;
139
- price: string;
140
- name: string;
141
- reviewCount?: number | undefined;
142
- imageUrl?: string | undefined;
143
- rating?: number | undefined;
144
- }>, "many">;
49
+ }, z.core.$strip>>;
145
50
  attributes: z.ZodArray<z.ZodObject<{
146
51
  label: z.ZodString;
147
- values: z.ZodArray<z.ZodString, "many">;
148
- }, "strip", z.ZodTypeAny, {
149
- values: string[];
150
- label: string;
151
- }, {
152
- values: string[];
153
- label: string;
154
- }>, "many">;
155
- highlights: z.ZodArray<z.ZodString, "many">;
156
- specialCases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
52
+ values: z.ZodArray<z.ZodString>;
53
+ }, z.core.$strip>>;
54
+ highlights: z.ZodArray<z.ZodString>;
55
+ specialCases: z.ZodOptional<z.ZodArray<z.ZodString>>;
157
56
  recommendedText: z.ZodOptional<z.ZodString>;
158
57
  winnerHits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
159
- positive: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
160
- negative: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
161
- }, "strip", z.ZodTypeAny, {
162
- positive?: string[] | undefined;
163
- negative?: string[] | undefined;
164
- }, {
165
- positive?: string[] | undefined;
166
- negative?: string[] | undefined;
167
- }>>>;
58
+ positive: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
+ negative: z.ZodOptional<z.ZodArray<z.ZodString>>;
60
+ }, z.core.$strip>>>;
168
61
  productActions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
169
62
  title: z.ZodString;
170
63
  type: z.ZodString;
171
64
  payload: z.ZodOptional<z.ZodUnknown>;
172
- }, "strip", z.ZodTypeAny, {
173
- type: string;
174
- title: string;
175
- payload?: unknown;
176
- }, {
177
- type: string;
178
- title: string;
179
- payload?: unknown;
180
- }>>>;
181
- }, "strip", z.ZodTypeAny, {
182
- products: {
183
- sku: string;
184
- price: string;
185
- name: string;
186
- reviewCount?: number | undefined;
187
- imageUrl?: string | undefined;
188
- rating?: number | undefined;
189
- }[];
190
- attributes: {
191
- values: string[];
192
- label: string;
193
- }[];
194
- highlights: string[];
195
- recommended: {
196
- sku: string;
197
- price: string;
198
- name: string;
199
- reviewCount?: number | undefined;
200
- imageUrl?: string | undefined;
201
- rating?: number | undefined;
202
- };
203
- productActions?: Record<string, {
204
- type: string;
205
- title: string;
206
- payload?: unknown;
207
- }> | undefined;
208
- specialCases?: string[] | undefined;
209
- recommendedText?: string | undefined;
210
- winnerHits?: Record<string, {
211
- positive?: string[] | undefined;
212
- negative?: string[] | undefined;
213
- }> | undefined;
214
- }, {
215
- products: {
216
- sku: string;
217
- price: string;
218
- name: string;
219
- reviewCount?: number | undefined;
220
- imageUrl?: string | undefined;
221
- rating?: number | undefined;
222
- }[];
223
- attributes: {
224
- values: string[];
225
- label: string;
226
- }[];
227
- highlights: string[];
228
- recommended: {
229
- sku: string;
230
- price: string;
231
- name: string;
232
- reviewCount?: number | undefined;
233
- imageUrl?: string | undefined;
234
- rating?: number | undefined;
235
- };
236
- productActions?: Record<string, {
237
- type: string;
238
- title: string;
239
- payload?: unknown;
240
- }> | undefined;
241
- specialCases?: string[] | undefined;
242
- recommendedText?: string | undefined;
243
- winnerHits?: Record<string, {
244
- positive?: string[] | undefined;
245
- negative?: string[] | undefined;
246
- }> | undefined;
247
- }>;
65
+ }, z.core.$strip>>>;
66
+ }, z.core.$strip>;
248
67
  export declare const SentimentLabelSchema: z.ZodObject<{
249
68
  label: z.ZodString;
250
- sentiment: z.ZodOptional<z.ZodEnum<["positive", "negative", "neutral"]>>;
251
- }, "strip", z.ZodTypeAny, {
252
- label: string;
253
- sentiment?: "positive" | "negative" | "neutral" | undefined;
254
- }, {
255
- label: string;
256
- sentiment?: "positive" | "negative" | "neutral" | undefined;
257
- }>;
69
+ sentiment: z.ZodOptional<z.ZodEnum<{
70
+ positive: "positive";
71
+ negative: "negative";
72
+ neutral: "neutral";
73
+ }>>;
74
+ }, z.core.$strip>;
258
75
  export declare const AITopPickItemSchema: z.ZodObject<{
259
76
  product: z.ZodRecord<z.ZodString, z.ZodUnknown>;
260
77
  role: z.ZodOptional<z.ZodString>;
261
78
  reason: z.ZodOptional<z.ZodString>;
262
79
  labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
263
80
  label: z.ZodString;
264
- sentiment: z.ZodOptional<z.ZodEnum<["positive", "negative", "neutral"]>>;
265
- }, "strip", z.ZodTypeAny, {
266
- label: string;
267
- sentiment?: "positive" | "negative" | "neutral" | undefined;
268
- }, {
269
- label: string;
270
- sentiment?: "positive" | "negative" | "neutral" | undefined;
271
- }>, "many">>;
81
+ sentiment: z.ZodOptional<z.ZodEnum<{
82
+ positive: "positive";
83
+ negative: "negative";
84
+ neutral: "neutral";
85
+ }>>;
86
+ }, z.core.$strip>>>;
272
87
  expertQualityScore: z.ZodOptional<z.ZodNumber>;
273
88
  reviewHighlight: z.ZodOptional<z.ZodString>;
274
89
  action: z.ZodOptional<z.ZodObject<{
275
90
  title: z.ZodString;
276
91
  type: z.ZodString;
277
92
  payload: z.ZodOptional<z.ZodUnknown>;
278
- }, "strip", z.ZodTypeAny, {
279
- type: string;
280
- title: string;
281
- payload?: unknown;
282
- }, {
283
- type: string;
284
- title: string;
285
- payload?: unknown;
286
- }>>;
287
- }, "strip", z.ZodTypeAny, {
288
- product: Record<string, unknown>;
289
- role?: string | undefined;
290
- action?: {
291
- type: string;
292
- title: string;
293
- payload?: unknown;
294
- } | undefined;
295
- labels?: {
296
- label: string;
297
- sentiment?: "positive" | "negative" | "neutral" | undefined;
298
- }[] | undefined;
299
- reason?: string | undefined;
300
- reviewHighlight?: string | undefined;
301
- expertQualityScore?: number | undefined;
302
- }, {
303
- product: Record<string, unknown>;
304
- role?: string | undefined;
305
- action?: {
306
- type: string;
307
- title: string;
308
- payload?: unknown;
309
- } | undefined;
310
- labels?: {
311
- label: string;
312
- sentiment?: "positive" | "negative" | "neutral" | undefined;
313
- }[] | undefined;
314
- reason?: string | undefined;
315
- reviewHighlight?: string | undefined;
316
- expertQualityScore?: number | undefined;
317
- }>;
93
+ }, z.core.$strip>>;
94
+ }, z.core.$strip>;
318
95
  export declare const AITopPicksSchema: z.ZodObject<{
319
96
  suggestions: z.ZodArray<z.ZodObject<{
320
97
  product: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -322,95 +99,21 @@ export declare const AITopPicksSchema: z.ZodObject<{
322
99
  reason: z.ZodOptional<z.ZodString>;
323
100
  labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
324
101
  label: z.ZodString;
325
- sentiment: z.ZodOptional<z.ZodEnum<["positive", "negative", "neutral"]>>;
326
- }, "strip", z.ZodTypeAny, {
327
- label: string;
328
- sentiment?: "positive" | "negative" | "neutral" | undefined;
329
- }, {
330
- label: string;
331
- sentiment?: "positive" | "negative" | "neutral" | undefined;
332
- }>, "many">>;
102
+ sentiment: z.ZodOptional<z.ZodEnum<{
103
+ positive: "positive";
104
+ negative: "negative";
105
+ neutral: "neutral";
106
+ }>>;
107
+ }, z.core.$strip>>>;
333
108
  expertQualityScore: z.ZodOptional<z.ZodNumber>;
334
109
  reviewHighlight: z.ZodOptional<z.ZodString>;
335
110
  action: z.ZodOptional<z.ZodObject<{
336
111
  title: z.ZodString;
337
112
  type: z.ZodString;
338
113
  payload: z.ZodOptional<z.ZodUnknown>;
339
- }, "strip", z.ZodTypeAny, {
340
- type: string;
341
- title: string;
342
- payload?: unknown;
343
- }, {
344
- type: string;
345
- title: string;
346
- payload?: unknown;
347
- }>>;
348
- }, "strip", z.ZodTypeAny, {
349
- product: Record<string, unknown>;
350
- role?: string | undefined;
351
- action?: {
352
- type: string;
353
- title: string;
354
- payload?: unknown;
355
- } | undefined;
356
- labels?: {
357
- label: string;
358
- sentiment?: "positive" | "negative" | "neutral" | undefined;
359
- }[] | undefined;
360
- reason?: string | undefined;
361
- reviewHighlight?: string | undefined;
362
- expertQualityScore?: number | undefined;
363
- }, {
364
- product: Record<string, unknown>;
365
- role?: string | undefined;
366
- action?: {
367
- type: string;
368
- title: string;
369
- payload?: unknown;
370
- } | undefined;
371
- labels?: {
372
- label: string;
373
- sentiment?: "positive" | "negative" | "neutral" | undefined;
374
- }[] | undefined;
375
- reason?: string | undefined;
376
- reviewHighlight?: string | undefined;
377
- expertQualityScore?: number | undefined;
378
- }>, "many">;
379
- }, "strip", z.ZodTypeAny, {
380
- suggestions: {
381
- product: Record<string, unknown>;
382
- role?: string | undefined;
383
- action?: {
384
- type: string;
385
- title: string;
386
- payload?: unknown;
387
- } | undefined;
388
- labels?: {
389
- label: string;
390
- sentiment?: "positive" | "negative" | "neutral" | undefined;
391
- }[] | undefined;
392
- reason?: string | undefined;
393
- reviewHighlight?: string | undefined;
394
- expertQualityScore?: number | undefined;
395
- }[];
396
- }, {
397
- suggestions: {
398
- product: Record<string, unknown>;
399
- role?: string | undefined;
400
- action?: {
401
- type: string;
402
- title: string;
403
- payload?: unknown;
404
- } | undefined;
405
- labels?: {
406
- label: string;
407
- sentiment?: "positive" | "negative" | "neutral" | undefined;
408
- }[] | undefined;
409
- reason?: string | undefined;
410
- reviewHighlight?: string | undefined;
411
- expertQualityScore?: number | undefined;
412
- }[];
413
- }>;
114
+ }, z.core.$strip>>;
115
+ }, z.core.$strip>>;
116
+ }, z.core.$strip>;
414
117
  export declare const GroundingReviewCardSchema: z.ZodObject<{
415
118
  title: z.ZodOptional<z.ZodString>;
416
119
  text: z.ZodOptional<z.ZodString>;
@@ -419,34 +122,8 @@ export declare const GroundingReviewCardSchema: z.ZodObject<{
419
122
  title: z.ZodString;
420
123
  type: z.ZodString;
421
124
  payload: z.ZodOptional<z.ZodUnknown>;
422
- }, "strip", z.ZodTypeAny, {
423
- type: string;
424
- title: string;
425
- payload?: unknown;
426
- }, {
427
- type: string;
428
- title: string;
429
- payload?: unknown;
430
- }>;
431
- }, "strip", z.ZodTypeAny, {
432
- action: {
433
- type: string;
434
- title: string;
435
- payload?: unknown;
436
- };
437
- title?: string | undefined;
438
- text?: string | undefined;
439
- reviewCount?: string | undefined;
440
- }, {
441
- action: {
442
- type: string;
443
- title: string;
444
- payload?: unknown;
445
- };
446
- title?: string | undefined;
447
- text?: string | undefined;
448
- reviewCount?: string | undefined;
449
- }>;
125
+ }, z.core.$strip>;
126
+ }, z.core.$strip>;
450
127
  export declare const AIGroupingCardsSchema: z.ZodObject<{
451
128
  entries: z.ZodArray<z.ZodObject<{
452
129
  name: z.ZodString;
@@ -456,57 +133,9 @@ export declare const AIGroupingCardsSchema: z.ZodObject<{
456
133
  title: z.ZodString;
457
134
  type: z.ZodString;
458
135
  payload: z.ZodOptional<z.ZodUnknown>;
459
- }, "strip", z.ZodTypeAny, {
460
- type: string;
461
- title: string;
462
- payload?: unknown;
463
- }, {
464
- type: string;
465
- title: string;
466
- payload?: unknown;
467
- }>;
468
- }, "strip", z.ZodTypeAny, {
469
- action: {
470
- type: string;
471
- title: string;
472
- payload?: unknown;
473
- };
474
- name: string;
475
- image?: string | undefined;
476
- description?: string | undefined;
477
- }, {
478
- action: {
479
- type: string;
480
- title: string;
481
- payload?: unknown;
482
- };
483
- name: string;
484
- image?: string | undefined;
485
- description?: string | undefined;
486
- }>, "many">;
487
- }, "strip", z.ZodTypeAny, {
488
- entries: {
489
- action: {
490
- type: string;
491
- title: string;
492
- payload?: unknown;
493
- };
494
- name: string;
495
- image?: string | undefined;
496
- description?: string | undefined;
497
- }[];
498
- }, {
499
- entries: {
500
- action: {
501
- type: string;
502
- title: string;
503
- payload?: unknown;
504
- };
505
- name: string;
506
- image?: string | undefined;
507
- description?: string | undefined;
508
- }[];
509
- }>;
136
+ }, z.core.$strip>;
137
+ }, z.core.$strip>>;
138
+ }, z.core.$strip>;
510
139
  export declare const AISuggestedSearchCardsSchema: z.ZodObject<{
511
140
  entries: z.ZodArray<z.ZodObject<{
512
141
  shortName: z.ZodString;
@@ -517,77 +146,88 @@ export declare const AISuggestedSearchCardsSchema: z.ZodObject<{
517
146
  title: z.ZodString;
518
147
  type: z.ZodString;
519
148
  payload: z.ZodOptional<z.ZodUnknown>;
520
- }, "strip", z.ZodTypeAny, {
521
- type: string;
522
- title: string;
523
- payload?: unknown;
524
- }, {
525
- type: string;
526
- title: string;
527
- payload?: unknown;
528
- }>;
529
- }, "strip", z.ZodTypeAny, {
530
- action: {
531
- type: string;
532
- title: string;
533
- payload?: unknown;
534
- };
535
- shortName: string;
536
- image?: string | undefined;
537
- detailedMessage?: string | undefined;
538
- whyDifferent?: string | undefined;
539
- }, {
540
- action: {
541
- type: string;
542
- title: string;
543
- payload?: unknown;
544
- };
545
- shortName: string;
546
- image?: string | undefined;
547
- detailedMessage?: string | undefined;
548
- whyDifferent?: string | undefined;
549
- }>, "many">;
550
- }, "strip", z.ZodTypeAny, {
551
- entries: {
552
- action: {
553
- type: string;
554
- title: string;
555
- payload?: unknown;
556
- };
557
- shortName: string;
558
- image?: string | undefined;
559
- detailedMessage?: string | undefined;
560
- whyDifferent?: string | undefined;
561
- }[];
562
- }, {
563
- entries: {
564
- action: {
565
- type: string;
566
- title: string;
567
- payload?: unknown;
568
- };
569
- shortName: string;
570
- image?: string | undefined;
571
- detailedMessage?: string | undefined;
572
- whyDifferent?: string | undefined;
573
- }[];
574
- }>;
149
+ }, z.core.$strip>;
150
+ }, z.core.$strip>>;
151
+ }, z.core.$strip>;
152
+ export declare const ProductDetailsPanelSchema: z.ZodObject<{
153
+ product: z.ZodOptional<z.ZodObject<{
154
+ sku: z.ZodOptional<z.ZodString>;
155
+ name: z.ZodOptional<z.ZodString>;
156
+ images: z.ZodOptional<z.ZodArray<z.ZodString>>;
157
+ imageUrl: z.ZodOptional<z.ZodString>;
158
+ rating: z.ZodOptional<z.ZodNumber>;
159
+ reviewCount: z.ZodOptional<z.ZodNumber>;
160
+ price: z.ZodOptional<z.ZodString>;
161
+ originalPrice: z.ZodOptional<z.ZodString>;
162
+ price_async: z.ZodOptional<z.ZodBoolean>;
163
+ inStock: z.ZodOptional<z.ZodBoolean>;
164
+ promotions: z.ZodOptional<z.ZodArray<z.ZodString>>;
165
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
166
+ name: z.ZodOptional<z.ZodString>;
167
+ variant_name: z.ZodOptional<z.ZodString>;
168
+ sku: z.ZodOptional<z.ZodString>;
169
+ price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
170
+ }, z.core.$strip>>>;
171
+ url: z.ZodOptional<z.ZodString>;
172
+ cartCode: z.ZodOptional<z.ZodString>;
173
+ description: z.ZodOptional<z.ZodString>;
174
+ specifications: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodObject<{
175
+ key: z.ZodString;
176
+ value: z.ZodString;
177
+ }, z.core.$strip>>]>>;
178
+ }, z.core.$strip>>;
179
+ action: z.ZodOptional<z.ZodObject<{
180
+ title: z.ZodString;
181
+ type: z.ZodString;
182
+ payload: z.ZodOptional<z.ZodUnknown>;
183
+ }, z.core.$strip>>;
184
+ }, z.core.$strip>;
185
+ export declare const ProductGridSchema: z.ZodObject<{
186
+ endOfList: z.ZodOptional<z.ZodBoolean>;
187
+ }, z.core.$strip>;
188
+ export declare const ReviewHighlightsSchema: z.ZodObject<{
189
+ reviews: z.ZodOptional<z.ZodArray<z.ZodObject<{
190
+ review_class: z.ZodOptional<z.ZodString>;
191
+ review_text: z.ZodOptional<z.ZodString>;
192
+ review_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
193
+ review_tag: z.ZodOptional<z.ZodString>;
194
+ }, z.core.$strip>>>;
195
+ }, z.core.$strip>;
196
+ export declare const ProsAndConsSchema: z.ZodObject<{
197
+ productName: z.ZodOptional<z.ZodString>;
198
+ pros: z.ZodOptional<z.ZodArray<z.ZodString>>;
199
+ cons: z.ZodOptional<z.ZodArray<z.ZodString>>;
200
+ }, z.core.$strip>;
201
+ export declare const CategoriesContainerSchema: z.ZodObject<{
202
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
203
+ groupName: z.ZodString;
204
+ products: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
205
+ }, z.core.$strip>>>;
206
+ filterTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
207
+ title: z.ZodString;
208
+ action: z.ZodOptional<z.ZodObject<{
209
+ title: z.ZodString;
210
+ type: z.ZodString;
211
+ payload: z.ZodOptional<z.ZodUnknown>;
212
+ }, z.core.$strip>>;
213
+ }, z.core.$strip>>>;
214
+ }, z.core.$strip>;
215
+ export declare const HandoffNoticeSchema: z.ZodObject<{
216
+ summary: z.ZodOptional<z.ZodString>;
217
+ products_discussed: z.ZodOptional<z.ZodArray<z.ZodString>>;
218
+ user_sentiment: z.ZodOptional<z.ZodString>;
219
+ }, z.core.$strip>;
575
220
  export declare const chatCatalog: {
576
221
  readonly components: {
577
222
  readonly MessageBubble: {
578
223
  readonly schema: z.ZodObject<{
579
- role: z.ZodEnum<["user", "assistant"]>;
224
+ role: z.ZodEnum<{
225
+ user: "user";
226
+ assistant: "assistant";
227
+ }>;
580
228
  content: z.ZodString;
581
229
  timestamp: z.ZodOptional<z.ZodNumber>;
582
- }, "strip", z.ZodTypeAny, {
583
- role: "user" | "assistant";
584
- content: string;
585
- timestamp?: number | undefined;
586
- }, {
587
- role: "user" | "assistant";
588
- content: string;
589
- timestamp?: number | undefined;
590
- }>;
230
+ }, z.core.$strip>;
591
231
  readonly description: "A single chat message bubble for user or assistant turns.";
592
232
  };
593
233
  readonly ProductCard: {
@@ -598,93 +238,31 @@ export declare const chatCatalog: {
598
238
  price: z.ZodOptional<z.ZodString>;
599
239
  originalPrice: z.ZodOptional<z.ZodString>;
600
240
  url: z.ZodString;
601
- /** Override CTA label (default: "View product") */
602
241
  ctaLabel: z.ZodOptional<z.ZodString>;
603
- }, "strip", z.ZodTypeAny, {
604
- sku: string;
605
- url: string;
606
- name: string;
607
- price?: string | undefined;
608
- imageUrl?: string | undefined;
609
- ctaLabel?: string | undefined;
610
- originalPrice?: string | undefined;
611
- }, {
612
- sku: string;
613
- url: string;
614
- name: string;
615
- price?: string | undefined;
616
- imageUrl?: string | undefined;
617
- ctaLabel?: string | undefined;
618
- originalPrice?: string | undefined;
619
- }>;
242
+ }, z.core.$strip>;
620
243
  readonly description: "A product card rendered inline in the chat stream.";
621
244
  };
622
245
  readonly ActionButtons: {
623
246
  readonly schema: z.ZodObject<{
624
247
  buttons: z.ZodArray<z.ZodObject<{
625
248
  label: z.ZodString;
626
- /** Opaque action payload forwarded to the backend when clicked. */
627
249
  action: z.ZodObject<{
628
250
  title: z.ZodString;
629
251
  type: z.ZodString;
630
252
  payload: z.ZodOptional<z.ZodUnknown>;
631
- }, "strip", z.ZodTypeAny, {
632
- type: string;
633
- title: string;
634
- payload?: unknown;
635
- }, {
636
- type: string;
637
- title: string;
638
- payload?: unknown;
639
- }>;
640
- }, "strip", z.ZodTypeAny, {
641
- label: string;
642
- action: {
643
- type: string;
644
- title: string;
645
- payload?: unknown;
646
- };
647
- }, {
648
- label: string;
649
- action: {
650
- type: string;
651
- title: string;
652
- payload?: unknown;
653
- };
654
- }>, "many">;
655
- }, "strip", z.ZodTypeAny, {
656
- buttons: {
657
- label: string;
658
- action: {
659
- type: string;
660
- title: string;
661
- payload?: unknown;
662
- };
663
- }[];
664
- }, {
665
- buttons: {
666
- label: string;
667
- action: {
668
- type: string;
669
- title: string;
670
- payload?: unknown;
671
- };
672
- }[];
673
- }>;
253
+ }, z.core.$strip>;
254
+ }, z.core.$strip>>;
255
+ }, z.core.$strip>;
674
256
  readonly description: "A horizontal row of quick-reply action buttons.";
675
257
  };
676
258
  readonly TypingIndicator: {
677
- readonly schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
259
+ readonly schema: z.ZodObject<{}, z.core.$strip>;
678
260
  readonly description: "An animated indicator shown while the assistant is typing.";
679
261
  };
680
262
  readonly Divider: {
681
263
  readonly schema: z.ZodObject<{
682
264
  label: z.ZodOptional<z.ZodString>;
683
- }, "strip", z.ZodTypeAny, {
684
- label?: string | undefined;
685
- }, {
686
- label?: string | undefined;
687
- }>;
265
+ }, z.core.$strip>;
688
266
  readonly description: "A horizontal rule with an optional label.";
689
267
  };
690
268
  readonly ComparisonTable: {
@@ -696,21 +274,7 @@ export declare const chatCatalog: {
696
274
  imageUrl: z.ZodOptional<z.ZodString>;
697
275
  rating: z.ZodOptional<z.ZodNumber>;
698
276
  reviewCount: z.ZodOptional<z.ZodNumber>;
699
- }, "strip", z.ZodTypeAny, {
700
- sku: string;
701
- price: string;
702
- name: string;
703
- reviewCount?: number | undefined;
704
- imageUrl?: string | undefined;
705
- rating?: number | undefined;
706
- }, {
707
- sku: string;
708
- price: string;
709
- name: string;
710
- reviewCount?: number | undefined;
711
- imageUrl?: string | undefined;
712
- rating?: number | undefined;
713
- }>;
277
+ }, z.core.$strip>;
714
278
  products: z.ZodArray<z.ZodObject<{
715
279
  sku: z.ZodString;
716
280
  name: z.ZodString;
@@ -718,124 +282,24 @@ export declare const chatCatalog: {
718
282
  imageUrl: z.ZodOptional<z.ZodString>;
719
283
  rating: z.ZodOptional<z.ZodNumber>;
720
284
  reviewCount: z.ZodOptional<z.ZodNumber>;
721
- }, "strip", z.ZodTypeAny, {
722
- sku: string;
723
- price: string;
724
- name: string;
725
- reviewCount?: number | undefined;
726
- imageUrl?: string | undefined;
727
- rating?: number | undefined;
728
- }, {
729
- sku: string;
730
- price: string;
731
- name: string;
732
- reviewCount?: number | undefined;
733
- imageUrl?: string | undefined;
734
- rating?: number | undefined;
735
- }>, "many">;
285
+ }, z.core.$strip>>;
736
286
  attributes: z.ZodArray<z.ZodObject<{
737
287
  label: z.ZodString;
738
- values: z.ZodArray<z.ZodString, "many">;
739
- }, "strip", z.ZodTypeAny, {
740
- values: string[];
741
- label: string;
742
- }, {
743
- values: string[];
744
- label: string;
745
- }>, "many">;
746
- highlights: z.ZodArray<z.ZodString, "many">;
747
- specialCases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
288
+ values: z.ZodArray<z.ZodString>;
289
+ }, z.core.$strip>>;
290
+ highlights: z.ZodArray<z.ZodString>;
291
+ specialCases: z.ZodOptional<z.ZodArray<z.ZodString>>;
748
292
  recommendedText: z.ZodOptional<z.ZodString>;
749
293
  winnerHits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
750
- positive: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
751
- negative: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
752
- }, "strip", z.ZodTypeAny, {
753
- positive?: string[] | undefined;
754
- negative?: string[] | undefined;
755
- }, {
756
- positive?: string[] | undefined;
757
- negative?: string[] | undefined;
758
- }>>>;
294
+ positive: z.ZodOptional<z.ZodArray<z.ZodString>>;
295
+ negative: z.ZodOptional<z.ZodArray<z.ZodString>>;
296
+ }, z.core.$strip>>>;
759
297
  productActions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
760
298
  title: z.ZodString;
761
299
  type: z.ZodString;
762
300
  payload: z.ZodOptional<z.ZodUnknown>;
763
- }, "strip", z.ZodTypeAny, {
764
- type: string;
765
- title: string;
766
- payload?: unknown;
767
- }, {
768
- type: string;
769
- title: string;
770
- payload?: unknown;
771
- }>>>;
772
- }, "strip", z.ZodTypeAny, {
773
- products: {
774
- sku: string;
775
- price: string;
776
- name: string;
777
- reviewCount?: number | undefined;
778
- imageUrl?: string | undefined;
779
- rating?: number | undefined;
780
- }[];
781
- attributes: {
782
- values: string[];
783
- label: string;
784
- }[];
785
- highlights: string[];
786
- recommended: {
787
- sku: string;
788
- price: string;
789
- name: string;
790
- reviewCount?: number | undefined;
791
- imageUrl?: string | undefined;
792
- rating?: number | undefined;
793
- };
794
- productActions?: Record<string, {
795
- type: string;
796
- title: string;
797
- payload?: unknown;
798
- }> | undefined;
799
- specialCases?: string[] | undefined;
800
- recommendedText?: string | undefined;
801
- winnerHits?: Record<string, {
802
- positive?: string[] | undefined;
803
- negative?: string[] | undefined;
804
- }> | undefined;
805
- }, {
806
- products: {
807
- sku: string;
808
- price: string;
809
- name: string;
810
- reviewCount?: number | undefined;
811
- imageUrl?: string | undefined;
812
- rating?: number | undefined;
813
- }[];
814
- attributes: {
815
- values: string[];
816
- label: string;
817
- }[];
818
- highlights: string[];
819
- recommended: {
820
- sku: string;
821
- price: string;
822
- name: string;
823
- reviewCount?: number | undefined;
824
- imageUrl?: string | undefined;
825
- rating?: number | undefined;
826
- };
827
- productActions?: Record<string, {
828
- type: string;
829
- title: string;
830
- payload?: unknown;
831
- }> | undefined;
832
- specialCases?: string[] | undefined;
833
- recommendedText?: string | undefined;
834
- winnerHits?: Record<string, {
835
- positive?: string[] | undefined;
836
- negative?: string[] | undefined;
837
- }> | undefined;
838
- }>;
301
+ }, z.core.$strip>>>;
302
+ }, z.core.$strip>;
839
303
  readonly description: "A product comparison table with recommended pick, attribute rows, and highlights.";
840
304
  };
841
305
  readonly AITopPicks: {
@@ -846,95 +310,21 @@ export declare const chatCatalog: {
846
310
  reason: z.ZodOptional<z.ZodString>;
847
311
  labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
848
312
  label: z.ZodString;
849
- sentiment: z.ZodOptional<z.ZodEnum<["positive", "negative", "neutral"]>>;
850
- }, "strip", z.ZodTypeAny, {
851
- label: string;
852
- sentiment?: "positive" | "negative" | "neutral" | undefined;
853
- }, {
854
- label: string;
855
- sentiment?: "positive" | "negative" | "neutral" | undefined;
856
- }>, "many">>;
313
+ sentiment: z.ZodOptional<z.ZodEnum<{
314
+ positive: "positive";
315
+ negative: "negative";
316
+ neutral: "neutral";
317
+ }>>;
318
+ }, z.core.$strip>>>;
857
319
  expertQualityScore: z.ZodOptional<z.ZodNumber>;
858
320
  reviewHighlight: z.ZodOptional<z.ZodString>;
859
321
  action: z.ZodOptional<z.ZodObject<{
860
322
  title: z.ZodString;
861
323
  type: z.ZodString;
862
324
  payload: z.ZodOptional<z.ZodUnknown>;
863
- }, "strip", z.ZodTypeAny, {
864
- type: string;
865
- title: string;
866
- payload?: unknown;
867
- }, {
868
- type: string;
869
- title: string;
870
- payload?: unknown;
871
- }>>;
872
- }, "strip", z.ZodTypeAny, {
873
- product: Record<string, unknown>;
874
- role?: string | undefined;
875
- action?: {
876
- type: string;
877
- title: string;
878
- payload?: unknown;
879
- } | undefined;
880
- labels?: {
881
- label: string;
882
- sentiment?: "positive" | "negative" | "neutral" | undefined;
883
- }[] | undefined;
884
- reason?: string | undefined;
885
- reviewHighlight?: string | undefined;
886
- expertQualityScore?: number | undefined;
887
- }, {
888
- product: Record<string, unknown>;
889
- role?: string | undefined;
890
- action?: {
891
- type: string;
892
- title: string;
893
- payload?: unknown;
894
- } | undefined;
895
- labels?: {
896
- label: string;
897
- sentiment?: "positive" | "negative" | "neutral" | undefined;
898
- }[] | undefined;
899
- reason?: string | undefined;
900
- reviewHighlight?: string | undefined;
901
- expertQualityScore?: number | undefined;
902
- }>, "many">;
903
- }, "strip", z.ZodTypeAny, {
904
- suggestions: {
905
- product: Record<string, unknown>;
906
- role?: string | undefined;
907
- action?: {
908
- type: string;
909
- title: string;
910
- payload?: unknown;
911
- } | undefined;
912
- labels?: {
913
- label: string;
914
- sentiment?: "positive" | "negative" | "neutral" | undefined;
915
- }[] | undefined;
916
- reason?: string | undefined;
917
- reviewHighlight?: string | undefined;
918
- expertQualityScore?: number | undefined;
919
- }[];
920
- }, {
921
- suggestions: {
922
- product: Record<string, unknown>;
923
- role?: string | undefined;
924
- action?: {
925
- type: string;
926
- title: string;
927
- payload?: unknown;
928
- } | undefined;
929
- labels?: {
930
- label: string;
931
- sentiment?: "positive" | "negative" | "neutral" | undefined;
932
- }[] | undefined;
933
- reason?: string | undefined;
934
- reviewHighlight?: string | undefined;
935
- expertQualityScore?: number | undefined;
936
- }[];
937
- }>;
325
+ }, z.core.$strip>>;
326
+ }, z.core.$strip>>;
327
+ }, z.core.$strip>;
938
328
  readonly description: "Rich AI-curated product suggestion cards with roles, sentiment labels, scores, and review quotes.";
939
329
  };
940
330
  readonly GroundingReviewCard: {
@@ -946,34 +336,8 @@ export declare const chatCatalog: {
946
336
  title: z.ZodString;
947
337
  type: z.ZodString;
948
338
  payload: z.ZodOptional<z.ZodUnknown>;
949
- }, "strip", z.ZodTypeAny, {
950
- type: string;
951
- title: string;
952
- payload?: unknown;
953
- }, {
954
- type: string;
955
- title: string;
956
- payload?: unknown;
957
- }>;
958
- }, "strip", z.ZodTypeAny, {
959
- action: {
960
- type: string;
961
- title: string;
962
- payload?: unknown;
963
- };
964
- title?: string | undefined;
965
- text?: string | undefined;
966
- reviewCount?: string | undefined;
967
- }, {
968
- action: {
969
- type: string;
970
- title: string;
971
- payload?: unknown;
972
- };
973
- title?: string | undefined;
974
- text?: string | undefined;
975
- reviewCount?: string | undefined;
976
- }>;
339
+ }, z.core.$strip>;
340
+ }, z.core.$strip>;
977
341
  readonly description: "A card showing review grounding data with review count and CTA.";
978
342
  };
979
343
  readonly AIGroupingCards: {
@@ -986,57 +350,9 @@ export declare const chatCatalog: {
986
350
  title: z.ZodString;
987
351
  type: z.ZodString;
988
352
  payload: z.ZodOptional<z.ZodUnknown>;
989
- }, "strip", z.ZodTypeAny, {
990
- type: string;
991
- title: string;
992
- payload?: unknown;
993
- }, {
994
- type: string;
995
- title: string;
996
- payload?: unknown;
997
- }>;
998
- }, "strip", z.ZodTypeAny, {
999
- action: {
1000
- type: string;
1001
- title: string;
1002
- payload?: unknown;
1003
- };
1004
- name: string;
1005
- image?: string | undefined;
1006
- description?: string | undefined;
1007
- }, {
1008
- action: {
1009
- type: string;
1010
- title: string;
1011
- payload?: unknown;
1012
- };
1013
- name: string;
1014
- image?: string | undefined;
1015
- description?: string | undefined;
1016
- }>, "many">;
1017
- }, "strip", z.ZodTypeAny, {
1018
- entries: {
1019
- action: {
1020
- type: string;
1021
- title: string;
1022
- payload?: unknown;
1023
- };
1024
- name: string;
1025
- image?: string | undefined;
1026
- description?: string | undefined;
1027
- }[];
1028
- }, {
1029
- entries: {
1030
- action: {
1031
- type: string;
1032
- title: string;
1033
- payload?: unknown;
1034
- };
1035
- name: string;
1036
- image?: string | undefined;
1037
- description?: string | undefined;
1038
- }[];
1039
- }>;
353
+ }, z.core.$strip>;
354
+ }, z.core.$strip>>;
355
+ }, z.core.$strip>;
1040
356
  readonly description: "Category grouping cards with images and labels for product discovery.";
1041
357
  };
1042
358
  readonly AISuggestedSearchCards: {
@@ -1050,63 +366,97 @@ export declare const chatCatalog: {
1050
366
  title: z.ZodString;
1051
367
  type: z.ZodString;
1052
368
  payload: z.ZodOptional<z.ZodUnknown>;
1053
- }, "strip", z.ZodTypeAny, {
1054
- type: string;
1055
- title: string;
1056
- payload?: unknown;
1057
- }, {
1058
- type: string;
1059
- title: string;
1060
- payload?: unknown;
1061
- }>;
1062
- }, "strip", z.ZodTypeAny, {
1063
- action: {
1064
- type: string;
1065
- title: string;
1066
- payload?: unknown;
1067
- };
1068
- shortName: string;
1069
- image?: string | undefined;
1070
- detailedMessage?: string | undefined;
1071
- whyDifferent?: string | undefined;
1072
- }, {
1073
- action: {
1074
- type: string;
1075
- title: string;
1076
- payload?: unknown;
1077
- };
1078
- shortName: string;
1079
- image?: string | undefined;
1080
- detailedMessage?: string | undefined;
1081
- whyDifferent?: string | undefined;
1082
- }>, "many">;
1083
- }, "strip", z.ZodTypeAny, {
1084
- entries: {
1085
- action: {
1086
- type: string;
1087
- title: string;
1088
- payload?: unknown;
1089
- };
1090
- shortName: string;
1091
- image?: string | undefined;
1092
- detailedMessage?: string | undefined;
1093
- whyDifferent?: string | undefined;
1094
- }[];
1095
- }, {
1096
- entries: {
1097
- action: {
1098
- type: string;
1099
- title: string;
1100
- payload?: unknown;
1101
- };
1102
- shortName: string;
1103
- image?: string | undefined;
1104
- detailedMessage?: string | undefined;
1105
- whyDifferent?: string | undefined;
1106
- }[];
1107
- }>;
369
+ }, z.core.$strip>;
370
+ }, z.core.$strip>>;
371
+ }, z.core.$strip>;
1108
372
  readonly description: "Suggested search cards with images, descriptions, and differentiation.";
1109
373
  };
374
+ readonly ProductDetailsPanel: {
375
+ readonly schema: z.ZodObject<{
376
+ product: z.ZodOptional<z.ZodObject<{
377
+ sku: z.ZodOptional<z.ZodString>;
378
+ name: z.ZodOptional<z.ZodString>;
379
+ images: z.ZodOptional<z.ZodArray<z.ZodString>>;
380
+ imageUrl: z.ZodOptional<z.ZodString>;
381
+ rating: z.ZodOptional<z.ZodNumber>;
382
+ reviewCount: z.ZodOptional<z.ZodNumber>;
383
+ price: z.ZodOptional<z.ZodString>;
384
+ originalPrice: z.ZodOptional<z.ZodString>;
385
+ price_async: z.ZodOptional<z.ZodBoolean>;
386
+ inStock: z.ZodOptional<z.ZodBoolean>;
387
+ promotions: z.ZodOptional<z.ZodArray<z.ZodString>>;
388
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
389
+ name: z.ZodOptional<z.ZodString>;
390
+ variant_name: z.ZodOptional<z.ZodString>;
391
+ sku: z.ZodOptional<z.ZodString>;
392
+ price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
393
+ }, z.core.$strip>>>;
394
+ url: z.ZodOptional<z.ZodString>;
395
+ cartCode: z.ZodOptional<z.ZodString>;
396
+ description: z.ZodOptional<z.ZodString>;
397
+ specifications: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodObject<{
398
+ key: z.ZodString;
399
+ value: z.ZodString;
400
+ }, z.core.$strip>>]>>;
401
+ }, z.core.$strip>>;
402
+ action: z.ZodOptional<z.ZodObject<{
403
+ title: z.ZodString;
404
+ type: z.ZodString;
405
+ payload: z.ZodOptional<z.ZodUnknown>;
406
+ }, z.core.$strip>>;
407
+ }, z.core.$strip>;
408
+ readonly description: "Full product detail view with images, specs, variants, and purchase actions.";
409
+ };
410
+ readonly ProductGrid: {
411
+ readonly schema: z.ZodObject<{
412
+ endOfList: z.ZodOptional<z.ZodBoolean>;
413
+ }, z.core.$strip>;
414
+ readonly description: "A scrollable grid of ProductCard children with optional \"more\" pagination.";
415
+ };
416
+ readonly ReviewHighlights: {
417
+ readonly schema: z.ZodObject<{
418
+ reviews: z.ZodOptional<z.ZodArray<z.ZodObject<{
419
+ review_class: z.ZodOptional<z.ZodString>;
420
+ review_text: z.ZodOptional<z.ZodString>;
421
+ review_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
422
+ review_tag: z.ZodOptional<z.ZodString>;
423
+ }, z.core.$strip>>>;
424
+ }, z.core.$strip>;
425
+ readonly description: "A list of highlighted customer reviews with sentiment and ratings.";
426
+ };
427
+ readonly ProsAndCons: {
428
+ readonly schema: z.ZodObject<{
429
+ productName: z.ZodOptional<z.ZodString>;
430
+ pros: z.ZodOptional<z.ZodArray<z.ZodString>>;
431
+ cons: z.ZodOptional<z.ZodArray<z.ZodString>>;
432
+ }, z.core.$strip>;
433
+ readonly description: "A pros and cons list for a product.";
434
+ };
435
+ readonly CategoriesContainer: {
436
+ readonly schema: z.ZodObject<{
437
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
438
+ groupName: z.ZodString;
439
+ products: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
440
+ }, z.core.$strip>>>;
441
+ filterTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
442
+ title: z.ZodString;
443
+ action: z.ZodOptional<z.ZodObject<{
444
+ title: z.ZodString;
445
+ type: z.ZodString;
446
+ payload: z.ZodOptional<z.ZodUnknown>;
447
+ }, z.core.$strip>>;
448
+ }, z.core.$strip>>>;
449
+ }, z.core.$strip>;
450
+ readonly description: "Tabbed product groups with optional filter tag buttons.";
451
+ };
452
+ readonly HandoffNotice: {
453
+ readonly schema: z.ZodObject<{
454
+ summary: z.ZodOptional<z.ZodString>;
455
+ products_discussed: z.ZodOptional<z.ZodArray<z.ZodString>>;
456
+ user_sentiment: z.ZodOptional<z.ZodString>;
457
+ }, z.core.$strip>;
458
+ readonly description: "A notice shown when the conversation is escalated to a human agent.";
459
+ };
1110
460
  };
1111
461
  };
1112
462
  export type ChatCatalog = typeof chatCatalog;