@mohasinac/appkit 2.3.2 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (677) hide show
  1. package/dist/client.d.ts +48 -12
  2. package/dist/client.js +25 -6
  3. package/dist/constants/api-endpoints.d.ts +380 -22
  4. package/dist/constants/api-endpoints.js +66 -13
  5. package/dist/constants/index.d.ts +1 -1
  6. package/dist/constants/index.js +1 -1
  7. package/dist/core/hooks/useSyncManager.d.ts +1 -0
  8. package/dist/core/hooks/useSyncManager.js +83 -0
  9. package/dist/core/integration-keys.d.ts +4 -0
  10. package/dist/core/integration-keys.js +8 -0
  11. package/dist/features/about/components/FAQPageView.js +9 -11
  12. package/dist/features/about/components/PolicyPageView.js +32 -11
  13. package/dist/features/about/components/PublicProfileView.js +77 -11
  14. package/dist/features/account/components/AddressesIndexListing.js +63 -38
  15. package/dist/features/account/components/UserOffersPanel.d.ts +8 -0
  16. package/dist/features/account/components/UserOffersPanel.js +81 -0
  17. package/dist/features/account/components/UserSettingsView.d.ts +2 -1
  18. package/dist/features/account/components/UserSettingsView.js +2 -1
  19. package/dist/features/account/components/UserSidebar.d.ts +6 -1
  20. package/dist/features/account/components/UserSidebar.js +48 -42
  21. package/dist/features/account/components/index.d.ts +2 -0
  22. package/dist/features/account/components/index.js +1 -0
  23. package/dist/features/admin/actions/admin-actions.d.ts +1 -1
  24. package/dist/features/admin/actions/admin-actions.js +13 -3
  25. package/dist/features/admin/components/AdminAdEditorView.js +6 -7
  26. package/dist/features/admin/components/AdminAllEventEntriesView.d.ts +4 -0
  27. package/dist/features/admin/components/AdminAllEventEntriesView.js +102 -0
  28. package/dist/features/admin/components/AdminBidsView.js +94 -8
  29. package/dist/features/admin/components/AdminBlogEditorView.d.ts +7 -0
  30. package/dist/features/admin/components/AdminBlogEditorView.js +162 -0
  31. package/dist/features/admin/components/AdminBlogView.d.ts +4 -1
  32. package/dist/features/admin/components/AdminBlogView.js +61 -31
  33. package/dist/features/admin/components/AdminBrandEditorView.d.ts +7 -0
  34. package/dist/features/admin/components/AdminBrandEditorView.js +104 -0
  35. package/dist/features/admin/components/AdminBrandsView.d.ts +4 -0
  36. package/dist/features/admin/components/AdminBrandsView.js +76 -0
  37. package/dist/features/admin/components/AdminCarouselEditorView.d.ts +8 -0
  38. package/dist/features/admin/components/AdminCarouselEditorView.js +204 -0
  39. package/dist/features/admin/components/AdminCarouselView.js +153 -34
  40. package/dist/features/admin/components/AdminCartsView.d.ts +4 -0
  41. package/dist/features/admin/components/AdminCartsView.js +82 -0
  42. package/dist/features/admin/components/AdminCategoriesView.d.ts +4 -1
  43. package/dist/features/admin/components/AdminCategoriesView.js +66 -48
  44. package/dist/features/admin/components/AdminCategoryEditorView.d.ts +7 -0
  45. package/dist/features/admin/components/AdminCategoryEditorView.js +115 -0
  46. package/dist/features/admin/components/AdminContactEditorView.d.ts +11 -0
  47. package/dist/features/admin/components/AdminContactEditorView.js +32 -0
  48. package/dist/features/admin/components/AdminContactView.js +111 -20
  49. package/dist/features/admin/components/AdminCouponEditorView.d.ts +7 -0
  50. package/dist/features/admin/components/AdminCouponEditorView.js +179 -0
  51. package/dist/features/admin/components/AdminCouponsView.d.ts +4 -1
  52. package/dist/features/admin/components/AdminCouponsView.js +57 -9
  53. package/dist/features/admin/components/AdminDashboardView.js +3 -0
  54. package/dist/features/admin/components/AdminFaqEditorView.d.ts +7 -0
  55. package/dist/features/admin/components/AdminFaqEditorView.js +128 -0
  56. package/dist/features/admin/components/AdminFaqsView.d.ts +4 -1
  57. package/dist/features/admin/components/AdminFaqsView.js +55 -23
  58. package/dist/features/admin/components/AdminFeatureFlagsView.js +33 -24
  59. package/dist/features/admin/components/AdminListingScaffold.d.ts +7 -1
  60. package/dist/features/admin/components/AdminListingScaffold.js +2 -2
  61. package/dist/features/admin/components/AdminMediaView.js +18 -8
  62. package/dist/features/admin/components/AdminNavEditorView.d.ts +20 -0
  63. package/dist/features/admin/components/AdminNavEditorView.js +84 -0
  64. package/dist/features/admin/components/AdminNavigationView.d.ts +1 -7
  65. package/dist/features/admin/components/AdminNavigationView.js +84 -72
  66. package/dist/features/admin/components/AdminNewsletterView.js +102 -20
  67. package/dist/features/admin/components/AdminNotificationsView.d.ts +4 -0
  68. package/dist/features/admin/components/AdminNotificationsView.js +119 -0
  69. package/dist/features/admin/components/AdminOrderEditorView.d.ts +8 -0
  70. package/dist/features/admin/components/AdminOrderEditorView.js +74 -0
  71. package/dist/features/admin/components/AdminOrdersView.js +64 -8
  72. package/dist/features/admin/components/AdminPayoutsView.js +122 -13
  73. package/dist/features/admin/components/AdminProductEditorView.d.ts +7 -0
  74. package/dist/features/admin/components/AdminProductEditorView.js +143 -0
  75. package/dist/features/admin/components/AdminProductsView.d.ts +4 -1
  76. package/dist/features/admin/components/AdminProductsView.js +119 -30
  77. package/dist/features/admin/components/AdminReturnRequestsView.d.ts +5 -0
  78. package/dist/features/admin/components/AdminReturnRequestsView.js +101 -0
  79. package/dist/features/admin/components/AdminReviewsView.js +138 -28
  80. package/dist/features/admin/components/AdminSectionsView.js +361 -472
  81. package/dist/features/admin/components/AdminSessionsView.d.ts +4 -0
  82. package/dist/features/admin/components/AdminSessionsView.js +119 -0
  83. package/dist/features/admin/components/AdminSidebar.d.ts +18 -3
  84. package/dist/features/admin/components/AdminSidebar.js +51 -4
  85. package/dist/features/admin/components/AdminSiteSettingsView.d.ts +7 -0
  86. package/dist/features/admin/components/AdminSiteSettingsView.js +319 -0
  87. package/dist/features/admin/components/AdminStoreAddressesView.d.ts +5 -0
  88. package/dist/features/admin/components/AdminStoreAddressesView.js +52 -0
  89. package/dist/features/admin/components/AdminStoreEditorView.d.ts +9 -0
  90. package/dist/features/admin/components/AdminStoreEditorView.js +55 -0
  91. package/dist/features/admin/components/AdminStoresView.js +62 -20
  92. package/dist/features/admin/components/AdminUserEditorView.d.ts +10 -0
  93. package/dist/features/admin/components/AdminUserEditorView.js +72 -0
  94. package/dist/features/admin/components/AdminUsersView.js +70 -36
  95. package/dist/features/admin/components/AdminWishlistsView.d.ts +4 -0
  96. package/dist/features/admin/components/AdminWishlistsView.js +53 -0
  97. package/dist/features/admin/components/BrandQuickCreateForm.d.ts +5 -0
  98. package/dist/features/admin/components/BrandQuickCreateForm.js +36 -0
  99. package/dist/features/admin/components/CategoryQuickCreateForm.d.ts +5 -0
  100. package/dist/features/admin/components/CategoryQuickCreateForm.js +35 -0
  101. package/dist/features/admin/components/DataTable.d.ts +4 -2
  102. package/dist/features/admin/components/DataTable.js +26 -6
  103. package/dist/features/admin/components/index.d.ts +47 -1
  104. package/dist/features/admin/components/index.js +23 -0
  105. package/dist/features/admin/components/sections/adminSectionsBuildParse.d.ts +48 -0
  106. package/dist/features/admin/components/sections/adminSectionsBuildParse.js +653 -0
  107. package/dist/features/admin/components/sections/adminSectionsTypes.d.ts +298 -0
  108. package/dist/features/admin/components/sections/adminSectionsTypes.js +278 -0
  109. package/dist/features/admin/schemas/firestore.d.ts +26 -0
  110. package/dist/features/admin/schemas/firestore.js +1 -0
  111. package/dist/features/admin/types/product.types.d.ts +2 -3
  112. package/dist/features/auctions/actions/bid-actions.js +6 -2
  113. package/dist/features/auctions/components/AuctionDetailPageView.d.ts +3 -1
  114. package/dist/features/auctions/components/AuctionDetailPageView.js +38 -12
  115. package/dist/features/auctions/components/AuctionFilters.d.ts +3 -1
  116. package/dist/features/auctions/components/AuctionFilters.js +6 -2
  117. package/dist/features/auctions/components/CollapsibleBidHistory.d.ts +7 -0
  118. package/dist/features/auctions/components/CollapsibleBidHistory.js +8 -0
  119. package/dist/features/auctions/components/MarketplaceAuctionCard.d.ts +4 -0
  120. package/dist/features/auctions/components/MarketplaceAuctionCard.js +43 -9
  121. package/dist/features/auctions/components/MarketplaceAuctionGrid.js +1 -0
  122. package/dist/features/auctions/components/PlaceBidFormClient.d.ts +18 -0
  123. package/dist/features/auctions/components/PlaceBidFormClient.js +33 -0
  124. package/dist/features/auctions/hooks/useAuctions.d.ts +1 -0
  125. package/dist/features/auctions/hooks/useAuctions.js +1 -0
  126. package/dist/features/auctions/schemas/index.d.ts +22 -12
  127. package/dist/features/auth/actions/profile-actions.d.ts +5 -3
  128. package/dist/features/auth/actions/profile-actions.js +30 -11
  129. package/dist/features/auth/auth-helpers.js +1 -0
  130. package/dist/features/auth/components/LoginForm.js +2 -1
  131. package/dist/features/auth/hooks/useAuth.js +16 -4
  132. package/dist/features/auth/permissions/constants.d.ts +63 -0
  133. package/dist/features/auth/permissions/constants.js +323 -0
  134. package/dist/features/auth/schemas/firestore.d.ts +20 -0
  135. package/dist/features/auth/schemas/index.d.ts +4 -4
  136. package/dist/features/auth/schemas/index.js +3 -2
  137. package/dist/features/auth/types/index.d.ts +1 -1
  138. package/dist/features/before-after/schemas/index.d.ts +2 -2
  139. package/dist/features/blog/actions/blog-actions.d.ts +15 -15
  140. package/dist/features/blog/components/BlogFilters.js +1 -1
  141. package/dist/features/blog/components/BlogIndexListing.js +57 -5
  142. package/dist/features/blog/components/BlogIndexPageView.js +14 -2
  143. package/dist/features/blog/components/BlogPostForm.js +6 -2
  144. package/dist/features/blog/components/BlogPostView.js +2 -1
  145. package/dist/features/blog/hooks/useBlog.d.ts +2 -0
  146. package/dist/features/blog/hooks/useBlog.js +2 -0
  147. package/dist/features/blog/schemas/index.d.ts +46 -12
  148. package/dist/features/brands/actions/brand-actions.d.ts +2 -0
  149. package/dist/features/brands/actions/brand-actions.js +5 -0
  150. package/dist/features/brands/index.d.ts +3 -0
  151. package/dist/features/brands/index.js +3 -0
  152. package/dist/features/brands/repository/brands.repository.d.ts +13 -0
  153. package/dist/features/brands/repository/brands.repository.js +60 -0
  154. package/dist/features/brands/schemas/index.d.ts +33 -0
  155. package/dist/features/brands/schemas/index.js +15 -0
  156. package/dist/features/brands/server.d.ts +7 -0
  157. package/dist/features/brands/server.js +7 -0
  158. package/dist/features/cart/actions/cart-actions.js +2 -2
  159. package/dist/features/cart/components/CartDrawer.d.ts +5 -1
  160. package/dist/features/cart/components/CartDrawer.js +3 -3
  161. package/dist/features/cart/hooks/useCartCount.d.ts +3 -2
  162. package/dist/features/cart/hooks/useCartCount.js +4 -2
  163. package/dist/features/cart/hooks/useGuestCartMerge.js +1 -1
  164. package/dist/features/cart/index.d.ts +1 -0
  165. package/dist/features/cart/index.js +1 -0
  166. package/dist/features/cart/repository/cart.repository.d.ts +5 -1
  167. package/dist/features/cart/repository/cart.repository.js +36 -5
  168. package/dist/features/cart/schemas/firestore.d.ts +25 -6
  169. package/dist/features/cart/schemas/firestore.js +2 -2
  170. package/dist/features/cart/schemas/index.d.ts +9 -9
  171. package/dist/features/cart/schemas/index.js +1 -1
  172. package/dist/features/cart/types/index.d.ts +1 -1
  173. package/dist/features/cart/utils/pending-ops.d.ts +33 -0
  174. package/dist/features/cart/utils/pending-ops.js +102 -0
  175. package/dist/features/categories/components/BrandDetailPageView.d.ts +4 -0
  176. package/dist/features/categories/components/BrandDetailPageView.js +54 -0
  177. package/dist/features/categories/components/BrandDetailTabs.d.ts +10 -0
  178. package/dist/features/categories/components/BrandDetailTabs.js +22 -0
  179. package/dist/features/categories/components/CategoriesIndexListing.d.ts +3 -1
  180. package/dist/features/categories/components/CategoriesIndexListing.js +83 -7
  181. package/dist/features/categories/components/CategoryDetailPageView.js +42 -21
  182. package/dist/features/categories/components/CategoryDetailTabs.d.ts +7 -1
  183. package/dist/features/categories/components/CategoryDetailTabs.js +12 -7
  184. package/dist/features/categories/components/CategoryFilters.js +1 -1
  185. package/dist/features/categories/components/CategoryForm.js +10 -4
  186. package/dist/features/categories/components/CategoryProductsListing.d.ts +4 -1
  187. package/dist/features/categories/components/CategoryProductsListing.js +34 -5
  188. package/dist/features/categories/components/ConcernCard.js +1 -1
  189. package/dist/features/categories/hooks/useCategories.js +2 -0
  190. package/dist/features/categories/repository/categories.repository.js +2 -3
  191. package/dist/features/categories/schemas/firestore.d.ts +23 -2
  192. package/dist/features/categories/schemas/firestore.js +8 -0
  193. package/dist/features/categories/schemas/index.d.ts +8 -8
  194. package/dist/features/categories/types/index.d.ts +1 -0
  195. package/dist/features/collections/schemas/index.d.ts +2 -2
  196. package/dist/features/events/components/AdminEventEditorView.js +2 -2
  197. package/dist/features/events/components/AdminEventsView.d.ts +4 -1
  198. package/dist/features/events/components/AdminEventsView.js +64 -38
  199. package/dist/features/events/components/EventCard.js +1 -1
  200. package/dist/features/events/components/EventFilters.js +1 -1
  201. package/dist/features/events/components/EventPollWidget.d.ts +12 -0
  202. package/dist/features/events/components/EventPollWidget.js +62 -0
  203. package/dist/features/events/components/EventsIndexListing.js +57 -5
  204. package/dist/features/events/components/EventsListPageView.js +1 -1
  205. package/dist/features/events/components/index.d.ts +2 -0
  206. package/dist/features/events/components/index.js +1 -0
  207. package/dist/features/events/hooks/useEvents.d.ts +1 -0
  208. package/dist/features/events/hooks/useEvents.js +1 -0
  209. package/dist/features/events/repository/events.repository.js +3 -0
  210. package/dist/features/events/schemas/firestore.d.ts +1 -0
  211. package/dist/features/events/schemas/index.d.ts +44 -0
  212. package/dist/features/events/types/index.d.ts +2 -0
  213. package/dist/features/faq/actions/faq-actions.d.ts +16 -16
  214. package/dist/features/faq/hooks/useFaqList.js +1 -1
  215. package/dist/features/faq/schemas/firestore.d.ts +2 -2
  216. package/dist/features/faq/schemas/firestore.js +2 -1
  217. package/dist/features/faq/schemas/index.d.ts +4 -4
  218. package/dist/features/filters/FilterFacetSection.d.ts +1 -0
  219. package/dist/features/filters/FilterFacetSection.js +13 -1
  220. package/dist/features/filters/SwitchFilter.js +1 -1
  221. package/dist/features/grouped/schemas/firestore.d.ts +32 -0
  222. package/dist/features/grouped/schemas/firestore.js +19 -0
  223. package/dist/features/homepage/components/AdSlot.d.ts +1 -3
  224. package/dist/features/homepage/components/AdSlot.js +15 -14
  225. package/dist/features/homepage/components/BlogArticlesSection.d.ts +3 -1
  226. package/dist/features/homepage/components/BlogArticlesSection.js +2 -2
  227. package/dist/features/homepage/components/BrandsSection.d.ts +3 -1
  228. package/dist/features/homepage/components/BrandsSection.js +4 -3
  229. package/dist/features/homepage/components/CustomCardsSection.d.ts +3 -0
  230. package/dist/features/homepage/components/CustomCardsSection.js +76 -0
  231. package/dist/features/homepage/components/EventsSection.d.ts +3 -1
  232. package/dist/features/homepage/components/EventsSection.js +2 -2
  233. package/dist/features/homepage/components/FeaturedAuctionsSection.d.ts +4 -1
  234. package/dist/features/homepage/components/FeaturedAuctionsSection.js +2 -2
  235. package/dist/features/homepage/components/FeaturedPreOrdersSection.d.ts +4 -1
  236. package/dist/features/homepage/components/FeaturedPreOrdersSection.js +2 -2
  237. package/dist/features/homepage/components/FeaturedProductsSection.d.ts +4 -1
  238. package/dist/features/homepage/components/FeaturedProductsSection.js +8 -3
  239. package/dist/features/homepage/components/FeaturedStoresSection.d.ts +3 -1
  240. package/dist/features/homepage/components/FeaturedStoresSection.js +2 -2
  241. package/dist/features/homepage/components/GoogleReviewsSection.d.ts +3 -0
  242. package/dist/features/homepage/components/GoogleReviewsSection.js +65 -0
  243. package/dist/features/homepage/components/HeroCarousel.js +128 -84
  244. package/dist/features/homepage/components/MarketplaceHomepageView.d.ts +2 -20
  245. package/dist/features/homepage/components/MarketplaceHomepageView.js +73 -230
  246. package/dist/features/homepage/components/SectionCarousel.d.ts +1 -1
  247. package/dist/features/homepage/components/SectionCarousel.js +2 -0
  248. package/dist/features/homepage/components/ShopByCategorySection.d.ts +3 -1
  249. package/dist/features/homepage/components/ShopByCategorySection.js +8 -4
  250. package/dist/features/homepage/components/SocialFeedSection.d.ts +3 -0
  251. package/dist/features/homepage/components/SocialFeedSection.js +86 -0
  252. package/dist/features/homepage/components/SocialPostCard.d.ts +7 -0
  253. package/dist/features/homepage/components/SocialPostCard.js +39 -0
  254. package/dist/features/homepage/components/StatsCounterSection.js +1 -1
  255. package/dist/features/homepage/components/WelcomeSection.js +1 -1
  256. package/dist/features/homepage/components/WhatsAppCommunitySection.js +1 -1
  257. package/dist/features/homepage/hooks/useActiveAd.d.ts +23 -0
  258. package/dist/features/homepage/hooks/useActiveAd.js +20 -0
  259. package/dist/features/homepage/hooks/useBlogArticles.d.ts +1 -0
  260. package/dist/features/homepage/hooks/useBlogArticles.js +10 -0
  261. package/dist/features/homepage/hooks/useFeaturedAuctions.d.ts +4 -1
  262. package/dist/features/homepage/hooks/useFeaturedAuctions.js +8 -4
  263. package/dist/features/homepage/hooks/useFeaturedPreOrders.d.ts +4 -1
  264. package/dist/features/homepage/hooks/useFeaturedPreOrders.js +8 -4
  265. package/dist/features/homepage/hooks/useFeaturedProducts.d.ts +1 -0
  266. package/dist/features/homepage/hooks/useFeaturedProducts.js +6 -3
  267. package/dist/features/homepage/hooks/useFeaturedStores.d.ts +3 -1
  268. package/dist/features/homepage/hooks/useFeaturedStores.js +2 -1
  269. package/dist/features/homepage/hooks/useHomepageEvents.d.ts +3 -1
  270. package/dist/features/homepage/hooks/useHomepageEvents.js +2 -1
  271. package/dist/features/homepage/hooks/useTopBrands.d.ts +3 -1
  272. package/dist/features/homepage/hooks/useTopBrands.js +2 -1
  273. package/dist/features/homepage/index.d.ts +2 -0
  274. package/dist/features/homepage/index.js +1 -0
  275. package/dist/features/homepage/lib/google-reviews-fetcher.d.ts +14 -0
  276. package/dist/features/homepage/lib/google-reviews-fetcher.js +27 -0
  277. package/dist/features/homepage/lib/live-stats.d.ts +14 -0
  278. package/dist/features/homepage/lib/live-stats.js +62 -0
  279. package/dist/features/homepage/lib/section-defaults.d.ts +11 -0
  280. package/dist/features/homepage/lib/section-defaults.js +45 -0
  281. package/dist/features/homepage/lib/section-helpers.d.ts +5 -0
  282. package/dist/features/homepage/lib/section-helpers.js +25 -0
  283. package/dist/features/homepage/lib/section-renderer.d.ts +33 -0
  284. package/dist/features/homepage/lib/section-renderer.js +164 -0
  285. package/dist/features/homepage/lib/social-feed-fetcher.d.ts +5 -0
  286. package/dist/features/homepage/lib/social-feed-fetcher.js +193 -0
  287. package/dist/features/homepage/schemas/firestore.d.ts +180 -29
  288. package/dist/features/homepage/schemas/firestore.js +5 -0
  289. package/dist/features/homepage/types/index.d.ts +48 -19
  290. package/dist/features/layout/AppLayoutShell.d.ts +6 -1
  291. package/dist/features/layout/AppLayoutShell.js +25 -9
  292. package/dist/features/layout/BottomActions.js +1 -1
  293. package/dist/features/layout/BottomNavbar.d.ts +15 -1
  294. package/dist/features/layout/BottomNavbar.js +8 -2
  295. package/dist/features/layout/FooterLayout.d.ts +7 -1
  296. package/dist/features/layout/FooterLayout.js +3 -3
  297. package/dist/features/layout/ListingLayout.js +2 -2
  298. package/dist/features/layout/MainNavbar.d.ts +6 -14
  299. package/dist/features/layout/MainNavbar.js +4 -16
  300. package/dist/features/layout/NavItem.js +1 -1
  301. package/dist/features/layout/NavbarLayout.d.ts +3 -1
  302. package/dist/features/layout/NavbarLayout.js +5 -5
  303. package/dist/features/layout/TitleBar.d.ts +4 -2
  304. package/dist/features/layout/TitleBar.js +5 -3
  305. package/dist/features/layout/TitleBarLayout.d.ts +3 -1
  306. package/dist/features/layout/TitleBarLayout.js +2 -2
  307. package/dist/features/layout/index.d.ts +1 -1
  308. package/dist/features/media/MediaPickerModal.d.ts +30 -0
  309. package/dist/features/media/MediaPickerModal.js +72 -0
  310. package/dist/features/media/index.d.ts +3 -1
  311. package/dist/features/media/index.js +1 -0
  312. package/dist/features/media/types/index.d.ts +12 -0
  313. package/dist/features/media/types/index.js +4 -2
  314. package/dist/features/media/upload/MediaUploadField.d.ts +5 -1
  315. package/dist/features/media/upload/MediaUploadField.js +56 -3
  316. package/dist/features/messages/schemas/firestore.d.ts +36 -0
  317. package/dist/features/messages/schemas/firestore.js +16 -0
  318. package/dist/features/orders/repository/orders.repository.d.ts +2 -2
  319. package/dist/features/orders/repository/orders.repository.js +2 -2
  320. package/dist/features/orders/schemas/firestore.d.ts +17 -4
  321. package/dist/features/orders/schemas/firestore.js +2 -2
  322. package/dist/features/orders/schemas/index.d.ts +18 -18
  323. package/dist/features/orders/schemas/index.js +3 -3
  324. package/dist/features/orders/types/index.d.ts +1 -1
  325. package/dist/features/orders/utils/order-splitter.d.ts +1 -1
  326. package/dist/features/orders/utils/order-splitter.js +2 -2
  327. package/dist/features/payments/repository/payout.repository.d.ts +4 -4
  328. package/dist/features/payments/repository/payout.repository.js +7 -7
  329. package/dist/features/payments/schemas/firestore.d.ts +6 -6
  330. package/dist/features/payments/schemas/firestore.js +6 -6
  331. package/dist/features/pre-orders/components/MarketplacePreorderCard.js +11 -10
  332. package/dist/features/pre-orders/components/PreOrderActionsClient.d.ts +11 -0
  333. package/dist/features/pre-orders/components/PreOrderActionsClient.js +28 -0
  334. package/dist/features/pre-orders/components/PreOrderDetailPageView.d.ts +2 -1
  335. package/dist/features/pre-orders/components/PreOrderDetailPageView.js +27 -9
  336. package/dist/features/pre-orders/components/PreOrderFilters.d.ts +3 -1
  337. package/dist/features/pre-orders/components/PreOrderFilters.js +9 -6
  338. package/dist/features/pre-orders/components/PreOrdersIndexListing.d.ts +3 -1
  339. package/dist/features/pre-orders/components/PreOrdersIndexListing.js +132 -36
  340. package/dist/features/pre-orders/components/PreOrdersListView.js +3 -3
  341. package/dist/features/pre-orders/components/PreorderCard.js +1 -1
  342. package/dist/features/pre-orders/schemas/index.d.ts +10 -0
  343. package/dist/features/products/actions/product-actions.d.ts +2 -2
  344. package/dist/features/products/actions/product-actions.js +5 -5
  345. package/dist/features/products/api/[id]/route.js +5 -2
  346. package/dist/features/products/api/route.js +10 -14
  347. package/dist/features/products/columns/productTableColumns.js +2 -2
  348. package/dist/features/products/components/AuctionDetailView.d.ts +2 -1
  349. package/dist/features/products/components/AuctionDetailView.js +2 -2
  350. package/dist/features/products/components/AuctionsIndexListing.d.ts +3 -1
  351. package/dist/features/products/components/AuctionsIndexListing.js +93 -31
  352. package/dist/features/products/components/BidHistory.d.ts +2 -1
  353. package/dist/features/products/components/BidHistory.js +18 -2
  354. package/dist/features/products/components/MakeOfferButton.d.ts +10 -0
  355. package/dist/features/products/components/MakeOfferButton.js +68 -0
  356. package/dist/features/products/components/ProductDetailPageView.d.ts +11 -1
  357. package/dist/features/products/components/ProductDetailPageView.js +27 -8
  358. package/dist/features/products/components/ProductFilters.d.ts +7 -1
  359. package/dist/features/products/components/ProductFilters.js +4 -2
  360. package/dist/features/products/components/ProductForm.d.ts +19 -1
  361. package/dist/features/products/components/ProductForm.js +24 -6
  362. package/dist/features/products/components/ProductGrid.d.ts +10 -2
  363. package/dist/features/products/components/ProductGrid.js +76 -29
  364. package/dist/features/products/components/ProductsIndexListing.js +131 -45
  365. package/dist/features/products/components/RelatedProductsCarousel.js +1 -1
  366. package/dist/features/products/components/ShareButton.d.ts +7 -0
  367. package/dist/features/products/components/ShareButton.js +22 -0
  368. package/dist/features/products/components/index.d.ts +2 -0
  369. package/dist/features/products/components/index.js +1 -0
  370. package/dist/features/products/hooks/useProducts.d.ts +7 -0
  371. package/dist/features/products/hooks/useProducts.js +6 -4
  372. package/dist/features/products/repository/products.repository.d.ts +4 -8
  373. package/dist/features/products/repository/products.repository.js +17 -50
  374. package/dist/features/products/schemas/firestore.d.ts +11 -9
  375. package/dist/features/products/schemas/firestore.js +11 -3
  376. package/dist/features/products/schemas/index.d.ts +51 -50
  377. package/dist/features/products/schemas/index.js +2 -5
  378. package/dist/features/products/types/index.d.ts +13 -5
  379. package/dist/features/promotions/actions/coupon-actions.d.ts +2 -2
  380. package/dist/features/promotions/actions/coupon-actions.js +1 -1
  381. package/dist/features/promotions/actions/seller-coupon-actions.js +11 -6
  382. package/dist/features/promotions/api/route.js +3 -3
  383. package/dist/features/promotions/components/CouponCard.js +16 -7
  384. package/dist/features/promotions/components/CouponsIndexListing.js +3 -9
  385. package/dist/features/promotions/hooks/useCouponValidate.d.ts +1 -1
  386. package/dist/features/promotions/hooks/usePromotions.js +2 -2
  387. package/dist/features/promotions/repository/coupons.repository.d.ts +21 -15
  388. package/dist/features/promotions/repository/coupons.repository.js +97 -125
  389. package/dist/features/promotions/schemas/firestore.d.ts +31 -2
  390. package/dist/features/promotions/schemas/firestore.js +29 -0
  391. package/dist/features/promotions/schemas/index.d.ts +9 -12
  392. package/dist/features/promotions/schemas/index.js +1 -2
  393. package/dist/features/promotions/types/index.d.ts +1 -2
  394. package/dist/features/reviews/actions/review-actions.js +3 -2
  395. package/dist/features/reviews/components/ReviewDetailPageView.js +5 -9
  396. package/dist/features/reviews/components/ReviewFilters.js +1 -1
  397. package/dist/features/reviews/components/ReviewsIndexListing.js +58 -7
  398. package/dist/features/reviews/components/ReviewsList.js +2 -2
  399. package/dist/features/reviews/hooks/useReviews.d.ts +1 -0
  400. package/dist/features/reviews/hooks/useReviews.js +2 -1
  401. package/dist/features/reviews/repository/reviews.repository.d.ts +9 -4
  402. package/dist/features/reviews/repository/reviews.repository.js +18 -7
  403. package/dist/features/reviews/schemas/firestore.d.ts +5 -2
  404. package/dist/features/reviews/schemas/firestore.js +1 -0
  405. package/dist/features/reviews/schemas/index.d.ts +19 -16
  406. package/dist/features/reviews/schemas/index.js +3 -2
  407. package/dist/features/reviews/types/index.d.ts +3 -2
  408. package/dist/features/scams/actions/scam-actions.d.ts +29 -0
  409. package/dist/features/scams/actions/scam-actions.js +62 -0
  410. package/dist/features/scams/components/ScamProfileView.d.ts +10 -0
  411. package/dist/features/scams/components/ScamProfileView.js +51 -0
  412. package/dist/features/scams/components/ScamRegistryView.d.ts +6 -0
  413. package/dist/features/scams/components/ScamRegistryView.js +41 -0
  414. package/dist/features/scams/components/index.d.ts +4 -0
  415. package/dist/features/scams/components/index.js +2 -0
  416. package/dist/features/scams/constants/scam-types.d.ts +38 -0
  417. package/dist/features/scams/constants/scam-types.js +443 -0
  418. package/dist/features/scams/repository/scammer.repository.d.ts +67 -0
  419. package/dist/features/scams/repository/scammer.repository.js +160 -0
  420. package/dist/features/scams/schemas/firestore.d.ts +362 -0
  421. package/dist/features/scams/schemas/firestore.js +233 -0
  422. package/dist/features/search/components/Search.d.ts +12 -2
  423. package/dist/features/search/components/Search.js +26 -7
  424. package/dist/features/search/components/index.d.ts +1 -1
  425. package/dist/features/search/hooks/useNavSuggestions.d.ts +1 -1
  426. package/dist/features/search/hooks/useNavSuggestions.js +2 -2
  427. package/dist/features/search/schemas/index.d.ts +7 -7
  428. package/dist/features/seller/actions/offer-actions.js +52 -36
  429. package/dist/features/seller/actions/seller-actions.js +19 -13
  430. package/dist/features/seller/api/products/route.js +9 -4
  431. package/dist/features/seller/components/SellerAddressesView.d.ts +3 -12
  432. package/dist/features/seller/components/SellerAddressesView.js +144 -4
  433. package/dist/features/seller/components/SellerAuctionsView.js +58 -5
  434. package/dist/features/seller/components/SellerBidsView.d.ts +4 -0
  435. package/dist/features/seller/components/SellerBidsView.js +131 -0
  436. package/dist/features/seller/components/SellerCouponEditorView.d.ts +19 -0
  437. package/dist/features/seller/components/SellerCouponEditorView.js +67 -0
  438. package/dist/features/seller/components/SellerCouponsView.d.ts +5 -3
  439. package/dist/features/seller/components/SellerCouponsView.js +135 -13
  440. package/dist/features/seller/components/SellerCreateProductView.d.ts +4 -10
  441. package/dist/features/seller/components/SellerCreateProductView.js +4 -3
  442. package/dist/features/seller/components/SellerEditProductView.d.ts +4 -10
  443. package/dist/features/seller/components/SellerEditProductView.js +4 -3
  444. package/dist/features/seller/components/SellerOffersPanel.d.ts +20 -0
  445. package/dist/features/seller/components/SellerOffersPanel.js +138 -0
  446. package/dist/features/seller/components/SellerOffersView.js +56 -5
  447. package/dist/features/seller/components/SellerOrdersView.d.ts +2 -1
  448. package/dist/features/seller/components/SellerOrdersView.js +185 -16
  449. package/dist/features/seller/components/SellerPayoutRequestView.d.ts +7 -0
  450. package/dist/features/seller/components/SellerPayoutRequestView.js +63 -0
  451. package/dist/features/seller/components/SellerPayoutSettingsView.d.ts +3 -10
  452. package/dist/features/seller/components/SellerPayoutSettingsView.js +89 -3
  453. package/dist/features/seller/components/SellerPayoutsView.js +56 -5
  454. package/dist/features/seller/components/SellerProductShell.d.ts +68 -0
  455. package/dist/features/seller/components/SellerProductShell.js +179 -0
  456. package/dist/features/seller/components/SellerProductsView.d.ts +2 -3
  457. package/dist/features/seller/components/SellerProductsView.js +194 -18
  458. package/dist/features/seller/components/SellerReviewsView.d.ts +5 -0
  459. package/dist/features/seller/components/SellerReviewsView.js +100 -0
  460. package/dist/features/seller/components/SellerShippingView.d.ts +3 -11
  461. package/dist/features/seller/components/SellerShippingView.js +87 -3
  462. package/dist/features/seller/components/SellerSidebar.d.ts +11 -3
  463. package/dist/features/seller/components/SellerSidebar.js +52 -8
  464. package/dist/features/seller/components/SellerStorefrontView.d.ts +26 -11
  465. package/dist/features/seller/components/SellerStorefrontView.js +45 -7
  466. package/dist/features/seller/components/index.d.ts +16 -2
  467. package/dist/features/seller/components/index.js +7 -0
  468. package/dist/features/seller/hooks/useSellerListingData.d.ts +3 -1
  469. package/dist/features/seller/hooks/useSellerListingData.js +6 -4
  470. package/dist/features/seller/repository/offer.repository.d.ts +3 -3
  471. package/dist/features/seller/repository/offer.repository.js +6 -6
  472. package/dist/features/seller/schemas/firestore.d.ts +7 -7
  473. package/dist/features/seller/schemas/firestore.js +4 -4
  474. package/dist/features/seller/schemas/index.d.ts +16 -16
  475. package/dist/features/shell/FormShell.d.ts +29 -0
  476. package/dist/features/shell/FormShell.js +103 -0
  477. package/dist/features/shell/QuickFormDrawer.d.ts +29 -0
  478. package/dist/features/shell/QuickFormDrawer.js +117 -0
  479. package/dist/features/shell/StepForm.d.ts +44 -0
  480. package/dist/features/shell/StepForm.js +81 -0
  481. package/dist/features/shell/index.d.ts +6 -0
  482. package/dist/features/shell/index.js +3 -0
  483. package/dist/features/stores/actions/store-query-actions.js +3 -3
  484. package/dist/features/stores/api/[storeSlug]/auctions/route.js +1 -1
  485. package/dist/features/stores/api/[storeSlug]/products/route.js +1 -1
  486. package/dist/features/stores/api/[storeSlug]/reviews/route.js +1 -1
  487. package/dist/features/stores/components/InteractiveStoreCard.d.ts +2 -2
  488. package/dist/features/stores/components/InteractiveStoreCard.js +21 -7
  489. package/dist/features/stores/components/StoreAboutView.js +1 -1
  490. package/dist/features/stores/components/StoreAuctionsListing.d.ts +5 -2
  491. package/dist/features/stores/components/StoreAuctionsListing.js +81 -8
  492. package/dist/features/stores/components/StoreAuctionsPageView.js +8 -7
  493. package/dist/features/stores/components/StoreDetailLayoutView.d.ts +1 -0
  494. package/dist/features/stores/components/StoreDetailLayoutView.js +29 -5
  495. package/dist/features/stores/components/StoreHeader.js +2 -1
  496. package/dist/features/stores/components/StorePreOrdersListing.d.ts +4 -2
  497. package/dist/features/stores/components/StorePreOrdersListing.js +59 -7
  498. package/dist/features/stores/components/StorePreOrdersPageView.js +8 -7
  499. package/dist/features/stores/components/StoreProductsListing.d.ts +5 -2
  500. package/dist/features/stores/components/StoreProductsListing.js +97 -8
  501. package/dist/features/stores/components/StoreProductsPageView.js +8 -7
  502. package/dist/features/stores/components/StoreReviewsListing.js +2 -2
  503. package/dist/features/stores/components/StoresIndexListing.js +74 -11
  504. package/dist/features/stores/components/StoresListView.js +1 -1
  505. package/dist/features/stores/hooks/useStores.d.ts +1 -0
  506. package/dist/features/stores/hooks/useStores.js +1 -0
  507. package/dist/features/stores/schemas/firestore.d.ts +34 -0
  508. package/dist/features/stores/schemas/index.d.ts +8 -8
  509. package/dist/features/sublisting/schemas/firestore.d.ts +30 -0
  510. package/dist/features/sublisting/schemas/firestore.js +19 -0
  511. package/dist/features/support/schemas/firestore.d.ts +113 -0
  512. package/dist/features/support/schemas/firestore.js +95 -0
  513. package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.d.ts +5 -0
  514. package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.js +143 -0
  515. package/dist/features/whatsapp-bot/components/index.d.ts +2 -0
  516. package/dist/features/whatsapp-bot/components/index.js +1 -0
  517. package/dist/features/whatsapp-bot/helpers/whatsapp.d.ts +23 -1
  518. package/dist/features/whatsapp-bot/helpers/whatsapp.js +104 -0
  519. package/dist/features/whatsapp-bot/server.d.ts +1 -0
  520. package/dist/features/whatsapp-bot/server.js +1 -0
  521. package/dist/features/whatsapp-bot/types/index.d.ts +49 -0
  522. package/dist/features/wishlist/components/WishlistView.d.ts +0 -10
  523. package/dist/features/wishlist/components/WishlistView.js +13 -6
  524. package/dist/features/wishlist/hooks/useWishlist.js +2 -0
  525. package/dist/features/wishlist/hooks/useWishlistCount.d.ts +11 -3
  526. package/dist/features/wishlist/hooks/useWishlistCount.js +89 -25
  527. package/dist/features/wishlist/hooks/useWishlistWithGuest.d.ts +1 -1
  528. package/dist/features/wishlist/schemas/index.d.ts +2 -2
  529. package/dist/features/wishlist/types/index.d.ts +16 -0
  530. package/dist/http/api-handler.js +8 -1
  531. package/dist/index.d.ts +114 -16
  532. package/dist/index.js +136 -28
  533. package/dist/monitoring/server-logger.js +9 -3
  534. package/dist/next/routing/route-map.d.ts +120 -6
  535. package/dist/next/routing/route-map.js +53 -2
  536. package/dist/providers/db-firebase/realtime.d.ts +1 -1
  537. package/dist/react/contexts/SessionContext.js +17 -26
  538. package/dist/react/hooks/useBulkSelection.d.ts +7 -24
  539. package/dist/react/hooks/useBulkSelection.js +27 -34
  540. package/dist/react/hooks/useLongPress.d.ts +3 -16
  541. package/dist/react/hooks/useLongPress.js +6 -25
  542. package/dist/react/index.d.ts +1 -0
  543. package/dist/react/index.js +2 -0
  544. package/dist/repositories/index.d.ts +3 -0
  545. package/dist/repositories/index.js +2 -0
  546. package/dist/seed/actions/demo-seed-actions.d.ts +2 -2
  547. package/dist/seed/actions/demo-seed-actions.js +1 -1
  548. package/dist/seed/anime-figures-seed-data.d.ts +8 -0
  549. package/dist/seed/anime-figures-seed-data.js +1033 -0
  550. package/dist/seed/beyblade-seed-data.js +206 -24
  551. package/dist/seed/bids-seed-data.d.ts +4 -10
  552. package/dist/seed/bids-seed-data.js +365 -238
  553. package/dist/seed/blog-posts-seed-data.d.ts +3 -2
  554. package/dist/seed/blog-posts-seed-data.js +250 -511
  555. package/dist/seed/brands-seed-data.d.ts +7 -0
  556. package/dist/seed/brands-seed-data.js +410 -0
  557. package/dist/seed/carousel-slides-seed-data.d.ts +3 -2
  558. package/dist/seed/carousel-slides-seed-data.js +177 -216
  559. package/dist/seed/cart-seed-data.d.ts +9 -9
  560. package/dist/seed/cart-seed-data.js +73 -73
  561. package/dist/seed/categories-seed-data.d.ts +4 -2
  562. package/dist/seed/categories-seed-data.js +720 -879
  563. package/dist/seed/conversations-seed-data.d.ts +8 -0
  564. package/dist/seed/conversations-seed-data.js +388 -0
  565. package/dist/seed/cosplay-accessories-seed-data.d.ts +8 -0
  566. package/dist/seed/cosplay-accessories-seed-data.js +647 -0
  567. package/dist/seed/coupon-usage-seed-data.d.ts +25 -0
  568. package/dist/seed/coupon-usage-seed-data.js +69 -0
  569. package/dist/seed/coupons-seed-data.d.ts +6 -3
  570. package/dist/seed/coupons-seed-data.js +375 -3
  571. package/dist/seed/events-seed-data.d.ts +4 -2
  572. package/dist/seed/events-seed-data.js +128 -430
  573. package/dist/seed/factories/cart.factory.d.ts +0 -1
  574. package/dist/seed/factories/cart.factory.js +2 -2
  575. package/dist/seed/faq-seed-data.d.ts +11 -18
  576. package/dist/seed/faq-seed-data.js +786 -1817
  577. package/dist/seed/grouped-listings-seed-data.d.ts +8 -0
  578. package/dist/seed/grouped-listings-seed-data.js +201 -0
  579. package/dist/seed/homepage-sections-seed-data.d.ts +3 -13
  580. package/dist/seed/homepage-sections-seed-data.js +228 -252
  581. package/dist/seed/hot-wheels-seed-data.js +285 -38
  582. package/dist/seed/index.d.ts +12 -11
  583. package/dist/seed/index.js +10 -12
  584. package/dist/seed/letitrip-official-seed-data.d.ts +8 -0
  585. package/dist/seed/letitrip-official-seed-data.js +399 -0
  586. package/dist/seed/manifest.d.ts +15 -0
  587. package/dist/seed/manifest.js +140 -0
  588. package/dist/seed/notifications-seed-data.d.ts +4 -2
  589. package/dist/seed/notifications-seed-data.js +117 -440
  590. package/dist/seed/orders-seed-data.d.ts +4 -2
  591. package/dist/seed/orders-seed-data.js +1090 -521
  592. package/dist/seed/payouts-seed-data.d.ts +4 -2
  593. package/dist/seed/payouts-seed-data.js +522 -145
  594. package/dist/seed/pokemon-carousel-slides-seed-data.js +6 -1
  595. package/dist/seed/pokemon-categories-seed-data.js +81 -81
  596. package/dist/seed/pokemon-homepage-sections-seed-data.d.ts +1 -1
  597. package/dist/seed/pokemon-homepage-sections-seed-data.js +116 -23
  598. package/dist/seed/pokemon-products-seed-data.d.ts +1 -1
  599. package/dist/seed/pokemon-products-seed-data.js +83 -73
  600. package/dist/seed/pokemon-seed-bundle.d.ts +5 -1
  601. package/dist/seed/pokemon-seed-bundle.js +21 -2
  602. package/dist/seed/pokemon-stores-seed-data.js +85 -9
  603. package/dist/seed/pokemon-users-seed-data.js +107 -8
  604. package/dist/seed/products-auctions-seed-data.d.ts +10 -0
  605. package/dist/seed/products-auctions-seed-data.js +689 -0
  606. package/dist/seed/products-preorders-seed-data.d.ts +9 -0
  607. package/dist/seed/products-preorders-seed-data.js +483 -0
  608. package/dist/seed/products-seed-data.js +34 -13
  609. package/dist/seed/products-standard-seed-data.d.ts +8 -0
  610. package/dist/seed/products-standard-seed-data.js +4179 -0
  611. package/dist/seed/retro-gaming-seed-data.d.ts +8 -0
  612. package/dist/seed/retro-gaming-seed-data.js +801 -0
  613. package/dist/seed/reviews-seed-data.d.ts +4 -17
  614. package/dist/seed/reviews-seed-data.js +1043 -515
  615. package/dist/seed/scammers-seed-data.d.ts +17 -0
  616. package/dist/seed/scammers-seed-data.js +118 -0
  617. package/dist/seed/site-settings-seed-data.js +25 -2
  618. package/dist/seed/store-addresses-seed-data.js +188 -84
  619. package/dist/seed/stores-seed-data.d.ts +3 -9
  620. package/dist/seed/stores-seed-data.js +212 -102
  621. package/dist/seed/sublisting-categories-seed-data.d.ts +7 -0
  622. package/dist/seed/sublisting-categories-seed-data.js +315 -0
  623. package/dist/seed/transformers-seed-data.js +34 -14
  624. package/dist/seed/users-seed-data.d.ts +3 -2
  625. package/dist/seed/users-seed-data.js +531 -440
  626. package/dist/seed/wishlists-seed-data.js +13 -13
  627. package/dist/server.d.ts +9 -2
  628. package/dist/server.js +12 -4
  629. package/dist/tokens/tokens.css +76 -31
  630. package/dist/ui/components/Avatar.style.css +10 -12
  631. package/dist/ui/components/BaseListingCard.d.ts +8 -3
  632. package/dist/ui/components/BaseListingCard.js +17 -6
  633. package/dist/ui/components/BaseListingCard.style.css +3 -1
  634. package/dist/ui/components/BulkActionsBar.d.ts +16 -0
  635. package/dist/ui/components/BulkActionsBar.js +22 -0
  636. package/dist/ui/components/Button.style.css +23 -23
  637. package/dist/ui/components/Card.style.css +60 -62
  638. package/dist/ui/components/Checkbox.style.css +19 -21
  639. package/dist/ui/components/DashboardStatsCard.style.css +12 -14
  640. package/dist/ui/components/Drawer.style.css +18 -14
  641. package/dist/ui/components/Dropdown.style.css +25 -27
  642. package/dist/ui/components/EmptyState.style.css +2 -4
  643. package/dist/ui/components/HorizontalScroller.d.ts +3 -1
  644. package/dist/ui/components/HorizontalScroller.js +116 -21
  645. package/dist/ui/components/HorizontalScroller.style.css +2 -2
  646. package/dist/ui/components/ImageLightbox.d.ts +0 -9
  647. package/dist/ui/components/ImageLightbox.js +43 -9
  648. package/dist/ui/components/InlineCreateSelect.d.ts +38 -0
  649. package/dist/ui/components/InlineCreateSelect.js +70 -0
  650. package/dist/ui/components/ListingLayout.style.css +41 -77
  651. package/dist/ui/components/ListingToolbar.d.ts +54 -0
  652. package/dist/ui/components/ListingToolbar.js +34 -0
  653. package/dist/ui/components/Modal.style.css +14 -10
  654. package/dist/ui/components/PageLoader.d.ts +11 -0
  655. package/dist/ui/components/PageLoader.js +21 -0
  656. package/dist/ui/components/Radio.style.css +34 -36
  657. package/dist/ui/components/RichTextEditor.js +1 -1
  658. package/dist/ui/components/RowActionMenu.d.ts +1 -0
  659. package/dist/ui/components/RowActionMenu.js +4 -2
  660. package/dist/ui/components/SectionTabs.js +1 -1
  661. package/dist/ui/components/SectionTabs.style.css +1 -0
  662. package/dist/ui/components/SideModal.style.css +4 -8
  663. package/dist/ui/components/Slider.style.css +2 -4
  664. package/dist/ui/components/Tabs.style.css +8 -10
  665. package/dist/ui/components/Toast.style.css +22 -24
  666. package/dist/ui/components/Toggle.style.css +11 -13
  667. package/dist/ui/index.d.ts +9 -0
  668. package/dist/ui/index.js +5 -0
  669. package/dist/ui/rich-text/RichText.js +2 -1
  670. package/dist/ui/rich-text/RichText.style.css +292 -5
  671. package/dist/ui/rich-text/RichTextRenderer.d.ts +15 -0
  672. package/dist/ui/rich-text/RichTextRenderer.js +15 -0
  673. package/dist/utils/id-generators.d.ts +10 -0
  674. package/dist/utils/id-generators.js +12 -0
  675. package/dist/validation/schemas.d.ts +9 -9
  676. package/package.json +5 -1
  677. package/README.md +0 -116
@@ -1,577 +1,1146 @@
1
- import { getDefaultCurrency } from "./seed-market-config";
2
- const _CURRENCY = getDefaultCurrency();
3
- // Dynamic date helpers
1
+ /**
2
+ * Orders Seed Data — LetItRip Collectibles Platform
3
+ * 10 orders in all status states (pending, processing, shipped, delivered,
4
+ * cancelled, refunded, return_requested). Buyer/seller IDs from P15.
5
+ * order- prefix (system IDs, not slug-based).
6
+ */
7
+ import { OrderStatusValues, PaymentStatusValues, PaymentMethodValues, } from "../features/orders/schemas";
4
8
  const NOW = new Date();
5
9
  const daysAgo = (n) => new Date(NOW.getTime() - n * 86400000);
6
10
  export const ordersSeedData = [
7
- // -- DELIVERED -------------------------------------------------------------
8
- {
9
- id: "order-1-20260115-xk7m9p",
10
- productId: "product-iphone-15-pro-max-smartphones-new-techhub-electronics-1",
11
- productTitle: "Dragon Ball Super Saiyan Blue Goku 1/4 Scale Figure",
12
- userId: "user-john-doe-johndoe",
13
- userName: "John Doe",
14
- userEmail: "john@letitrip.in",
11
+ // ── 1. DELIVERED ─────────────────────────────────────────────────────────
12
+ {
13
+ id: "order-rahul-001-pokemon-etb",
14
+ productId: "product-pokemon-sv-etb",
15
+ productTitle: "Pokémon Scarlet & Violet Paldean Fates Elite Trainer Box",
16
+ userId: "user-rahul-sharma",
17
+ userName: "Rahul Sharma",
18
+ userEmail: "rahul.sharma@gmail.com",
19
+ storeId: "store-pokemon-palace",
20
+ storeName: "Pokémon Palace",
21
+ items: [
22
+ {
23
+ productId: "product-pokemon-sv-etb",
24
+ productTitle: "Pokémon Scarlet & Violet Paldean Fates Elite Trainer Box",
25
+ quantity: 1,
26
+ unitPrice: 449900,
27
+ totalPrice: 449900,
28
+ },
29
+ ],
15
30
  quantity: 1,
16
- unitPrice: 12490,
17
- totalPrice: 12490,
18
- currency: _CURRENCY,
19
- status: "delivered",
20
- paymentStatus: "paid",
21
- paymentId: "pay_001",
22
- paymentMethod: "credit_card",
23
- shippingAddress: "123 Marine Drive, Mumbai 400001",
24
- trackingNumber: "TRACK123456789",
25
- notes: "Deliver 10 AM - 6 PM",
26
- orderDate: daysAgo(53),
27
- shippingDate: daysAgo(52),
28
- deliveryDate: daysAgo(50),
29
- createdAt: daysAgo(53),
30
- updatedAt: daysAgo(50),
31
+ unitPrice: 449900,
32
+ totalPrice: 449900,
33
+ currency: "INR",
34
+ status: OrderStatusValues.DELIVERED,
35
+ paymentStatus: PaymentStatusValues.PAID,
36
+ paymentMethod: PaymentMethodValues.RAZORPAY,
37
+ paymentId: "pay_razorpay_001_demo",
38
+ shippingAddress: "204 Koramangala 5th Block, Bengaluru, Karnataka 560095",
39
+ trackingNumber: "DTDC987654321IN",
40
+ shippingCarrier: "DTDC",
41
+ trackingUrl: "https://www.dtdc.in/tracking",
42
+ shippingFee: 4900,
43
+ platformFee: 22495,
44
+ orderDate: daysAgo(28),
45
+ shippingDate: daysAgo(26),
46
+ deliveryDate: daysAgo(23),
47
+ payoutStatus: "paid",
48
+ createdAt: daysAgo(28),
49
+ updatedAt: daysAgo(23),
50
+ },
51
+ // ── 2. DELIVERED ─────────────────────────────────────────────────────────
52
+ {
53
+ id: "order-priya-002-nendoroid-rem",
54
+ productId: "product-nendoroid-rem-rezero",
55
+ productTitle: "Nendoroid Rem (Re:Zero) — Good Smile Company",
56
+ userId: "user-priya-patel",
57
+ userName: "Priya Patel",
58
+ userEmail: "priya.patel@gmail.com",
59
+ storeId: "store-letitrip-official",
60
+ storeName: "LetItRip Official",
61
+ items: [
62
+ {
63
+ productId: "product-nendoroid-rem-rezero",
64
+ productTitle: "Nendoroid Rem (Re:Zero) — Good Smile Company",
65
+ quantity: 1,
66
+ unitPrice: 499900,
67
+ totalPrice: 499900,
68
+ },
69
+ ],
70
+ quantity: 1,
71
+ unitPrice: 499900,
72
+ totalPrice: 499900,
73
+ currency: "INR",
74
+ status: OrderStatusValues.DELIVERED,
75
+ paymentStatus: PaymentStatusValues.PAID,
76
+ paymentMethod: PaymentMethodValues.UPI_MANUAL,
77
+ shippingAddress: "12 Satellite Road, Ahmedabad, Gujarat 380015",
78
+ trackingNumber: "SHR556677889",
79
+ shippingCarrier: "Shiprocket",
80
+ shippingFee: 0,
81
+ platformFee: 24995,
82
+ orderDate: daysAgo(21),
83
+ shippingDate: daysAgo(19),
84
+ deliveryDate: daysAgo(16),
85
+ payoutStatus: "paid",
86
+ createdAt: daysAgo(21),
87
+ updatedAt: daysAgo(16),
31
88
  },
89
+ // ── 3. SHIPPED ────────────────────────────────────────────────────────────
32
90
  {
33
- id: "order-1-20260120-b4n8q3",
34
- productId: "product-samsung-galaxy-s24-ultra-smartphones-new-techhub-electronics-1",
35
- productTitle: "Super Saiyan Vegeta Final Flash 1/4 Scale Statue",
36
- userId: "user-jane-smith-janes",
37
- userName: "Jane Smith",
38
- userEmail: "jane@letitrip.in",
91
+ id: "order-arjun-003-gundam-rx78",
92
+ productId: "product-gundam-rx78-mg",
93
+ productTitle: "MG 1/100 RX-78-2 Gundam Ver. 3.0",
94
+ userId: "user-arjun-singh",
95
+ userName: "Arjun Singh",
96
+ userEmail: "arjun.singh@gmail.com",
97
+ storeId: "store-letitrip-official",
98
+ storeName: "LetItRip Official",
99
+ items: [
100
+ {
101
+ productId: "product-gundam-rx78-mg",
102
+ productTitle: "MG 1/100 RX-78-2 Gundam Ver. 3.0",
103
+ quantity: 1,
104
+ unitPrice: 299900,
105
+ totalPrice: 299900,
106
+ },
107
+ ],
39
108
  quantity: 1,
40
- unitPrice: 9990,
41
- totalPrice: 9990,
42
- currency: _CURRENCY,
43
- status: "delivered",
44
- paymentStatus: "paid",
45
- paymentId: "pay_002",
46
- paymentMethod: "upi",
47
- shippingAddress: "45, Connaught Place, New Delhi, Delhi - 110001",
48
- trackingNumber: "TRACK987654321",
49
- orderDate: daysAgo(48),
50
- shippingDate: daysAgo(47),
51
- deliveryDate: daysAgo(45),
52
- createdAt: daysAgo(48),
53
- updatedAt: daysAgo(45),
54
- },
55
- {
56
- id: "order-2-20260125-r5t9w1",
57
- productId: "product-mens-cotton-casual-shirt-mens-fashion-new-fashion-boutique-1",
58
- productTitle: "Demon Slayer Tanjiro Kamado Graphic T-Shirt",
59
- userId: "user-mike-johnson-mikejohn",
60
- userName: "Mike Johnson",
61
- userEmail: "mike@letitrip.in",
109
+ unitPrice: 299900,
110
+ totalPrice: 299900,
111
+ currency: "INR",
112
+ status: OrderStatusValues.SHIPPED,
113
+ paymentStatus: PaymentStatusValues.PAID,
114
+ paymentMethod: PaymentMethodValues.RAZORPAY,
115
+ paymentId: "pay_razorpay_003_demo",
116
+ shippingAddress: "7 Tonk Road, Jaipur, Rajasthan 302001",
117
+ trackingNumber: "EKART4412238871",
118
+ shippingCarrier: "Ekart",
119
+ trackingUrl: "https://ekartlogistics.com/shipmenttrack",
120
+ shippingFee: 0,
121
+ platformFee: 14995,
122
+ orderDate: daysAgo(7),
123
+ shippingDate: daysAgo(5),
124
+ payoutStatus: "eligible",
125
+ createdAt: daysAgo(7),
126
+ updatedAt: daysAgo(5),
127
+ },
128
+ // ── 4. SHIPPED ────────────────────────────────────────────────────────────
129
+ {
130
+ id: "order-meera-004-beyblade-bx01",
131
+ productId: "product-beyblade-x-bx01-dran-sword",
132
+ productTitle: "Beyblade X BX-01 Dran Sword 4-60F Starter Set",
133
+ userId: "user-meera-nair",
134
+ userName: "Meera Nair",
135
+ userEmail: "meera.nair@gmail.com",
136
+ storeId: "store-beyblade-arena",
137
+ storeName: "Beyblade Arena",
138
+ items: [
139
+ {
140
+ productId: "product-beyblade-x-bx01-dran-sword",
141
+ productTitle: "Beyblade X BX-01 Dran Sword 4-60F Starter Set",
142
+ quantity: 2,
143
+ unitPrice: 199900,
144
+ totalPrice: 399800,
145
+ },
146
+ ],
62
147
  quantity: 2,
63
- unitPrice: 1499,
64
- totalPrice: 2998,
65
- currency: _CURRENCY,
66
- status: "delivered",
67
- paymentStatus: "paid",
68
- paymentId: "pay_003",
69
- paymentMethod: "debit_card",
70
- shippingAddress: "78, MG Road, Bangalore, Karnataka - 560001",
71
- trackingNumber: "TRACK456789123",
72
- orderDate: daysAgo(43),
73
- shippingDate: daysAgo(42),
74
- deliveryDate: daysAgo(40),
75
- createdAt: daysAgo(43),
76
- updatedAt: daysAgo(40),
77
- },
78
- // Shipped orders
79
- {
80
- id: "order-1-20260205-h2k6m4",
81
- productId: "product-macbook-pro-16-m3-max-laptops-computers-new-techhub-electronics-1",
82
- productTitle: "Monkey D. Luffy Gear 5 Sun God 1/4 Scale Scene Figure",
83
- userId: "user-john-doe-johndoe",
84
- userName: "John Doe",
85
- userEmail: "john@letitrip.in",
148
+ unitPrice: 199900,
149
+ totalPrice: 399800,
150
+ currency: "INR",
151
+ status: OrderStatusValues.SHIPPED,
152
+ paymentStatus: PaymentStatusValues.PAID,
153
+ paymentMethod: PaymentMethodValues.RAZORPAY,
154
+ paymentId: "pay_razorpay_004_demo",
155
+ shippingAddress: "Flat 8B, Marine Lines, Mumbai, Maharashtra 400002",
156
+ trackingNumber: "IP123456789IN",
157
+ shippingCarrier: "India Post",
158
+ shippingFee: 4900,
159
+ platformFee: 19990,
160
+ orderDate: daysAgo(5),
161
+ shippingDate: daysAgo(3),
162
+ payoutStatus: "eligible",
163
+ createdAt: daysAgo(5),
164
+ updatedAt: daysAgo(3),
165
+ },
166
+ // ── 5. PROCESSING ────────────────────────────────────────────────────────
167
+ {
168
+ id: "order-rahul-005-tomica-datsun",
169
+ productId: "product-tomica-limited-datsun",
170
+ productTitle: "Tomica Limited Vintage Datsun Bluebird 1600SSS (1969)",
171
+ userId: "user-rahul-sharma",
172
+ userName: "Rahul Sharma",
173
+ userEmail: "rahul.sharma@gmail.com",
174
+ storeId: "store-diecast-depot",
175
+ storeName: "Diecast Depot",
176
+ items: [
177
+ {
178
+ productId: "product-tomica-limited-datsun",
179
+ productTitle: "Tomica Limited Vintage Datsun Bluebird 1600SSS (1969)",
180
+ quantity: 1,
181
+ unitPrice: 299900,
182
+ totalPrice: 299900,
183
+ },
184
+ ],
86
185
  quantity: 1,
87
- unitPrice: 24990,
88
- totalPrice: 24990,
89
- currency: _CURRENCY,
90
- status: "shipped",
91
- paymentStatus: "paid",
92
- paymentId: "pay_004",
93
- paymentMethod: "credit_card",
94
- shippingAddress: "123, Marine Drive, Apartment 45, Mumbai, Maharashtra - 400001",
95
- trackingNumber: "TRACK789123456",
96
- orderDate: daysAgo(32),
97
- shippingDate: daysAgo(30),
98
- createdAt: daysAgo(32),
99
- updatedAt: daysAgo(30),
186
+ unitPrice: 299900,
187
+ totalPrice: 299900,
188
+ currency: "INR",
189
+ status: OrderStatusValues.PROCESSING,
190
+ paymentStatus: PaymentStatusValues.PAID,
191
+ paymentMethod: PaymentMethodValues.UPI_MANUAL,
192
+ shippingAddress: "204 Koramangala 5th Block, Bengaluru, Karnataka 560095",
193
+ shippingFee: 0,
194
+ platformFee: 14995,
195
+ orderDate: daysAgo(2),
196
+ payoutStatus: "eligible",
197
+ createdAt: daysAgo(2),
198
+ updatedAt: daysAgo(1),
100
199
  },
200
+ // ── 6. PENDING (awaiting payment) ────────────────────────────────────────
101
201
  {
102
- id: "order-3-20260206-m3n7p5",
103
- productId: "product-womens-ethnic-kurti-womens-fashion-new-fashion-boutique-1",
104
- productTitle: "Nezuko Kamado Pink Kimono Hoodie Dress",
105
- userId: "user-jane-smith-janes",
106
- userName: "Jane Smith",
107
- userEmail: "jane@letitrip.in",
108
- quantity: 3,
109
- unitPrice: 1999,
110
- totalPrice: 5997,
111
- currency: _CURRENCY,
112
- status: "shipped",
113
- paymentStatus: "paid",
114
- paymentId: "pay_005",
115
- paymentMethod: "netbanking",
116
- shippingAddress: "45, Connaught Place, New Delhi, Delhi - 110001",
117
- trackingNumber: "TRACK123789456",
118
- orderDate: daysAgo(31),
119
- shippingDate: daysAgo(29),
120
- createdAt: daysAgo(31),
121
- updatedAt: daysAgo(29),
122
- },
123
- // Confirmed orders (awaiting shipment)
124
- {
125
- id: "order-1-20260208-k2l4n8",
126
- productId: "product-non-stick-cookware-set-home-kitchen-new-home-essentials-1",
127
- productTitle: "My Neighbour Totoro Nendoroid No.1234 Deluxe Set",
128
- userId: "user-mike-johnson-mikejohn",
129
- userName: "Mike Johnson",
130
- userEmail: "mike@letitrip.in",
202
+ id: "order-priya-006-yugioh-tin",
203
+ productId: "product-yugioh-25th-tin",
204
+ productTitle: "Yu-Gi-Oh! 25th Anniversary Tin: Dueling Heroes",
205
+ userId: "user-priya-patel",
206
+ userName: "Priya Patel",
207
+ userEmail: "priya.patel@gmail.com",
208
+ storeId: "store-cardgame-hub",
209
+ storeName: "CardGame Hub",
210
+ items: [
211
+ {
212
+ productId: "product-yugioh-25th-tin",
213
+ productTitle: "Yu-Gi-Oh! 25th Anniversary Tin: Dueling Heroes",
214
+ quantity: 1,
215
+ unitPrice: 299900,
216
+ totalPrice: 299900,
217
+ },
218
+ ],
131
219
  quantity: 1,
132
- unitPrice: 3499,
133
- totalPrice: 3499,
134
- currency: _CURRENCY,
135
- status: "confirmed",
136
- paymentStatus: "paid",
137
- paymentId: "pay_006",
138
- paymentMethod: "cod",
139
- shippingAddress: "78, MG Road, Bangalore, Karnataka - 560001",
140
- orderDate: daysAgo(29),
141
- createdAt: daysAgo(29),
142
- updatedAt: daysAgo(29),
143
- },
144
- {
145
- id: "order-3-20260208-v1w7x2",
146
- productId: "product-yoga-mat-with-carrying-bag-sports-outdoors-new-home-essentials-1",
147
- productTitle: "Gundam RX-78-2 Perfect Grade 1/60 Model Kit",
148
- userId: "user-john-doe-johndoe",
149
- userName: "John Doe",
150
- userEmail: "john@letitrip.in",
151
- quantity: 2,
152
- unitPrice: 1299,
153
- totalPrice: 2598,
154
- currency: _CURRENCY,
155
- status: "confirmed",
156
- paymentStatus: "paid",
157
- paymentId: "pay_007",
158
- paymentMethod: "upi",
159
- shippingAddress: "123, Marine Drive, Apartment 45, Mumbai, Maharashtra - 400001",
160
- orderDate: daysAgo(29),
161
- createdAt: daysAgo(29),
162
- updatedAt: daysAgo(29),
163
- },
164
- // Pending orders
165
- {
166
- id: "order-1-20260209-d6f2h1",
167
- productId: "product-google-pixel-8-pro-smartphones-new-techhub-electronics-1",
168
- productTitle: "Ultra Instinct Goku Premium 1/6 Scale Figure",
169
- userId: "user-jane-smith-janes",
170
- userName: "Jane Smith",
171
- userEmail: "jane@letitrip.in",
220
+ unitPrice: 299900,
221
+ totalPrice: 299900,
222
+ currency: "INR",
223
+ status: OrderStatusValues.PENDING,
224
+ paymentStatus: PaymentStatusValues.PENDING,
225
+ paymentMethod: PaymentMethodValues.RAZORPAY,
226
+ shippingAddress: "12 Satellite Road, Ahmedabad, Gujarat 380015",
227
+ shippingFee: 4900,
228
+ platformFee: 14995,
229
+ orderDate: daysAgo(0),
230
+ payoutStatus: "eligible",
231
+ createdAt: daysAgo(0),
232
+ updatedAt: daysAgo(0),
233
+ },
234
+ // ── 7. CANCELLED (buyer-initiated pre-dispatch) ───────────────────────────
235
+ {
236
+ id: "order-arjun-007-funko-naruto",
237
+ productId: "product-funko-pop-naruto-sage",
238
+ productTitle: "Funko Pop! Naruto Sage Mode #932",
239
+ userId: "user-arjun-singh",
240
+ userName: "Arjun Singh",
241
+ userEmail: "arjun.singh@gmail.com",
242
+ storeId: "store-letitrip-official",
243
+ storeName: "LetItRip Official",
244
+ items: [
245
+ {
246
+ productId: "product-funko-pop-naruto-sage",
247
+ productTitle: "Funko Pop! Naruto Sage Mode #932",
248
+ quantity: 1,
249
+ unitPrice: 149900,
250
+ totalPrice: 149900,
251
+ },
252
+ ],
172
253
  quantity: 1,
173
- unitPrice: 6990,
174
- totalPrice: 6990,
175
- currency: _CURRENCY,
176
- status: "pending",
177
- paymentStatus: "pending",
178
- paymentMethod: "credit_card",
179
- shippingAddress: "45, Connaught Place, New Delhi, Delhi - 110001",
180
- orderDate: daysAgo(28),
181
- createdAt: daysAgo(28),
182
- updatedAt: daysAgo(28),
254
+ unitPrice: 149900,
255
+ totalPrice: 149900,
256
+ currency: "INR",
257
+ status: OrderStatusValues.CANCELLED,
258
+ paymentStatus: PaymentStatusValues.REFUNDED,
259
+ paymentMethod: PaymentMethodValues.RAZORPAY,
260
+ paymentId: "pay_razorpay_007_demo",
261
+ shippingAddress: "7 Tonk Road, Jaipur, Rajasthan 302001",
262
+ shippingFee: 0,
263
+ platformFee: 0,
264
+ orderDate: daysAgo(15),
265
+ cancellationDate: daysAgo(14),
266
+ cancellationReason: "Changed mind — found the item locally",
267
+ refundAmount: 149900,
268
+ refundStatus: "completed",
269
+ refundNote: "Full refund issued — item was not yet dispatched",
270
+ payoutStatus: "eligible",
271
+ createdAt: daysAgo(15),
272
+ updatedAt: daysAgo(13),
183
273
  },
184
- // Cancelled order
274
+ // ── 8. REFUNDED (post-delivery dispute resolved) ──────────────────────────
185
275
  {
186
- id: "order-1-20260128-t9u3v7",
187
- productId: "product-dell-xps-15-laptops-computers-new-techhub-electronics-1",
188
- productTitle: "Roronoa Zoro Enma Slash Diorama 1/7 Scale",
189
- userId: "user-mike-johnson-mikejohn",
190
- userName: "Mike Johnson",
191
- userEmail: "mike@letitrip.in",
276
+ id: "order-meera-008-hot-wheels-banana",
277
+ productId: "product-hot-wheels-redline-banana-1968",
278
+ productTitle: "Hot Wheels 1968 Redline Banana Camaro (Custom)",
279
+ userId: "user-meera-nair",
280
+ userName: "Meera Nair",
281
+ userEmail: "meera.nair@gmail.com",
282
+ storeId: "store-diecast-depot",
283
+ storeName: "Diecast Depot",
284
+ items: [
285
+ {
286
+ productId: "product-hot-wheels-redline-banana-1968",
287
+ productTitle: "Hot Wheels 1968 Redline Banana Camaro (Custom)",
288
+ quantity: 1,
289
+ unitPrice: 1299900,
290
+ totalPrice: 1299900,
291
+ },
292
+ ],
192
293
  quantity: 1,
193
- unitPrice: 18990,
194
- totalPrice: 18990,
195
- currency: _CURRENCY,
196
- status: "cancelled",
197
- paymentStatus: "refunded",
198
- paymentId: "pay_009",
199
- paymentMethod: "debit_card",
200
- shippingAddress: "78, MG Road, Bangalore, Karnataka - 560001",
201
- cancellationDate: daysAgo(38),
202
- cancellationReason: "Customer cancelled - found better price",
203
- refundAmount: 18990,
294
+ unitPrice: 1299900,
295
+ totalPrice: 1299900,
296
+ currency: "INR",
297
+ status: OrderStatusValues.REFUNDED,
298
+ paymentStatus: PaymentStatusValues.REFUNDED,
299
+ paymentMethod: PaymentMethodValues.RAZORPAY,
300
+ paymentId: "pay_razorpay_008_demo",
301
+ shippingAddress: "Flat 8B, Marine Lines, Mumbai, Maharashtra 400002",
302
+ trackingNumber: "DELHIVERY778899001",
303
+ shippingCarrier: "Delhivery",
304
+ shippingFee: 0,
305
+ platformFee: 0,
306
+ orderDate: daysAgo(35),
307
+ shippingDate: daysAgo(33),
308
+ deliveryDate: daysAgo(30),
309
+ refundAmount: 1299900,
204
310
  refundStatus: "completed",
311
+ refundNote: "Car not Redline era — post-1977 baseplate found after delivery. Full refund issued after dispute mediation.",
312
+ payoutStatus: "eligible",
313
+ createdAt: daysAgo(35),
314
+ updatedAt: daysAgo(25),
315
+ },
316
+ // ── 9. RETURN REQUESTED (under review) ───────────────────────────────────
317
+ {
318
+ id: "order-rahul-009-beyblade-burst",
319
+ productId: "product-beyblade-burst-b200-valkyrie",
320
+ productTitle: "Beyblade Burst B-200 Brave Valkyrie Evolution",
321
+ userId: "user-rahul-sharma",
322
+ userName: "Rahul Sharma",
323
+ userEmail: "rahul.sharma@gmail.com",
324
+ storeId: "store-beyblade-arena",
325
+ storeName: "Beyblade Arena",
326
+ items: [
327
+ {
328
+ productId: "product-beyblade-burst-b200-valkyrie",
329
+ productTitle: "Beyblade Burst B-200 Brave Valkyrie Evolution",
330
+ quantity: 1,
331
+ unitPrice: 249900,
332
+ totalPrice: 249900,
333
+ },
334
+ ],
335
+ quantity: 1,
336
+ unitPrice: 249900,
337
+ totalPrice: 249900,
338
+ currency: "INR",
339
+ status: OrderStatusValues.RETURN_REQUESTED,
340
+ paymentStatus: PaymentStatusValues.PAID,
341
+ paymentMethod: PaymentMethodValues.UPI_MANUAL,
342
+ shippingAddress: "204 Koramangala 5th Block, Bengaluru, Karnataka 560095",
343
+ trackingNumber: "SHR112233445",
344
+ shippingCarrier: "Shiprocket",
345
+ shippingFee: 0,
346
+ platformFee: 12495,
347
+ orderDate: daysAgo(10),
348
+ shippingDate: daysAgo(8),
349
+ deliveryDate: daysAgo(5),
350
+ notes: "Buyer reports Beyblade passport QR doesn't scan — suspects bootleg despite listing claiming official Takara Tomy. Dispute under investigation.",
351
+ payoutStatus: "eligible",
352
+ createdAt: daysAgo(10),
353
+ updatedAt: daysAgo(2),
354
+ },
355
+ // ── 10. DELIVERED with coupon ─────────────────────────────────────────────
356
+ {
357
+ id: "order-priya-010-shf-goku",
358
+ productId: "product-shf-goku-ultra-instinct",
359
+ productTitle: "S.H.Figuarts Goku Ultra Instinct -Sign-",
360
+ userId: "user-priya-patel",
361
+ userName: "Priya Patel",
362
+ userEmail: "priya.patel@gmail.com",
363
+ storeId: "store-letitrip-official",
364
+ storeName: "LetItRip Official",
365
+ items: [
366
+ {
367
+ productId: "product-shf-goku-ultra-instinct",
368
+ productTitle: "S.H.Figuarts Goku Ultra Instinct -Sign-",
369
+ quantity: 1,
370
+ unitPrice: 699900,
371
+ totalPrice: 699900,
372
+ },
373
+ ],
374
+ quantity: 1,
375
+ unitPrice: 699900,
376
+ totalPrice: 649900,
377
+ currency: "INR",
378
+ status: OrderStatusValues.DELIVERED,
379
+ paymentStatus: PaymentStatusValues.PAID,
380
+ paymentMethod: PaymentMethodValues.RAZORPAY,
381
+ paymentId: "pay_razorpay_010_demo",
382
+ couponCode: "WELCOME10",
383
+ couponDiscount: 50000,
384
+ appliedDiscounts: [
385
+ {
386
+ code: "WELCOME10",
387
+ couponId: "coupon-welcome10",
388
+ type: "coupon",
389
+ discountAmount: 50000,
390
+ scope: "admin",
391
+ },
392
+ ],
393
+ shippingAddress: "12 Satellite Road, Ahmedabad, Gujarat 380015",
394
+ trackingNumber: "DTDC556677889",
395
+ shippingCarrier: "DTDC",
396
+ shippingFee: 0,
397
+ platformFee: 32495,
398
+ orderDate: daysAgo(18),
399
+ shippingDate: daysAgo(16),
400
+ deliveryDate: daysAgo(13),
401
+ payoutStatus: "paid",
402
+ createdAt: daysAgo(18),
403
+ updatedAt: daysAgo(13),
404
+ },
405
+ // ── 11. DELIVERED — Anjali / Pokemon 151 ETB ─────────────────────────────
406
+ {
407
+ id: "order-anjali-011-151-etb",
408
+ productId: "product-pokemon-151-etb",
409
+ productTitle: "Pokémon TCG: Scarlet & Violet — 151 Elite Trainer Box",
410
+ userId: "user-anjali-verma",
411
+ userName: "Anjali Verma",
412
+ userEmail: "anjali.verma@gmail.com",
413
+ storeId: "store-pokemon-palace",
414
+ storeName: "Pokémon Palace",
415
+ items: [{ productId: "product-pokemon-151-etb", productTitle: "Pokémon TCG: SV 151 ETB", quantity: 1, unitPrice: 549900, totalPrice: 549900 }],
416
+ quantity: 1,
417
+ unitPrice: 549900,
418
+ totalPrice: 549900,
419
+ currency: "INR",
420
+ status: OrderStatusValues.DELIVERED,
421
+ paymentStatus: PaymentStatusValues.PAID,
422
+ paymentMethod: PaymentMethodValues.RAZORPAY,
423
+ paymentId: "pay_razorpay_011_demo",
424
+ shippingAddress: "45 Janakpuri, New Delhi 110058",
425
+ trackingNumber: "BLUE112233445",
426
+ shippingCarrier: "Bluedart",
427
+ shippingFee: 0,
428
+ platformFee: 27495,
429
+ orderDate: daysAgo(35),
430
+ shippingDate: daysAgo(33),
431
+ deliveryDate: daysAgo(30),
432
+ payoutStatus: "paid",
433
+ createdAt: daysAgo(35),
434
+ updatedAt: daysAgo(30),
435
+ },
436
+ // ── 12. DELIVERED — Rohit / OP-06 Booster Box ────────────────────────────
437
+ {
438
+ id: "order-rohit-012-op06-box",
439
+ productId: "product-onepiece-op06-booster-box",
440
+ productTitle: "One Piece Card Game: OP-06 Wings of the Captain Booster Box",
441
+ userId: "user-rohit-verma",
442
+ userName: "Rohit Verma",
443
+ userEmail: "rohit.verma@gmail.com",
444
+ storeId: "store-cardgame-hub",
445
+ storeName: "CardGame Hub",
446
+ items: [{ productId: "product-onepiece-op06-booster-box", productTitle: "OP-06 Wings of the Captain Booster Box", quantity: 1, unitPrice: 549900, totalPrice: 549900 }],
447
+ quantity: 1,
448
+ unitPrice: 549900,
449
+ totalPrice: 549900,
450
+ currency: "INR",
451
+ status: OrderStatusValues.DELIVERED,
452
+ paymentStatus: PaymentStatusValues.PAID,
453
+ paymentMethod: PaymentMethodValues.UPI_MANUAL,
454
+ shippingAddress: "67 Dwarka Sector 10, New Delhi 110075",
455
+ trackingNumber: "EKART778899001",
456
+ shippingCarrier: "Ekart",
457
+ shippingFee: 4900,
458
+ platformFee: 27495,
459
+ orderDate: daysAgo(32),
460
+ shippingDate: daysAgo(30),
461
+ deliveryDate: daysAgo(27),
462
+ payoutStatus: "paid",
463
+ createdAt: daysAgo(32),
464
+ updatedAt: daysAgo(27),
465
+ },
466
+ // ── 13. DELIVERED — Pooja / Alter Rem Wedding ─────────────────────────────
467
+ {
468
+ id: "order-pooja-013-alter-rem",
469
+ productId: "product-alter-rem-wedding-scale",
470
+ productTitle: "ALTER: Re:ZERO — Rem (Wedding Ver.) 1/7 Scale Figure",
471
+ userId: "user-pooja-sharma",
472
+ userName: "Pooja Sharma",
473
+ userEmail: "pooja.sharma@gmail.com",
474
+ storeId: "store-tokyo-toys-india",
475
+ storeName: "Tokyo Toys India",
476
+ items: [{ productId: "product-alter-rem-wedding-scale", productTitle: "ALTER Rem Wedding Ver. 1/7", quantity: 1, unitPrice: 1299900, totalPrice: 1299900 }],
477
+ quantity: 1,
478
+ unitPrice: 1299900,
479
+ totalPrice: 1299900,
480
+ currency: "INR",
481
+ status: OrderStatusValues.DELIVERED,
482
+ paymentStatus: PaymentStatusValues.PAID,
483
+ paymentMethod: PaymentMethodValues.RAZORPAY,
484
+ paymentId: "pay_razorpay_013_demo",
485
+ shippingAddress: "202 Bandra West, Mumbai, Maharashtra 400050",
486
+ trackingNumber: "SHPR334455667",
487
+ shippingCarrier: "Shiprocket",
488
+ shippingFee: 0,
489
+ platformFee: 64995,
205
490
  orderDate: daysAgo(40),
491
+ shippingDate: daysAgo(38),
492
+ deliveryDate: daysAgo(34),
493
+ payoutStatus: "paid",
206
494
  createdAt: daysAgo(40),
207
- updatedAt: daysAgo(38),
495
+ updatedAt: daysAgo(34),
208
496
  },
209
- // Returned order
497
+ // ── 14. DELIVERED — Kiran / PG Unleashed RX-78-2 ─────────────────────────
210
498
  {
211
- id: "order-1-20260128-s4t7u1",
212
- productId: "product-mens-cotton-casual-shirt-mens-fashion-new-fashion-boutique-1",
213
- productTitle: "Demon Slayer Tanjiro Kamado Graphic T-Shirt",
214
- userId: "user-john-doe-johndoe",
215
- userName: "John Doe",
216
- userEmail: "john@letitrip.in",
499
+ id: "order-kiran-014-pg-rx78",
500
+ productId: "product-pg-unleashed-rx78-2",
501
+ productTitle: "Bandai PG Unleashed 1/60: RX-78-2 Gundam",
502
+ userId: "user-kiran-reddy",
503
+ userName: "Kiran Reddy",
504
+ userEmail: "kiran.reddy@gmail.com",
505
+ storeId: "store-gundam-galaxy",
506
+ storeName: "Gundam Galaxy",
507
+ items: [{ productId: "product-pg-unleashed-rx78-2", productTitle: "PG Unleashed RX-78-2 Gundam", quantity: 1, unitPrice: 2499900, totalPrice: 2499900 }],
217
508
  quantity: 1,
218
- unitPrice: 1499,
219
- totalPrice: 1499,
220
- currency: _CURRENCY,
221
- status: "returned",
222
- paymentStatus: "refunded",
223
- paymentId: "pay_010",
224
- paymentMethod: "upi",
225
- shippingAddress: "123, Marine Drive, Apartment 45, Mumbai, Maharashtra - 400001",
226
- trackingNumber: "TRACK321654987",
227
- cancellationReason: "Size issue - exchanged",
228
- refundAmount: 1499,
229
- refundStatus: "completed",
230
- orderDate: daysAgo(58),
231
- shippingDate: daysAgo(57),
232
- deliveryDate: daysAgo(55),
233
- cancellationDate: daysAgo(50),
234
- createdAt: daysAgo(58),
235
- updatedAt: daysAgo(48),
236
- },
237
- // Payment failed order
238
- {
239
- id: "order-1-20260208-z1x5c9",
240
- productId: "product-samsung-galaxy-s24-ultra-smartphones-new-techhub-electronics-1",
241
- productTitle: "Super Saiyan Vegeta Final Flash 1/4 Scale Statue",
242
- userId: "user-mike-johnson-mikejohn",
243
- userName: "Mike Johnson",
244
- userEmail: "mike@letitrip.in",
509
+ unitPrice: 2499900,
510
+ totalPrice: 2499900,
511
+ currency: "INR",
512
+ status: OrderStatusValues.DELIVERED,
513
+ paymentStatus: PaymentStatusValues.PAID,
514
+ paymentMethod: PaymentMethodValues.RAZORPAY,
515
+ paymentId: "pay_razorpay_014_demo",
516
+ shippingAddress: "18 Kondapur, Hyderabad, Telangana 500084",
517
+ trackingNumber: "BLUE889900112",
518
+ shippingCarrier: "Bluedart",
519
+ shippingFee: 0,
520
+ platformFee: 124995,
521
+ orderDate: daysAgo(45),
522
+ shippingDate: daysAgo(43),
523
+ deliveryDate: daysAgo(39),
524
+ payoutStatus: "paid",
525
+ createdAt: daysAgo(45),
526
+ updatedAt: daysAgo(39),
527
+ },
528
+ // ── 15. DELIVERED — Naman / Surging Sparks Booster Box ───────────────────
529
+ {
530
+ id: "order-naman-015-surging-sparks",
531
+ productId: "product-pokemon-surging-sparks-booster",
532
+ productTitle: "Pokémon TCG: Surging Sparks Booster Box (36 Packs)",
533
+ userId: "user-naman-gupta",
534
+ userName: "Naman Gupta",
535
+ userEmail: "naman.gupta@gmail.com",
536
+ storeId: "store-pokemon-palace",
537
+ storeName: "Pokémon Palace",
538
+ items: [{ productId: "product-pokemon-surging-sparks-booster", productTitle: "Surging Sparks Booster Box 36-pack", quantity: 1, unitPrice: 1299900, totalPrice: 1299900 }],
245
539
  quantity: 1,
246
- unitPrice: 9990,
247
- totalPrice: 9990,
248
- currency: _CURRENCY,
249
- status: "pending",
250
- paymentStatus: "failed",
251
- paymentId: "pay_011_failed",
252
- paymentMethod: "credit_card",
253
- shippingAddress: "78, MG Road, Bangalore, Karnataka - 560001",
254
- notes: "Payment timeout",
255
- orderDate: daysAgo(29),
256
- createdAt: daysAgo(29),
257
- updatedAt: daysAgo(29),
258
- },
259
- // Multiple items order
260
- {
261
- id: "order-5-20260201-w8y2a6",
262
- productId: "product-yoga-mat-with-carrying-bag-sports-outdoors-new-home-essentials-1",
263
- productTitle: "Gundam RX-78-2 Perfect Grade 1/60 Model Kit",
264
- userId: "user-jane-smith-janes",
265
- userName: "Jane Smith",
266
- userEmail: "jane@letitrip.in",
267
- quantity: 5,
268
- unitPrice: 4999,
269
- totalPrice: 24995,
270
- currency: _CURRENCY,
271
- status: "delivered",
272
- paymentStatus: "paid",
273
- paymentId: "pay_012",
274
- paymentMethod: "netbanking",
275
- shippingAddress: "45, Connaught Place, New Delhi, Delhi - 110001",
276
- trackingNumber: "TRACK654987321",
277
- notes: "Bulk order for Gunpla club",
278
- orderDate: daysAgo(36),
279
- shippingDate: daysAgo(35),
280
- deliveryDate: daysAgo(32),
281
- createdAt: daysAgo(36),
282
- updatedAt: daysAgo(32),
283
- },
284
- // --- Pending Orders --------------------------------------------------------
285
- {
286
- id: "order-pending-1-20260219-np3k7x",
287
- productId: "product-mens-oxford-shirt-fashion-new-fashionboutique-1",
288
- productTitle: "Attack on Titan Scout Regiment Cosplay Jacket",
289
- userId: "user-raj-patel-rajpatel",
290
- userName: "Raj Patel",
291
- userEmail: "raj@letitrip.in",
540
+ unitPrice: 1299900,
541
+ totalPrice: 1299900,
542
+ currency: "INR",
543
+ status: OrderStatusValues.DELIVERED,
544
+ paymentStatus: PaymentStatusValues.PAID,
545
+ paymentMethod: PaymentMethodValues.RAZORPAY,
546
+ paymentId: "pay_razorpay_015_demo",
547
+ shippingAddress: "44 Sector 17, Chandigarh 160017",
548
+ trackingNumber: "DTDC223344556",
549
+ shippingCarrier: "DTDC",
550
+ shippingFee: 0,
551
+ platformFee: 64995,
552
+ orderDate: daysAgo(38),
553
+ shippingDate: daysAgo(36),
554
+ deliveryDate: daysAgo(33),
555
+ payoutStatus: "paid",
556
+ createdAt: daysAgo(38),
557
+ updatedAt: daysAgo(33),
558
+ },
559
+ // ── 16. SHIPPED — Preeti / BX-01 Dran Sword ──────────────────────────────
560
+ {
561
+ id: "order-preeti-016-dran-sword",
562
+ productId: "product-beyblade-x-bx01-dran-sword",
563
+ productTitle: "Beyblade X: BX-01 Dran Sword 3-60F — Starter Pack",
564
+ userId: "user-preeti-joshi",
565
+ userName: "Preeti Joshi",
566
+ userEmail: "preeti.joshi@gmail.com",
567
+ storeId: "store-beyblade-arena",
568
+ storeName: "Beyblade Arena",
569
+ items: [{ productId: "product-beyblade-x-bx01-dran-sword", productTitle: "BX-01 Dran Sword Starter Pack", quantity: 2, unitPrice: 159900, totalPrice: 319800 }],
292
570
  quantity: 2,
293
- unitPrice: 1299,
294
- totalPrice: 2598,
295
- currency: _CURRENCY,
296
- status: "pending",
297
- paymentStatus: "pending",
298
- shippingAddress: "12 MG Road, Ahmedabad, Gujarat - 380009",
299
- orderDate: daysAgo(18),
300
- createdAt: daysAgo(18),
301
- updatedAt: daysAgo(18),
571
+ unitPrice: 159900,
572
+ totalPrice: 319800,
573
+ currency: "INR",
574
+ status: OrderStatusValues.SHIPPED,
575
+ paymentStatus: PaymentStatusValues.PAID,
576
+ paymentMethod: PaymentMethodValues.UPI_MANUAL,
577
+ shippingAddress: "7 MP Nagar Zone 2, Bhopal, Madhya Pradesh 462011",
578
+ trackingNumber: "EKART556677890",
579
+ shippingCarrier: "Ekart",
580
+ shippingFee: 4900,
581
+ platformFee: 15990,
582
+ orderDate: daysAgo(5),
583
+ shippingDate: daysAgo(3),
584
+ payoutStatus: "eligible",
585
+ createdAt: daysAgo(5),
586
+ updatedAt: daysAgo(3),
302
587
  },
588
+ // ── 17. SHIPPED — Varun / figma Makima ───────────────────────────────────
303
589
  {
304
- id: "order-pending-2-20260218-bm9q2y",
305
- productId: "product-premium-yoga-mat-sports-new-sportszone-1",
306
- productTitle: "Naruto Sage Mode Toad Sage 1/7 Scale PVC Figure",
307
- userId: "user-vikram-nair-vikram",
308
- userName: "Vikram Nair",
309
- userEmail: "vikram@letitrip.in",
590
+ id: "order-varun-017-figma-makima",
591
+ productId: "product-figma-makima-chainsaw-man",
592
+ productTitle: "figma: Chainsaw Man Makima",
593
+ userId: "user-varun-bhat",
594
+ userName: "Varun Bhat",
595
+ userEmail: "varun.bhat@gmail.com",
596
+ storeId: "store-tokyo-toys-india",
597
+ storeName: "Tokyo Toys India",
598
+ items: [{ productId: "product-figma-makima-chainsaw-man", productTitle: "figma Makima (Chainsaw Man)", quantity: 1, unitPrice: 679900, totalPrice: 679900 }],
310
599
  quantity: 1,
311
- unitPrice: 3999,
312
- totalPrice: 3999,
313
- currency: _CURRENCY,
314
- status: "pending",
315
- paymentStatus: "paid",
316
- paymentId: "pay_013",
317
- paymentMethod: "upi",
318
- shippingAddress: "88/4 MG Road, Kochi, Kerala - 682001",
319
- notes: "Please include invoice",
320
- orderDate: daysAgo(19),
321
- createdAt: daysAgo(19),
322
- updatedAt: daysAgo(19),
323
- },
324
- // --- Confirmed Orders ------------------------------------------------------
325
- {
326
- id: "order-confirmed-1-20260217-ck4t8w",
327
- productId: "product-prestige-pressure-cooker-home-new-homeessentials-1",
328
- productTitle: "Rem & Ram Re:Zero Nendoroid Duo Set",
329
- userId: "user-priya-sharma-priya",
330
- userName: "Priya Sharma",
331
- userEmail: "priya@letitrip.in",
600
+ unitPrice: 679900,
601
+ totalPrice: 679900,
602
+ currency: "INR",
603
+ status: OrderStatusValues.SHIPPED,
604
+ paymentStatus: PaymentStatusValues.PAID,
605
+ paymentMethod: PaymentMethodValues.RAZORPAY,
606
+ paymentId: "pay_razorpay_017_demo",
607
+ shippingAddress: "3 Light House Hill, Mangalore, Karnataka 575001",
608
+ trackingNumber: "SHPR667788901",
609
+ shippingCarrier: "Shiprocket",
610
+ shippingFee: 4900,
611
+ platformFee: 33995,
612
+ orderDate: daysAgo(4),
613
+ shippingDate: daysAgo(2),
614
+ payoutStatus: "eligible",
615
+ createdAt: daysAgo(4),
616
+ updatedAt: daysAgo(2),
617
+ },
618
+ // ── 18. SHIPPED — Rahul / Charizard ex SAR ───────────────────────────────
619
+ {
620
+ id: "order-rahul-018-charizard-sar",
621
+ productId: "product-pokemon-charizard-ex-sar-sv",
622
+ productTitle: "Pokémon TCG: Charizard ex — Special Illustration Rare (SV3)",
623
+ userId: "user-rahul-sharma",
624
+ userName: "Rahul Sharma",
625
+ userEmail: "rahul.sharma@gmail.com",
626
+ storeId: "store-pokemon-palace",
627
+ storeName: "Pokémon Palace",
628
+ items: [{ productId: "product-pokemon-charizard-ex-sar-sv", productTitle: "Charizard ex SIR (Obsidian Flames)", quantity: 1, unitPrice: 349900, totalPrice: 349900 }],
332
629
  quantity: 1,
333
- unitPrice: 2499,
334
- totalPrice: 2499,
335
- currency: _CURRENCY,
336
- status: "confirmed",
337
- paymentStatus: "paid",
338
- paymentId: "pay_014",
339
- paymentMethod: "credit_card",
340
- shippingAddress: "34 Banjara Hills, Hyderabad, Telangana - 500034",
341
- orderDate: daysAgo(20),
342
- createdAt: daysAgo(20),
343
- updatedAt: daysAgo(20),
630
+ unitPrice: 349900,
631
+ totalPrice: 349900,
632
+ currency: "INR",
633
+ status: OrderStatusValues.SHIPPED,
634
+ paymentStatus: PaymentStatusValues.PAID,
635
+ paymentMethod: PaymentMethodValues.RAZORPAY,
636
+ paymentId: "pay_razorpay_018_demo",
637
+ shippingAddress: "204 Koramangala 5th Block, Bengaluru, Karnataka 560095",
638
+ trackingNumber: "BLUE445566778",
639
+ shippingCarrier: "Bluedart",
640
+ shippingFee: 0,
641
+ platformFee: 17495,
642
+ orderDate: daysAgo(3),
643
+ shippingDate: daysAgo(1),
644
+ payoutStatus: "eligible",
645
+ createdAt: daysAgo(3),
646
+ updatedAt: daysAgo(1),
344
647
  },
648
+ // ── 19. PROCESSING — Priya / MG Nu Gundam Ver Ka ─────────────────────────
345
649
  {
346
- id: "order-confirmed-2-20260216-fp7r1v",
347
- productId: "product-samsung-galaxy-watch6-electronics-new-techhub-1",
348
- productTitle: "Dragon Ball Z Scouter Replica & Capsule Corp Gift Set",
349
- userId: "user-john-doe-johndoe",
350
- userName: "John Doe",
351
- userEmail: "john@letitrip.in",
650
+ id: "order-priya-019-mg-nu-gundam",
651
+ productId: "product-mg-nu-gundam-ver-ka",
652
+ productTitle: "Bandai MG 1/100: RX-93 Nu Gundam (Ver. Ka)",
653
+ userId: "user-priya-patel",
654
+ userName: "Priya Patel",
655
+ userEmail: "priya.patel@gmail.com",
656
+ storeId: "store-gundam-galaxy",
657
+ storeName: "Gundam Galaxy",
658
+ items: [{ productId: "product-mg-nu-gundam-ver-ka", productTitle: "MG Nu Gundam Ver. Ka 1/100", quantity: 1, unitPrice: 749900, totalPrice: 749900 }],
352
659
  quantity: 1,
353
- unitPrice: 4999,
354
- totalPrice: 4999,
355
- currency: _CURRENCY,
356
- status: "confirmed",
357
- paymentStatus: "paid",
358
- paymentId: "pay_015",
359
- paymentMethod: "debit_card",
360
- shippingAddress: "123 Marine Drive, Mumbai, Maharashtra - 400001",
361
- orderDate: daysAgo(21),
362
- createdAt: daysAgo(21),
363
- updatedAt: daysAgo(21),
660
+ unitPrice: 749900,
661
+ totalPrice: 749900,
662
+ currency: "INR",
663
+ status: OrderStatusValues.PROCESSING,
664
+ paymentStatus: PaymentStatusValues.PAID,
665
+ paymentMethod: PaymentMethodValues.RAZORPAY,
666
+ paymentId: "pay_razorpay_019_demo",
667
+ shippingAddress: "12 Satellite Road, Ahmedabad, Gujarat 380015",
668
+ shippingFee: 0,
669
+ platformFee: 37495,
670
+ orderDate: daysAgo(2),
671
+ payoutStatus: "eligible",
672
+ createdAt: daysAgo(2),
673
+ updatedAt: daysAgo(1),
364
674
  },
675
+ // ── 20. PROCESSING — Arjun / MAFEX Miles Morales ─────────────────────────
365
676
  {
366
- id: "order-confirmed-3-20260215-gx2s5u",
367
- productId: "product-womens-anarkali-kurta-fashion-new-fashionboutique-1",
368
- productTitle: "Sailor Moon Neo Queen Serenity Cosplay Dress Set",
369
- userId: "user-vikram-nair-vikram",
370
- userName: "Vikram Nair",
371
- userEmail: "vikram@letitrip.in",
677
+ id: "order-arjun-020-mafex-miles",
678
+ productId: "product-mafex-miles-morales-spiderman",
679
+ productTitle: "MAFEX No.240: Miles Morales Spider-Man",
680
+ userId: "user-arjun-singh",
681
+ userName: "Arjun Singh",
682
+ userEmail: "arjun.singh@gmail.com",
683
+ storeId: "store-letitrip-official",
684
+ storeName: "LetItRip Official",
685
+ items: [{ productId: "product-mafex-miles-morales-spiderman", productTitle: "MAFEX Miles Morales #240", quantity: 1, unitPrice: 849900, totalPrice: 849900 }],
372
686
  quantity: 1,
373
- unitPrice: 2899,
374
- totalPrice: 2899,
375
- currency: _CURRENCY,
376
- status: "confirmed",
377
- paymentStatus: "paid",
378
- paymentId: "pay_016",
379
- paymentMethod: "upi",
380
- shippingAddress: "88/4 MG Road, Kochi, Kerala - 682001",
381
- notes: "For Holi celebration, please ensure timely delivery",
382
- orderDate: daysAgo(22),
383
- createdAt: daysAgo(22),
384
- updatedAt: daysAgo(22),
687
+ unitPrice: 849900,
688
+ totalPrice: 849900,
689
+ currency: "INR",
690
+ status: OrderStatusValues.PROCESSING,
691
+ paymentStatus: PaymentStatusValues.PAID,
692
+ paymentMethod: PaymentMethodValues.UPI_MANUAL,
693
+ shippingAddress: "78 Indiranagar 100 Ft Road, Bengaluru 560038",
694
+ shippingFee: 0,
695
+ platformFee: 42495,
696
+ orderDate: daysAgo(1),
697
+ payoutStatus: "eligible",
698
+ createdAt: daysAgo(1),
699
+ updatedAt: daysAgo(1),
700
+ },
701
+ // ── 21. PROCESSING — Neha / Blue-Eyes LOB NM ─────────────────────────────
702
+ {
703
+ id: "order-neha-021-blue-eyes-lob",
704
+ productId: "product-yugioh-blue-eyes-lob-nm",
705
+ productTitle: "Yu-Gi-Oh! Blue-Eyes White Dragon — LOB 1st Edition (NM)",
706
+ userId: "user-neha-gupta",
707
+ userName: "Neha Gupta",
708
+ userEmail: "neha.gupta@gmail.com",
709
+ storeId: "store-cardgame-hub",
710
+ storeName: "CardGame Hub",
711
+ items: [{ productId: "product-yugioh-blue-eyes-lob-nm", productTitle: "BEWD LOB 1st Edition NM", quantity: 1, unitPrice: 299900, totalPrice: 299900 }],
712
+ quantity: 1,
713
+ unitPrice: 299900,
714
+ totalPrice: 299900,
715
+ currency: "INR",
716
+ status: OrderStatusValues.PROCESSING,
717
+ paymentStatus: PaymentStatusValues.PAID,
718
+ paymentMethod: PaymentMethodValues.RAZORPAY,
719
+ paymentId: "pay_razorpay_021_demo",
720
+ shippingAddress: "33 Lajpat Nagar 4, New Delhi 110024",
721
+ shippingFee: 0,
722
+ platformFee: 14995,
723
+ orderDate: daysAgo(1),
724
+ payoutStatus: "eligible",
725
+ createdAt: daysAgo(1),
726
+ updatedAt: daysAgo(1),
385
727
  },
386
- // --- Shipped Orders --------------------------------------------------------
728
+ // ── 22. PENDING — Vikram / Corgi DB5 Bond ────────────────────────────────
387
729
  {
388
- id: "order-shipped-1-20260214-hn5u9z",
389
- productId: "product-cricket-bat-mrf-sports-new-sportszone-1",
390
- productTitle: "One Piece Going Merry Ship 1/144 Scale Resin Model",
391
- userId: "user-raj-patel-rajpatel",
392
- userName: "Raj Patel",
393
- userEmail: "raj@letitrip.in",
730
+ id: "order-vikram-022-corgi-db5",
731
+ productId: "product-corgi-aston-martin-db5",
732
+ productTitle: "Corgi: Aston Martin DB5 James Bond 007 Edition",
733
+ userId: "user-vikram-rao",
734
+ userName: "Vikram Rao",
735
+ userEmail: "vikram.rao@gmail.com",
736
+ storeId: "store-diecast-depot",
737
+ storeName: "Diecast Depot",
738
+ items: [{ productId: "product-corgi-aston-martin-db5", productTitle: "Corgi Aston Martin DB5 Bond 007", quantity: 1, unitPrice: 299900, totalPrice: 299900 }],
394
739
  quantity: 1,
395
- unitPrice: 6999,
396
- totalPrice: 6999,
397
- currency: _CURRENCY,
398
- status: "shipped",
399
- paymentStatus: "paid",
400
- paymentId: "pay_017",
401
- paymentMethod: "netbanking",
402
- shippingAddress: "12 MG Road, Ahmedabad, Gujarat - 380009",
403
- trackingNumber: "BLRDT202602140892",
404
- orderDate: daysAgo(23),
405
- shippingDate: daysAgo(22),
406
- createdAt: daysAgo(23),
407
- updatedAt: daysAgo(22),
408
- },
409
- {
410
- id: "order-shipped-2-20260213-jq8v4a",
411
- productId: "product-anker-usbc-charger-electronics-new-techhub-1",
412
- productTitle: "Spirited Away No-Face Resin Miniature Figurine",
413
- userId: "user-priya-sharma-priya",
414
- userName: "Priya Sharma",
415
- userEmail: "priya@letitrip.in",
740
+ unitPrice: 299900,
741
+ totalPrice: 299900,
742
+ currency: "INR",
743
+ status: OrderStatusValues.PENDING,
744
+ paymentStatus: PaymentStatusValues.PENDING,
745
+ paymentMethod: PaymentMethodValues.RAZORPAY,
746
+ shippingAddress: "55 Jubilee Hills Road 10, Hyderabad 500033",
747
+ shippingFee: 4900,
748
+ platformFee: 14995,
749
+ orderDate: daysAgo(0),
750
+ payoutStatus: "eligible",
751
+ createdAt: daysAgo(0),
752
+ updatedAt: daysAgo(0),
753
+ },
754
+ // ── 23. PENDING — Ananya / HG Aerial Rebuild ─────────────────────────────
755
+ {
756
+ id: "order-ananya-023-hg-aerial",
757
+ productId: "product-hg-aerial-rebuild-gundam",
758
+ productTitle: "Bandai HG 1/144: Gundam Aerial Rebuild",
759
+ userId: "user-ananya-krishna",
760
+ userName: "Ananya Krishna",
761
+ userEmail: "ananya.krishna@gmail.com",
762
+ storeId: "store-gundam-galaxy",
763
+ storeName: "Gundam Galaxy",
764
+ items: [
765
+ { productId: "product-hg-aerial-rebuild-gundam", productTitle: "HG Aerial Rebuild", quantity: 1, unitPrice: 249900, totalPrice: 249900 },
766
+ { productId: "product-hg-calibarn-witch-mercury", productTitle: "HG Calibarn", quantity: 1, unitPrice: 279900, totalPrice: 279900 },
767
+ ],
416
768
  quantity: 2,
417
- unitPrice: 1290,
418
- totalPrice: 2580,
419
- currency: _CURRENCY,
420
- status: "shipped",
421
- paymentStatus: "paid",
422
- paymentId: "pay_018",
423
- paymentMethod: "credit_card",
424
- shippingAddress: "34 Banjara Hills, Hyderabad, Telangana - 500034",
425
- trackingNumber: "BOMDT202602130441",
426
- orderDate: daysAgo(24),
427
- shippingDate: daysAgo(23),
428
- createdAt: daysAgo(24),
429
- updatedAt: daysAgo(23),
769
+ unitPrice: 264900,
770
+ totalPrice: 529800,
771
+ currency: "INR",
772
+ status: OrderStatusValues.PENDING,
773
+ paymentStatus: PaymentStatusValues.PENDING,
774
+ paymentMethod: PaymentMethodValues.UPI_MANUAL,
775
+ shippingAddress: "9 Koramangala 3rd Block, Bengaluru 560034",
776
+ shippingFee: 0,
777
+ platformFee: 26490,
778
+ orderDate: daysAgo(0),
779
+ payoutStatus: "eligible",
780
+ createdAt: daysAgo(0),
781
+ updatedAt: daysAgo(0),
782
+ },
783
+ // ── 24. RETURN_REQUESTED — Siddharth / Nendoroid Zero Two ────────────────
784
+ {
785
+ id: "order-siddharth-024-nendo-zero-two",
786
+ productId: "product-nendoroid-zero-two-darling",
787
+ productTitle: "Nendoroid: DARLING in the FRANXX — Zero Two #952",
788
+ userId: "user-siddharth-mehta",
789
+ userName: "Siddharth Mehta",
790
+ userEmail: "siddharth.mehta@gmail.com",
791
+ storeId: "store-tokyo-toys-india",
792
+ storeName: "Tokyo Toys India",
793
+ items: [{ productId: "product-nendoroid-zero-two-darling", productTitle: "Nendoroid Zero Two #952", quantity: 1, unitPrice: 479900, totalPrice: 479900 }],
794
+ quantity: 1,
795
+ unitPrice: 479900,
796
+ totalPrice: 479900,
797
+ currency: "INR",
798
+ status: OrderStatusValues.RETURN_REQUESTED,
799
+ paymentStatus: PaymentStatusValues.PAID,
800
+ paymentMethod: PaymentMethodValues.RAZORPAY,
801
+ paymentId: "pay_razorpay_024_demo",
802
+ shippingAddress: "14 Powai Lake Road, Mumbai 400076",
803
+ trackingNumber: "EKART990011223",
804
+ shippingCarrier: "Ekart",
805
+ shippingFee: 0,
806
+ platformFee: 23995,
807
+ orderDate: daysAgo(20),
808
+ shippingDate: daysAgo(18),
809
+ deliveryDate: daysAgo(15),
810
+ payoutStatus: "eligible",
811
+ createdAt: daysAgo(20),
812
+ updatedAt: daysAgo(8),
813
+ },
814
+ // ── 25. CANCELLED — Kavya / RLC Porsche 918 ──────────────────────────────
815
+ {
816
+ id: "order-kavya-025-rlc-porsche",
817
+ productId: "product-hot-wheels-rlc-porsche-918",
818
+ productTitle: "Hot Wheels RLC Exclusive: Porsche 918 Spyder — Spectraflame White",
819
+ userId: "user-kavya-nair",
820
+ userName: "Kavya Nair",
821
+ userEmail: "kavya.nair@gmail.com",
822
+ storeId: "store-diecast-depot",
823
+ storeName: "Diecast Depot",
824
+ items: [{ productId: "product-hot-wheels-rlc-porsche-918", productTitle: "HW RLC Porsche 918 Spectraflame White", quantity: 1, unitPrice: 349900, totalPrice: 349900 }],
825
+ quantity: 1,
826
+ unitPrice: 349900,
827
+ totalPrice: 349900,
828
+ currency: "INR",
829
+ status: OrderStatusValues.CANCELLED,
830
+ paymentStatus: PaymentStatusValues.REFUNDED,
831
+ paymentMethod: PaymentMethodValues.RAZORPAY,
832
+ paymentId: "pay_razorpay_025_demo",
833
+ shippingAddress: "22 MG Road, Ernakulam, Kerala 682016",
834
+ shippingFee: 0,
835
+ platformFee: 0,
836
+ orderDate: daysAgo(12),
837
+ payoutStatus: "eligible",
838
+ createdAt: daysAgo(12),
839
+ updatedAt: daysAgo(11),
840
+ },
841
+ // ── 26. CANCELLED — Rohan / MTG Duskmourn Box ────────────────────────────
842
+ {
843
+ id: "order-rohan-026-mtg-duskmourn",
844
+ productId: "product-mtg-duskmourn-booster-box",
845
+ productTitle: "Magic: The Gathering — Duskmourn: House of Horror Play Booster Box",
846
+ userId: "user-rohan-joshi",
847
+ userName: "Rohan Joshi",
848
+ userEmail: "rohan.joshi@gmail.com",
849
+ storeId: "store-cardgame-hub",
850
+ storeName: "CardGame Hub",
851
+ items: [{ productId: "product-mtg-duskmourn-booster-box", productTitle: "MTG Duskmourn Play Booster Box", quantity: 1, unitPrice: 599900, totalPrice: 599900 }],
852
+ quantity: 1,
853
+ unitPrice: 599900,
854
+ totalPrice: 599900,
855
+ currency: "INR",
856
+ status: OrderStatusValues.CANCELLED,
857
+ paymentStatus: PaymentStatusValues.REFUNDED,
858
+ paymentMethod: PaymentMethodValues.UPI_MANUAL,
859
+ shippingAddress: "5 Vile Parle West, Mumbai 400056",
860
+ shippingFee: 0,
861
+ platformFee: 0,
862
+ orderDate: daysAgo(9),
863
+ payoutStatus: "eligible",
864
+ createdAt: daysAgo(9),
865
+ updatedAt: daysAgo(8),
430
866
  },
867
+ // ── 27. REFUNDED — Divya / SHF Ultra Instinct Goku ──────────────────────
431
868
  {
432
- id: "order-shipped-3-20260212-kt1w6b",
433
- productId: "product-nonstick-cookware-set-home-new-homeessentials-1",
434
- productTitle: "Attack on Titan 3D Maneuver Gear Wallhanger Replica",
435
- userId: "user-jane-smith-janes",
436
- userName: "Jane Smith",
437
- userEmail: "jane@letitrip.in",
869
+ id: "order-divya-027-shf-goku",
870
+ productId: "product-shf-ultra-instinct-goku",
871
+ productTitle: "S.H.Figuarts: Dragon Ball Super Ultra Instinct Goku",
872
+ userId: "user-divya-reddy",
873
+ userName: "Divya Reddy",
874
+ userEmail: "divya.reddy@gmail.com",
875
+ storeId: "store-letitrip-official",
876
+ storeName: "LetItRip Official",
877
+ items: [{ productId: "product-shf-ultra-instinct-goku", productTitle: "S.H.Figuarts Ultra Instinct Goku 2nd Release", quantity: 1, unitPrice: 649900, totalPrice: 649900 }],
438
878
  quantity: 1,
439
- unitPrice: 3799,
440
- totalPrice: 3799,
441
- currency: _CURRENCY,
442
- status: "shipped",
443
- paymentStatus: "paid",
444
- paymentId: "pay_019",
445
- paymentMethod: "upi",
446
- shippingAddress: "45, Connaught Place, New Delhi, Delhi - 110001",
447
- trackingNumber: "DELDT202602120213",
879
+ unitPrice: 649900,
880
+ totalPrice: 649900,
881
+ currency: "INR",
882
+ status: OrderStatusValues.REFUNDED,
883
+ paymentStatus: PaymentStatusValues.REFUNDED,
884
+ paymentMethod: PaymentMethodValues.RAZORPAY,
885
+ paymentId: "pay_razorpay_027_demo",
886
+ shippingAddress: "88 Jubilee Hills, Hyderabad 500033",
887
+ trackingNumber: "BLUE334455669",
888
+ shippingCarrier: "Bluedart",
889
+ shippingFee: 0,
890
+ platformFee: 0,
448
891
  orderDate: daysAgo(25),
449
- shippingDate: daysAgo(24),
892
+ shippingDate: daysAgo(23),
893
+ deliveryDate: daysAgo(20),
894
+ payoutStatus: "eligible",
450
895
  createdAt: daysAgo(25),
451
- updatedAt: daysAgo(24),
896
+ updatedAt: daysAgo(12),
452
897
  },
453
- // --- Cancelled Orders ------------------------------------------------------
898
+ // ── 28. DELIVERED — Anjali / Tomica Land Cruiser 300 ─────────────────────
454
899
  {
455
- id: "order-cancelled-1-20260210-lv4x7c",
456
- productId: "product-apple-ipad-pro-electronics-new-techhub-1",
457
- productTitle: "Bleach Ichigo Bankai Tensa Zangetsu 1/6 Scale Figure",
458
- userId: "user-mike-johnson-mikejohn",
459
- userName: "Mike Johnson",
460
- userEmail: "mike@letitrip.in",
900
+ id: "order-anjali-028-tomica-lc300",
901
+ productId: "product-tomica-land-cruiser-300",
902
+ productTitle: "Tomica: Toyota Land Cruiser 300 (No. 107)",
903
+ userId: "user-anjali-verma",
904
+ userName: "Anjali Verma",
905
+ userEmail: "anjali.verma@gmail.com",
906
+ storeId: "store-diecast-depot",
907
+ storeName: "Diecast Depot",
908
+ items: [
909
+ { productId: "product-tomica-land-cruiser-300", productTitle: "Tomica Toyota Land Cruiser 300", quantity: 3, unitPrice: 59900, totalPrice: 179700 },
910
+ ],
911
+ quantity: 3,
912
+ unitPrice: 59900,
913
+ totalPrice: 179700,
914
+ currency: "INR",
915
+ status: OrderStatusValues.DELIVERED,
916
+ paymentStatus: PaymentStatusValues.PAID,
917
+ paymentMethod: PaymentMethodValues.UPI_MANUAL,
918
+ shippingAddress: "45 Janakpuri, New Delhi 110058",
919
+ trackingNumber: "EKART112233445",
920
+ shippingCarrier: "Ekart",
921
+ shippingFee: 4900,
922
+ platformFee: 8985,
923
+ orderDate: daysAgo(22),
924
+ shippingDate: daysAgo(20),
925
+ deliveryDate: daysAgo(17),
926
+ payoutStatus: "paid",
927
+ createdAt: daysAgo(22),
928
+ updatedAt: daysAgo(17),
929
+ },
930
+ // ── 29. DELIVERED — Naman / figma Link TotK ──────────────────────────────
931
+ {
932
+ id: "order-naman-029-figma-link",
933
+ productId: "product-figma-link-totk",
934
+ productTitle: "figma: The Legend of Zelda: Tears of the Kingdom — Link",
935
+ userId: "user-naman-gupta",
936
+ userName: "Naman Gupta",
937
+ userEmail: "naman.gupta@gmail.com",
938
+ storeId: "store-letitrip-official",
939
+ storeName: "LetItRip Official",
940
+ items: [{ productId: "product-figma-link-totk", productTitle: "figma Link Tears of the Kingdom", quantity: 1, unitPrice: 699900, totalPrice: 699900 }],
461
941
  quantity: 1,
462
- unitPrice: 8990,
463
- totalPrice: 8990,
464
- currency: _CURRENCY,
465
- status: "cancelled",
466
- paymentStatus: "refunded",
467
- paymentId: "pay_020",
468
- paymentMethod: "credit_card",
469
- shippingAddress: "56 Anna Nagar, Chennai, Tamil Nadu - 600040",
470
- cancellationDate: daysAgo(26),
471
- cancellationReason: "Found a better deal elsewhere",
472
- refundAmount: 8990,
473
- refundStatus: "completed",
474
- orderDate: daysAgo(27),
475
- createdAt: daysAgo(27),
476
- updatedAt: daysAgo(26),
942
+ unitPrice: 699900,
943
+ totalPrice: 699900,
944
+ currency: "INR",
945
+ status: OrderStatusValues.DELIVERED,
946
+ paymentStatus: PaymentStatusValues.PAID,
947
+ paymentMethod: PaymentMethodValues.RAZORPAY,
948
+ paymentId: "pay_razorpay_029_demo",
949
+ shippingAddress: "44 Sector 17, Chandigarh 160017",
950
+ trackingNumber: "SHPR778899012",
951
+ shippingCarrier: "Shiprocket",
952
+ shippingFee: 0,
953
+ platformFee: 34995,
954
+ orderDate: daysAgo(50),
955
+ shippingDate: daysAgo(48),
956
+ deliveryDate: daysAgo(44),
957
+ payoutStatus: "paid",
958
+ createdAt: daysAgo(50),
959
+ updatedAt: daysAgo(44),
477
960
  },
961
+ // ── 30. SHIPPED — Kiran / MG Strike Freedom ──────────────────────────────
478
962
  {
479
- id: "order-cancelled-2-20260205-mx8y2d",
480
- productId: "product-adjustable-dumbbell-set-sports-new-sportszone-1",
481
- productTitle: "Gundam Wing Zero Custom 1/100 Master Grade Model Kit",
482
- userId: "user-john-doe-johndoe",
483
- userName: "John Doe",
484
- userEmail: "john@letitrip.in",
963
+ id: "order-kiran-030-mg-strike-freedom",
964
+ productId: "product-mg-strike-freedom-gundam",
965
+ productTitle: "Bandai MG 1/100: Strike Freedom Gundam (Full Burst Mode)",
966
+ userId: "user-kiran-reddy",
967
+ userName: "Kiran Reddy",
968
+ userEmail: "kiran.reddy@gmail.com",
969
+ storeId: "store-gundam-galaxy",
970
+ storeName: "Gundam Galaxy",
971
+ items: [{ productId: "product-mg-strike-freedom-gundam", productTitle: "MG Strike Freedom Full Burst Mode", quantity: 1, unitPrice: 699900, totalPrice: 699900 }],
485
972
  quantity: 1,
486
- unitPrice: 14999,
487
- totalPrice: 14999,
488
- currency: _CURRENCY,
489
- status: "cancelled",
490
- paymentStatus: "refunded",
491
- paymentId: "pay_021",
492
- paymentMethod: "debit_card",
493
- shippingAddress: "123 Marine Drive, Mumbai, Maharashtra - 400001",
494
- cancellationDate: daysAgo(32),
495
- cancellationReason: "Ordered by mistake — wrong size",
496
- refundAmount: 14999,
497
- refundStatus: "completed",
498
- orderDate: daysAgo(32),
499
- createdAt: daysAgo(32),
500
- updatedAt: daysAgo(31),
973
+ unitPrice: 699900,
974
+ totalPrice: 699900,
975
+ currency: "INR",
976
+ status: OrderStatusValues.SHIPPED,
977
+ paymentStatus: PaymentStatusValues.PAID,
978
+ paymentMethod: PaymentMethodValues.RAZORPAY,
979
+ paymentId: "pay_razorpay_030_demo",
980
+ shippingAddress: "18 Kondapur, Hyderabad, Telangana 500084",
981
+ trackingNumber: "BLUE556677889",
982
+ shippingCarrier: "Bluedart",
983
+ shippingFee: 0,
984
+ platformFee: 34995,
985
+ orderDate: daysAgo(6),
986
+ shippingDate: daysAgo(4),
987
+ payoutStatus: "eligible",
988
+ createdAt: daysAgo(6),
989
+ updatedAt: daysAgo(4),
990
+ },
991
+ // ── 31. DELIVERED — Pooja / Nendoroid Miku V4X ───────────────────────────
992
+ {
993
+ id: "order-pooja-031-nendo-miku",
994
+ productId: "product-nendoroid-hatsune-miku-v4x",
995
+ productTitle: "Nendoroid: Hatsune Miku V4X — Good Smile Company",
996
+ userId: "user-pooja-sharma",
997
+ userName: "Pooja Sharma",
998
+ userEmail: "pooja.sharma@gmail.com",
999
+ storeId: "store-letitrip-official",
1000
+ storeName: "LetItRip Official",
1001
+ items: [{ productId: "product-nendoroid-hatsune-miku-v4x", productTitle: "Nendoroid Hatsune Miku V4X", quantity: 1, unitPrice: 499900, totalPrice: 499900 }],
1002
+ quantity: 1,
1003
+ unitPrice: 499900,
1004
+ totalPrice: 499900,
1005
+ currency: "INR",
1006
+ status: OrderStatusValues.DELIVERED,
1007
+ paymentStatus: PaymentStatusValues.PAID,
1008
+ paymentMethod: PaymentMethodValues.UPI_MANUAL,
1009
+ shippingAddress: "202 Bandra West, Mumbai 400050",
1010
+ trackingNumber: "EKART667788902",
1011
+ shippingCarrier: "Ekart",
1012
+ shippingFee: 0,
1013
+ platformFee: 24995,
1014
+ orderDate: daysAgo(42),
1015
+ shippingDate: daysAgo(40),
1016
+ deliveryDate: daysAgo(37),
1017
+ payoutStatus: "paid",
1018
+ createdAt: daysAgo(42),
1019
+ updatedAt: daysAgo(37),
501
1020
  },
1021
+ // ── 32. DELIVERED — Rohit / OP-05 Booster Box ────────────────────────────
502
1022
  {
503
- id: "order-cancelled-3-20260130-ny2z5e",
504
- productId: "product-solid-wood-coffee-table-home-new-homeessentials-1",
505
- productTitle: "Studio Ghibli Collector's Display Shelf Set (8 Figures)",
506
- userId: "user-priya-sharma-priya",
507
- userName: "Priya Sharma",
508
- userEmail: "priya@letitrip.in",
1023
+ id: "order-rohit-032-op05-box",
1024
+ productId: "product-onepiece-op05-booster-box",
1025
+ productTitle: "One Piece Card Game: OP-05 Awakening of the New Era Booster Box",
1026
+ userId: "user-rohit-verma",
1027
+ userName: "Rohit Verma",
1028
+ userEmail: "rohit.verma@gmail.com",
1029
+ storeId: "store-cardgame-hub",
1030
+ storeName: "CardGame Hub",
1031
+ items: [{ productId: "product-onepiece-op05-booster-box", productTitle: "OP-05 Booster Box", quantity: 1, unitPrice: 499900, totalPrice: 499900 }],
509
1032
  quantity: 1,
510
- unitPrice: 8499,
511
- totalPrice: 8499,
512
- currency: _CURRENCY,
513
- status: "cancelled",
514
- paymentStatus: "pending",
515
- shippingAddress: "34 Banjara Hills, Hyderabad, Telangana - 500034",
516
- cancellationDate: daysAgo(38),
517
- cancellationReason: "Payment failed order auto-cancelled after 24 hours",
518
- orderDate: daysAgo(39),
519
- createdAt: daysAgo(39),
520
- updatedAt: daysAgo(38),
521
- },
522
- // --- Returned Orders -------------------------------------------------------
523
- {
524
- id: "order-returned-1-20260120-pz6a8f",
525
- productId: "product-womens-casual-midi-dress-fashion-new-fashionboutique-1",
526
- productTitle: "Genshin Impact Ganyu Qixing Cosplay Dress",
527
- userId: "user-vikram-nair-vikram",
528
- userName: "Vikram Nair",
529
- userEmail: "vikram@letitrip.in",
1033
+ unitPrice: 499900,
1034
+ totalPrice: 499900,
1035
+ currency: "INR",
1036
+ status: OrderStatusValues.DELIVERED,
1037
+ paymentStatus: PaymentStatusValues.PAID,
1038
+ paymentMethod: PaymentMethodValues.RAZORPAY,
1039
+ paymentId: "pay_razorpay_032_demo",
1040
+ shippingAddress: "67 Dwarka Sector 10, New Delhi 110075",
1041
+ trackingNumber: "DTDC334455668",
1042
+ shippingCarrier: "DTDC",
1043
+ shippingFee: 4900,
1044
+ platformFee: 24995,
1045
+ orderDate: daysAgo(55),
1046
+ shippingDate: daysAgo(53),
1047
+ deliveryDate: daysAgo(50),
1048
+ payoutStatus: "paid",
1049
+ createdAt: daysAgo(55),
1050
+ updatedAt: daysAgo(50),
1051
+ },
1052
+ // ── 33. DELIVERED — Preeti / BX-07 + BX-09 Bundle ───────────────────────
1053
+ {
1054
+ id: "order-preeti-033-beyblade-bundle",
1055
+ productId: "product-beyblade-x-bx07-hells-chain",
1056
+ productTitle: "Beyblade X: BX-07 Hells Chain + BX-09 Rd Dragon",
1057
+ userId: "user-preeti-joshi",
1058
+ userName: "Preeti Joshi",
1059
+ userEmail: "preeti.joshi@gmail.com",
1060
+ storeId: "store-beyblade-arena",
1061
+ storeName: "Beyblade Arena",
1062
+ items: [
1063
+ { productId: "product-beyblade-x-bx07-hells-chain", productTitle: "BX-07 Hells Chain", quantity: 1, unitPrice: 139900, totalPrice: 139900 },
1064
+ { productId: "product-beyblade-x-bx09-rd-dragon", productTitle: "BX-09 Rd Dragon", quantity: 1, unitPrice: 149900, totalPrice: 149900 },
1065
+ ],
1066
+ quantity: 2,
1067
+ unitPrice: 144900,
1068
+ totalPrice: 289800,
1069
+ currency: "INR",
1070
+ status: OrderStatusValues.DELIVERED,
1071
+ paymentStatus: PaymentStatusValues.PAID,
1072
+ paymentMethod: PaymentMethodValues.UPI_MANUAL,
1073
+ shippingAddress: "7 MP Nagar Zone 2, Bhopal 462011",
1074
+ trackingNumber: "SHPR889900123",
1075
+ shippingCarrier: "Shiprocket",
1076
+ shippingFee: 0,
1077
+ platformFee: 14490,
1078
+ orderDate: daysAgo(60),
1079
+ shippingDate: daysAgo(58),
1080
+ deliveryDate: daysAgo(55),
1081
+ payoutStatus: "paid",
1082
+ createdAt: daysAgo(60),
1083
+ updatedAt: daysAgo(55),
1084
+ },
1085
+ // ── 34. SHIPPED — Vikram / Twin Mill 1970 Redline ────────────────────────
1086
+ {
1087
+ id: "order-vikram-034-twin-mill-redline",
1088
+ productId: "product-hot-wheels-twin-mill-1970-redline",
1089
+ productTitle: "Hot Wheels Vintage: Twin Mill I — 1970 Redline (Brown, Near Mint)",
1090
+ userId: "user-vikram-rao",
1091
+ userName: "Vikram Rao",
1092
+ userEmail: "vikram.rao@gmail.com",
1093
+ storeId: "store-vintage-vault",
1094
+ storeName: "Vintage Vault",
1095
+ items: [{ productId: "product-hot-wheels-twin-mill-1970-redline", productTitle: "Hot Wheels Twin Mill I 1970 Redline Brown NM", quantity: 1, unitPrice: 699900, totalPrice: 699900 }],
530
1096
  quantity: 1,
531
- unitPrice: 1649,
532
- totalPrice: 1649,
533
- currency: _CURRENCY,
534
- status: "returned",
535
- paymentStatus: "refunded",
536
- paymentId: "pay_022",
537
- paymentMethod: "upi",
538
- shippingAddress: "88/4 MG Road, Kochi, Kerala - 682001",
539
- trackingNumber: "KOCDT202601200098",
540
- cancellationReason: "Size mismatch — product smaller than described",
541
- refundAmount: 1649,
542
- refundStatus: "completed",
543
- orderDate: daysAgo(48),
544
- shippingDate: daysAgo(47),
545
- deliveryDate: daysAgo(45),
546
- cancellationDate: daysAgo(43),
547
- createdAt: daysAgo(48),
548
- updatedAt: daysAgo(40),
549
- },
550
- {
551
- id: "order-returned-2-20260112-qb9c1g",
552
- productId: "product-running-shoes-adidas-sports-new-sportszone-1",
553
- productTitle: "Jujutsu Kaisen Gojo Satoru Infinity Domain 1/7 Scale",
554
- userId: "user-raj-patel-rajpatel",
555
- userName: "Raj Patel",
556
- userEmail: "raj@letitrip.in",
1097
+ unitPrice: 699900,
1098
+ totalPrice: 699900,
1099
+ currency: "INR",
1100
+ status: OrderStatusValues.SHIPPED,
1101
+ paymentStatus: PaymentStatusValues.PAID,
1102
+ paymentMethod: PaymentMethodValues.RAZORPAY,
1103
+ paymentId: "pay_razorpay_034_demo",
1104
+ shippingAddress: "55 Jubilee Hills Road 10, Hyderabad 500033",
1105
+ trackingNumber: "BLUE112233446",
1106
+ shippingCarrier: "Bluedart",
1107
+ shippingFee: 0,
1108
+ platformFee: 34995,
1109
+ orderDate: daysAgo(5),
1110
+ shippingDate: daysAgo(3),
1111
+ payoutStatus: "eligible",
1112
+ createdAt: daysAgo(5),
1113
+ updatedAt: daysAgo(3),
1114
+ },
1115
+ // ── 35. DELIVERED — Ananya / GSC Aqua 1/7 Scale ──────────────────────────
1116
+ {
1117
+ id: "order-ananya-035-gsc-aqua",
1118
+ productId: "product-gsc-aqua-konosuba-scale",
1119
+ productTitle: "Good Smile Company: KonoSuba Aqua 1/7 Scale Figure",
1120
+ userId: "user-ananya-krishna",
1121
+ userName: "Ananya Krishna",
1122
+ userEmail: "ananya.krishna@gmail.com",
1123
+ storeId: "store-tokyo-toys-india",
1124
+ storeName: "Tokyo Toys India",
1125
+ items: [{ productId: "product-gsc-aqua-konosuba-scale", productTitle: "GSC Aqua 1/7 Scale KonoSuba", quantity: 1, unitPrice: 899900, totalPrice: 899900 }],
557
1126
  quantity: 1,
558
- unitPrice: 15999,
559
- totalPrice: 15999,
560
- currency: _CURRENCY,
561
- status: "returned",
562
- paymentStatus: "refunded",
563
- paymentId: "pay_023",
564
- paymentMethod: "credit_card",
565
- shippingAddress: "12 MG Road, Ahmedabad, Gujarat - 380009",
566
- trackingNumber: "AHDDT202601120512",
567
- cancellationReason: "Received wrong colour — ordered black, received white",
568
- refundAmount: 15999,
569
- refundStatus: "processing",
570
- orderDate: daysAgo(56),
571
- shippingDate: daysAgo(55),
572
- deliveryDate: daysAgo(53),
573
- cancellationDate: daysAgo(52),
574
- createdAt: daysAgo(56),
575
- updatedAt: daysAgo(48),
1127
+ unitPrice: 899900,
1128
+ totalPrice: 899900,
1129
+ currency: "INR",
1130
+ status: OrderStatusValues.DELIVERED,
1131
+ paymentStatus: PaymentStatusValues.PAID,
1132
+ paymentMethod: PaymentMethodValues.RAZORPAY,
1133
+ paymentId: "pay_razorpay_035_demo",
1134
+ shippingAddress: "9 Koramangala 3rd Block, Bengaluru 560034",
1135
+ trackingNumber: "EKART001122334",
1136
+ shippingCarrier: "Ekart",
1137
+ shippingFee: 0,
1138
+ platformFee: 44995,
1139
+ orderDate: daysAgo(65),
1140
+ shippingDate: daysAgo(63),
1141
+ deliveryDate: daysAgo(59),
1142
+ payoutStatus: "paid",
1143
+ createdAt: daysAgo(65),
1144
+ updatedAt: daysAgo(59),
576
1145
  },
577
1146
  ];