@envive-ai/react-toolkit-v3 0.3.17 → 0.3.18

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 (103) hide show
  1. package/dist/AnimatedText/AnimatedText.d.cts +3 -3
  2. package/dist/AnimatedText/AnimatedText.d.ts +3 -3
  3. package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.cts +2 -2
  4. package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.ts +2 -2
  5. package/dist/Carousel/Carousel.cjs +6 -5
  6. package/dist/Carousel/Carousel.d.cts +3 -2
  7. package/dist/Carousel/Carousel.d.ts +1 -0
  8. package/dist/Carousel/Carousel.js +6 -5
  9. package/dist/Carousel/types/types.d.cts +5 -0
  10. package/dist/Carousel/types/types.d.ts +5 -0
  11. package/dist/ChatFooter/ChatFooter.d.ts +2 -2
  12. package/dist/ChatFooter/components/index.d.cts +2 -2
  13. package/dist/ChatFooter/components/index.d.ts +5 -5
  14. package/dist/ChatHeader/ChatHeader.d.cts +2 -2
  15. package/dist/ChatHeader/ChatHeader.d.ts +2 -2
  16. package/dist/ChatPreview/ChatPreview.d.cts +2 -2
  17. package/dist/ChatPreview/ChatPreview.d.ts +2 -2
  18. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
  19. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
  20. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
  21. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
  22. package/dist/Container/Container.d.cts +179 -179
  23. package/dist/Container/Container.d.ts +179 -179
  24. package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
  25. package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
  26. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
  27. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
  28. package/dist/FloatingButton/FloatingButton.d.cts +2 -2
  29. package/dist/FloatingButton/FloatingButton.d.ts +2 -2
  30. package/dist/FloatingChat/FloatingChat.cjs +10 -1
  31. package/dist/FloatingChat/FloatingChat.d.cts +2 -2
  32. package/dist/FloatingChat/FloatingChat.d.ts +2 -2
  33. package/dist/FloatingChat/FloatingChat.js +11 -2
  34. package/dist/FloatingChat/components/AgentMessage.cjs +7 -2
  35. package/dist/FloatingChat/components/AgentMessage.js +7 -2
  36. package/dist/FloatingChat/components/ChatMessages.cjs +3 -2
  37. package/dist/FloatingChat/components/ChatMessages.js +3 -2
  38. package/dist/FloatingChat/components/SalesAgentBadgeContent.cjs +59 -0
  39. package/dist/FloatingChat/components/SalesAgentBadgeContent.js +56 -0
  40. package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.cjs +14 -5
  41. package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.js +14 -5
  42. package/dist/FloatingChat/utils/functions.cjs +13 -1
  43. package/dist/FloatingChat/utils/functions.js +11 -1
  44. package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +10 -5
  45. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +2 -2
  46. package/dist/FullPageSalesAgent/FullPageSalesAgent.js +10 -5
  47. package/dist/FullPageSalesAgent/components/Layout.cjs +1 -2
  48. package/dist/FullPageSalesAgent/components/Layout.js +1 -2
  49. package/dist/FullPageSalesAgent/hooks/useContainerResizerObserver.cjs +4 -1
  50. package/dist/FullPageSalesAgent/hooks/useContainerResizerObserver.js +4 -1
  51. package/dist/Image/Image.d.cts +2 -2
  52. package/dist/Image/Image.d.ts +2 -2
  53. package/dist/ImageGallery/ImageGallery.d.cts +2 -2
  54. package/dist/ImageGallery/ImageGallery.d.ts +2 -2
  55. package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
  56. package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +2 -2
  57. package/dist/ProductCard/ProductCard.d.cts +2 -2
  58. package/dist/ProductCard/ProductCard.d.ts +2 -2
  59. package/dist/PromptButton/PromptButton.d.cts +2 -2
  60. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
  61. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
  62. package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
  63. package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
  64. package/dist/ReviewCard/ReviewCard.d.cts +2 -2
  65. package/dist/ReviewCard/components/index.d.cts +6 -6
  66. package/dist/ReviewCard/components/index.d.ts +2 -2
  67. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
  68. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
  69. package/dist/SalesAgentProductCard/components/index.d.cts +8 -8
  70. package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
  71. package/dist/SocialProof/SocialProof.d.ts +2 -2
  72. package/dist/SparkleAnimation/SparkleAnimation.d.cts +2 -2
  73. package/dist/SparkleAnimation/SparkleAnimation.d.ts +2 -2
  74. package/dist/Stack/Stack.d.cts +2 -2
  75. package/dist/Stack/Stack.d.ts +2 -2
  76. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
  77. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
  78. package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
  79. package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
  80. package/dist/Typography/Typography.d.cts +4 -4
  81. package/dist/Typography/Typography.d.ts +4 -4
  82. package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
  83. package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
  84. package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
  85. package/dist/WidgetWrapper/WidgetWrapper.d.ts +2 -2
  86. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
  87. package/dist/styles.css +1 -1
  88. package/package.json +1 -1
  89. package/src/components/Carousel/Carousel.tsx +11 -8
  90. package/src/components/Carousel/types/types.ts +5 -0
  91. package/src/components/FloatingChat/FloatingChat.tsx +18 -1
  92. package/src/components/FloatingChat/components/AgentMessage.tsx +8 -0
  93. package/src/components/FloatingChat/components/ChatMessages.tsx +3 -0
  94. package/src/components/FloatingChat/components/ModalSheet.tsx +1 -1
  95. package/src/components/FloatingChat/components/SalesAgentBadgeContent.tsx +86 -0
  96. package/src/components/FloatingChat/components/SalesAgentProductCardsCarousel.tsx +18 -7
  97. package/src/components/FloatingChat/components/index.ts +0 -1
  98. package/src/components/FloatingChat/hooks/useFilteredChatMessages.ts +1 -1
  99. package/src/components/FloatingChat/utils/functions.ts +19 -0
  100. package/src/components/FullPageSalesAgent/FullPageSalesAgent.tsx +10 -6
  101. package/src/components/FullPageSalesAgent/components/Layout.tsx +1 -2
  102. package/src/components/FullPageSalesAgent/hooks/useContainerResizerObserver.ts +1 -0
  103. package/src/mocks/productCardMocks.ts +955 -0
@@ -0,0 +1,955 @@
1
+ import { Message, MessageRole, MessageType } from '@envive-ai/react-hooks/application/models';
2
+ import { v4 as uuidv4 } from 'uuid';
3
+
4
+ export const ELECTRIC_COOKWARE_MESSAGE_MOCK: Message[] = [
5
+ {
6
+ id: '3e5f6a1b-3afd-4762-94db-583a2492207c',
7
+ role: MessageRole.Assistant,
8
+ type: MessageType.Product,
9
+ createdAt: new Date(Date.now() - 90000).toISOString(),
10
+ metadata: {
11
+ id: 'greenlife-4-5-quart-ez-air-fryer-dusty-rose',
12
+ title: 'GreenLife 4.5-Quart EZ Air Fryer | Dusty Rose',
13
+ description: 'For fast, simple, and PFAS-free meals, choose the EZ Air Fryer.',
14
+ url: 'https://www.greenpan.us/products/greenlife-4-5-quart-ez-air-fryer-dusty-rose',
15
+ imageUrl:
16
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC009062-001-1-1200x1200-bd93c0f.jpg?v=1731445513',
17
+ originalPrice: 69.99,
18
+ salePrice: 49.99,
19
+ averageRating: 4.0,
20
+ numberReviews: 5,
21
+ isForGrid: false,
22
+ },
23
+ },
24
+ {
25
+ id: 'b3d297d8-7014-4009-964f-5fa8ccb1f0c3',
26
+ role: MessageRole.Assistant,
27
+ type: MessageType.Product,
28
+ createdAt: new Date(Date.now() - 90000).toISOString(),
29
+ metadata: {
30
+ id: 'greenlife-4-5-quart-ez-air-fryer-blue-haze',
31
+ title: 'GreenLife 4.5-Quart EZ Air Fryer | Blue Haze',
32
+ description: 'For fast, simple, and PFAS-free meals, choose the EZ Air Fryer.',
33
+ url: 'https://www.greenpan.us/products/greenlife-4-5-quart-ez-air-fryer-blue-haze',
34
+ imageUrl:
35
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC009063-001-1-1200x1200-bd93c0f.jpg?v=1731448992',
36
+ originalPrice: 85.99,
37
+ salePrice: 59.99,
38
+ averageRating: 4.363636363636363,
39
+ numberReviews: 22,
40
+ isForGrid: false,
41
+ },
42
+ },
43
+ {
44
+ id: 'dce051b7-6ac4-4512-a536-21ccbdfc8a82',
45
+ role: MessageRole.Assistant,
46
+ type: MessageType.Product,
47
+ createdAt: new Date(Date.now() - 90000).toISOString(),
48
+ metadata: {
49
+ id: 'greenlife-4-5-quart-ez-air-fryer-graphite',
50
+ title: 'GreenLife 4.5-Quart EZ Air Fryer | Graphite',
51
+ description: 'For fast, simple, and PFAS-free meals, choose the EZ Air Fryer.',
52
+ url: 'https://www.greenpan.us/products/greenlife-4-5-quart-ez-air-fryer-graphite',
53
+ imageUrl:
54
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC009064-001-1-1200x1200-bd93c0f.jpg?v=1731449290',
55
+ originalPrice: 85.99,
56
+ salePrice: 59.99,
57
+ averageRating: 4.444444444444445,
58
+ numberReviews: 18,
59
+ isForGrid: false,
60
+ },
61
+ },
62
+ {
63
+ id: 'f77cea31-66a8-44c5-bee9-5e82c867f4d6',
64
+ role: MessageRole.Assistant,
65
+ type: MessageType.Product,
66
+ createdAt: new Date(Date.now() - 90000).toISOString(),
67
+ metadata: {
68
+ id: 'greenlife-6-cup-rice-cooker-quartz-gray',
69
+ title: 'GreenLife 6-Cup Rice Cooker | Quartz Gray',
70
+ description:
71
+ 'Turn ordinary rice into fluffy, flavorful masterpieces with the flip of a switch! This rice cooker makes up to 6 cups of cooked rice and features our PFAS-free ceramic nonstick coating for healthier meals and effortless cleaning.',
72
+ url: 'https://www.greenpan.us/products/greenlife-6-cup-rice-cooker-quartz-gray',
73
+ imageUrl:
74
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC008703-001-1-1200x1200-bd93c0f.jpg?v=1725662971',
75
+ originalPrice: 59.99,
76
+ salePrice: 39.99,
77
+ averageRating: 4.468085106382978,
78
+ numberReviews: 47,
79
+ isForGrid: false,
80
+ },
81
+ },
82
+ {
83
+ id: '47e34a2f-9135-49ba-8f74-c834a56e67f4',
84
+ role: MessageRole.Assistant,
85
+ type: MessageType.Product,
86
+ createdAt: new Date(Date.now() - 90000).toISOString(),
87
+ metadata: {
88
+ id: 'greenlife-6-cup-rice-cooker-white',
89
+ title: 'GreenLife 6-Cup Rice Cooker | White',
90
+ description:
91
+ 'Turn ordinary rice into fluffy, flavorful masterpieces with the flip of a switch! This rice cooker makes up to 6 cups of cooked rice and features our PFAS-free ceramic nonstick coating for healthier meals and effortless cleaning.',
92
+ url: 'https://www.greenpan.us/products/greenlife-6-cup-rice-cooker-white',
93
+ imageUrl:
94
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC009658-001_1.jpg?v=1744993417',
95
+ originalPrice: 59.99,
96
+ salePrice: 39.99,
97
+ averageRating: 4.387323943661972,
98
+ numberReviews: 142,
99
+ isForGrid: false,
100
+ },
101
+ },
102
+ {
103
+ id: '5e9df70f-e22d-48ee-be60-cb3451c1a102',
104
+ role: MessageRole.Assistant,
105
+ type: MessageType.Product,
106
+ createdAt: new Date(Date.now() - 90000).toISOString(),
107
+ metadata: {
108
+ id: 'greenlife-6-cup-rice-cooker-black',
109
+ title: 'GreenLife 6-Cup Rice Cooker | Black',
110
+ description:
111
+ 'Turn ordinary rice into fluffy, flavorful masterpieces with the flip of a switch! This rice cooker makes up to 6 cups of cooked rice and features our PFAS-free ceramic nonstick coating for healthier meals and effortless cleaning.',
112
+ url: 'https://www.greenpan.us/products/greenlife-6-cup-rice-cooker-black',
113
+ imageUrl:
114
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC009655-001_1.jpg?v=1744992512',
115
+ originalPrice: 59.99,
116
+ salePrice: 39.99,
117
+ averageRating: 4.387323943661972,
118
+ numberReviews: 142,
119
+ isForGrid: false,
120
+ },
121
+ },
122
+ {
123
+ id: 'e77f7063-b216-445a-be60-340153927dcb',
124
+ role: MessageRole.Assistant,
125
+ type: MessageType.Product,
126
+ createdAt: new Date(Date.now() - 90000).toISOString(),
127
+ metadata: {
128
+ id: 'elite-ceramic-nonstick-4-square-waffle-maker-cloud-cream-1',
129
+ title: 'Elite Ceramic Nonstick 4-Square Waffle Maker | Cloud Cream',
130
+ description:
131
+ 'This waffle maker features two sets of plates so you can master classic waffles, thick Belgian-style, or even Liège waffles.',
132
+ url: 'https://www.greenpan.us/products/elite-ceramic-nonstick-4-square-waffle-maker-cloud-cream-1',
133
+ imageUrl:
134
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC010672-001-1_ATK.jpg?v=1763998981',
135
+ originalPrice: 429.99,
136
+ salePrice: 299.99,
137
+ averageRating: 4.5675675675675675,
138
+ numberReviews: 111,
139
+ isForGrid: false,
140
+ },
141
+ },
142
+ {
143
+ id: '103726e8-897a-42b9-97da-21f85792c81d',
144
+ role: MessageRole.Assistant,
145
+ type: MessageType.Product,
146
+ createdAt: new Date(Date.now() - 90000).toISOString(),
147
+ metadata: {
148
+ id: 'elite-ceramic-nonstick-4-square-waffle-maker-graphite-1',
149
+ title: 'Elite Ceramic Nonstick 4-Square Waffle Maker | Graphite',
150
+ description:
151
+ 'This waffle maker features two sets of plates so you can master classic waffles, thick Belgian-style, or even Liège waffles.',
152
+ url: 'https://www.greenpan.us/products/elite-ceramic-nonstick-4-square-waffle-maker-graphite-1',
153
+ imageUrl:
154
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC010673-001-1_ATK_7245203c-0196-4f8c-a96b-aa4b3ffd8ad7.jpg?v=1763999914',
155
+ originalPrice: 429.99,
156
+ salePrice: 299.99,
157
+ averageRating: 4.5675675675675675,
158
+ numberReviews: 111,
159
+ isForGrid: false,
160
+ },
161
+ },
162
+ {
163
+ id: '6d0e5830-e59a-4678-b714-597226af2b03',
164
+ role: MessageRole.Assistant,
165
+ type: MessageType.Product,
166
+ createdAt: new Date(Date.now() - 90000).toISOString(),
167
+ metadata: {
168
+ id: 'elite-5-5-quart-oval-electric-skillet-graphite',
169
+ title: 'Elite 5.5-Quart Oval Electric Skillet | Graphite',
170
+ description:
171
+ 'Incredibly versatile, easy to use, and effortless to clean—the Elite electric skillet is designed to make countertop cooking simple.',
172
+ url: 'https://www.greenpan.us/products/elite-5-5-quart-oval-electric-skillet-graphite',
173
+ imageUrl:
174
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC008554-001-1-1200x1200-61daf06.jpg?v=1734041766',
175
+ originalPrice: 359.99,
176
+ salePrice: 249.99,
177
+ averageRating: 4.556862745098039,
178
+ numberReviews: 255,
179
+ isForGrid: false,
180
+ },
181
+ },
182
+ {
183
+ id: '12a8c3a4-f0a3-40e3-ba1e-7cd738559e08',
184
+ role: MessageRole.Assistant,
185
+ type: MessageType.Product,
186
+ createdAt: new Date(Date.now() - 90000).toISOString(),
187
+ metadata: {
188
+ id: 'elite-5-5-quart-oval-electric-skillet-cream',
189
+ title: 'Elite 5.5-Quart Oval Electric Skillet | Cream',
190
+ description:
191
+ 'Incredibly versatile, easy to use, and effortless to clean—the Elite electric skillet is designed to make countertop cooking simple.',
192
+ url: 'https://www.greenpan.us/products/elite-5-5-quart-oval-electric-skillet-cream',
193
+ imageUrl:
194
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/GP_Elite_OvalSkillet_Cream_Outline_01-1200x1200-1d492f1.jpg?v=1734041804',
195
+ originalPrice: 359.99,
196
+ salePrice: 249.99,
197
+ averageRating: 4.556862745098039,
198
+ numberReviews: 255,
199
+ isForGrid: false,
200
+ },
201
+ },
202
+ {
203
+ id: '281c262b-88a3-49cc-8bea-676b5d5c224c',
204
+ role: MessageRole.Assistant,
205
+ type: MessageType.Product,
206
+ createdAt: new Date(Date.now() - 90000).toISOString(),
207
+ metadata: {
208
+ id: 'elite-5-5-quart-oval-electric-skillet-premiere-stainless-steel',
209
+ title: 'Elite 5.5-Quart Oval Electric Skillet | Premiere Stainless Steel',
210
+ description:
211
+ 'Incredibly versatile, easy to use, and effortless to clean—the Premiere electric skillet is designed to make countertop cooking simple.',
212
+ url: 'https://www.greenpan.us/products/elite-5-5-quart-oval-electric-skillet-premiere-stainless-steel',
213
+ imageUrl:
214
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC008274-001-1-1200x1200-bd93c0f.jpg?v=1735846276',
215
+ originalPrice: 359.99,
216
+ salePrice: 249.99,
217
+ averageRating: 4.9411764705882355,
218
+ numberReviews: 17,
219
+ isForGrid: false,
220
+ },
221
+ },
222
+ {
223
+ id: '3a8238e9-07e5-4e36-b75c-89049863ec00',
224
+ role: MessageRole.Assistant,
225
+ type: MessageType.Product,
226
+ createdAt: new Date(Date.now() - 90000).toISOString(),
227
+ metadata: {
228
+ id: 'elite-convection-air-fryer-toaster-oven-premiere-stainless-steel',
229
+ title: 'Elite Convection Air Fryer Toaster Oven | Premiere Stainless Steel',
230
+ description:
231
+ "Our best air fry oven features the most presets and functions we've ever created—this is one of the most versatile tools in any kitchen.",
232
+ url: 'https://www.greenpan.us/products/elite-convection-air-fryer-toaster-oven-premiere-stainless-steel',
233
+ imageUrl:
234
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NC_CC007472-001_1-1200x1200-bd93c0f.jpg?v=1689283633',
235
+ originalPrice: 574.99,
236
+ salePrice: 399.99,
237
+ averageRating: 4.707070707070707,
238
+ numberReviews: 99,
239
+ isForGrid: false,
240
+ },
241
+ },
242
+ {
243
+ id: '05d12971-968c-4cd1-8f71-85ba48f5d4f8',
244
+ role: MessageRole.Assistant,
245
+ type: MessageType.Product,
246
+ createdAt: new Date(Date.now() - 90000).toISOString(),
247
+ metadata: {
248
+ id: 'bistro-9-in-1-air-fry-toaster-oven',
249
+ title: 'Bistro 9-in-1 Air Fryer Toaster Oven',
250
+ description:
251
+ 'Experience ultra-fast heating and PFAS-free meals with the Bistro 9-in-1 Air Fryer Toaster Oven.',
252
+ url: 'https://www.greenpan.us/products/bistro-9-in-1-air-fry-toaster-oven',
253
+ imageUrl:
254
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NC_CC007671-001_1-1200x1200-bd93c0f.jpg?v=1735846385',
255
+ originalPrice: 399.99,
256
+ salePrice: 279.99,
257
+ averageRating: 4.555984555984556,
258
+ numberReviews: 259,
259
+ isForGrid: false,
260
+ },
261
+ },
262
+ {
263
+ id: '1eb148e0-ca6a-417a-9a94-5f5445a24796',
264
+ role: MessageRole.Assistant,
265
+ type: MessageType.Product,
266
+ createdAt: new Date(Date.now() - 90000).toISOString(),
267
+ metadata: {
268
+ id: '8-quart-locking-lid-slow-cooker-graphite',
269
+ title: '8-Quart Locking Lid Slow Cooker | Graphite',
270
+ description:
271
+ "Bring power and performance anywhere you need it with this spacious 8-quart slow cooker featuring a locking lid that makes it easy to bring big meals to get-togethers, parties, or wherever you're hungry.",
272
+ url: 'https://www.greenpan.us/products/8-quart-locking-lid-slow-cooker-graphite',
273
+ imageUrl:
274
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/GP_8QTLockingLidSlowCooker_Black_Outline1-1200x1200-0b821c7.jpg?v=1738015648',
275
+ originalPrice: 275.99,
276
+ salePrice: 189.99,
277
+ averageRating: 4.894736842105263,
278
+ numberReviews: 57,
279
+ isForGrid: false,
280
+ },
281
+ },
282
+ {
283
+ id: '17bb94b7-291b-4bd9-9935-c4f2ca1f4432',
284
+ role: MessageRole.Assistant,
285
+ type: MessageType.Product,
286
+ createdAt: new Date(Date.now() - 90000).toISOString(),
287
+ metadata: {
288
+ id: 'elite-14-in-1-6-quart-slow-cooker-black',
289
+ title: 'Elite 14-in-1 6-Quart Slow Cooker | Black',
290
+ description:
291
+ 'Our do-it-all slow cooker has more features than ever! Completely upgraded, our cutting-edge slow cooker is packed with 14 easy-to-use presets (including all-new stir-fry, rice, and bake settings), to deliver incredible flavor with the touch of a button.',
292
+ url: 'https://www.greenpan.us/products/elite-14-in-1-6-quart-slow-cooker-black',
293
+ imageUrl:
294
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC009985-001-1_776bb331-e17a-4fa4-94a3-41dff8128064.jpg?v=1763682216',
295
+ originalPrice: 429.99,
296
+ salePrice: 299.99,
297
+ averageRating: 4.8125,
298
+ numberReviews: 208,
299
+ isForGrid: false,
300
+ },
301
+ },
302
+ {
303
+ id: 'f98be6e6-ef68-4ef0-85c5-bf9099cbe4b9',
304
+ role: MessageRole.Assistant,
305
+ type: MessageType.Product,
306
+ createdAt: new Date(Date.now() - 90000).toISOString(),
307
+ metadata: {
308
+ id: 'elite-14-in-1-6-quart-slow-cooker-clay',
309
+ title: 'Elite 14-in-1 6-Quart Slow Cooker | Clay',
310
+ description:
311
+ 'Our do-it-all slow cooker has more features than ever! Completely upgraded, our cutting-edge slow cooker is packed with 14 easy-to-use presets (including all-new stir-fry, rice, and bake settings), to deliver incredible flavor with the touch of a button.',
312
+ url: 'https://www.greenpan.us/products/elite-14-in-1-6-quart-slow-cooker-clay',
313
+ imageUrl:
314
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC009988-001-1.jpg?v=1763682131',
315
+ originalPrice: 429.99,
316
+ salePrice: 299.99,
317
+ averageRating: 4.8125,
318
+ numberReviews: 208,
319
+ isForGrid: false,
320
+ },
321
+ },
322
+ ];
323
+
324
+ export const KITCHEN_BUNDLE_MESSAGE_MOCK: Message[] = [
325
+ {
326
+ id: '50bd66f5-e0e2-4c7b-b08c-eaf5ec16f29d',
327
+ role: MessageRole.Assistant,
328
+ type: MessageType.Product,
329
+ createdAt: new Date(Date.now() - 90000).toISOString(),
330
+ metadata: {
331
+ id: 'eras-ceramic-nonstick-11-piece-cookware-set-cloud-cream',
332
+ title: 'Eras Ceramic Nonstick 11-Piece Cookware Set | Cloud Cream',
333
+ description:
334
+ 'Experience the pinnacle of nonstick performance with our 11-Piece Eras Cookware Set.',
335
+ url: 'https://www.greenpan.us/products/eras-ceramic-nonstick-11-piece-cookware-set-cloud-cream',
336
+ imageUrl:
337
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC008847-003-1.jpg?v=1748529933',
338
+ originalPrice: 594.99,
339
+ salePrice: 419.99,
340
+ averageRating: 4.9411764705882355,
341
+ numberReviews: 17,
342
+ isForGrid: false,
343
+ },
344
+ },
345
+ {
346
+ id: 'ca1fff9e-f588-4b44-9ca6-ee44705ee535',
347
+ role: MessageRole.Assistant,
348
+ type: MessageType.Product,
349
+ createdAt: new Date(Date.now() - 90000).toISOString(),
350
+ metadata: {
351
+ id: 'eras-ceramic-nonstick-11-piece-cookware-set-slate',
352
+ title: 'Eras Ceramic Nonstick 11-Piece Cookware Set | Slate',
353
+ description:
354
+ 'Experience the pinnacle of nonstick performance with our 11-Piece Eras Cookware Set.',
355
+ url: 'https://www.greenpan.us/products/eras-ceramic-nonstick-11-piece-cookware-set-slate',
356
+ imageUrl:
357
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC008848-003-1.jpg?v=1748536571',
358
+ originalPrice: 594.99,
359
+ salePrice: 419.99,
360
+ averageRating: 4.9411764705882355,
361
+ numberReviews: 17,
362
+ isForGrid: false,
363
+ },
364
+ },
365
+ {
366
+ id: '80877c7a-07f8-4e42-b34c-a4a7fbc1a988',
367
+ role: MessageRole.Assistant,
368
+ type: MessageType.Product,
369
+ createdAt: new Date(Date.now() - 90000).toISOString(),
370
+ metadata: {
371
+ id: 'lima-ceramic-non-stick-12-piece-cookware-set',
372
+ title: 'Lima Ceramic Nonstick 12-Piece Cookware Set',
373
+ description: 'Get the classics covered with this essential 12-piece set.',
374
+ url: 'https://www.greenpan.us/products/lima-ceramic-non-stick-12-piece-cookware-set',
375
+ imageUrl:
376
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/products/NC-CW000545-004-1-1200x1200-bd93c0f.jpg?v=1680022124',
377
+ originalPrice: 285.99,
378
+ salePrice: 199.99,
379
+ averageRating: 4.445783132530121,
380
+ numberReviews: 83,
381
+ isForGrid: false,
382
+ },
383
+ },
384
+ {
385
+ id: '31921f11-3738-4e81-adad-d800fb0efaa4',
386
+ role: MessageRole.Assistant,
387
+ type: MessageType.Product,
388
+ createdAt: new Date(Date.now() - 90000).toISOString(),
389
+ metadata: {
390
+ id: 'merten-storck-stainless-steel-8-piece-cookware-set',
391
+ title: 'Merten & Storck Stainless Steel 8-Piece Cookware Set',
392
+ description:
393
+ 'Ideal for sautéing, browning, frying, and boiling, these stainless steel pots and pans are the perfect way to take your cooking to the next level.',
394
+ url: 'https://www.greenpan.us/products/merten-storck-stainless-steel-8-piece-cookware-set',
395
+ imageUrl:
396
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/products/NCCC005048-001-1-1200x1200-bd93c0f.jpg?v=1666736124',
397
+ originalPrice: 448.99,
398
+ salePrice: 319.99,
399
+ averageRating: 4.166666666666667,
400
+ numberReviews: 6,
401
+ isForGrid: false,
402
+ },
403
+ },
404
+ {
405
+ id: 'a8d2a5eb-a568-4b81-b22d-d9732a4b3958',
406
+ role: MessageRole.Assistant,
407
+ type: MessageType.Product,
408
+ createdAt: new Date(Date.now() - 90000).toISOString(),
409
+ metadata: {
410
+ id: 'stanley-tucci-mixed-material-stainless-steel-11-piece-set-with-the-tucci-cookbook',
411
+ title:
412
+ 'Stanley Tucci™ Mixed Material Stainless Steel 11-Piece Cookware Set with the Tucci Cookbook',
413
+ description:
414
+ "This set's incredible mix of premium stainless steel and ceramic nonstick pans delivers the best of both worlds.",
415
+ url: 'https://www.greenpan.us/products/stanley-tucci%E2%84%A2-mixed-material-stainless-steel-11-piece-set-with-the-tucci-cookbook',
416
+ imageUrl:
417
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC009001-001_1_d754bee5-3cab-4ab7-a4fb-cdff6a6dce52.jpg?v=1770327550',
418
+ originalPrice: 1429.99,
419
+ salePrice: 999.99,
420
+ averageRating: 4.668668668668668,
421
+ numberReviews: 999,
422
+ isForGrid: false,
423
+ },
424
+ },
425
+ {
426
+ id: '409029d1-eb85-4781-a208-f0ae6f24ba8a',
427
+ role: MessageRole.Assistant,
428
+ type: MessageType.Product,
429
+ createdAt: new Date(Date.now() - 90000).toISOString(),
430
+ metadata: {
431
+ id: 'reserve-pro-ceramic-nonstick-10-piece-cookware-set-harvest',
432
+ title: 'Reserve Pro Ceramic Nonstick 10-Piece Cookware Set | Harvest',
433
+ description:
434
+ 'A powerful blend of design and innovation, Reserve Pro delivers exceptional durability, stackable convenience, and oven-ready strength.',
435
+ url: 'https://www.greenpan.us/products/reserve-pro-ceramic-nonstick-10-piece-cookware-set-harvest',
436
+ imageUrl:
437
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC009932-001-1-2400x2400-19dac1b.jpg?v=1753472249',
438
+ originalPrice: 642.99,
439
+ salePrice: 449.99,
440
+ averageRating: 4.671732522796352,
441
+ numberReviews: 329,
442
+ isForGrid: false,
443
+ },
444
+ },
445
+ {
446
+ id: '0a4bac9e-51a0-452b-a5fe-d8fcd7434789',
447
+ role: MessageRole.Assistant,
448
+ type: MessageType.Product,
449
+ createdAt: new Date(Date.now() - 90000).toISOString(),
450
+ metadata: {
451
+ id: 'reserve-pro-ceramic-nonstick-10-piece-cookware-set-cream',
452
+ title: 'Reserve Pro Ceramic Nonstick 10-Piece Cookware Set | Cream',
453
+ description:
454
+ 'A powerful blend of design and innovation, Reserve Pro delivers exceptional durability, stackable convenience, and oven-ready strength.',
455
+ url: 'https://www.greenpan.us/products/reserve-pro-ceramic-nonstick-10-piece-cookware-set-cream',
456
+ imageUrl:
457
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC009661-001-1-2400x2400-19dac1b.jpg?v=1753462928',
458
+ originalPrice: 642.99,
459
+ salePrice: 449.99,
460
+ averageRating: 4.671732522796352,
461
+ numberReviews: 329,
462
+ isForGrid: false,
463
+ },
464
+ },
465
+ {
466
+ id: 'b2a4f50a-7835-419e-b832-6ddea7e0ae1a',
467
+ role: MessageRole.Assistant,
468
+ type: MessageType.Product,
469
+ createdAt: new Date(Date.now() - 90000).toISOString(),
470
+ metadata: {
471
+ id: 'reserve-pro-ceramic-nonstick-10-piece-cookware-set-sage',
472
+ title: 'Reserve Pro Ceramic Nonstick 10-Piece Cookware Set | Sage',
473
+ description:
474
+ 'A powerful blend of design and innovation, Reserve Pro delivers exceptional durability, stackable convenience, and oven-ready strength.',
475
+ url: 'https://www.greenpan.us/products/reserve-pro-ceramic-nonstick-10-piece-cookware-set-sage',
476
+ imageUrl:
477
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC009664-001-1-2400x2400-19dac1b.jpg?v=1753477294',
478
+ originalPrice: 642.99,
479
+ salePrice: 449.99,
480
+ averageRating: 4.671732522796352,
481
+ numberReviews: 329,
482
+ isForGrid: false,
483
+ },
484
+ },
485
+ {
486
+ id: 'c196c98c-65b3-4011-8279-b0f3d00eab36',
487
+ role: MessageRole.Assistant,
488
+ type: MessageType.Product,
489
+ createdAt: new Date(Date.now() - 90000).toISOString(),
490
+ metadata: {
491
+ id: 'the-ultimate-halloween-kitchen-bundle-cream-twilight',
492
+ title: 'The Ultimate Kitchen Bundle | Cream & Twilight',
493
+ description: '',
494
+ url: 'https://www.greenpan.us/products/the-ultimate-halloween-kitchen-bundle-cream-twilight',
495
+ imageUrl:
496
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/Done_31713_1stversion_GP_ReserveBundle3_Outline.jpg?v=1762546869',
497
+ originalPrice: 1429.99,
498
+ salePrice: 849.99,
499
+ averageRating: 4.722308892355694,
500
+ numberReviews: 641,
501
+ isForGrid: false,
502
+ },
503
+ },
504
+ {
505
+ id: '81a2597b-771e-4e80-a62e-3dd2cf54c424',
506
+ role: MessageRole.Assistant,
507
+ type: MessageType.Product,
508
+ createdAt: new Date(Date.now() - 90000).toISOString(),
509
+ metadata: {
510
+ id: 'bobby-flay-by-greenpan-ultimate-set-with-bobby-at-home-cookbook-cream-1',
511
+ title: 'Bobby Flay by GreenPan Ultimate Set with Bobby at Home Cookbook | Cream',
512
+ description: '',
513
+ url: 'https://www.greenpan.us/products/bobby-flay-by-greenpan-ultimate-set-with-bobby-at-home-cookbook-cream-1',
514
+ imageUrl:
515
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NC_ECOM0314-001_1-1200x1200-bd93c0f.jpg?v=1727727938',
516
+ originalPrice: 674.99,
517
+ salePrice: 419.99,
518
+ averageRating: 4.695852534562212,
519
+ numberReviews: 434,
520
+ isForGrid: false,
521
+ },
522
+ },
523
+ {
524
+ id: '2ea3e760-7763-4214-8915-8c4d7c46c256',
525
+ role: MessageRole.Assistant,
526
+ type: MessageType.Product,
527
+ createdAt: new Date(Date.now() - 90000).toISOString(),
528
+ metadata: {
529
+ id: 'rio-ceramic-nonstick-10-piece-cookware-set-turquoise',
530
+ title: 'Rio Ceramic Nonstick 10-Piece Cookware Set | Turquoise',
531
+ description:
532
+ 'Available in head-turning shades, our Rio collection is bound to become a fixture in any kitchen.',
533
+ url: 'https://www.greenpan.us/products/rio-ceramic-nonstick-10-piece-cookware-set-turquoise',
534
+ imageUrl:
535
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC009034-001-1.jpg?v=1736971941',
536
+ originalPrice: 189.99,
537
+ salePrice: 129.99,
538
+ averageRating: 4.436734693877551,
539
+ numberReviews: 245,
540
+ isForGrid: false,
541
+ },
542
+ },
543
+ {
544
+ id: '8fc0ea4a-f8d7-486e-ac27-4b3340fb1466',
545
+ role: MessageRole.Assistant,
546
+ type: MessageType.Product,
547
+ createdAt: new Date(Date.now() - 90000).toISOString(),
548
+ metadata: {
549
+ id: 'rio-ceramic-nonstick-10-piece-cookware-set-black',
550
+ title: 'Rio Ceramic Nonstick 10-Piece Cookware Set | Black',
551
+ description:
552
+ 'Available in head-turning shades, our Rio collection is bound to become a fixture in any kitchen.',
553
+ url: 'https://www.greenpan.us/products/rio-ceramic-nonstick-10-piece-cookware-set-black',
554
+ imageUrl:
555
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/GP_Rio_11pc_Turquoise_Prep_03-Black1-1200x1200-d38c9ce.png?v=1736186690',
556
+ originalPrice: 189.99,
557
+ salePrice: 129.99,
558
+ averageRating: 4.436734693877551,
559
+ numberReviews: 245,
560
+ isForGrid: false,
561
+ },
562
+ },
563
+ {
564
+ id: 'd70cfe0c-bae4-4621-81ad-1ef9c654d1a6',
565
+ role: MessageRole.Assistant,
566
+ type: MessageType.Product,
567
+ createdAt: new Date(Date.now() - 90000).toISOString(),
568
+ metadata: {
569
+ id: 'rio-ceramic-non-stick-16-piece-cookware-set-turquoise',
570
+ title: 'Rio Ceramic Nonstick 16-Piece Cookware Set | Turquoise',
571
+ description:
572
+ 'Available in head-turning shades, our Rio collection is bound to become a fixture in any kitchen.',
573
+ url: 'https://www.greenpan.us/products/rio-ceramic-non-stick-16-piece-cookware-set-turquoise',
574
+ imageUrl:
575
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/products/CC002482-001-1.jpg?v=1618319647',
576
+ originalPrice: 285.99,
577
+ salePrice: 199.99,
578
+ averageRating: 4.550415183867141,
579
+ numberReviews: 843,
580
+ isForGrid: false,
581
+ },
582
+ },
583
+ ];
584
+
585
+ export const CARBON_STEEL_MESSAGE_MOCK: Message[] = [
586
+ {
587
+ id: '1b4d8751-cfdd-48c5-bbc1-13bea2408114',
588
+ role: MessageRole.Assistant,
589
+ type: MessageType.Product,
590
+ createdAt: new Date(Date.now() - 90000).toISOString(),
591
+ metadata: {
592
+ id: 'bobby-flay-by-greenpan-8-10-and-12-carbon-steel-frypan-set-1',
593
+ title: 'Bobby Flay by GreenPan 8", 10" and 12" Carbon Steel Frypan Set',
594
+ description:
595
+ 'Get all three essential pan sizes for ultimate versatility and professional-grade meals.',
596
+ url: 'https://www.greenpan.us/products/bobby-flay-by-greenpan-8-10-and-12-carbon-steel-frypan-set-1',
597
+ imageUrl:
598
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/BF_MixedCarbonSteel_Black_Outline3-1200x1200-a6687ad.png?v=1743202848',
599
+ originalPrice: 219.99,
600
+ salePrice: 129.99,
601
+ averageRating: 4.5058823529411764,
602
+ numberReviews: 85,
603
+ isForGrid: false,
604
+ },
605
+ },
606
+ {
607
+ id: 'a1ec5283-9fb8-40e1-91b8-cc323b1758f3',
608
+ role: MessageRole.Assistant,
609
+ type: MessageType.Product,
610
+ createdAt: new Date(Date.now() - 90000).toISOString(),
611
+ metadata: {
612
+ id: 'bobby-flay-by-greenpan-15-carbon-steel-paella-pan',
613
+ title: 'Bobby Flay by GreenPan 15" Carbon Steel Paella Pan',
614
+ description:
615
+ 'Designed for serious heat and serious flavor, this spacious carbon steel pan delivers restaurant-worthy results on any surface.',
616
+ url: 'https://www.greenpan.us/products/bobby-flay-by-greenpan-15-carbon-steel-paella-pan',
617
+ imageUrl:
618
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC010044-001_1.jpg?v=1753291229',
619
+ originalPrice: 99.99,
620
+ salePrice: 69.99,
621
+ averageRating: 4.5058823529411764,
622
+ numberReviews: 85,
623
+ isForGrid: false,
624
+ },
625
+ },
626
+ {
627
+ id: '81de988e-02ef-4ec9-acf1-b85c78452518',
628
+ role: MessageRole.Assistant,
629
+ type: MessageType.Product,
630
+ createdAt: new Date(Date.now() - 90000).toISOString(),
631
+ metadata: {
632
+ id: 'bobby-flay-by-greenpan-5-piece-carbon-steel-set-with-bobby-at-home-cookbook-1',
633
+ title: 'Bobby Flay by GreenPan 5-Piece Carbon Steel Set with Bobby at Home Cookbook',
634
+ description:
635
+ 'Created in partnership with Bobby Flay, these pans features durable carbon steel for professional-grade cooking.',
636
+ url: 'https://www.greenpan.us/products/bobby-flay-by-greenpan-5-piece-carbon-steel-set-with-bobby-at-home-cookbook-1',
637
+ imageUrl:
638
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/BF_MixedCarbonSteel_Black_Outline3-1200x1200-89b7b3c.jpg?v=1753293003',
639
+ originalPrice: 434.99,
640
+ salePrice: 269.99,
641
+ averageRating: 4.5058823529411764,
642
+ numberReviews: 85,
643
+ isForGrid: false,
644
+ },
645
+ },
646
+ ];
647
+
648
+ export const OTHER_PRODUCTS_MESSAGE_MOCK: Message[] = [
649
+ {
650
+ id: 'd3609af2-0a85-4345-ad43-9ec4f641cd16',
651
+ role: MessageRole.Assistant,
652
+ type: MessageType.Product,
653
+ createdAt: new Date(Date.now() - 90000).toISOString(),
654
+ metadata: {
655
+ id: 'valencia-pro-ceramic-non-stick-stockpot-5-5-quart',
656
+ title: 'Valencia Pro Ceramic Nonstick 5.5-Quart Stockpot with Lid',
657
+ description:
658
+ 'Ready for stews, pastas, and so much more, this spacious stockpot is crafted from hard anodized aluminum for strength and scratch resistance.',
659
+ url: 'https://www.greenpan.us/products/valencia-pro-ceramic-non-stick-stockpot-5-5-quart',
660
+ imageUrl:
661
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NC_CC003792-001_1_ALT.jpg?v=1755717123',
662
+ originalPrice: 171.99,
663
+ salePrice: 119.99,
664
+ averageRating: 4.776470588235294,
665
+ numberReviews: 170,
666
+ isForGrid: false,
667
+ },
668
+ },
669
+ {
670
+ id: 'e77905ea-a091-490c-9421-b308aa6ecb01',
671
+ role: MessageRole.Assistant,
672
+ type: MessageType.Product,
673
+ createdAt: new Date(Date.now() - 90000).toISOString(),
674
+ metadata: {
675
+ id: 'valencia-pro-ceramic-non-stick-stockpot-8-quart',
676
+ title: 'Valencia Pro Ceramic Nonstick 8-Quart Stockpot with Lid',
677
+ description:
678
+ 'Crafted from hard anodized aluminum for maximum strength and scratch resistance, this spacious 8-quart stockpot has plenty of room for family-sized stews, seafood boils, and so much more.',
679
+ url: 'https://www.greenpan.us/products/valencia-pro-ceramic-non-stick-stockpot-8-quart',
680
+ imageUrl:
681
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NC_CC003793-001_1.jpg?v=1755717202',
682
+ originalPrice: 229.99,
683
+ salePrice: 159.99,
684
+ averageRating: 4.776470588235294,
685
+ numberReviews: 170,
686
+ isForGrid: false,
687
+ },
688
+ },
689
+ {
690
+ id: '9f338ae6-d24a-43fb-b406-cf9c53cef862',
691
+ role: MessageRole.Assistant,
692
+ type: MessageType.Product,
693
+ createdAt: new Date(Date.now() - 90000).toISOString(),
694
+ metadata: {
695
+ id: 'reserve-stainless-steel-8-10-and-12-frypan-set-1',
696
+ title: 'Reserve Stainless Steel 8", 10" and 12" Frypan Set',
697
+ description:
698
+ 'Bring home the power and performance of professional grade stainless steel with this frypan set from Reserve.',
699
+ url: 'https://www.greenpan.us/products/reserve-stainless-steel-8-10-and-12-frypan-set-1',
700
+ imageUrl:
701
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/ECOME0318-001-1_Alt_faaaf3eb-9bb8-49a4-aa2e-10d14d9ff733.jpg?v=1756853787',
702
+ originalPrice: 314.99,
703
+ salePrice: 189.99,
704
+ averageRating: 0,
705
+ numberReviews: 0,
706
+ isForGrid: false,
707
+ },
708
+ },
709
+
710
+ {
711
+ id: '27bdfe54-9b6c-476b-85af-1b388584725d',
712
+ role: MessageRole.Assistant,
713
+ type: MessageType.Product,
714
+ createdAt: new Date(Date.now() - 90000).toISOString(),
715
+ metadata: {
716
+ id: '2-in-1-portable-indoor-outdoor-electric-grill-griddle-navy',
717
+ title: '2-in-1 Portable Indoor/Outdoor Electric Grill & Griddle | Navy',
718
+ description:
719
+ 'Fire up the flavor for game day with this portable 2-in-1 electric grill and griddle.',
720
+ url: 'https://www.greenpan.us/products/2-in-1-portable-indoor-outdoor-electric-grill-griddle-navy',
721
+ imageUrl:
722
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC009548-002_1.jpg?v=1751052213',
723
+ originalPrice: 224.99,
724
+ salePrice: 159.99,
725
+ averageRating: 4.75,
726
+ numberReviews: 16,
727
+ isForGrid: false,
728
+ },
729
+ },
730
+ {
731
+ id: '390a383e-c002-4cd4-be98-3678568f9205',
732
+ role: MessageRole.Assistant,
733
+ type: MessageType.Product,
734
+ createdAt: new Date(Date.now() - 90000).toISOString(),
735
+ metadata: {
736
+ id: '2-in-1-portable-indoor-outdoor-electric-grill-griddle-cinnamon',
737
+ title: '2-in-1 Portable Indoor/Outdoor Electric Grill & Griddle | Cinnamon',
738
+ description:
739
+ 'Fire up the flavor for game day with this portable 2-in-1 electric grill and griddle.',
740
+ url: 'https://www.greenpan.us/products/2-in-1-portable-indoor-outdoor-electric-grill-griddle-cinnamon',
741
+ imageUrl:
742
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC009549-002_1.jpg?v=1751052632',
743
+ originalPrice: 224.99,
744
+ salePrice: 159.99,
745
+ averageRating: 4.75,
746
+ numberReviews: 16,
747
+ isForGrid: false,
748
+ },
749
+ },
750
+ {
751
+ id: '18cfd702-2c06-4f7a-a388-fb92c26d73c0',
752
+ role: MessageRole.Assistant,
753
+ type: MessageType.Product,
754
+ createdAt: new Date(Date.now() - 90000).toISOString(),
755
+ metadata: {
756
+ id: '2-in-1-portable-indoor-outdoor-electric-grill-griddle-forest-green',
757
+ title: '2-in-1 Portable Indoor/Outdoor Electric Grill & Griddle | Forest Green',
758
+ description:
759
+ 'Fire up the flavor for game day with this portable 2-in-1 electric grill and griddle.',
760
+ url: 'https://www.greenpan.us/products/2-in-1-portable-indoor-outdoor-electric-grill-griddle-forest-green',
761
+ imageUrl:
762
+ 'https://cdn.shopify.com/s/files/1/0531/1217/6808/files/NCCC009550-002_1.jpg?v=1751052979',
763
+ originalPrice: 224.99,
764
+ salePrice: 159.99,
765
+ averageRating: 4.75,
766
+ numberReviews: 16,
767
+ isForGrid: false,
768
+ },
769
+ },
770
+ ];
771
+
772
+ const formatProductMessage = ({
773
+ initialPastTime,
774
+ messages,
775
+ }: {
776
+ initialPastTime: number;
777
+ messages: Message[];
778
+ }): Message[] => {
779
+ return [...messages].map((message, index) => ({
780
+ ...message,
781
+ createdAt: new Date(Date.now() - initialPastTime - index * 1000).toISOString(),
782
+ id: uuidv4(),
783
+ }));
784
+ };
785
+
786
+ export const MOCK_3_PRODUCTS_MESSAGE_BLOCK: Message[][] = [
787
+ [
788
+ {
789
+ id: 'user-query-03-products',
790
+ role: MessageRole.User,
791
+ type: MessageType.QueryTyped,
792
+ createdAt: new Date(Date.now() - 300000).toISOString(),
793
+ metadata: {
794
+ content: 'Show me 3 products',
795
+ },
796
+ },
797
+ ],
798
+ [
799
+ {
800
+ id: 'agent-response-03-products',
801
+ role: MessageRole.Assistant,
802
+ type: MessageType.Text,
803
+ createdAt: new Date(Date.now() - 280000).toISOString(),
804
+ metadata: {
805
+ content: 'This is an example when there are 3 products to show:',
806
+ },
807
+ },
808
+ ],
809
+ [...formatProductMessage({ initialPastTime: 270000, messages: CARBON_STEEL_MESSAGE_MOCK })],
810
+ ];
811
+
812
+ export const MOCK_6_PRODUCTS_MESSAGE_BLOCK: Message[][] = [
813
+ [
814
+ {
815
+ id: 'user-query-06-products',
816
+ role: MessageRole.User,
817
+ type: MessageType.QueryTyped,
818
+ createdAt: new Date(Date.now() - 250000).toISOString(),
819
+ metadata: {
820
+ content: 'Show me 6 products',
821
+ },
822
+ },
823
+ ],
824
+ [
825
+ {
826
+ id: 'agent-response-06-products',
827
+ role: MessageRole.Assistant,
828
+ type: MessageType.Text,
829
+ createdAt: new Date(Date.now() - 230000).toISOString(),
830
+ metadata: {
831
+ content: 'This is an example when there are 6 products to show:',
832
+ },
833
+ },
834
+ ],
835
+ [...formatProductMessage({ initialPastTime: 220000, messages: OTHER_PRODUCTS_MESSAGE_MOCK })],
836
+ ];
837
+
838
+ export const MOCK_9_PRODUCTS_MESSAGE_BLOCK: Message[][] = [
839
+ [
840
+ {
841
+ id: 'user-query-09-products',
842
+ role: MessageRole.User,
843
+ type: MessageType.QueryTyped,
844
+ createdAt: new Date(Date.now() - 200000).toISOString(),
845
+ metadata: {
846
+ content: 'Show me 9 products',
847
+ },
848
+ },
849
+ ],
850
+ [
851
+ {
852
+ id: 'agent-response-09-products',
853
+ role: MessageRole.Assistant,
854
+ type: MessageType.Text,
855
+ createdAt: new Date(Date.now() - 180000).toISOString(),
856
+ metadata: {
857
+ content: 'This is an example when there are 9 products to show:',
858
+ },
859
+ },
860
+ ],
861
+ [
862
+ ...formatProductMessage({
863
+ initialPastTime: 170000,
864
+ messages: [...CARBON_STEEL_MESSAGE_MOCK, ...OTHER_PRODUCTS_MESSAGE_MOCK],
865
+ }),
866
+ ],
867
+ ];
868
+
869
+ export const MOCK_13_PRODUCTS_MESSAGE_BLOCK: Message[][] = [
870
+ [
871
+ {
872
+ id: 'user-query-13-products',
873
+ role: MessageRole.User,
874
+ type: MessageType.QueryTyped,
875
+ createdAt: new Date(Date.now() - 150000).toISOString(),
876
+ metadata: {
877
+ content: 'Show me 13 products',
878
+ },
879
+ },
880
+ ],
881
+ [
882
+ {
883
+ id: 'agent-response-13-products',
884
+ role: MessageRole.Assistant,
885
+ type: MessageType.Text,
886
+ createdAt: new Date(Date.now() - 120000).toISOString(),
887
+ metadata: {
888
+ content: 'This is an example when there are 13 products to show:',
889
+ },
890
+ },
891
+ ],
892
+ [...formatProductMessage({ initialPastTime: 110000, messages: KITCHEN_BUNDLE_MESSAGE_MOCK })],
893
+ ];
894
+
895
+ export const MOCK_16_PRODUCTS_MESSAGE_BLOCK: Message[][] = [
896
+ [
897
+ {
898
+ id: 'user-query-16-products',
899
+ role: MessageRole.User,
900
+ type: MessageType.QueryTyped,
901
+ createdAt: new Date(Date.now() - 90000).toISOString(),
902
+ metadata: {
903
+ content: 'Show me 16 products',
904
+ },
905
+ },
906
+ ],
907
+ [
908
+ {
909
+ id: 'agent-response-16-products',
910
+ role: MessageRole.Assistant,
911
+ type: MessageType.Text,
912
+ createdAt: new Date(Date.now() - 80000).toISOString(),
913
+ metadata: {
914
+ content: 'This is an example when there are 16 products to show:',
915
+ },
916
+ },
917
+ ],
918
+ [...formatProductMessage({ initialPastTime: 70000, messages: ELECTRIC_COOKWARE_MESSAGE_MOCK })],
919
+ ];
920
+
921
+ export const MOCK_38_PRODUCTS_MESSAGE_BLOCK: Message[][] = [
922
+ [
923
+ {
924
+ id: 'user-query-38-products',
925
+ role: MessageRole.User,
926
+ type: MessageType.QueryTyped,
927
+ createdAt: new Date(Date.now() - 60000).toISOString(),
928
+ metadata: {
929
+ content: 'Show me 38 products',
930
+ },
931
+ },
932
+ ],
933
+ [
934
+ {
935
+ id: 'agent-response-38-products',
936
+ role: MessageRole.Assistant,
937
+ type: MessageType.Text,
938
+ createdAt: new Date(Date.now() - 50000).toISOString(),
939
+ metadata: {
940
+ content: 'This is an example when there are 38 products to show:',
941
+ },
942
+ },
943
+ ],
944
+ [
945
+ ...formatProductMessage({
946
+ initialPastTime: 40000,
947
+ messages: [
948
+ ...CARBON_STEEL_MESSAGE_MOCK,
949
+ ...OTHER_PRODUCTS_MESSAGE_MOCK,
950
+ ...KITCHEN_BUNDLE_MESSAGE_MOCK,
951
+ ...ELECTRIC_COOKWARE_MESSAGE_MOCK,
952
+ ],
953
+ }),
954
+ ],
955
+ ];