@mohasinac/appkit 3.4.8 → 3.5.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 (605) hide show
  1. package/dist/_internal/client/features/classified/ClassifiedDetailView.js +1 -1
  2. package/dist/_internal/client/features/digital-code/CodeRevealPanel.js +1 -1
  3. package/dist/_internal/client/features/digital-code/DigitalCodeDetailView.js +1 -1
  4. package/dist/_internal/client/features/filters/filter-load-options.js +10 -9
  5. package/dist/_internal/client/features/layout/DashboardLayoutClient.d.ts +6 -1
  6. package/dist/_internal/client/features/layout/DashboardLayoutClient.js +11 -4
  7. package/dist/_internal/client/features/live/LiveItemDetailView.js +2 -2
  8. package/dist/_internal/client/features/maintenance/views/AnalysisRunnerView.js +10 -3
  9. package/dist/_internal/client/features/maintenance/views/ServerErrorsListView.js +2 -2
  10. package/dist/_internal/client/scaffolds/DashboardScaffold.js +3 -1
  11. package/dist/_internal/server/features/checkout/actions.d.ts +16 -0
  12. package/dist/_internal/server/features/checkout/actions.js +149 -35
  13. package/dist/_internal/server/features/checkout/bundle-expansion.d.ts +31 -0
  14. package/dist/_internal/server/features/checkout/bundle-expansion.js +41 -0
  15. package/dist/_internal/server/features/lottery/actions.js +14 -4
  16. package/dist/_internal/server/features/maintenance/analyze.js +4 -2
  17. package/dist/_internal/server/features/orders/actions.js +9 -0
  18. package/dist/_internal/server/features/orders/adapters.js +19 -0
  19. package/dist/_internal/server/features/seo/robots.js +1 -1
  20. package/dist/_internal/server/functions/firestore.d.ts +47 -1
  21. package/dist/_internal/server/functions/firestore.js +56 -1
  22. package/dist/_internal/server/functions/scheduled.d.ts +2 -1
  23. package/dist/_internal/server/functions/scheduled.js +9 -1
  24. package/dist/_internal/server/jobs/core/catalogueImageStalenessReminder.d.ts +10 -0
  25. package/dist/_internal/server/jobs/core/catalogueImageStalenessReminder.js +49 -0
  26. package/dist/_internal/server/jobs/core/cleanupRtdbEvents.js +32 -0
  27. package/dist/_internal/server/jobs/core/hardBanCascade.d.ts +26 -0
  28. package/dist/_internal/server/jobs/core/hardBanCascade.js +181 -0
  29. package/dist/_internal/server/jobs/core/index.d.ts +4 -1
  30. package/dist/_internal/server/jobs/core/index.js +4 -1
  31. package/dist/_internal/server/jobs/core/jobRunners.d.ts +28 -0
  32. package/dist/_internal/server/jobs/core/jobRunners.js +37 -0
  33. package/dist/_internal/server/jobs/core/onCatalogueSubmittedForApproval.d.ts +15 -0
  34. package/dist/_internal/server/jobs/core/onCatalogueSubmittedForApproval.js +38 -0
  35. package/dist/_internal/server/jobs/core/onJobCreated.d.ts +22 -0
  36. package/dist/_internal/server/jobs/core/onJobCreated.js +59 -0
  37. package/dist/_internal/server/jobs/core/weeklyPayoutEligibility.d.ts +6 -1
  38. package/dist/_internal/server/jobs/core/weeklyPayoutEligibility.js +5 -2
  39. package/dist/_internal/server/jobs/handlers/catalogueImageStalenessReminder.d.ts +2 -0
  40. package/dist/_internal/server/jobs/handlers/catalogueImageStalenessReminder.js +2 -0
  41. package/dist/_internal/server/jobs/handlers/index.d.ts +6 -0
  42. package/dist/_internal/server/jobs/handlers/index.js +8 -0
  43. package/dist/_internal/server/jobs/handlers/onCatalogueSubmittedForApproval.d.ts +12 -0
  44. package/dist/_internal/server/jobs/handlers/onCatalogueSubmittedForApproval.js +20 -0
  45. package/dist/_internal/server/jobs/handlers/onJobCreated.d.ts +3 -0
  46. package/dist/_internal/server/jobs/handlers/onJobCreated.js +9 -0
  47. package/dist/_internal/server/jobs/handlers/onShipmentAllocationSync.d.ts +25 -0
  48. package/dist/_internal/server/jobs/handlers/onShipmentAllocationSync.js +71 -0
  49. package/dist/_internal/server/jobs/handlers/onShipmentDeleted.d.ts +14 -0
  50. package/dist/_internal/server/jobs/handlers/onShipmentDeleted.js +23 -0
  51. package/dist/_internal/server/jobs/handlers/onShipmentItemWrite.d.ts +17 -0
  52. package/dist/_internal/server/jobs/handlers/onShipmentItemWrite.js +26 -0
  53. package/dist/_internal/server/jobs/handlers/weeklyPayoutEligibility.js +3 -1
  54. package/dist/_internal/shared/actions/action-registry.d.ts +1 -1
  55. package/dist/_internal/shared/actions/action-registry.js +136 -0
  56. package/dist/_internal/shared/features/blog/schema.d.ts +8 -8
  57. package/dist/_internal/shared/features/brands/schema.d.ts +4 -4
  58. package/dist/_internal/shared/features/categories/bundle-schemas.d.ts +8 -8
  59. package/dist/_internal/shared/features/events/schema.d.ts +4 -4
  60. package/dist/_internal/shared/features/products/schema.d.ts +8 -8
  61. package/dist/_internal/shared/features/promotions/schema.d.ts +4 -4
  62. package/dist/_internal/shared/features/reviews/schema.d.ts +4 -4
  63. package/dist/client/api/useFeatureFlags.d.ts +22 -0
  64. package/dist/client/api/useFeatureFlags.js +27 -0
  65. package/dist/client/observability/reportClientError.js +3 -2
  66. package/dist/client.d.ts +4 -2
  67. package/dist/client.js +2 -1
  68. package/dist/configs/next.js +1 -0
  69. package/dist/constants/api-endpoints.d.ts +279 -3
  70. package/dist/constants/api-endpoints.js +130 -2
  71. package/dist/core/hooks/useSyncManager.js +5 -4
  72. package/dist/errors/conflict-error.d.ts +4 -0
  73. package/dist/errors/conflict-error.js +6 -0
  74. package/dist/errors/index.d.ts +1 -0
  75. package/dist/errors/index.js +1 -0
  76. package/dist/features/about/components/FeesView.js +2 -2
  77. package/dist/features/about/components/HelpPageView.js +2 -2
  78. package/dist/features/about/components/HowAuctionsWorkView.js +2 -2
  79. package/dist/features/about/components/HowCheckoutWorksView.js +2 -2
  80. package/dist/features/about/components/HowEmiWorksView.js +2 -2
  81. package/dist/features/about/components/HowOffersWorkView.js +3 -3
  82. package/dist/features/about/components/HowOrdersWorkView.js +3 -3
  83. package/dist/features/about/components/HowPayoutsWorkView.js +2 -2
  84. package/dist/features/about/components/HowPreOrdersWorkView.js +2 -2
  85. package/dist/features/about/components/HowReviewsWorkView.js +2 -2
  86. package/dist/features/about/components/PublicProfileView.d.ts +8 -1
  87. package/dist/features/about/components/PublicProfileView.js +11 -9
  88. package/dist/features/about/components/SecurityPrivacyView.js +2 -2
  89. package/dist/features/about/components/UnauthorizedView.js +2 -2
  90. package/dist/features/account/components/AddressBook.js +1 -1
  91. package/dist/features/account/components/AddressesIndexListing.js +1 -1
  92. package/dist/features/account/components/NotificationBell.js +5 -5
  93. package/dist/features/account/components/NotificationPreferencesPanel.js +5 -2
  94. package/dist/features/account/components/UserOffersPanel.js +5 -4
  95. package/dist/features/account/components/UserSidebar.js +2 -2
  96. package/dist/features/account/components/UserSupportView.js +3 -3
  97. package/dist/features/account/schemas/index.d.ts +12 -12
  98. package/dist/features/addresses/schemas/index.d.ts +6 -6
  99. package/dist/features/admin/components/AdminAdEditorView.js +3 -3
  100. package/dist/features/admin/components/AdminAddressEditorView.js +3 -3
  101. package/dist/features/admin/components/AdminAdsView.js +3 -3
  102. package/dist/features/admin/components/AdminBlogEditorView.js +1 -1
  103. package/dist/features/admin/components/AdminBlogView.js +12 -15
  104. package/dist/features/admin/components/AdminBrandEditorView.js +1 -1
  105. package/dist/features/admin/components/AdminBrandsView.js +12 -13
  106. package/dist/features/admin/components/AdminBundleEditorView.js +5 -4
  107. package/dist/features/admin/components/AdminBundlesView.js +32 -23
  108. package/dist/features/admin/components/AdminCarouselEditorView.js +5 -5
  109. package/dist/features/admin/components/AdminCarouselView.js +2 -2
  110. package/dist/features/admin/components/AdminCatalogGuideView.js +1 -1
  111. package/dist/features/admin/components/AdminCategoriesView.js +12 -13
  112. package/dist/features/admin/components/AdminCategoryEditorView.js +2 -2
  113. package/dist/features/admin/components/AdminContactEditorView.js +2 -2
  114. package/dist/features/admin/components/AdminCouponEditorView.d.ts +10 -1
  115. package/dist/features/admin/components/AdminCouponEditorView.js +7 -2
  116. package/dist/features/admin/components/AdminCouponsView.js +32 -27
  117. package/dist/features/admin/components/AdminEmployeeEditorView.js +3 -3
  118. package/dist/features/admin/components/AdminFaqEditorView.js +1 -1
  119. package/dist/features/admin/components/AdminFaqsView.js +20 -20
  120. package/dist/features/admin/components/AdminFeatureEditorView.js +5 -5
  121. package/dist/features/admin/components/AdminFeaturesView.js +9 -10
  122. package/dist/features/admin/components/AdminFilterBar.js +1 -1
  123. package/dist/features/admin/components/AdminFulfillmentView.js +4 -4
  124. package/dist/features/admin/components/AdminGuideHubView.js +2 -2
  125. package/dist/features/admin/components/AdminMediaView.js +3 -2
  126. package/dist/features/admin/components/AdminNavigationView.js +1 -1
  127. package/dist/features/admin/components/AdminOrderEditorView.js +3 -3
  128. package/dist/features/admin/components/AdminOrdersView.js +21 -30
  129. package/dist/features/admin/components/AdminPageHeader.js +3 -3
  130. package/dist/features/admin/components/AdminPayoutsView.js +8 -8
  131. package/dist/features/admin/components/AdminPrizeDrawsView.js +8 -9
  132. package/dist/features/admin/components/AdminProductEditorView.d.ts +9 -1
  133. package/dist/features/admin/components/AdminProductEditorView.js +7 -4
  134. package/dist/features/admin/components/AdminProductsView.js +30 -41
  135. package/dist/features/admin/components/AdminReviewsView.js +14 -17
  136. package/dist/features/admin/components/AdminScammerEditorView.js +5 -5
  137. package/dist/features/admin/components/AdminSectionsView.js +3 -3
  138. package/dist/features/admin/components/AdminSessionsView.js +8 -10
  139. package/dist/features/admin/components/AdminSidebar.js +2 -2
  140. package/dist/features/admin/components/AdminSiteSettingsView.js +10 -3
  141. package/dist/features/admin/components/AdminStoreEditorView.js +4 -5
  142. package/dist/features/admin/components/AdminStoresView.js +18 -13
  143. package/dist/features/admin/components/AdminSupportTicketDetailView.js +7 -7
  144. package/dist/features/admin/components/AdminTeamView.js +9 -5
  145. package/dist/features/admin/components/AdminUsersView.js +19 -15
  146. package/dist/features/admin/components/AdminViewCards.js +5 -5
  147. package/dist/features/admin/components/DashboardStats.js +1 -1
  148. package/dist/features/admin/components/DataListingView.js +2 -2
  149. package/dist/features/admin/components/DataTable.js +2 -2
  150. package/dist/features/admin/components/DrawerFormFooter.js +1 -1
  151. package/dist/features/admin/components/analytics/AdminAnalyticsCharts.js +2 -2
  152. package/dist/features/admin/components/analytics/AdminStatCard.js +1 -1
  153. package/dist/features/admin/hooks/useAdminListing.d.ts +3 -2
  154. package/dist/features/admin/hooks/useAdminListing.js +8 -2
  155. package/dist/features/admin/permission-map.js +2 -0
  156. package/dist/features/admin/schemas/firestore.d.ts +7 -0
  157. package/dist/features/admin/schemas/firestore.js +4 -0
  158. package/dist/features/auctions/components/AuctionBidsTable.js +1 -1
  159. package/dist/features/auctions/components/AuctionDetailPageView.js +7 -7
  160. package/dist/features/auctions/components/MarketplaceAuctionCard.js +3 -3
  161. package/dist/features/auctions/components/MarketplaceAuctionGrid.js +4 -4
  162. package/dist/features/auctions/components/PlaceBidFormClient.js +1 -1
  163. package/dist/features/auctions/schemas/index.d.ts +16 -16
  164. package/dist/features/auth/permissions/constants.d.ts +1 -1
  165. package/dist/features/auth/permissions/constants.js +2 -0
  166. package/dist/features/auth/schemas/index.d.ts +6 -6
  167. package/dist/features/before-after/schemas/index.d.ts +3 -3
  168. package/dist/features/blog/actions/blog-actions.d.ts +32 -32
  169. package/dist/features/blog/components/BlogFeaturedCard.js +2 -2
  170. package/dist/features/blog/components/BlogIndexListing.js +2 -2
  171. package/dist/features/blog/components/BlogListView.js +4 -4
  172. package/dist/features/blog/components/BlogPostView.js +4 -4
  173. package/dist/features/blog/schemas/index.d.ts +77 -77
  174. package/dist/features/cart/components/CartDrawer.js +2 -2
  175. package/dist/features/catalogue/actions/approve-catalogue-listing.d.ts +12 -0
  176. package/dist/features/catalogue/actions/approve-catalogue-listing.js +50 -0
  177. package/dist/features/catalogue/actions/list-from-catalogue.d.ts +17 -0
  178. package/dist/features/catalogue/actions/list-from-catalogue.js +50 -0
  179. package/dist/features/catalogue/actions/submit-for-approval.d.ts +8 -0
  180. package/dist/features/catalogue/actions/submit-for-approval.js +30 -0
  181. package/dist/features/catalogue/components/AdminCatalogueApprovalsView.d.ts +2 -0
  182. package/dist/features/catalogue/components/AdminCatalogueApprovalsView.js +53 -0
  183. package/dist/features/catalogue/components/CatalogueItemEditorView.d.ts +7 -0
  184. package/dist/features/catalogue/components/CatalogueItemEditorView.js +79 -0
  185. package/dist/features/catalogue/components/PublicCatalogueView.d.ts +5 -0
  186. package/dist/features/catalogue/components/PublicCatalogueView.js +22 -0
  187. package/dist/features/catalogue/components/UserCatalogueView.d.ts +12 -0
  188. package/dist/features/catalogue/components/UserCatalogueView.js +51 -0
  189. package/dist/features/catalogue/index.d.ts +12 -0
  190. package/dist/features/catalogue/index.js +9 -0
  191. package/dist/features/catalogue/repository/catalogue.repository.d.ts +39 -0
  192. package/dist/features/catalogue/repository/catalogue.repository.js +68 -0
  193. package/dist/features/catalogue/schemas/firestore.d.ts +47 -0
  194. package/dist/features/catalogue/schemas/firestore.js +22 -0
  195. package/dist/features/catalogue/schemas/index.d.ts +2 -0
  196. package/dist/features/catalogue/schemas/index.js +2 -0
  197. package/dist/features/catalogue/schemas/validation.d.ts +71 -0
  198. package/dist/features/catalogue/schemas/validation.js +25 -0
  199. package/dist/features/catalogue/utils/freshness.d.ts +10 -0
  200. package/dist/features/catalogue/utils/freshness.js +15 -0
  201. package/dist/features/catalogue/utils/product-from-item.d.ts +15 -0
  202. package/dist/features/catalogue/utils/product-from-item.js +34 -0
  203. package/dist/features/categories/components/BrandDetailPageView.js +1 -1
  204. package/dist/features/categories/components/BrandDetailTabs.js +2 -2
  205. package/dist/features/categories/components/BundleCollage.js +2 -2
  206. package/dist/features/categories/components/BundleItemsPicker.js +3 -2
  207. package/dist/features/categories/components/CategoriesIndexListing.js +8 -6
  208. package/dist/features/categories/components/CategoryBundlesListing.js +10 -4
  209. package/dist/features/categories/components/CategoryDetailPageView.js +1 -1
  210. package/dist/features/categories/components/CategoryDetailTabs.js +2 -2
  211. package/dist/features/categories/components/CategoryGrid.js +3 -3
  212. package/dist/features/categories/components/CategoryProductsListing.js +1 -1
  213. package/dist/features/categories/components/CategorySortSelect.js +1 -1
  214. package/dist/features/categories/components/CategoryStoresListing.js +1 -1
  215. package/dist/features/categories/components/CategoryTableColumns.js +1 -1
  216. package/dist/features/categories/components/CategoryTree.js +2 -2
  217. package/dist/features/categories/components/ConcernCard.js +1 -1
  218. package/dist/features/categories/hooks/useCategories.js +1 -1
  219. package/dist/features/categories/schemas/index.d.ts +32 -32
  220. package/dist/features/classified/components/ClassifiedFilters.js +2 -2
  221. package/dist/features/classified/components/ClassifiedIndexListing.js +9 -3
  222. package/dist/features/collections/schemas/index.d.ts +2 -2
  223. package/dist/features/consultation/components/ConsultationForm.js +1 -1
  224. package/dist/features/consultation/schemas/index.d.ts +10 -10
  225. package/dist/features/contact/components/ContactForm.js +4 -4
  226. package/dist/features/contact/components/ContactInfoSidebar.js +1 -1
  227. package/dist/features/contact/components/ContactPageView.js +2 -1
  228. package/dist/features/copilot/components/AdminCopilotView.js +5 -4
  229. package/dist/features/corporate/schemas/index.d.ts +2 -2
  230. package/dist/features/digital-codes/components/DigitalCodesIndexListing.js +3 -3
  231. package/dist/features/events/components/AdminEventEditorView.js +4 -4
  232. package/dist/features/events/components/AdminEventEntriesView.js +2 -2
  233. package/dist/features/events/components/AdminEventsView.js +8 -8
  234. package/dist/features/events/components/EventBanner.js +1 -1
  235. package/dist/features/events/components/EventCard.js +3 -3
  236. package/dist/features/events/components/EventLeaderboard.js +1 -1
  237. package/dist/features/events/components/EventOfferCard.js +1 -1
  238. package/dist/features/events/components/EventPollWidget.js +6 -5
  239. package/dist/features/events/components/EventRaffleEntryForm.js +1 -1
  240. package/dist/features/events/components/EventRaffleWinnerView.js +5 -5
  241. package/dist/features/events/components/EventRafflesSection.js +1 -1
  242. package/dist/features/events/components/EventSaleBanner.js +1 -1
  243. package/dist/features/events/components/EventsIndexListing.js +4 -2
  244. package/dist/features/events/components/EventsListView.js +2 -2
  245. package/dist/features/events/components/SpinWheelView.js +11 -5
  246. package/dist/features/events/schemas/index.d.ts +100 -100
  247. package/dist/features/faq/actions/faq-actions.d.ts +6 -6
  248. package/dist/features/faq/components/ContactCTA.js +3 -3
  249. package/dist/features/faq/components/FAQCategorySidebar.js +2 -2
  250. package/dist/features/faq/components/FAQHelpfulButtons.js +3 -3
  251. package/dist/features/faq/schemas/index.d.ts +12 -12
  252. package/dist/features/filters/AsyncFacetSection.js +4 -4
  253. package/dist/features/filters/FilterFacetSection.js +8 -8
  254. package/dist/features/filters/RangeFilter.js +2 -2
  255. package/dist/features/filters/SwitchFilter.js +1 -1
  256. package/dist/features/forms/Checkbox.js +2 -8
  257. package/dist/features/forms/Input.js +2 -1
  258. package/dist/features/forms/Radio.js +3 -3
  259. package/dist/features/forms/Select.d.ts +1 -1
  260. package/dist/features/forms/Select.js +3 -2
  261. package/dist/features/forms/Slider.js +5 -11
  262. package/dist/features/forms/Textarea.js +2 -1
  263. package/dist/features/grouped/schemas/index.d.ts +6 -6
  264. package/dist/features/homepage/actions/homepage-section-actions.d.ts +4 -4
  265. package/dist/features/homepage/components/AdvertisementBanner.js +4 -4
  266. package/dist/features/homepage/components/AnnouncementBar.js +3 -3
  267. package/dist/features/homepage/components/BeforeAfterCard.js +1 -1
  268. package/dist/features/homepage/components/BrandsSection.js +9 -9
  269. package/dist/features/homepage/components/CTABannerSection.js +1 -1
  270. package/dist/features/homepage/components/CharacterHotspot.js +4 -4
  271. package/dist/features/homepage/components/CharacterHotspotForm.js +15 -13
  272. package/dist/features/homepage/components/CollectionCardsSection.js +1 -1
  273. package/dist/features/homepage/components/CustomCardsSection.js +6 -6
  274. package/dist/features/homepage/components/CustomerReviewsSection.js +2 -2
  275. package/dist/features/homepage/components/FAQSection.js +2 -2
  276. package/dist/features/homepage/components/FeaturedBundlesSection.js +3 -3
  277. package/dist/features/homepage/components/FeaturedResultsSection.js +2 -2
  278. package/dist/features/homepage/components/GoogleReviewsSection.js +6 -6
  279. package/dist/features/homepage/components/HeroBanner.js +1 -1
  280. package/dist/features/homepage/components/HeroCarousel.js +5 -4
  281. package/dist/features/homepage/components/HeroSection.js +1 -7
  282. package/dist/features/homepage/components/HomepageSkeleton.js +1 -1
  283. package/dist/features/homepage/components/HowItWorksInfoView.js +1 -1
  284. package/dist/features/homepage/components/HowItWorksSection.js +2 -2
  285. package/dist/features/homepage/components/NewsletterBanner.js +2 -2
  286. package/dist/features/homepage/components/NewsletterSection.js +1 -1
  287. package/dist/features/homepage/components/PromoGrid.js +1 -1
  288. package/dist/features/homepage/components/SectionCarousel.js +6 -6
  289. package/dist/features/homepage/components/SecurityHighlightsSection.js +2 -2
  290. package/dist/features/homepage/components/ShopByCategorySection.js +10 -10
  291. package/dist/features/homepage/components/SiteFeaturesSection.js +2 -2
  292. package/dist/features/homepage/components/SocialFeedSection.js +5 -5
  293. package/dist/features/homepage/components/SocialPostCard.js +1 -1
  294. package/dist/features/homepage/components/StatsCounterSection.js +1 -1
  295. package/dist/features/homepage/components/TestimonialsCarousel.js +1 -1
  296. package/dist/features/homepage/components/TrustBadges.js +1 -1
  297. package/dist/features/homepage/components/TrustFeaturesSection.js +2 -2
  298. package/dist/features/homepage/components/TrustIndicatorsSection.js +2 -2
  299. package/dist/features/homepage/components/WelcomeSection.js +2 -2
  300. package/dist/features/homepage/components/WhatsAppCommunitySection.js +1 -1
  301. package/dist/features/homepage/hooks/useActiveAd.js +2 -1
  302. package/dist/features/homepage/schemas/firestore.d.ts +10 -0
  303. package/dist/features/homepage/schemas/index.d.ts +116 -116
  304. package/dist/features/jobs/actions/enqueue-job.d.ts +24 -0
  305. package/dist/features/jobs/actions/enqueue-job.js +44 -0
  306. package/dist/features/jobs/repository/jobs.repository.d.ts +21 -0
  307. package/dist/features/jobs/repository/jobs.repository.js +48 -0
  308. package/dist/features/jobs/schemas/firestore.d.ts +54 -0
  309. package/dist/features/jobs/schemas/firestore.js +24 -0
  310. package/dist/features/layout/AppLayoutShell.js +17 -11
  311. package/dist/features/layout/AutoBreadcrumbs.js +1 -1
  312. package/dist/features/layout/BackToTop.js +2 -2
  313. package/dist/features/layout/BottomActions.js +7 -7
  314. package/dist/features/layout/BottomNavItem.js +2 -2
  315. package/dist/features/layout/BottomNavLayout.js +13 -4
  316. package/dist/features/layout/BottomNavbar.d.ts +9 -1
  317. package/dist/features/layout/BottomNavbar.js +12 -5
  318. package/dist/features/layout/BottomSheet.js +1 -1
  319. package/dist/features/layout/Breadcrumbs.js +1 -1
  320. package/dist/features/layout/FooterLayout.js +2 -2
  321. package/dist/features/layout/NavItem.js +3 -3
  322. package/dist/features/layout/NavbarLayout.js +6 -6
  323. package/dist/features/layout/SidebarLayout.d.ts +3 -0
  324. package/dist/features/layout/SidebarLayout.js +3 -3
  325. package/dist/features/layout/TitleBarLayout.js +4 -4
  326. package/dist/features/live/components/LiveItemFilters.js +2 -2
  327. package/dist/features/live/components/LiveItemsIndexListing.js +3 -3
  328. package/dist/features/lottery/types/index.d.ts +3 -1
  329. package/dist/features/lottery/types/index.js +16 -3
  330. package/dist/features/loyalty/components/CoinsDisplay.js +2 -2
  331. package/dist/features/media/MediaImage.d.ts +6 -1
  332. package/dist/features/media/MediaImage.js +10 -4
  333. package/dist/features/media/MediaLightbox.js +1 -1
  334. package/dist/features/media/MediaPickerModal.js +4 -3
  335. package/dist/features/media/MediaVideo.js +1 -1
  336. package/dist/features/media/modals/ImageCropModal.js +1 -1
  337. package/dist/features/media/modals/ImageEditor.js +1 -1
  338. package/dist/features/media/repository/media-assets.repository.d.ts +9 -0
  339. package/dist/features/media/types/index.d.ts +4 -4
  340. package/dist/features/media/upload/MediaUploadField.js +3 -3
  341. package/dist/features/media/upload/MediaUploadList.js +1 -1
  342. package/dist/features/messages/hooks/useConversation.js +4 -3
  343. package/dist/features/messages/hooks/useConversations.js +2 -1
  344. package/dist/features/messages/schemas/index.d.ts +6 -6
  345. package/dist/features/orders/components/MarketplaceOrderCard.js +1 -1
  346. package/dist/features/orders/components/OrderPaymentSummary.d.ts +16 -0
  347. package/dist/features/orders/components/OrderPaymentSummary.js +32 -0
  348. package/dist/features/orders/components/OrderSiblingPayments.js +1 -1
  349. package/dist/features/orders/components/OrdersList.d.ts +7 -2
  350. package/dist/features/orders/components/OrdersList.js +5 -5
  351. package/dist/features/orders/components/RefundHistoryTable.js +1 -1
  352. package/dist/features/orders/components/RefundRequestView.js +1 -1
  353. package/dist/features/orders/components/index.d.ts +2 -0
  354. package/dist/features/orders/components/index.js +1 -0
  355. package/dist/features/orders/repository/orders.repository.d.ts +8 -0
  356. package/dist/features/orders/repository/orders.repository.js +24 -0
  357. package/dist/features/orders/schemas/firestore.d.ts +59 -0
  358. package/dist/features/orders/schemas/firestore.js +5 -0
  359. package/dist/features/orders/schemas/index.d.ts +91 -40
  360. package/dist/features/orders/schemas/index.js +10 -0
  361. package/dist/features/orders/types/index.d.ts +15 -0
  362. package/dist/features/payments/schemas/index.d.ts +12 -12
  363. package/dist/features/pre-orders/components/MarketplacePreorderCard.js +5 -5
  364. package/dist/features/pre-orders/components/PreOrderActionsClient.js +1 -1
  365. package/dist/features/pre-orders/components/PreOrderBadge.js +1 -1
  366. package/dist/features/pre-orders/components/PreOrderDetailPageView.js +7 -7
  367. package/dist/features/pre-orders/components/PreOrdersIndexListing.js +3 -3
  368. package/dist/features/pre-orders/schemas/index.d.ts +12 -12
  369. package/dist/features/products/columns/productTableColumns.js +2 -2
  370. package/dist/features/products/components/AuctionsIndexListing.js +3 -3
  371. package/dist/features/products/components/CompareOverlay.js +15 -10
  372. package/dist/features/products/components/CustomFieldsEditor.js +2 -2
  373. package/dist/features/products/components/CustomSectionsEditor.js +3 -3
  374. package/dist/features/products/components/FeatureBadge.js +2 -2
  375. package/dist/features/products/components/GroupSettingsPanel.js +5 -4
  376. package/dist/features/products/components/MakeOfferButton.js +4 -4
  377. package/dist/features/products/components/MarketplaceBundleCard.js +3 -2
  378. package/dist/features/products/components/MarketplacePrizeDrawCard.js +1 -1
  379. package/dist/features/products/components/PrizeDrawCollage.js +6 -6
  380. package/dist/features/products/components/PrizeDrawDetailPageView.js +5 -5
  381. package/dist/features/products/components/PrizeDrawEntryActions.js +1 -1
  382. package/dist/features/products/components/PrizeDrawItemsEditor.js +4 -4
  383. package/dist/features/products/components/PrizeDrawsIndexListing.js +11 -4
  384. package/dist/features/products/components/PrizeDrawsSection.js +1 -1
  385. package/dist/features/products/components/PrizeRevealModal.js +9 -4
  386. package/dist/features/products/components/ProductDetailActions.js +2 -1
  387. package/dist/features/products/components/ProductDetailPageView.js +16 -16
  388. package/dist/features/products/components/ProductFeaturesSelector.js +5 -5
  389. package/dist/features/products/components/ProductForm.js +1 -1
  390. package/dist/features/products/components/ProductGalleryClient.js +5 -3
  391. package/dist/features/products/components/ProductGrid.js +11 -11
  392. package/dist/features/products/components/ProductTabs.js +2 -2
  393. package/dist/features/products/components/ProductTabsShell.js +2 -1
  394. package/dist/features/products/components/ProductsIndexListing.js +6 -1
  395. package/dist/features/products/components/ShareButton.js +2 -1
  396. package/dist/features/products/components/ShowGroupSection.js +9 -5
  397. package/dist/features/products/components/SublistingCarouselSection.js +8 -4
  398. package/dist/features/products/constants/action-defs.d.ts +10 -2
  399. package/dist/features/products/constants/action-defs.js +20 -2
  400. package/dist/features/products/schemas/firestore.d.ts +5 -0
  401. package/dist/features/products/schemas/index.d.ts +40 -40
  402. package/dist/features/products/schemas/product-features.validators.d.ts +14 -14
  403. package/dist/features/promotions/components/CouponCard.js +13 -7
  404. package/dist/features/promotions/components/CouponsIndexListing.js +4 -6
  405. package/dist/features/promotions/components/PromotionsView.js +2 -2
  406. package/dist/features/promotions/schemas/index.d.ts +26 -26
  407. package/dist/features/reviews/components/ReviewDetailPageView.js +1 -1
  408. package/dist/features/reviews/components/ReviewDetailShell.js +11 -11
  409. package/dist/features/reviews/components/ReviewModal.js +1 -1
  410. package/dist/features/reviews/components/ReviewsIndexListing.js +2 -2
  411. package/dist/features/reviews/components/ReviewsList.js +2 -2
  412. package/dist/features/reviews/schemas/index.d.ts +22 -22
  413. package/dist/features/scams/components/ScamAwarenessModal.js +2 -2
  414. package/dist/features/scams/components/ScamProfileView.js +3 -3
  415. package/dist/features/scams/components/ScamRegistryView.js +2 -2
  416. package/dist/features/scams/schemas/index.d.ts +20 -20
  417. package/dist/features/search/components/Search.js +9 -9
  418. package/dist/features/search/components/SearchFiltersRow.js +1 -1
  419. package/dist/features/search/components/SearchResultsSection.js +3 -3
  420. package/dist/features/search/components/SearchView.js +1 -1
  421. package/dist/features/search/hooks/useNavSuggestions.js +2 -1
  422. package/dist/features/search/hooks/useSearch.js +2 -2
  423. package/dist/features/search/schemas/index.d.ts +3 -3
  424. package/dist/features/seller/components/BrandInlineSelect.js +2 -2
  425. package/dist/features/seller/components/CategoryInlineSelect.js +2 -2
  426. package/dist/features/seller/components/QuickProductForm.js +1 -1
  427. package/dist/features/seller/components/SellerAddressesView.js +4 -4
  428. package/dist/features/seller/components/SellerAnalyticsAlertsView.js +3 -3
  429. package/dist/features/seller/components/SellerAnalyticsView.js +2 -2
  430. package/dist/features/seller/components/SellerArtView.js +11 -11
  431. package/dist/features/seller/components/SellerAuctionsView.js +11 -11
  432. package/dist/features/seller/components/SellerBidsView.js +3 -3
  433. package/dist/features/seller/components/SellerBundlesView.js +12 -12
  434. package/dist/features/seller/components/SellerClassifiedView.js +11 -11
  435. package/dist/features/seller/components/SellerCouponEditorView.js +2 -2
  436. package/dist/features/seller/components/SellerDigitalCodesView.js +11 -11
  437. package/dist/features/seller/components/SellerFeaturesView.js +4 -4
  438. package/dist/features/seller/components/SellerLiveView.js +11 -11
  439. package/dist/features/seller/components/SellerOffersPanel.js +3 -2
  440. package/dist/features/seller/components/SellerOrdersView.js +2 -2
  441. package/dist/features/seller/components/SellerPayoutMethodsView.js +1 -1
  442. package/dist/features/seller/components/SellerPayoutRequestView.js +6 -5
  443. package/dist/features/seller/components/SellerPayoutSettingsView.js +5 -4
  444. package/dist/features/seller/components/SellerPreOrdersView.js +1 -1
  445. package/dist/features/seller/components/SellerPrizeDrawsView.js +1 -1
  446. package/dist/features/seller/components/SellerProductShell.js +20 -6
  447. package/dist/features/seller/components/SellerProductsCards.js +3 -3
  448. package/dist/features/seller/components/SellerProductsView.js +4 -4
  449. package/dist/features/seller/components/SellerReviewsView.js +7 -6
  450. package/dist/features/seller/components/SellerShippingView.js +2 -1
  451. package/dist/features/seller/components/SellerSidebar.js +5 -5
  452. package/dist/features/seller/components/SellerStickersView.js +11 -11
  453. package/dist/features/seller/components/SellerTemplatesView.js +1 -1
  454. package/dist/features/seller/schemas/index.d.ts +20 -20
  455. package/dist/features/server-errors/schemas/index.d.ts +6 -6
  456. package/dist/features/shell/CommandPalette.d.ts +27 -0
  457. package/dist/features/shell/CommandPalette.js +92 -0
  458. package/dist/features/shell/FormShell.js +4 -3
  459. package/dist/features/shell/QuickFormDrawer.js +3 -2
  460. package/dist/features/shell/StepForm.js +2 -2
  461. package/dist/features/shell/index.d.ts +2 -0
  462. package/dist/features/shell/index.js +1 -0
  463. package/dist/features/shipments/components/AdminShipmentEditorView.d.ts +7 -0
  464. package/dist/features/shipments/components/AdminShipmentEditorView.js +123 -0
  465. package/dist/features/shipments/components/AdminShipmentLotItemsView.d.ts +6 -0
  466. package/dist/features/shipments/components/AdminShipmentLotItemsView.js +96 -0
  467. package/dist/features/shipments/components/AdminShipmentProjectionsView.d.ts +9 -0
  468. package/dist/features/shipments/components/AdminShipmentProjectionsView.js +44 -0
  469. package/dist/features/shipments/components/AdminShipmentsView.d.ts +8 -0
  470. package/dist/features/shipments/components/AdminShipmentsView.js +82 -0
  471. package/dist/features/shipments/components/ShipmentItemLinkModal.d.ts +15 -0
  472. package/dist/features/shipments/components/ShipmentItemLinkModal.js +37 -0
  473. package/dist/features/shipments/hooks/useShipments.d.ts +69 -0
  474. package/dist/features/shipments/hooks/useShipments.js +96 -0
  475. package/dist/features/shipments/index.d.ts +10 -0
  476. package/dist/features/shipments/index.js +7 -0
  477. package/dist/features/shipments/manifest.d.ts +2 -0
  478. package/dist/features/shipments/manifest.js +26 -0
  479. package/dist/features/shipments/repository/shipment-items.repository.d.ts +56 -0
  480. package/dist/features/shipments/repository/shipment-items.repository.js +78 -0
  481. package/dist/features/shipments/repository/shipment-lots.repository.d.ts +48 -0
  482. package/dist/features/shipments/repository/shipment-lots.repository.js +55 -0
  483. package/dist/features/shipments/repository/shipments.repository.d.ts +50 -0
  484. package/dist/features/shipments/repository/shipments.repository.js +77 -0
  485. package/dist/features/shipments/schemas/firestore.d.ts +150 -0
  486. package/dist/features/shipments/schemas/firestore.js +76 -0
  487. package/dist/features/shipments/schemas/index.d.ts +2 -0
  488. package/dist/features/shipments/schemas/index.js +2 -0
  489. package/dist/features/shipments/schemas/validation.d.ts +350 -0
  490. package/dist/features/shipments/schemas/validation.js +96 -0
  491. package/dist/features/shipments/utils/cost-allocation.d.ts +25 -0
  492. package/dist/features/shipments/utils/cost-allocation.js +83 -0
  493. package/dist/features/site-settings/components/ActionPermissionsManager.js +2 -2
  494. package/dist/features/stores/components/InteractiveStoreCard.js +2 -2
  495. package/dist/features/stores/components/StoreAboutView.js +1 -1
  496. package/dist/features/stores/components/StoreAuctionsListing.js +3 -3
  497. package/dist/features/stores/components/StoreAuctionsView.js +1 -1
  498. package/dist/features/stores/components/StoreCapabilitiesGuideView.js +1 -1
  499. package/dist/features/stores/components/StoreClassifiedsListing.js +2 -2
  500. package/dist/features/stores/components/StoreDetailLayoutView.js +1 -1
  501. package/dist/features/stores/components/StoreDigitalCodesListing.js +2 -2
  502. package/dist/features/stores/components/StoreFinanceGuideView.js +2 -2
  503. package/dist/features/stores/components/StoreGuideHubView.js +2 -2
  504. package/dist/features/stores/components/StoreHeader.js +4 -4
  505. package/dist/features/stores/components/StoreLiveItemsListing.js +2 -2
  506. package/dist/features/stores/components/StoreNavTabs.js +2 -2
  507. package/dist/features/stores/components/StoreOrdersGuideView.js +1 -1
  508. package/dist/features/stores/components/StorePreOrdersListing.js +3 -3
  509. package/dist/features/stores/components/StoreProductsListing.js +1 -1
  510. package/dist/features/stores/components/StoreReviewsListing.js +2 -2
  511. package/dist/features/stores/components/StoreReviewsView.js +1 -1
  512. package/dist/features/stores/components/StoreSettingsGuideView.js +1 -1
  513. package/dist/features/stores/components/StoresIndexListing.js +9 -3
  514. package/dist/features/stores/schemas/index.d.ts +10 -10
  515. package/dist/features/support/schemas/index.d.ts +22 -22
  516. package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.js +3 -3
  517. package/dist/features/whatsapp-bot/components/WhatsAppChatButton.js +1 -1
  518. package/dist/features/wishlist/hooks/useWishlistCount.js +1 -2
  519. package/dist/index.d.ts +44 -1
  520. package/dist/index.js +37 -1
  521. package/dist/next/routing/route-map.d.ts +18 -0
  522. package/dist/next/routing/route-map.js +9 -0
  523. package/dist/react/hooks/useVisualViewportInset.d.ts +1 -0
  524. package/dist/react/hooks/useVisualViewportInset.js +59 -0
  525. package/dist/react/index.d.ts +1 -0
  526. package/dist/react/index.js +1 -0
  527. package/dist/repositories/index.d.ts +5 -0
  528. package/dist/repositories/index.js +5 -0
  529. package/dist/schemas/registry.d.ts +398 -364
  530. package/dist/schemas/sieve.d.ts +2 -2
  531. package/dist/schemas/webhooks/google-oauth.d.ts +2 -2
  532. package/dist/schemas/webhooks/razorpay.d.ts +100 -100
  533. package/dist/seed/_helpers/media.js +1 -0
  534. package/dist/seed/actions/demo-seed-actions.d.ts +1 -1
  535. package/dist/seed/catalogue-seed-data.d.ts +2 -0
  536. package/dist/seed/catalogue-seed-data.js +112 -0
  537. package/dist/seed/grouped-listings-seed-data.d.ts +5 -0
  538. package/dist/seed/homepage-sections-seed-data.js +0 -1
  539. package/dist/seed/index.d.ts +2 -0
  540. package/dist/seed/index.js +2 -0
  541. package/dist/seed/manifest.js +6 -0
  542. package/dist/seed/products-preorders-seed-data.d.ts +5 -0
  543. package/dist/seed/shipments-seed-data.d.ts +5 -0
  544. package/dist/seed/shipments-seed-data.js +185 -0
  545. package/dist/server.d.ts +4 -0
  546. package/dist/server.js +5 -0
  547. package/dist/styles.css +75 -19
  548. package/dist/tailwind-utilities.css +1 -1
  549. package/dist/tokens/index.d.ts +0 -2
  550. package/dist/tokens/index.js +0 -2
  551. package/dist/tokens/tokens.css +12 -2
  552. package/dist/ui/DataTable.js +4 -3
  553. package/dist/ui/components/Button.d.ts +4 -1
  554. package/dist/ui/components/Button.js +11 -5
  555. package/dist/ui/components/Checkbox.d.ts +9 -1
  556. package/dist/ui/components/Checkbox.js +5 -2
  557. package/dist/ui/components/ClaimCouponButton.js +2 -1
  558. package/dist/ui/components/ConfirmDeleteModal.style.css +1 -1
  559. package/dist/ui/components/Drawer.style.css +13 -1
  560. package/dist/ui/components/Dropdown.style.css +2 -2
  561. package/dist/ui/components/FilterDrawer.d.ts +4 -1
  562. package/dist/ui/components/FilterDrawer.js +8 -2
  563. package/dist/ui/components/Form.d.ts +1 -1
  564. package/dist/ui/components/Form.js +2 -2
  565. package/dist/ui/components/FormActionBar.style.css +6 -1
  566. package/dist/ui/components/IconButton.d.ts +6 -1
  567. package/dist/ui/components/IconButton.js +5 -2
  568. package/dist/ui/components/IconButton.style.css +11 -0
  569. package/dist/ui/components/ImageGallery.style.css +2 -0
  570. package/dist/ui/components/ImageLightbox.style.css +1 -0
  571. package/dist/ui/components/ListingFilterDrawer.d.ts +4 -1
  572. package/dist/ui/components/ListingFilterDrawer.js +4 -3
  573. package/dist/ui/components/ListingLayout.style.css +2 -2
  574. package/dist/ui/components/Modal.style.css +1 -1
  575. package/dist/ui/components/Pagination.d.ts +5 -1
  576. package/dist/ui/components/Pagination.js +4 -2
  577. package/dist/ui/components/RowActionMenu.js +1 -1
  578. package/dist/ui/components/RowActionMenu.style.css +1 -1
  579. package/dist/ui/components/Select.d.ts +6 -1
  580. package/dist/ui/components/Select.js +18 -13
  581. package/dist/ui/components/Select.style.css +1 -1
  582. package/dist/ui/components/Semantic.d.ts +13 -0
  583. package/dist/ui/components/Semantic.js +16 -3
  584. package/dist/ui/components/SideDrawer.style.css +16 -4
  585. package/dist/ui/components/SideModal.style.css +1 -1
  586. package/dist/ui/components/StickyToolbar.d.ts +3 -2
  587. package/dist/ui/components/StickyToolbar.js +1 -1
  588. package/dist/ui/components/Textarea.d.ts +5 -0
  589. package/dist/ui/components/Textarea.js +8 -4
  590. package/dist/ui/components/Toast.style.css +3 -0
  591. package/dist/ui/components/UnsavedChangesModal.style.css +1 -1
  592. package/dist/ui/components/surface-tokens.d.ts +121 -113
  593. package/dist/ui/components/surface-tokens.js +110 -104
  594. package/dist/ui/forms/FormShell.d.ts +8 -27
  595. package/dist/ui/forms/FormShell.js +1 -194
  596. package/dist/ui/forms/index.d.ts +2 -2
  597. package/dist/ui/forms/index.js +1 -1
  598. package/dist/ui/index.d.ts +8 -4
  599. package/dist/ui/index.js +4 -2
  600. package/dist/utils/id-generators.d.ts +27 -0
  601. package/dist/utils/id-generators.js +45 -0
  602. package/dist/utils/number.formatter.d.ts +7 -0
  603. package/dist/utils/number.formatter.js +9 -0
  604. package/dist/validation/schemas.d.ts +5 -5
  605. package/package.json +1 -1
@@ -6,9 +6,15 @@
6
6
  *
7
7
  * Never hard-code `/api/...` strings in hook files — import from here.
8
8
  */
9
+ export declare const CONFIG_ENDPOINTS: {
10
+ readonly FEATURE_FLAGS: "/api/config/feature-flags";
11
+ };
9
12
  export declare const LOGS_ENDPOINTS: {
10
13
  readonly WRITE: "/api/logs/write";
11
14
  };
15
+ export declare const CLIENT_ERROR_ENDPOINTS: {
16
+ readonly REPORT: "/api/client-errors";
17
+ };
12
18
  export declare const AUTH_ENDPOINTS: {
13
19
  readonly ME: "/api/auth/me";
14
20
  readonly LOGIN: "/api/auth/login";
@@ -38,9 +44,31 @@ export declare const ACCOUNT_ENDPOINTS: {
38
44
  readonly ORDERS: "/api/user/orders";
39
45
  readonly ORDER_BY_ID: (orderId: string) => string;
40
46
  readonly WISHLIST: "/api/user/wishlist";
47
+ readonly WISHLIST_ITEM_BY_ID: (itemId: string) => string;
48
+ readonly WISHLIST_VALIDATE: "/api/user/wishlist/validate";
41
49
  readonly HISTORY: "/api/user/history";
42
50
  readonly HISTORY_ITEM: (productId: string) => string;
43
51
  readonly HISTORY_MERGE: "/api/user/history/merge";
52
+ readonly REVIEWS: "/api/user/reviews";
53
+ readonly BIDS: "/api/user/bids";
54
+ readonly EXPORT: "/api/user/export";
55
+ /** Claimed-coupons wallet — GET list, POST claim, DELETE by id. */
56
+ readonly COUPONS: "/api/user/coupons";
57
+ readonly COUPON_BY_ID: (id: string) => string;
58
+ readonly COUPONS_CLAIM: "/api/user/coupons/claim";
59
+ readonly OFFERS: "/api/user/offers";
60
+ readonly NOTIFICATION_PREFERENCES: "/api/user/notification-preferences";
61
+ readonly CATALOGUE: "/api/user/catalogue";
62
+ readonly CATALOGUE_BY_ID: (id: string) => string;
63
+ readonly CATALOGUE_LIST: (id: string) => string;
64
+ readonly CATALOGUE_SUBMIT: (id: string) => string;
65
+ readonly PUBLIC_CATALOGUE: (ownerSlug: string) => string;
66
+ };
67
+ export declare const CONVERSATION_ENDPOINTS: {
68
+ readonly LIST: "/api/user/conversations";
69
+ readonly BY_ID: (id: string) => string;
70
+ readonly MESSAGES: (id: string) => string;
71
+ readonly READ: (id: string) => string;
44
72
  };
45
73
  export declare const NOTIFICATIONS_ENDPOINTS: {
46
74
  readonly LIST: "/api/notifications";
@@ -63,7 +91,9 @@ export declare const ADMIN_ENDPOINTS: {
63
91
  readonly ORDERS: "/api/admin/orders";
64
92
  readonly ORDER_BY_ID: (id: string) => string;
65
93
  readonly ORDER_REFUND: (id: string) => string;
94
+ readonly ORDER_PAYMENT_VERIFY: (id: string) => string;
66
95
  readonly USERS: "/api/admin/users";
96
+ readonly USERS_BULK: "/api/admin/users/bulk";
67
97
  readonly USER_BY_ID: (uid: string) => string;
68
98
  readonly REVIEWS: "/api/admin/reviews";
69
99
  readonly REVIEW_BY_ID: (id: string) => string;
@@ -86,6 +116,18 @@ export declare const ADMIN_ENDPOINTS: {
86
116
  readonly PAYOUT_BY_ID: (id: string) => string;
87
117
  readonly PAYOUTS_WEEKLY: "/api/admin/payouts/weekly";
88
118
  readonly PAYOUTS_EXPORT: "/api/admin/payouts/export";
119
+ readonly SHIPMENTS: "/api/admin/shipments";
120
+ readonly SHIPMENT_BY_ID: (id: string) => string;
121
+ readonly SHIPMENT_LOTS: (id: string) => string;
122
+ readonly SHIPMENT_LOT_BY_ID: (id: string, lotId: string) => string;
123
+ readonly SHIPMENT_LOT_ITEMS: (id: string, lotId: string) => string;
124
+ readonly SHIPMENT_LOT_ITEM_BY_ID: (id: string, lotId: string, itemId: string) => string;
125
+ readonly SHIPMENT_LOT_ITEMS_BULK: (id: string, lotId: string) => string;
126
+ readonly SHIPMENT_LOT_ITEM_LINK: (id: string, lotId: string, itemId: string) => string;
127
+ readonly SHIPMENTS_PROJECTIONS: "/api/admin/shipments/projections";
128
+ readonly CATALOGUE_APPROVALS: "/api/admin/catalogue";
129
+ readonly CATALOGUE_APPROVE: (id: string) => string;
130
+ readonly CATALOGUE_REJECT: (id: string) => string;
89
131
  readonly EVENTS: "/api/admin/events";
90
132
  readonly EVENT_BY_ID: (id: string) => string;
91
133
  readonly EVENT_STATUS: (id: string) => string;
@@ -107,6 +149,7 @@ export declare const ADMIN_ENDPOINTS: {
107
149
  readonly ADMIN_EVENT_ENTRIES: "/api/admin/event-entries";
108
150
  readonly ADMIN_EVENT_ENTRY_BY_ID: (id: string) => string;
109
151
  readonly ADMIN_NOTIFICATIONS: "/api/admin/notifications";
152
+ readonly ADMIN_NOTIFICATIONS_BULK: "/api/admin/notifications/bulk";
110
153
  readonly ADMIN_NOTIFICATION_BY_ID: (id: string) => string;
111
154
  readonly ADMIN_NOTIFICATION_RESEND: (id: string) => string;
112
155
  readonly ADMIN_CARTS: "/api/admin/carts";
@@ -144,6 +187,9 @@ export declare const ADMIN_ENDPOINTS: {
144
187
  readonly GROUPED_LISTINGS: "/api/admin/grouped-listings";
145
188
  readonly GROUPED_LISTING_BY_ID: (id: string) => string;
146
189
  readonly ADMIN_FULFILLMENT: (storeId: string) => string;
190
+ readonly CHECKOUT_BYPASS: "/api/admin/checkout-bypass";
191
+ readonly MAINTENANCE_ANALYSIS: "/api/admin/maintenance/analysis";
192
+ readonly MEDIA_LIST: "/api/admin/media";
147
193
  };
148
194
  export declare const CHAT_ENDPOINTS: {
149
195
  readonly LIST: "/api/chat";
@@ -164,6 +210,10 @@ export declare const CART_ENDPOINTS: {
164
210
  readonly GET: "/api/cart";
165
211
  readonly BY_USER: (userId: string) => string;
166
212
  readonly MERGE: "/api/cart/merge";
213
+ readonly BY_ITEM_ID: (itemId: string) => string;
214
+ readonly VALIDATE: "/api/cart/validate";
215
+ readonly SELECTION: "/api/cart/selection";
216
+ readonly COUPON: "/api/cart/coupon";
167
217
  };
168
218
  export declare const CATEGORY_ENDPOINTS: {
169
219
  readonly LIST: "/api/categories";
@@ -172,6 +222,8 @@ export declare const CATEGORY_ENDPOINTS: {
172
222
  readonly BY_PARENT: (parentId: string) => string;
173
223
  readonly BRANDS: (pageSize?: number) => string;
174
224
  readonly ROOT: (pageSize?: number) => string;
225
+ /** @param qs — pre-built querystring (no leading `?`) for structured filters */
226
+ readonly FILTERED: (qs: string) => string;
175
227
  };
176
228
  export declare const CHECKOUT_ENDPOINTS: {
177
229
  readonly PREFLIGHT: "/api/checkout/preflight";
@@ -190,10 +242,17 @@ export declare const CONSULTATION_ENDPOINTS: {
190
242
  };
191
243
  export declare const COPILOT_ENDPOINTS: {
192
244
  readonly CHAT: "/api/copilot/chat";
245
+ readonly HISTORY: "/api/copilot/history";
193
246
  };
194
247
  export declare const CORPORATE_ENDPOINTS: {
195
248
  readonly INQUIRIES: "/api/corporate-inquiries";
196
249
  };
250
+ export declare const CONTACT_ENDPOINTS: {
251
+ readonly SUBMIT: "/api/contact";
252
+ };
253
+ export declare const AD_ENDPOINTS: {
254
+ readonly ACTIVE_BY_SLOT: (slotId: string) => string;
255
+ };
197
256
  export declare const EVENT_ENDPOINTS: {
198
257
  readonly LIST: "/api/events";
199
258
  readonly BY_ID: (id: string) => string;
@@ -236,9 +295,10 @@ export declare const ORDER_ENDPOINTS: {
236
295
  readonly LIST: "/api/orders";
237
296
  readonly BY_ID: (id: string) => string;
238
297
  readonly TRACK: (trackingId: string) => string;
298
+ readonly PAYMENT_PROOF: (id: string) => string;
239
299
  };
240
300
  export declare const PREORDER_ENDPOINTS: {
241
- readonly LIST: "/api/preorders";
301
+ readonly LIST: "/api/pre-orders";
242
302
  readonly BY_SLUG: (slug: string) => string;
243
303
  };
244
304
  export declare const PRODUCT_ENDPOINTS: {
@@ -247,6 +307,16 @@ export declare const PRODUCT_ENDPOINTS: {
247
307
  readonly BY_ID: (id: string) => string;
248
308
  readonly LOTTERY_PULL: (id: string) => string;
249
309
  readonly LOTTERY_ENTRIES: (id: string) => string;
310
+ readonly SEARCH: (query: string, pageSize?: number) => string;
311
+ /** @param ids — comma-separated product ids, e.g. for a compare-tray fetch */
312
+ readonly BY_IDS: (ids: string) => string;
313
+ readonly GROUP_BY_ID: (groupId: string) => string;
314
+ };
315
+ export declare const PRIZE_DRAW_ENDPOINTS: {
316
+ readonly REVEAL: (productId: string) => string;
317
+ };
318
+ export declare const SUBLISTING_CATEGORY_ENDPOINTS: {
319
+ readonly BY_ID: (id: string) => string;
250
320
  };
251
321
  export declare const PROMOTION_ENDPOINTS: {
252
322
  readonly LIST: "/api/coupons";
@@ -259,6 +329,9 @@ export declare const REVIEW_ENDPOINTS: {
259
329
  };
260
330
  export declare const SEARCH_ENDPOINTS: {
261
331
  readonly QUERY: (q: string, extra?: string) => string;
332
+ readonly SUGGESTIONS: "/api/search/suggestions";
333
+ /** @param params — pre-built querystring (no leading `?`) from a caller-owned URLSearchParams */
334
+ readonly RAW: (params: string) => string;
262
335
  };
263
336
  export declare const SELLER_ENDPOINTS: {
264
337
  readonly BECOME: "/api/seller/become";
@@ -271,10 +344,16 @@ export declare const SELLER_ENDPOINTS: {
271
344
  readonly OFFERS: "/api/store/offers";
272
345
  readonly PAYOUTS: "/api/store/payouts";
273
346
  readonly PAYOUT_SETTINGS: "/api/store/payout-settings";
347
+ readonly PAYOUT_REQUEST: "/api/store/payouts/request";
348
+ readonly REVIEWS: "/api/store/reviews";
349
+ readonly REVIEW_CONTEST: (id: string) => string;
350
+ readonly REVIEW_FEEDBACK: (id: string) => string;
351
+ readonly SHIPPING: "/api/store/shipping";
274
352
  readonly STORE: "/api/store/storefront";
275
353
  readonly STORE_ADDRESSES: "/api/store/addresses";
276
354
  readonly STORE_ADDRESS_BY_ID: (id: string) => string;
277
355
  readonly BIDS: "/api/store/bids";
356
+ readonly BID_BY_ID: (id: string) => string;
278
357
  readonly DASHBOARD: "/api/store/dashboard";
279
358
  readonly ANALYTICS: (period?: string) => string;
280
359
  readonly FEATURES: "/api/store/features";
@@ -298,6 +377,14 @@ export declare const SELLER_ENDPOINTS: {
298
377
  readonly PRODUCTS_SCAN: (barcode: string) => string;
299
378
  readonly ORDERS_FULFILLMENT: "/api/store/fulfillment";
300
379
  readonly ORDERS_ASSIGN: (orderId: string) => string;
380
+ readonly PRODUCT_BY_ID: (id: string) => string;
381
+ readonly PRODUCT_DUPLICATE: (id: string) => string;
382
+ };
383
+ export declare const BRAND_ENDPOINTS: {
384
+ readonly LIST: "/api/brands";
385
+ readonly BY_ID: (id: string) => string;
386
+ /** @param qs — pre-built querystring (no leading `?`) for structured filters */
387
+ readonly FILTERED: (qs: string) => string;
301
388
  };
302
389
  export declare const BLOG_ENDPOINTS: {
303
390
  readonly LIST: "/api/blog";
@@ -315,6 +402,8 @@ export declare const STORE_ENDPOINTS: {
315
402
  export declare const WISHLIST_ENDPOINTS: {
316
403
  readonly LIST: "/api/user/wishlist";
317
404
  readonly BY_USER: (userId: string) => string;
405
+ readonly ADD: "/api/wishlist";
406
+ readonly MERGE: "/api/wishlist/merge";
318
407
  };
319
408
  export declare const PROFILE_STATS_ENDPOINTS: {
320
409
  readonly ORDERS: "/api/user/orders";
@@ -322,6 +411,9 @@ export declare const PROFILE_STATS_ENDPOINTS: {
322
411
  readonly PRODUCTS: (sellerId: string) => string;
323
412
  readonly REVIEWS: (userId: string) => string;
324
413
  };
414
+ export declare const REPORT_ENDPOINTS: {
415
+ readonly SUBMIT: "/api/reports";
416
+ };
325
417
  export declare const SUPPORT_ENDPOINTS: {
326
418
  readonly TICKETS: "/api/support/tickets";
327
419
  readonly TICKET_BY_ID: (id: string) => string;
@@ -345,9 +437,15 @@ export declare const WHATSAPP_SELLER_ENDPOINTS: {
345
437
  readonly CATALOG_IMPORT: "/api/store/whatsapp-settings/catalog-import";
346
438
  };
347
439
  export declare const API_ENDPOINTS: {
440
+ readonly CONFIG: {
441
+ readonly FEATURE_FLAGS: "/api/config/feature-flags";
442
+ };
348
443
  readonly LOGS: {
349
444
  readonly WRITE: "/api/logs/write";
350
445
  };
446
+ readonly CLIENT_ERRORS: {
447
+ readonly REPORT: "/api/client-errors";
448
+ };
351
449
  readonly AUTH: {
352
450
  readonly ME: "/api/auth/me";
353
451
  readonly LOGIN: "/api/auth/login";
@@ -377,9 +475,31 @@ export declare const API_ENDPOINTS: {
377
475
  readonly ORDERS: "/api/user/orders";
378
476
  readonly ORDER_BY_ID: (orderId: string) => string;
379
477
  readonly WISHLIST: "/api/user/wishlist";
478
+ readonly WISHLIST_ITEM_BY_ID: (itemId: string) => string;
479
+ readonly WISHLIST_VALIDATE: "/api/user/wishlist/validate";
380
480
  readonly HISTORY: "/api/user/history";
381
481
  readonly HISTORY_ITEM: (productId: string) => string;
382
482
  readonly HISTORY_MERGE: "/api/user/history/merge";
483
+ readonly REVIEWS: "/api/user/reviews";
484
+ readonly BIDS: "/api/user/bids";
485
+ readonly EXPORT: "/api/user/export";
486
+ /** Claimed-coupons wallet — GET list, POST claim, DELETE by id. */
487
+ readonly COUPONS: "/api/user/coupons";
488
+ readonly COUPON_BY_ID: (id: string) => string;
489
+ readonly COUPONS_CLAIM: "/api/user/coupons/claim";
490
+ readonly OFFERS: "/api/user/offers";
491
+ readonly NOTIFICATION_PREFERENCES: "/api/user/notification-preferences";
492
+ readonly CATALOGUE: "/api/user/catalogue";
493
+ readonly CATALOGUE_BY_ID: (id: string) => string;
494
+ readonly CATALOGUE_LIST: (id: string) => string;
495
+ readonly CATALOGUE_SUBMIT: (id: string) => string;
496
+ readonly PUBLIC_CATALOGUE: (ownerSlug: string) => string;
497
+ };
498
+ readonly CONVERSATIONS: {
499
+ readonly LIST: "/api/user/conversations";
500
+ readonly BY_ID: (id: string) => string;
501
+ readonly MESSAGES: (id: string) => string;
502
+ readonly READ: (id: string) => string;
383
503
  };
384
504
  readonly NOTIFICATIONS: {
385
505
  readonly LIST: "/api/notifications";
@@ -402,7 +522,9 @@ export declare const API_ENDPOINTS: {
402
522
  readonly ORDERS: "/api/admin/orders";
403
523
  readonly ORDER_BY_ID: (id: string) => string;
404
524
  readonly ORDER_REFUND: (id: string) => string;
525
+ readonly ORDER_PAYMENT_VERIFY: (id: string) => string;
405
526
  readonly USERS: "/api/admin/users";
527
+ readonly USERS_BULK: "/api/admin/users/bulk";
406
528
  readonly USER_BY_ID: (uid: string) => string;
407
529
  readonly REVIEWS: "/api/admin/reviews";
408
530
  readonly REVIEW_BY_ID: (id: string) => string;
@@ -425,6 +547,18 @@ export declare const API_ENDPOINTS: {
425
547
  readonly PAYOUT_BY_ID: (id: string) => string;
426
548
  readonly PAYOUTS_WEEKLY: "/api/admin/payouts/weekly";
427
549
  readonly PAYOUTS_EXPORT: "/api/admin/payouts/export";
550
+ readonly SHIPMENTS: "/api/admin/shipments";
551
+ readonly SHIPMENT_BY_ID: (id: string) => string;
552
+ readonly SHIPMENT_LOTS: (id: string) => string;
553
+ readonly SHIPMENT_LOT_BY_ID: (id: string, lotId: string) => string;
554
+ readonly SHIPMENT_LOT_ITEMS: (id: string, lotId: string) => string;
555
+ readonly SHIPMENT_LOT_ITEM_BY_ID: (id: string, lotId: string, itemId: string) => string;
556
+ readonly SHIPMENT_LOT_ITEMS_BULK: (id: string, lotId: string) => string;
557
+ readonly SHIPMENT_LOT_ITEM_LINK: (id: string, lotId: string, itemId: string) => string;
558
+ readonly SHIPMENTS_PROJECTIONS: "/api/admin/shipments/projections";
559
+ readonly CATALOGUE_APPROVALS: "/api/admin/catalogue";
560
+ readonly CATALOGUE_APPROVE: (id: string) => string;
561
+ readonly CATALOGUE_REJECT: (id: string) => string;
428
562
  readonly EVENTS: "/api/admin/events";
429
563
  readonly EVENT_BY_ID: (id: string) => string;
430
564
  readonly EVENT_STATUS: (id: string) => string;
@@ -446,6 +580,7 @@ export declare const API_ENDPOINTS: {
446
580
  readonly ADMIN_EVENT_ENTRIES: "/api/admin/event-entries";
447
581
  readonly ADMIN_EVENT_ENTRY_BY_ID: (id: string) => string;
448
582
  readonly ADMIN_NOTIFICATIONS: "/api/admin/notifications";
583
+ readonly ADMIN_NOTIFICATIONS_BULK: "/api/admin/notifications/bulk";
449
584
  readonly ADMIN_NOTIFICATION_BY_ID: (id: string) => string;
450
585
  readonly ADMIN_NOTIFICATION_RESEND: (id: string) => string;
451
586
  readonly ADMIN_CARTS: "/api/admin/carts";
@@ -483,6 +618,9 @@ export declare const API_ENDPOINTS: {
483
618
  readonly GROUPED_LISTINGS: "/api/admin/grouped-listings";
484
619
  readonly GROUPED_LISTING_BY_ID: (id: string) => string;
485
620
  readonly ADMIN_FULFILLMENT: (storeId: string) => string;
621
+ readonly CHECKOUT_BYPASS: "/api/admin/checkout-bypass";
622
+ readonly MAINTENANCE_ANALYSIS: "/api/admin/maintenance/analysis";
623
+ readonly MEDIA_LIST: "/api/admin/media";
486
624
  };
487
625
  readonly CHAT: {
488
626
  readonly LIST: "/api/chat";
@@ -503,6 +641,10 @@ export declare const API_ENDPOINTS: {
503
641
  readonly GET: "/api/cart";
504
642
  readonly BY_USER: (userId: string) => string;
505
643
  readonly MERGE: "/api/cart/merge";
644
+ readonly BY_ITEM_ID: (itemId: string) => string;
645
+ readonly VALIDATE: "/api/cart/validate";
646
+ readonly SELECTION: "/api/cart/selection";
647
+ readonly COUPON: "/api/cart/coupon";
506
648
  };
507
649
  readonly CATEGORIES: {
508
650
  readonly LIST: "/api/categories";
@@ -511,6 +653,8 @@ export declare const API_ENDPOINTS: {
511
653
  readonly BY_PARENT: (parentId: string) => string;
512
654
  readonly BRANDS: (pageSize?: number) => string;
513
655
  readonly ROOT: (pageSize?: number) => string;
656
+ /** @param qs — pre-built querystring (no leading `?`) for structured filters */
657
+ readonly FILTERED: (qs: string) => string;
514
658
  };
515
659
  readonly BEFORE_AFTER: {
516
660
  readonly LIST: "/api/before-after";
@@ -532,10 +676,17 @@ export declare const API_ENDPOINTS: {
532
676
  };
533
677
  readonly COPILOT: {
534
678
  readonly CHAT: "/api/copilot/chat";
679
+ readonly HISTORY: "/api/copilot/history";
535
680
  };
536
681
  readonly CORPORATE: {
537
682
  readonly INQUIRIES: "/api/corporate-inquiries";
538
683
  };
684
+ readonly CONTACT: {
685
+ readonly SUBMIT: "/api/contact";
686
+ };
687
+ readonly ADS: {
688
+ readonly ACTIVE_BY_SLOT: (slotId: string) => string;
689
+ };
539
690
  readonly EVENTS: {
540
691
  readonly LIST: "/api/events";
541
692
  readonly BY_ID: (id: string) => string;
@@ -578,9 +729,10 @@ export declare const API_ENDPOINTS: {
578
729
  readonly LIST: "/api/orders";
579
730
  readonly BY_ID: (id: string) => string;
580
731
  readonly TRACK: (trackingId: string) => string;
732
+ readonly PAYMENT_PROOF: (id: string) => string;
581
733
  };
582
734
  readonly PREORDERS: {
583
- readonly LIST: "/api/preorders";
735
+ readonly LIST: "/api/pre-orders";
584
736
  readonly BY_SLUG: (slug: string) => string;
585
737
  };
586
738
  readonly PRODUCTS: {
@@ -589,6 +741,13 @@ export declare const API_ENDPOINTS: {
589
741
  readonly BY_ID: (id: string) => string;
590
742
  readonly LOTTERY_PULL: (id: string) => string;
591
743
  readonly LOTTERY_ENTRIES: (id: string) => string;
744
+ readonly SEARCH: (query: string, pageSize?: number) => string;
745
+ /** @param ids — comma-separated product ids, e.g. for a compare-tray fetch */
746
+ readonly BY_IDS: (ids: string) => string;
747
+ readonly GROUP_BY_ID: (groupId: string) => string;
748
+ };
749
+ readonly PRIZE_DRAWS: {
750
+ readonly REVEAL: (productId: string) => string;
592
751
  };
593
752
  readonly PROMOTIONS: {
594
753
  readonly LIST: "/api/coupons";
@@ -601,6 +760,9 @@ export declare const API_ENDPOINTS: {
601
760
  };
602
761
  readonly SEARCH: {
603
762
  readonly QUERY: (q: string, extra?: string) => string;
763
+ readonly SUGGESTIONS: "/api/search/suggestions";
764
+ /** @param params — pre-built querystring (no leading `?`) from a caller-owned URLSearchParams */
765
+ readonly RAW: (params: string) => string;
604
766
  };
605
767
  readonly SELLER: {
606
768
  readonly BECOME: "/api/seller/become";
@@ -613,10 +775,16 @@ export declare const API_ENDPOINTS: {
613
775
  readonly OFFERS: "/api/store/offers";
614
776
  readonly PAYOUTS: "/api/store/payouts";
615
777
  readonly PAYOUT_SETTINGS: "/api/store/payout-settings";
778
+ readonly PAYOUT_REQUEST: "/api/store/payouts/request";
779
+ readonly REVIEWS: "/api/store/reviews";
780
+ readonly REVIEW_CONTEST: (id: string) => string;
781
+ readonly REVIEW_FEEDBACK: (id: string) => string;
782
+ readonly SHIPPING: "/api/store/shipping";
616
783
  readonly STORE: "/api/store/storefront";
617
784
  readonly STORE_ADDRESSES: "/api/store/addresses";
618
785
  readonly STORE_ADDRESS_BY_ID: (id: string) => string;
619
786
  readonly BIDS: "/api/store/bids";
787
+ readonly BID_BY_ID: (id: string) => string;
620
788
  readonly DASHBOARD: "/api/store/dashboard";
621
789
  readonly ANALYTICS: (period?: string) => string;
622
790
  readonly FEATURES: "/api/store/features";
@@ -640,6 +808,14 @@ export declare const API_ENDPOINTS: {
640
808
  readonly PRODUCTS_SCAN: (barcode: string) => string;
641
809
  readonly ORDERS_FULFILLMENT: "/api/store/fulfillment";
642
810
  readonly ORDERS_ASSIGN: (orderId: string) => string;
811
+ readonly PRODUCT_BY_ID: (id: string) => string;
812
+ readonly PRODUCT_DUPLICATE: (id: string) => string;
813
+ };
814
+ readonly BRANDS: {
815
+ readonly LIST: "/api/brands";
816
+ readonly BY_ID: (id: string) => string;
817
+ /** @param qs — pre-built querystring (no leading `?`) for structured filters */
818
+ readonly FILTERED: (qs: string) => string;
643
819
  };
644
820
  readonly BLOG: {
645
821
  readonly LIST: "/api/blog";
@@ -654,9 +830,14 @@ export declare const API_ENDPOINTS: {
654
830
  readonly AUCTIONS: (slug: string) => string;
655
831
  readonly REVIEWS: (slug: string) => string;
656
832
  };
833
+ readonly SUBLISTING_CATEGORIES: {
834
+ readonly BY_ID: (id: string) => string;
835
+ };
657
836
  readonly WISHLIST: {
658
837
  readonly LIST: "/api/user/wishlist";
659
838
  readonly BY_USER: (userId: string) => string;
839
+ readonly ADD: "/api/wishlist";
840
+ readonly MERGE: "/api/wishlist/merge";
660
841
  };
661
842
  readonly PROFILE_STATS: {
662
843
  readonly ORDERS: "/api/user/orders";
@@ -683,12 +864,21 @@ export declare const API_ENDPOINTS: {
683
864
  readonly BY_SLUG: (slug: string) => string;
684
865
  readonly REPORT: "/api/scammers/report";
685
866
  };
867
+ readonly REPORTS: {
868
+ readonly SUBMIT: "/api/reports";
869
+ };
686
870
  };
687
871
  /** Canonical alias — prefer API_ROUTES over API_ENDPOINTS in new code. */
688
872
  export declare const API_ROUTES: {
873
+ readonly CONFIG: {
874
+ readonly FEATURE_FLAGS: "/api/config/feature-flags";
875
+ };
689
876
  readonly LOGS: {
690
877
  readonly WRITE: "/api/logs/write";
691
878
  };
879
+ readonly CLIENT_ERRORS: {
880
+ readonly REPORT: "/api/client-errors";
881
+ };
692
882
  readonly AUTH: {
693
883
  readonly ME: "/api/auth/me";
694
884
  readonly LOGIN: "/api/auth/login";
@@ -718,9 +908,31 @@ export declare const API_ROUTES: {
718
908
  readonly ORDERS: "/api/user/orders";
719
909
  readonly ORDER_BY_ID: (orderId: string) => string;
720
910
  readonly WISHLIST: "/api/user/wishlist";
911
+ readonly WISHLIST_ITEM_BY_ID: (itemId: string) => string;
912
+ readonly WISHLIST_VALIDATE: "/api/user/wishlist/validate";
721
913
  readonly HISTORY: "/api/user/history";
722
914
  readonly HISTORY_ITEM: (productId: string) => string;
723
915
  readonly HISTORY_MERGE: "/api/user/history/merge";
916
+ readonly REVIEWS: "/api/user/reviews";
917
+ readonly BIDS: "/api/user/bids";
918
+ readonly EXPORT: "/api/user/export";
919
+ /** Claimed-coupons wallet — GET list, POST claim, DELETE by id. */
920
+ readonly COUPONS: "/api/user/coupons";
921
+ readonly COUPON_BY_ID: (id: string) => string;
922
+ readonly COUPONS_CLAIM: "/api/user/coupons/claim";
923
+ readonly OFFERS: "/api/user/offers";
924
+ readonly NOTIFICATION_PREFERENCES: "/api/user/notification-preferences";
925
+ readonly CATALOGUE: "/api/user/catalogue";
926
+ readonly CATALOGUE_BY_ID: (id: string) => string;
927
+ readonly CATALOGUE_LIST: (id: string) => string;
928
+ readonly CATALOGUE_SUBMIT: (id: string) => string;
929
+ readonly PUBLIC_CATALOGUE: (ownerSlug: string) => string;
930
+ };
931
+ readonly CONVERSATIONS: {
932
+ readonly LIST: "/api/user/conversations";
933
+ readonly BY_ID: (id: string) => string;
934
+ readonly MESSAGES: (id: string) => string;
935
+ readonly READ: (id: string) => string;
724
936
  };
725
937
  readonly NOTIFICATIONS: {
726
938
  readonly LIST: "/api/notifications";
@@ -743,7 +955,9 @@ export declare const API_ROUTES: {
743
955
  readonly ORDERS: "/api/admin/orders";
744
956
  readonly ORDER_BY_ID: (id: string) => string;
745
957
  readonly ORDER_REFUND: (id: string) => string;
958
+ readonly ORDER_PAYMENT_VERIFY: (id: string) => string;
746
959
  readonly USERS: "/api/admin/users";
960
+ readonly USERS_BULK: "/api/admin/users/bulk";
747
961
  readonly USER_BY_ID: (uid: string) => string;
748
962
  readonly REVIEWS: "/api/admin/reviews";
749
963
  readonly REVIEW_BY_ID: (id: string) => string;
@@ -766,6 +980,18 @@ export declare const API_ROUTES: {
766
980
  readonly PAYOUT_BY_ID: (id: string) => string;
767
981
  readonly PAYOUTS_WEEKLY: "/api/admin/payouts/weekly";
768
982
  readonly PAYOUTS_EXPORT: "/api/admin/payouts/export";
983
+ readonly SHIPMENTS: "/api/admin/shipments";
984
+ readonly SHIPMENT_BY_ID: (id: string) => string;
985
+ readonly SHIPMENT_LOTS: (id: string) => string;
986
+ readonly SHIPMENT_LOT_BY_ID: (id: string, lotId: string) => string;
987
+ readonly SHIPMENT_LOT_ITEMS: (id: string, lotId: string) => string;
988
+ readonly SHIPMENT_LOT_ITEM_BY_ID: (id: string, lotId: string, itemId: string) => string;
989
+ readonly SHIPMENT_LOT_ITEMS_BULK: (id: string, lotId: string) => string;
990
+ readonly SHIPMENT_LOT_ITEM_LINK: (id: string, lotId: string, itemId: string) => string;
991
+ readonly SHIPMENTS_PROJECTIONS: "/api/admin/shipments/projections";
992
+ readonly CATALOGUE_APPROVALS: "/api/admin/catalogue";
993
+ readonly CATALOGUE_APPROVE: (id: string) => string;
994
+ readonly CATALOGUE_REJECT: (id: string) => string;
769
995
  readonly EVENTS: "/api/admin/events";
770
996
  readonly EVENT_BY_ID: (id: string) => string;
771
997
  readonly EVENT_STATUS: (id: string) => string;
@@ -787,6 +1013,7 @@ export declare const API_ROUTES: {
787
1013
  readonly ADMIN_EVENT_ENTRIES: "/api/admin/event-entries";
788
1014
  readonly ADMIN_EVENT_ENTRY_BY_ID: (id: string) => string;
789
1015
  readonly ADMIN_NOTIFICATIONS: "/api/admin/notifications";
1016
+ readonly ADMIN_NOTIFICATIONS_BULK: "/api/admin/notifications/bulk";
790
1017
  readonly ADMIN_NOTIFICATION_BY_ID: (id: string) => string;
791
1018
  readonly ADMIN_NOTIFICATION_RESEND: (id: string) => string;
792
1019
  readonly ADMIN_CARTS: "/api/admin/carts";
@@ -824,6 +1051,9 @@ export declare const API_ROUTES: {
824
1051
  readonly GROUPED_LISTINGS: "/api/admin/grouped-listings";
825
1052
  readonly GROUPED_LISTING_BY_ID: (id: string) => string;
826
1053
  readonly ADMIN_FULFILLMENT: (storeId: string) => string;
1054
+ readonly CHECKOUT_BYPASS: "/api/admin/checkout-bypass";
1055
+ readonly MAINTENANCE_ANALYSIS: "/api/admin/maintenance/analysis";
1056
+ readonly MEDIA_LIST: "/api/admin/media";
827
1057
  };
828
1058
  readonly CHAT: {
829
1059
  readonly LIST: "/api/chat";
@@ -844,6 +1074,10 @@ export declare const API_ROUTES: {
844
1074
  readonly GET: "/api/cart";
845
1075
  readonly BY_USER: (userId: string) => string;
846
1076
  readonly MERGE: "/api/cart/merge";
1077
+ readonly BY_ITEM_ID: (itemId: string) => string;
1078
+ readonly VALIDATE: "/api/cart/validate";
1079
+ readonly SELECTION: "/api/cart/selection";
1080
+ readonly COUPON: "/api/cart/coupon";
847
1081
  };
848
1082
  readonly CATEGORIES: {
849
1083
  readonly LIST: "/api/categories";
@@ -852,6 +1086,8 @@ export declare const API_ROUTES: {
852
1086
  readonly BY_PARENT: (parentId: string) => string;
853
1087
  readonly BRANDS: (pageSize?: number) => string;
854
1088
  readonly ROOT: (pageSize?: number) => string;
1089
+ /** @param qs — pre-built querystring (no leading `?`) for structured filters */
1090
+ readonly FILTERED: (qs: string) => string;
855
1091
  };
856
1092
  readonly BEFORE_AFTER: {
857
1093
  readonly LIST: "/api/before-after";
@@ -873,10 +1109,17 @@ export declare const API_ROUTES: {
873
1109
  };
874
1110
  readonly COPILOT: {
875
1111
  readonly CHAT: "/api/copilot/chat";
1112
+ readonly HISTORY: "/api/copilot/history";
876
1113
  };
877
1114
  readonly CORPORATE: {
878
1115
  readonly INQUIRIES: "/api/corporate-inquiries";
879
1116
  };
1117
+ readonly CONTACT: {
1118
+ readonly SUBMIT: "/api/contact";
1119
+ };
1120
+ readonly ADS: {
1121
+ readonly ACTIVE_BY_SLOT: (slotId: string) => string;
1122
+ };
880
1123
  readonly EVENTS: {
881
1124
  readonly LIST: "/api/events";
882
1125
  readonly BY_ID: (id: string) => string;
@@ -919,9 +1162,10 @@ export declare const API_ROUTES: {
919
1162
  readonly LIST: "/api/orders";
920
1163
  readonly BY_ID: (id: string) => string;
921
1164
  readonly TRACK: (trackingId: string) => string;
1165
+ readonly PAYMENT_PROOF: (id: string) => string;
922
1166
  };
923
1167
  readonly PREORDERS: {
924
- readonly LIST: "/api/preorders";
1168
+ readonly LIST: "/api/pre-orders";
925
1169
  readonly BY_SLUG: (slug: string) => string;
926
1170
  };
927
1171
  readonly PRODUCTS: {
@@ -930,6 +1174,13 @@ export declare const API_ROUTES: {
930
1174
  readonly BY_ID: (id: string) => string;
931
1175
  readonly LOTTERY_PULL: (id: string) => string;
932
1176
  readonly LOTTERY_ENTRIES: (id: string) => string;
1177
+ readonly SEARCH: (query: string, pageSize?: number) => string;
1178
+ /** @param ids — comma-separated product ids, e.g. for a compare-tray fetch */
1179
+ readonly BY_IDS: (ids: string) => string;
1180
+ readonly GROUP_BY_ID: (groupId: string) => string;
1181
+ };
1182
+ readonly PRIZE_DRAWS: {
1183
+ readonly REVEAL: (productId: string) => string;
933
1184
  };
934
1185
  readonly PROMOTIONS: {
935
1186
  readonly LIST: "/api/coupons";
@@ -942,6 +1193,9 @@ export declare const API_ROUTES: {
942
1193
  };
943
1194
  readonly SEARCH: {
944
1195
  readonly QUERY: (q: string, extra?: string) => string;
1196
+ readonly SUGGESTIONS: "/api/search/suggestions";
1197
+ /** @param params — pre-built querystring (no leading `?`) from a caller-owned URLSearchParams */
1198
+ readonly RAW: (params: string) => string;
945
1199
  };
946
1200
  readonly SELLER: {
947
1201
  readonly BECOME: "/api/seller/become";
@@ -954,10 +1208,16 @@ export declare const API_ROUTES: {
954
1208
  readonly OFFERS: "/api/store/offers";
955
1209
  readonly PAYOUTS: "/api/store/payouts";
956
1210
  readonly PAYOUT_SETTINGS: "/api/store/payout-settings";
1211
+ readonly PAYOUT_REQUEST: "/api/store/payouts/request";
1212
+ readonly REVIEWS: "/api/store/reviews";
1213
+ readonly REVIEW_CONTEST: (id: string) => string;
1214
+ readonly REVIEW_FEEDBACK: (id: string) => string;
1215
+ readonly SHIPPING: "/api/store/shipping";
957
1216
  readonly STORE: "/api/store/storefront";
958
1217
  readonly STORE_ADDRESSES: "/api/store/addresses";
959
1218
  readonly STORE_ADDRESS_BY_ID: (id: string) => string;
960
1219
  readonly BIDS: "/api/store/bids";
1220
+ readonly BID_BY_ID: (id: string) => string;
961
1221
  readonly DASHBOARD: "/api/store/dashboard";
962
1222
  readonly ANALYTICS: (period?: string) => string;
963
1223
  readonly FEATURES: "/api/store/features";
@@ -981,6 +1241,14 @@ export declare const API_ROUTES: {
981
1241
  readonly PRODUCTS_SCAN: (barcode: string) => string;
982
1242
  readonly ORDERS_FULFILLMENT: "/api/store/fulfillment";
983
1243
  readonly ORDERS_ASSIGN: (orderId: string) => string;
1244
+ readonly PRODUCT_BY_ID: (id: string) => string;
1245
+ readonly PRODUCT_DUPLICATE: (id: string) => string;
1246
+ };
1247
+ readonly BRANDS: {
1248
+ readonly LIST: "/api/brands";
1249
+ readonly BY_ID: (id: string) => string;
1250
+ /** @param qs — pre-built querystring (no leading `?`) for structured filters */
1251
+ readonly FILTERED: (qs: string) => string;
984
1252
  };
985
1253
  readonly BLOG: {
986
1254
  readonly LIST: "/api/blog";
@@ -995,9 +1263,14 @@ export declare const API_ROUTES: {
995
1263
  readonly AUCTIONS: (slug: string) => string;
996
1264
  readonly REVIEWS: (slug: string) => string;
997
1265
  };
1266
+ readonly SUBLISTING_CATEGORIES: {
1267
+ readonly BY_ID: (id: string) => string;
1268
+ };
998
1269
  readonly WISHLIST: {
999
1270
  readonly LIST: "/api/user/wishlist";
1000
1271
  readonly BY_USER: (userId: string) => string;
1272
+ readonly ADD: "/api/wishlist";
1273
+ readonly MERGE: "/api/wishlist/merge";
1001
1274
  };
1002
1275
  readonly PROFILE_STATS: {
1003
1276
  readonly ORDERS: "/api/user/orders";
@@ -1024,4 +1297,7 @@ export declare const API_ROUTES: {
1024
1297
  readonly BY_SLUG: (slug: string) => string;
1025
1298
  readonly REPORT: "/api/scammers/report";
1026
1299
  };
1300
+ readonly REPORTS: {
1301
+ readonly SUBMIT: "/api/reports";
1302
+ };
1027
1303
  };