hey-pharmacist-ecommerce 1.1.42 → 1.1.43

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 (65) hide show
  1. package/README.md +70 -8
  2. package/dist/index.d.mts +380 -2364
  3. package/dist/index.d.ts +380 -2364
  4. package/dist/index.js +287 -326
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +287 -323
  7. package/dist/index.mjs.map +1 -1
  8. package/package.json +2 -2
  9. package/src/components/AccountOverviewTab.tsx +5 -5
  10. package/src/components/CartItem.tsx +15 -15
  11. package/src/components/Notification.tsx +3 -3
  12. package/src/components/ProductCard.tsx +10 -10
  13. package/src/components/QuickViewModal.tsx +16 -16
  14. package/src/components/ReviewCard.tsx +2 -2
  15. package/src/lib/Apis/api.ts +0 -1
  16. package/src/lib/Apis/models/group-with-no-users-dto.ts +0 -6
  17. package/src/lib/Apis/models/group-with-users-dto.ts +0 -6
  18. package/src/lib/Apis/models/index.ts +0 -35
  19. package/src/lib/Apis/models/order.ts +0 -6
  20. package/src/lib/Apis/models/populated-order.ts +0 -6
  21. package/src/lib/Apis/models/preference-update-item.ts +1 -0
  22. package/src/lib/Apis/models/update-user-dto.ts +0 -6
  23. package/src/lib/Apis/models/user-group.ts +0 -6
  24. package/src/lib/Apis/models/user-with-no-id.ts +0 -6
  25. package/src/lib/Apis/sharedConfig.ts +1 -1
  26. package/src/screens/CartScreen.tsx +10 -10
  27. package/src/screens/CheckoutScreen.tsx +12 -12
  28. package/src/screens/ProductDetailScreen.tsx +39 -39
  29. package/src/screens/ShopScreen.tsx +20 -20
  30. package/src/lib/Apis/apis/marketing-api.ts +0 -3099
  31. package/src/lib/Apis/models/add-contact-to-list-dto.ts +0 -33
  32. package/src/lib/Apis/models/browser-stats-response-dto.ts +0 -40
  33. package/src/lib/Apis/models/campaign-content-response-dto.ts +0 -40
  34. package/src/lib/Apis/models/campaign-draft-dto.ts +0 -175
  35. package/src/lib/Apis/models/campaign-draft-response-dto.ts +0 -40
  36. package/src/lib/Apis/models/campaign-draft-schedule-dto.ts +0 -49
  37. package/src/lib/Apis/models/campaign-draft-schedule-response-dto.ts +0 -40
  38. package/src/lib/Apis/models/campaign-draft-sending-dto.ts +0 -43
  39. package/src/lib/Apis/models/campaign-draft-sending-response-dto.ts +0 -40
  40. package/src/lib/Apis/models/contact-aggregated-stats-response-dto.ts +0 -40
  41. package/src/lib/Apis/models/contact-full-dto.ts +0 -93
  42. package/src/lib/Apis/models/contact-full-response-dto.ts +0 -40
  43. package/src/lib/Apis/models/contact-list-stats-response-dto.ts +0 -40
  44. package/src/lib/Apis/models/contact-lists-response-dto.ts +0 -40
  45. package/src/lib/Apis/models/country-stats-response-dto.ts +0 -40
  46. package/src/lib/Apis/models/create-contact-dto.ts +0 -39
  47. package/src/lib/Apis/models/create-contact-list-dto.ts +0 -27
  48. package/src/lib/Apis/models/create-email-template-dto.ts +0 -51
  49. package/src/lib/Apis/models/create-marketing-campaign-dto.ts +0 -81
  50. package/src/lib/Apis/models/email-template-response-dto.ts +0 -117
  51. package/src/lib/Apis/models/general-stats-response-dto.ts +0 -40
  52. package/src/lib/Apis/models/link-stats-response-dto.ts +0 -40
  53. package/src/lib/Apis/models/marketing-campaign-content-dto.ts +0 -27
  54. package/src/lib/Apis/models/marketing-list-contact-dto.ts +0 -51
  55. package/src/lib/Apis/models/schedule-campaign-draft-dto.ts +0 -27
  56. package/src/lib/Apis/models/send-test-email-dto.ts +0 -28
  57. package/src/lib/Apis/models/single-browser-stats-dto.ts +0 -45
  58. package/src/lib/Apis/models/single-contact-aggregated-stats-dto.ts +0 -129
  59. package/src/lib/Apis/models/single-contact-list-stats-dto.ts +0 -117
  60. package/src/lib/Apis/models/single-country-stats-dto.ts +0 -39
  61. package/src/lib/Apis/models/single-general-stats.ts +0 -153
  62. package/src/lib/Apis/models/single-link-stats-dto.ts +0 -39
  63. package/src/lib/Apis/models/single-recipient-dto.ts +0 -33
  64. package/src/lib/Apis/models/update-campaign-draft-content-dto.ts +0 -27
  65. package/src/lib/Apis/models/update-marketing-camp-draft-dto.ts +0 -81
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hey-pharmacist-ecommerce",
3
- "version": "1.1.42",
3
+ "version": "1.1.43",
4
4
  "description": "Production-ready, multi-tenant e‑commerce UI + API adapter for Next.js with auth, carts, checkout, orders, theming, and pharmacist-focused UX.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -72,4 +72,4 @@
72
72
  "url": "https://github.com/yourusername/hey-pharmacist-customer/issues"
73
73
  },
74
74
  "homepage": "https://github.com/yourusername/hey-pharmacist-customer#readme"
75
- }
75
+ }
@@ -34,7 +34,7 @@ export function AccountOverviewTab() {
34
34
  icon: Package,
35
35
  label: 'Total Orders',
36
36
  value: totalOrders,
37
- color: 'bg-[#DBEAFE] text-[#5B9BD5]',
37
+ color: 'bg-hprimary-100 text-[#5B9BD5]',
38
38
  },
39
39
  {
40
40
  icon: CheckCircle,
@@ -95,7 +95,7 @@ export function AccountOverviewTab() {
95
95
  </div>
96
96
  <div className="grid grid-cols-1 md:grid-cols-2 gap-4">
97
97
  <div className="flex items-start gap-3">
98
- <div className="flex h-10 w-10 items-center justify-center rounded-lg bg-[#DBEAFE]">
98
+ <div className="flex h-10 w-10 items-center justify-center rounded-lg bg-hprimary-100">
99
99
  <User className="h-5 w-5 text-hsecondary" />
100
100
  </div>
101
101
  <div>
@@ -106,7 +106,7 @@ export function AccountOverviewTab() {
106
106
  </div>
107
107
  </div>
108
108
  <div className="flex items-start gap-3">
109
- <div className="flex h-10 w-10 items-center justify-center rounded-lg bg-[#DBEAFE]">
109
+ <div className="flex h-10 w-10 items-center justify-center rounded-lg bg-hprimary-100">
110
110
  <Mail className="h-5 w-5 text-hsecondary" />
111
111
  </div>
112
112
  <div>
@@ -115,7 +115,7 @@ export function AccountOverviewTab() {
115
115
  </div>
116
116
  </div>
117
117
  <div className="flex items-start gap-3">
118
- <div className="flex h-10 w-10 items-center justify-center rounded-lg bg-[#DBEAFE]">
118
+ <div className="flex h-10 w-10 items-center justify-center rounded-lg bg-hprimary-100">
119
119
  <Phone className="h-5 w-5 text-hsecondary" />
120
120
  </div>
121
121
  <div>
@@ -126,7 +126,7 @@ export function AccountOverviewTab() {
126
126
  </div>
127
127
  </div>
128
128
  <div className="flex items-start gap-3">
129
- <div className="flex h-10 w-10 items-center justify-center rounded-lg bg-[#DBEAFE]">
129
+ <div className="flex h-10 w-10 items-center justify-center rounded-lg bg-hprimary-100">
130
130
  <MapPin className="h-5 w-5 text-hsecondary" />
131
131
  </div>
132
132
  <div>
@@ -50,14 +50,12 @@ export function CartItem({ item }: CartItemProps) {
50
50
  initial={{ opacity: 0, y: 20 }}
51
51
  animate={{ opacity: 1, y: 0 }}
52
52
  exit={{ opacity: 0, x: -100 }}
53
- className="bg-white border-2 border-gray-100 rounded-[24px] p-6 hover:border-hsecondary/30 transition-all duration-300"
53
+ className="bg-white border-2 border-gray-100 rounded-[24px] p-4 md:p-6 hover:border-hsecondary/30 transition-all duration-300"
54
54
  >
55
55
 
56
56
 
57
- <div className="flex gap-4 pr-8">
58
-
59
-
60
- <div className="w-28 h-28 rounded-[16px] overflow-hidden bg-gray-50 shrink-0">
57
+ <div className="flex gap-3 md:gap-4">
58
+ <div className="w-20 h-20 md:w-28 md:h-28 rounded-[16px] overflow-hidden bg-gray-50 shrink-0">
61
59
  <Image
62
60
  src={item.productVariantData.media[0]?.file || PLACEHOLDER_IMAGE_SRC}
63
61
  alt={item.productVariantData.name}
@@ -71,11 +69,11 @@ export function CartItem({ item }: CartItemProps) {
71
69
  <div className="flex-1 min-w-0">
72
70
  <div className="flex items-start justify-between gap-4 mb-3">
73
71
  <div className="flex-1 min-w-0">
74
- <h3 className="font-['Poppins',sans-serif] font-semibold text-[#2B4B7C] mb-2">
72
+ <h3 className="font-semibold text-[#2B4B7C] mb-2">
75
73
  {item.productVariantData.name}
76
74
  </h3>
77
75
  <div className="flex flex-wrap items-center gap-3">
78
- <span className="font-['Poppins',sans-serif] text-[12px] text-[#676c80]">
76
+ <span className="text-[12px] text-[#676c80]">
79
77
  Variant: <span className="font-medium text-[#2B4B7C]">{item.productVariantData.name}</span>
80
78
  </span>
81
79
  </div>
@@ -98,34 +96,36 @@ export function CartItem({ item }: CartItemProps) {
98
96
  </div>
99
97
 
100
98
  {/* Quantity and Price */}
101
- <div className="flex items-center justify-between gap-4">
99
+ <div className="flex flex-col sm:flex-row sm:items-center justify-between gap-4 mt-auto">
102
100
  {/* Quantity Controls */}
103
- <div className="flex items-center gap-3 bg-gray-50 rounded-full px-4 py-2">
101
+ <div className="flex items-center gap-3 bg-gray-50 rounded-full px-3 py-1.5 md:px-4 md:py-2 w-fit">
104
102
  <button
105
103
  onClick={() => handleUpdateQuantity(item.quantity - 1)}
106
104
  disabled={isUpdating || item.quantity <= 1}
107
105
  className="p-1 hover:bg-white rounded-full transition-colors"
106
+ aria-label="Decrease quantity"
108
107
  >
109
- <Minus className="size-4 text-[#2B4B7C]" />
108
+ <Minus className="size-3 md:size-4 text-[#2B4B7C]" />
110
109
  </button>
111
- <span className="font-['Poppins',sans-serif] font-semibold text-[14px] text-[#2B4B7C] min-w-[20px] text-center">
110
+ <span className="font-semibold text-[13px] md:text-[14px] text-[#2B4B7C] min-w-[20px] text-center">
112
111
  {item.quantity}
113
112
  </span>
114
113
  <button
115
114
  onClick={() => handleUpdateQuantity(item.quantity + 1)}
116
115
  disabled={isUpdating || item.quantity >= (item.productVariantData.inventoryCount || 999)}
117
116
  className="p-1 hover:bg-white rounded-full transition-colors"
117
+ aria-label="Increase quantity"
118
118
  >
119
- <Plus className="size-4 text-[#2B4B7C]" />
119
+ <Plus className="size-3 md:size-4 text-[#2B4B7C]" />
120
120
  </button>
121
121
  </div>
122
122
 
123
123
  {/* Price */}
124
- <div className="text-right">
125
- <p className="font-['Poppins',sans-serif] font-bold text-[18px] text-hsecondary">
124
+ <div className="text-left sm:text-right">
125
+ <p className="font-bold text-[16px] md:text-[18px] text-hsecondary">
126
126
  {formatPrice(itemTotal)}
127
127
  </p>
128
- <p className="font-['Poppins',sans-serif] text-[11px] text-[#676c80]">
128
+ <p className="text-[10px] md:text-[11px] text-[#676c80]">
129
129
  {formatPrice(unitPrice)} each
130
130
  </p>
131
131
  </div>
@@ -78,7 +78,7 @@ export function Notification({ notification, onDismiss }: NotificationProps) {
78
78
  animate={{ opacity: 1, y: 0, scale: 1 }}
79
79
  exit={{ opacity: 0, x: 100, scale: 0.95 }}
80
80
  transition={{ type: 'spring', stiffness: 500, damping: 30 }}
81
- className={`relative bg-white rounded-2xl border-2 ${config.borderColor} shadow-xl overflow-hidden min-w-[320px] max-w-[420px]`}
81
+ className={`relative bg-hprimary-50 rounded-2xl border-2 ${config.borderColor} shadow-xl overflow-hidden min-w-[320px] max-w-[420px]`}
82
82
  >
83
83
  {/* Gradient accent bar */}
84
84
  <div className={`h-1 bg-linear-to-r ${config.gradient}`} />
@@ -96,11 +96,11 @@ export function Notification({ notification, onDismiss }: NotificationProps) {
96
96
 
97
97
  {/* Content */}
98
98
  <div className="flex-1 min-w-0">
99
- <p className="font-['Poppins',sans-serif] font-semibold text-[14px] text-[#2B4B7C] mb-1">
99
+ <p className="font-semibold text-[14px] text-[#2B4B7C] mb-1">
100
100
  {notification.message}
101
101
  </p>
102
102
  {notification.description && (
103
- <p className="font-['Poppins',sans-serif] text-[12px] text-[#676c80] leading-relaxed">
103
+ <p className="text-[12px] text-[#676c80] leading-relaxed">
104
104
  {notification.description}
105
105
  </p>
106
106
  )}
@@ -218,7 +218,7 @@ export function ProductCard({
218
218
  {displayInventoryCount === 0 && (
219
219
  <div className="absolute inset-0 bg-black/50 backdrop-blur-xs flex items-center justify-center">
220
220
  <div className="bg-white rounded-full px-4 py-2">
221
- <span className="font-['Poppins',sans-serif] font-bold text-[11px] text-[#2B4B7C] uppercase">
221
+ <span className="font-bold text-[11px] text-[#2B4B7C] uppercase">
222
222
  Out of Stock
223
223
  </span>
224
224
  </div>
@@ -233,23 +233,23 @@ export function ProductCard({
233
233
  <div className="flex items-center gap-1 mb-2 flex-wrap">
234
234
  {displayIsDiscounted && (
235
235
  <span className="bg-[#E67E50] text-white rounded-full px-2 py-0.5 flex items-center gap-1">
236
- <span className="font-['Poppins',sans-serif] font-bold text-[8px] uppercase">-{displayDiscountAmount}%</span>
236
+ <span className="font-bold text-[8px] uppercase">-{displayDiscountAmount}%</span>
237
237
  </span>
238
238
  )}
239
239
 
240
240
  </div>
241
241
  <div className="mb-1">
242
- <p className="font-['Poppins',sans-serif] text-xs text-hsecondary uppercase tracking-wide font-medium">
242
+ <p className="text-xs text-hsecondary uppercase tracking-wide font-medium">
243
243
  {product.brand}
244
244
  </p>
245
245
  </div>
246
246
 
247
247
  <div className="h-[40px] mb-3">
248
- <h3 className="text-sm font-['Poppins',sans-serif] font-semibold text-[#2B4B7C] line-clamp-2">
248
+ <h3 className="text-sm font-semibold text-[#2B4B7C] line-clamp-2">
249
249
  {product.name}
250
250
  </h3>
251
251
  {selectedVariant && (
252
- <p className="text-xs font-['Poppins',sans-serif] text-[#676c80]">
252
+ <p className="text-xs text-[#676c80]">
253
253
  {selectedVariant.name}
254
254
  </p>
255
255
  )}
@@ -261,24 +261,24 @@ export function ProductCard({
261
261
  <Star
262
262
  key={i}
263
263
  className={`size-4 ${i < Math.floor(product.summary?.averageRating || 0)
264
- ? 'text-[#E67E50] fill-[#E67E50]'
264
+ ? 'text-hsecondary fill-hsecondary-500'
265
265
  : 'text-gray-300'
266
266
  }`}
267
267
  />
268
268
  ))}
269
269
  </div>
270
- <span className="font-['Poppins',sans-serif] text-[10px] text-[#676c80] ">
270
+ <span className="text-[10px] text-[#676c80] ">
271
271
  ({product.summary?.reviewCount || 0})
272
272
  </span>
273
273
  </div>
274
274
 
275
275
  {/* Price */}
276
276
  <div className="flex items-center gap-1.5 mb-3">
277
- <span className="font-['Poppins',sans-serif] font-bold text-md text-hprimary-600">
277
+ <span className="font-bold text-md text-hprimary-600">
278
278
  ${displayFinalPrice.toFixed(2)}
279
279
  </span>
280
280
  {displayIsDiscounted && (
281
- <span className="font-['Poppins',sans-serif] text-sm text-[#676c80] line-through">
281
+ <span className="text-sm text-[#676c80] line-through">
282
282
  ${displayPriceBeforeDiscount.toFixed(2)}
283
283
  </span>
284
284
  )}
@@ -358,7 +358,7 @@ export function ProductCard({
358
358
  }
359
359
  }}
360
360
  disabled={isAddingToCart || (variantImages.length > 0 && !selectedVariantId) || displayInventoryCount === 0}
361
- className="w-full font-['Poppins',sans-serif] font-medium text-[11px] px-3 py-2 rounded-full bg-hsecondary text-white hover:bg-hsecondary/80 hover:shadow-lg transition-all duration-300 flex items-center justify-center gap-1.5 disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer"
361
+ className="w-full font-medium text-[11px] px-3 py-2 rounded-full bg-hsecondary text-white hover:bg-hsecondary/80 hover:shadow-lg transition-all duration-300 flex items-center justify-center gap-1.5 disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer"
362
362
  >
363
363
  <ShoppingCart className="h-4 w-4" />
364
364
  {displayInventoryCount === 0 ? 'Out of Stock' : 'Add to Cart'}
@@ -74,10 +74,10 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
74
74
  {/* Header */}
75
75
  <div className="flex items-start justify-between mb-6">
76
76
  <div>
77
- <p className="font-['Poppins',sans-serif] text-[11px] text-hprimary uppercase tracking-wide font-medium mb-2">
77
+ <p className="text-[11px] text-hprimary uppercase tracking-wide font-medium mb-2">
78
78
  {product.brand}
79
79
  </p>
80
- <h2 className="font-['Poppins',sans-serif] font-semibold text-hsecondary tracking-[-1px]">
80
+ <h2 className="font-semibold text-hsecondary tracking-[-1px]">
81
81
  {displayName}
82
82
  </h2>
83
83
 
@@ -94,7 +94,7 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
94
94
  />
95
95
  ))}
96
96
  </div>
97
- <span className="font-['Poppins',sans-serif] text-[13px] text-hmuted">
97
+ <span className="text-[13px] text-hmuted">
98
98
  {product.summary?.averageRating || 0} ({product.summary?.reviewCount || 0} reviews)
99
99
  </span>
100
100
  </div>
@@ -120,14 +120,14 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
120
120
  <div className="absolute top-4 left-4 flex flex-col gap-2">
121
121
  {isDiscounted && (
122
122
  <div className="bg-haccent text-white rounded-full px-3 py-1.5">
123
- <span className="font-['Poppins',sans-serif] font-bold text-[11px] uppercase">
123
+ <span className="font-bold text-[11px] uppercase">
124
124
  -{discountAmount}%
125
125
  </span>
126
126
  </div>
127
127
  )}
128
128
  {/* {product.bestseller && (
129
129
  <div className="bg-hsecondary text-white rounded-full px-3 py-1.5">
130
- <span className="font-['Poppins',sans-serif] font-semibold text-[10px] uppercase">
130
+ <span className="font-semibold text-[10px] uppercase">
131
131
  Bestseller
132
132
  </span>
133
133
  </div>
@@ -159,11 +159,11 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
159
159
  <div className="flex flex-col">
160
160
  {/* Price */}
161
161
  <div className="flex items-center gap-3 mb-4">
162
- <span className="font-['Poppins',sans-serif] font-bold text-[32px] text-haccent">
162
+ <span className="font-bold text-[32px] text-haccent">
163
163
  ${displayPrice.toFixed(2)}
164
164
  </span>
165
165
  {isDiscounted && (
166
- <span className="font-['Poppins',sans-serif] text-[20px] text-hmuted line-through">
166
+ <span className="text-[20px] text-hmuted line-through">
167
167
  ${displayOriginalPrice.toFixed(2)}
168
168
  </span>
169
169
  )}
@@ -172,16 +172,16 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
172
172
  {/* Stock Status */}
173
173
  <div className="mb-6">
174
174
  {selectedVariant.inventoryCount === 0 ? (
175
- <span className="font-['Poppins',sans-serif] text-[12px] text-red-500 font-medium">
175
+ <span className="text-[12px] text-red-500 font-medium">
176
176
  Out of Stock
177
177
  </span>
178
178
  ) : selectedVariant.inventoryCount <= 10 ? (
179
- <span className="font-['Poppins',sans-serif] text-[12px] text-hprimary font-medium flex items-center gap-1">
179
+ <span className="text-[12px] text-hprimary font-medium flex items-center gap-1">
180
180
  <Package className="size-3" />
181
181
  Only {selectedVariant.inventoryCount} left in stock
182
182
  </span>
183
183
  ) : (
184
- <span className="font-['Poppins',sans-serif] text-[12px] text-green-600 font-medium flex items-center gap-1">
184
+ <span className="text-[12px] text-green-600 font-medium flex items-center gap-1">
185
185
  <Package className="size-3" />
186
186
  In Stock
187
187
  </span>
@@ -190,13 +190,13 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
190
190
 
191
191
  {/* Description */}
192
192
  <div
193
- className="font-['Poppins',sans-serif] text-[14px] text-hmuted leading-[1.7] mb-6 max-w-full overflow-hidden break-words"
193
+ className="text-[14px] text-hmuted leading-[1.7] mb-6 max-w-full overflow-hidden break-words"
194
194
  dangerouslySetInnerHTML={{ __html: product.description }}
195
195
  />
196
196
 
197
197
  {/* Color Selection */}
198
198
  <div className="mb-6">
199
- <h3 className="font-['Poppins',sans-serif] font-semibold text-[13px] text-hsecondary mb-3">
199
+ <h3 className="font-semibold text-[13px] text-hsecondary mb-3">
200
200
  Selected Variant: <span className="font-normal text-hmuted">{product.variants[selectedVariantIndex].name}</span>
201
201
  </h3>
202
202
  <div className="flex flex-wrap gap-3">
@@ -232,7 +232,7 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
232
232
  {product.tags.slice(0, 3).map((feature: any, index: any) => (
233
233
  <li key={index} className="flex items-start gap-2">
234
234
  <Check className="size-4 text-hprimary shrink-0 mt-0.5" />
235
- <span className="font-['Poppins',sans-serif] text-[12px] text-hmuted">
235
+ <span className="text-[12px] text-hmuted">
236
236
  {feature}
237
237
  </span>
238
238
  </li>
@@ -242,7 +242,7 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
242
242
 
243
243
  {/* Quantity Selector */}
244
244
  <div className="mb-6">
245
- <h3 className="font-['Poppins',sans-serif] font-semibold text-[13px] text-hsecondary mb-3">
245
+ <h3 className="font-semibold text-[13px] text-hsecondary mb-3">
246
246
  Quantity
247
247
  </h3>
248
248
  <div className="flex items-center gap-4">
@@ -269,7 +269,7 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
269
269
  <button
270
270
  onClick={handleAddToCart}
271
271
  disabled={addedToCart || selectedVariant.inventoryCount === 0}
272
- className={`w-full font-['Poppins',sans-serif] font-medium text-[14px] px-6 py-4 rounded-full transition-all duration-300 flex items-center justify-center gap-3 ${addedToCart
272
+ className={`w-full font-medium text-[14px] px-6 py-4 rounded-full transition-all duration-300 flex items-center justify-center gap-3 ${addedToCart
273
273
  ? 'bg-green-500 text-white'
274
274
  : 'bg-haccent text-white hover:bg-[#d66f45] hover:shadow-lg disabled:opacity-50 disabled:cursor-not-allowed'
275
275
  }`}
@@ -301,7 +301,7 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
301
301
  onClose();
302
302
  // onNavigateToProduct?.(product._id || product.id);
303
303
  }}
304
- className="w-full font-['Poppins',sans-serif] font-medium text-[13px] px-6 py-3 rounded-full bg-white text-hsecondary border-2 border-hprimary hover:bg-gray-50 transition-all flex items-center justify-center gap-2"
304
+ className="w-full font-medium text-[13px] px-6 py-3 rounded-full bg-white text-hsecondary border-2 border-hprimary hover:bg-gray-50 transition-all flex items-center justify-center gap-2"
305
305
  >
306
306
  View Full Details
307
307
  <ExternalLink className="size-4" />
@@ -16,7 +16,7 @@ export function ReviewCard({ review, showProductInfo = false }: ReviewCardProps)
16
16
  const replyDate = review.replyDate ? new Date(review.replyDate) : null;
17
17
 
18
18
  return (
19
- <div className="border border-gray-200 rounded-lg p-4 bg-white">
19
+ <div className="border border-gray-200 rounded-lg p-4 bg-hprimary-50">
20
20
  <div className="flex items-start justify-between mb-3">
21
21
  <div className="flex items-center gap-3">
22
22
  <div className="w-10 h-10 bg-hsecondary/10 rounded-full flex items-center justify-center">
@@ -33,7 +33,7 @@ export function ReviewCard({ review, showProductInfo = false }: ReviewCardProps)
33
33
  </div>
34
34
 
35
35
  {review.reviewType && (
36
- <span className="inline-block px-2 py-1 text-xs bg-gray-100 text-gray-600 rounded mb-2">
36
+ <span className="inline-block px-2 py-1 text-xs bg-hprimary-100 text-gray-600 rounded mb-2">
37
37
  {review.reviewType}
38
38
  </span>
39
39
  )}
@@ -21,7 +21,6 @@ export * from './apis/events-api';
21
21
  export * from './apis/file-proccesor-api';
22
22
  export * from './apis/health-api';
23
23
  export * from './apis/images-api';
24
- export * from './apis/marketing-api';
25
24
  export * from './apis/notifications-api';
26
25
  export * from './apis/orders-api';
27
26
  export * from './apis/payments-api';
@@ -54,12 +54,6 @@ export interface GroupWithNoUsersDto {
54
54
  * @memberof GroupWithNoUsersDto
55
55
  */
56
56
  storeId: string;
57
- /**
58
- *
59
- * @type {number}
60
- * @memberof GroupWithNoUsersDto
61
- */
62
- mailJetListId: number;
63
57
  /**
64
58
  *
65
59
  * @type {number}
@@ -55,12 +55,6 @@ export interface GroupWithUsersDto {
55
55
  * @memberof GroupWithUsersDto
56
56
  */
57
57
  storeId?: string;
58
- /**
59
- *
60
- * @type {number}
61
- * @memberof GroupWithUsersDto
62
- */
63
- mailJetListId?: number;
64
58
  /**
65
59
  *
66
60
  * @type {number}
@@ -1,4 +1,3 @@
1
- export * from './add-contact-to-list-dto';
2
1
  export * from './address';
3
2
  export * from './address-created-request';
4
3
  export * from './allow-user-credit-dto';
@@ -7,17 +6,9 @@ export * from './appointment';
7
6
  export * from './available-dates-dto';
8
7
  export * from './available-suggested-dates-dto';
9
8
  export * from './blog';
10
- export * from './browser-stats-response-dto';
11
9
  export * from './bulk-channel-toggle-dto';
12
10
  export * from './bulk-move-subcategories-dto';
13
11
  export * from './bulk-unassign-subcategories-dto';
14
- export * from './campaign-content-response-dto';
15
- export * from './campaign-draft-dto';
16
- export * from './campaign-draft-response-dto';
17
- export * from './campaign-draft-schedule-dto';
18
- export * from './campaign-draft-schedule-response-dto';
19
- export * from './campaign-draft-sending-dto';
20
- export * from './campaign-draft-sending-response-dto';
21
12
  export * from './cart-body-dto';
22
13
  export * from './cart-body-populated';
23
14
  export * from './cart-item';
@@ -33,22 +24,12 @@ export * from './change-password-dto';
33
24
  export * from './change-user-email-dto';
34
25
  export * from './channel-settings-dto';
35
26
  export * from './completed-order-dto';
36
- export * from './contact-aggregated-stats-response-dto';
37
- export * from './contact-full-dto';
38
- export * from './contact-full-response-dto';
39
- export * from './contact-list-stats-response-dto';
40
- export * from './contact-lists-response-dto';
41
27
  export * from './contact-us';
42
- export * from './country-stats-response-dto';
43
28
  export * from './create-address-dto';
44
29
  export * from './create-blog-dto';
45
30
  export * from './create-category-dto';
46
- export * from './create-contact-dto';
47
- export * from './create-contact-list-dto';
48
31
  export * from './create-discount-dto';
49
- export * from './create-email-template-dto';
50
32
  export * from './create-event-dto';
51
- export * from './create-marketing-campaign-dto';
52
33
  export * from './create-message-dto';
53
34
  export * from './create-product-dto';
54
35
  export * from './create-review-dto';
@@ -66,24 +47,19 @@ export * from './delete-many-files-dto';
66
47
  export * from './discount';
67
48
  export * from './discounts-insights-dto';
68
49
  export * from './email-invoice-dto';
69
- export * from './email-template-response-dto';
70
50
  export * from './event';
71
51
  export * from './fileproccesor-upload-body';
72
52
  export * from './forget-password';
73
- export * from './general-stats-response-dto';
74
53
  export * from './generate-day-slots-dto';
75
54
  export * from './generate-month-slots-dto';
76
55
  export * from './generate-week-slots-dto';
77
56
  export * from './group-with-no-users-dto';
78
57
  export * from './group-with-users-dto';
79
58
  export * from './images-upload-body';
80
- export * from './link-stats-response-dto';
81
59
  export * from './login-dto';
82
60
  export * from './manual-discount-dto';
83
61
  export * from './manual-order-dto';
84
62
  export * from './manual-shipping-dto';
85
- export * from './marketing-campaign-content-dto';
86
- export * from './marketing-list-contact-dto';
87
63
  export * from './move-subcategory-dto';
88
64
  export * from './new-client-email-dto';
89
65
  export * from './object-id';
@@ -120,23 +96,14 @@ export * from './review';
120
96
  export * from './review-status-dto';
121
97
  export * from './reviewable-order-dto';
122
98
  export * from './reviewable-product-dto';
123
- export * from './schedule-campaign-draft-dto';
124
99
  export * from './schedule-tour-email-dto';
125
- export * from './send-test-email-dto';
126
100
  export * from './shipment';
127
101
  export * from './shipment-details-dto';
128
102
  export * from './shipment-status-dto';
129
103
  export * from './shipment-with-order';
130
104
  export * from './shipping-info';
131
105
  export * from './shippo-account-response-dto';
132
- export * from './single-browser-stats-dto';
133
- export * from './single-contact-aggregated-stats-dto';
134
- export * from './single-contact-list-stats-dto';
135
- export * from './single-country-stats-dto';
136
- export * from './single-general-stats';
137
- export * from './single-link-stats-dto';
138
106
  export * from './single-product-media';
139
- export * from './single-recipient-dto';
140
107
  export * from './store';
141
108
  export * from './store-api-keys-response-dto';
142
109
  export * from './store-capabilities-dto';
@@ -155,13 +122,11 @@ export * from './transfere-patients-request-dto';
155
122
  export * from './update-address-dto';
156
123
  export * from './update-api-keys-dto';
157
124
  export * from './update-blog-dto';
158
- export * from './update-campaign-draft-content-dto';
159
125
  export * from './update-category-dto';
160
126
  export * from './update-discount-dto';
161
127
  export * from './update-event-dto';
162
128
  export * from './update-items-order-dto';
163
129
  export * from './update-manual-shipment-status-dto';
164
- export * from './update-marketing-camp-draft-dto';
165
130
  export * from './update-message-dto';
166
131
  export * from './update-notification-settings-dto';
167
132
  export * from './update-product-dto';
@@ -134,12 +134,6 @@ export interface Order {
134
134
  * @memberof Order
135
135
  */
136
136
  storeId: string;
137
- /**
138
- *
139
- * @type {string}
140
- * @memberof Order
141
- */
142
- stringId: string;
143
137
  /**
144
138
  *
145
139
  * @type {Array<OrderTimeLineDTO>}
@@ -123,12 +123,6 @@ export interface PopulatedOrder {
123
123
  * @memberof PopulatedOrder
124
124
  */
125
125
  storeId?: string;
126
- /**
127
- *
128
- * @type {string}
129
- * @memberof PopulatedOrder
130
- */
131
- stringId?: string;
132
126
  /**
133
127
  *
134
128
  * @type {Array<OrderTimeLineDTO>}
@@ -43,6 +43,7 @@ export enum PreferenceUpdateItemTypeEnum {
43
43
  ORDERSHIPPED = 'ORDER_SHIPPED',
44
44
  ORDERDELIVERED = 'ORDER_DELIVERED',
45
45
  REFUNDPROCESSED = 'REFUND_PROCESSED',
46
+ REVIEWREPLY = 'REVIEW_REPLY',
46
47
  ABANDONEDCARTREMINDER = 'ABANDONED_CART_REMINDER',
47
48
  PRICEDROPALERT = 'PRICE_DROP_ALERT',
48
49
  BACKINSTOCK = 'BACK_IN_STOCK',
@@ -97,12 +97,6 @@ export interface UpdateUserDto {
97
97
  * @memberof UpdateUserDto
98
98
  */
99
99
  notes?: string;
100
- /**
101
- *
102
- * @type {number}
103
- * @memberof UpdateUserDto
104
- */
105
- mailJetId?: number;
106
100
  /**
107
101
  *
108
102
  * @type {string}
@@ -60,12 +60,6 @@ export interface UserGroup {
60
60
  * @memberof UserGroup
61
61
  */
62
62
  storeId: string;
63
- /**
64
- *
65
- * @type {number}
66
- * @memberof UserGroup
67
- */
68
- mailJetListId: number;
69
63
  /**
70
64
  *
71
65
  * @type {number}
@@ -90,12 +90,6 @@ export interface UserWithNoId {
90
90
  * @memberof UserWithNoId
91
91
  */
92
92
  notes?: string;
93
- /**
94
- *
95
- * @type {number}
96
- * @memberof UserWithNoId
97
- */
98
- mailJetId?: number;
99
93
  /**
100
94
  *
101
95
  * @type {string}
@@ -4,6 +4,6 @@ import { Configuration } from "./configuration";
4
4
  export const AXIOS_CONFIG = new Configuration({
5
5
  basePath: "https://api.heypharmacist.com", // Default fallback
6
6
  baseOptions: {
7
- timeout: 20000,
7
+ timeout: 60000,
8
8
  },
9
9
  });