@mohasinac/appkit 4.53.2 → 4.54.0

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 (348) hide show
  1. package/dist/.build-stamp.json +3 -3
  2. package/dist/_internal/server/features/auth/capabilities.js +7 -5
  3. package/dist/_internal/server/features/checkout/actions.d.ts +22 -6
  4. package/dist/_internal/server/features/checkout/actions.js +96 -51
  5. package/dist/_internal/server/features/checkout/index.d.ts +1 -1
  6. package/dist/_internal/server/features/checkout/index.js +1 -1
  7. package/dist/_internal/server/features/checkout/supplier-identity.js +28 -6
  8. package/dist/_internal/server/features/orders/adapters.js +1 -3
  9. package/dist/_internal/server/features/products/listing-tab-counts.js +81 -25
  10. package/dist/_internal/server/features/search/index-build/sources.js +43 -2
  11. package/dist/_internal/server/features/site-settings/adapters.js +1 -1
  12. package/dist/_internal/server/features/stores/adapters.d.ts +1 -1
  13. package/dist/_internal/server/features/stores/adapters.js +0 -1
  14. package/dist/_internal/server/jobs/core/analyticsAlertEvaluate.js +2 -5
  15. package/dist/_internal/server/jobs/core/jobRunners.js +0 -10
  16. package/dist/_internal/server/jobs/core/onOrderCreate.js +10 -104
  17. package/dist/_internal/server/jobs/core/onOrderStatusChange.d.ts +0 -2
  18. package/dist/_internal/server/jobs/core/onOrderStatusChange.js +0 -1
  19. package/dist/_internal/server/jobs/core/onScamReportCreate.js +0 -1
  20. package/dist/_internal/server/jobs/core/onScamReportRejected.js +0 -1
  21. package/dist/_internal/server/jobs/core/onScamReportVerified.js +0 -1
  22. package/dist/_internal/server/jobs/core/paymentWindowTimeout.js +0 -1
  23. package/dist/_internal/server/jobs/core/pendingOrderTimeout.js +0 -1
  24. package/dist/_internal/server/notifications/channel-health.d.ts +7 -3
  25. package/dist/_internal/server/notifications/channel-health.js +2 -2
  26. package/dist/_internal/server/notifications/send-guard.d.ts +1 -1
  27. package/dist/_internal/server/notifications/send-guard.js +2 -4
  28. package/dist/_internal/shared/actions/action-registry.d.ts +1 -1
  29. package/dist/_internal/shared/actions/action-registry.js +128 -28
  30. package/dist/_internal/shared/checkout/order-math.d.ts +1 -1
  31. package/dist/_internal/shared/checkout/order-math.js +1 -1
  32. package/dist/_internal/shared/features/categories/bundle-copy.d.ts +1 -1
  33. package/dist/_internal/shared/features/checkout/config.d.ts +0 -2
  34. package/dist/_internal/shared/features/checkout/config.js +0 -2
  35. package/dist/_internal/shared/features/messaging/config.d.ts +7 -5
  36. package/dist/_internal/shared/features/messaging/config.js +1 -4
  37. package/dist/_internal/shared/features/site-settings/fees.d.ts +0 -2
  38. package/dist/_internal/shared/features/site-settings/fees.js +0 -2
  39. package/dist/_internal/shared/features/site-settings/supplier-of-record.d.ts +56 -0
  40. package/dist/_internal/shared/features/site-settings/supplier-of-record.js +57 -0
  41. package/dist/_internal/shared/fees/calculator.d.ts +0 -8
  42. package/dist/_internal/shared/fees/calculator.js +0 -7
  43. package/dist/_internal/shared/listing-types/tiers.d.ts +94 -0
  44. package/dist/_internal/shared/listing-types/tiers.js +150 -0
  45. package/dist/cli/index.js +0 -2
  46. package/dist/client.d.ts +25 -4
  47. package/dist/client.js +36 -5
  48. package/dist/constants/api-endpoints.d.ts +21 -15
  49. package/dist/constants/api-endpoints.js +7 -8
  50. package/dist/constants/field-names.d.ts +1 -0
  51. package/dist/constants/field-names.js +1 -0
  52. package/dist/constants/notification-types.d.ts +1 -1
  53. package/dist/constants/notification-types.js +1 -1
  54. package/dist/core/integration-keys.d.ts +5 -5
  55. package/dist/core/integration-keys.js +21 -10
  56. package/dist/features/about/components/FeesView.js +0 -6
  57. package/dist/features/about/components/GuidesHubView.js +15 -2
  58. package/dist/features/account/components/NotificationPreferencesPanel.js +3 -4
  59. package/dist/features/account/components/UserOrdersView.js +26 -7
  60. package/dist/features/account/types/index.d.ts +0 -2
  61. package/dist/features/addresses/utils/postal-autofill.d.ts +39 -0
  62. package/dist/features/addresses/utils/postal-autofill.js +54 -0
  63. package/dist/features/admin/actions/notification-actions.d.ts +2 -8
  64. package/dist/features/admin/actions/notification-actions.js +9 -104
  65. package/dist/features/admin/components/AdminGuideHubView.js +1 -8
  66. package/dist/features/admin/components/AdminOrderEditorView.d.ts +1 -1
  67. package/dist/features/admin/components/AdminOrdersView.js +0 -2
  68. package/dist/features/admin/components/AdminSectionsView.js +3 -2
  69. package/dist/features/admin/components/AdminSiteSettingsView.js +22 -68
  70. package/dist/features/admin/components/AdminStoreEditorView.js +72 -34
  71. package/dist/features/admin/components/OwnerQuickActions.d.ts +29 -0
  72. package/dist/features/admin/components/OwnerQuickActions.js +142 -0
  73. package/dist/features/admin/components/sections/adminSectionsTypes.js +13 -4
  74. package/dist/features/admin/components/sections/icon-options.d.ts +21 -0
  75. package/dist/features/admin/components/sections/icon-options.js +23 -0
  76. package/dist/features/admin/components/sections/sectionTemplates.js +4 -1
  77. package/dist/features/admin/constants/site-settings-tabs.d.ts +7 -12
  78. package/dist/features/admin/constants/site-settings-tabs.js +6 -12
  79. package/dist/features/admin/repository/site-settings.repository.js +1 -1
  80. package/dist/features/admin/schemas/admin-editor-forms.d.ts +1 -1
  81. package/dist/features/admin/schemas/admin-editor-forms.js +4 -1
  82. package/dist/features/admin/schemas/admin-user-form.d.ts +0 -61
  83. package/dist/features/admin/schemas/admin-user-form.js +3 -44
  84. package/dist/features/admin/schemas/firestore.d.ts +28 -54
  85. package/dist/features/admin/schemas/firestore.js +40 -18
  86. package/dist/features/auctions/components/AuctionDetailPageView.js +4 -3
  87. package/dist/features/auctions/components/MarketplaceAuctionCard.d.ts +11 -1
  88. package/dist/features/auctions/components/MarketplaceAuctionCard.js +9 -2
  89. package/dist/features/auth/checkout-value-otp.d.ts +1 -1
  90. package/dist/features/auth/checkout-value-otp.js +1 -1
  91. package/dist/features/auth/permissions/constants.d.ts +29 -2
  92. package/dist/features/auth/permissions/constants.js +67 -1
  93. package/dist/features/blog/components/BlogFeaturedCard.d.ts +11 -1
  94. package/dist/features/blog/components/BlogFeaturedCard.js +9 -2
  95. package/dist/features/cart/components/CartDrawer.js +3 -2
  96. package/dist/features/cart/components/CartGroupLineRow.js +2 -1
  97. package/dist/features/cart/components/CartPriceBreakdown.d.ts +0 -2
  98. package/dist/features/cart/components/CartPriceBreakdown.js +1 -1
  99. package/dist/features/cart/components/StoreAddonsPicker.d.ts +2 -5
  100. package/dist/features/cart/components/StoreAddonsPicker.js +4 -5
  101. package/dist/features/cart/hooks/useAddToCart.js +10 -5
  102. package/dist/features/cart/repository/cart.repository.js +1 -2
  103. package/dist/features/cart/schemas/firestore.d.ts +1 -2
  104. package/dist/features/cart/utils/pending-ops.d.ts +11 -1
  105. package/dist/features/cart/utils/pending-ops.js +14 -2
  106. package/dist/features/categories/components/BrandDetailPageView.js +2 -1
  107. package/dist/features/categories/components/BundleDetailView.js +2 -1
  108. package/dist/features/categories/components/CategoryDetailPageView.js +2 -1
  109. package/dist/features/categories/components/CategoryGrid.d.ts +11 -1
  110. package/dist/features/categories/components/CategoryGrid.js +9 -2
  111. package/dist/features/checkout/actions/checkout-value-otp-actions.d.ts +10 -5
  112. package/dist/features/checkout/actions/checkout-value-otp-actions.js +2 -88
  113. package/dist/features/classified/components/ClassifiedDetailPageView.js +2 -1
  114. package/dist/features/digital-codes/components/DigitalCodeDetailPageView.js +2 -1
  115. package/dist/features/events/components/EventCard.d.ts +11 -1
  116. package/dist/features/events/components/EventCard.js +9 -2
  117. package/dist/features/grouped/components/GroupedListingDetailView.js +3 -1
  118. package/dist/features/homepage/components/CTABannerSection.d.ts +3 -1
  119. package/dist/features/homepage/components/CTABannerSection.js +6 -3
  120. package/dist/features/homepage/components/HeroCarousel.js +8 -6
  121. package/dist/features/homepage/components/MarketplaceHomepageView.js +33 -7
  122. package/dist/features/homepage/components/SectionCarousel.js +13 -5
  123. package/dist/features/homepage/components/SecurityHighlightsSection.d.ts +8 -3
  124. package/dist/features/homepage/components/SecurityHighlightsSection.js +2 -2
  125. package/dist/features/homepage/components/StatsCounterSection.d.ts +9 -4
  126. package/dist/features/homepage/components/StatsCounterSection.js +2 -2
  127. package/dist/features/homepage/components/TestimonialsCarousel.js +1 -1
  128. package/dist/features/homepage/components/TrustFeaturesSection.d.ts +18 -4
  129. package/dist/features/homepage/components/TrustFeaturesSection.js +5 -5
  130. package/dist/features/homepage/components/WelcomeSection.d.ts +13 -2
  131. package/dist/features/homepage/components/WelcomeSection.js +3 -3
  132. package/dist/features/homepage/components/WhatsAppCommunitySection.d.ts +28 -0
  133. package/dist/features/homepage/components/WhatsAppCommunitySection.js +42 -6
  134. package/dist/features/homepage/components/WhatsAppGlyph.d.ts +20 -0
  135. package/dist/features/homepage/components/WhatsAppGlyph.js +20 -0
  136. package/dist/features/homepage/constants/hero-carousel-styles.d.ts +8 -6
  137. package/dist/features/homepage/constants/hero-carousel-styles.js +8 -6
  138. package/dist/features/homepage/constants/section-copy.d.ts +12 -10
  139. package/dist/features/homepage/constants/section-copy.js +28 -6
  140. package/dist/features/homepage/constants/stat-icons.d.ts +12 -0
  141. package/dist/features/homepage/constants/stat-icons.js +17 -0
  142. package/dist/features/homepage/constants/trust-icon-aliases.d.ts +8 -0
  143. package/dist/features/homepage/constants/trust-icon-aliases.js +75 -0
  144. package/dist/features/homepage/lib/section-defaults.d.ts +16 -1
  145. package/dist/features/homepage/lib/section-defaults.js +24 -4
  146. package/dist/features/homepage/lib/section-renderer.js +48 -8
  147. package/dist/features/homepage/schemas/firestore.d.ts +18 -1
  148. package/dist/features/layout/AppLayoutShell.js +2 -1
  149. package/dist/features/layout/BottomActions.d.ts +1 -0
  150. package/dist/features/layout/BottomActions.js +330 -0
  151. package/dist/features/layout/BottomChrome.d.ts +45 -0
  152. package/dist/features/layout/BottomChrome.js +5 -17
  153. package/dist/features/layout/SideActionDock.js +36 -13
  154. package/dist/features/layout/index.d.ts +2 -7
  155. package/dist/features/layout/index.js +7 -7
  156. package/dist/features/layout/useIsDesktop.d.ts +36 -0
  157. package/dist/features/layout/useIsDesktop.js +48 -0
  158. package/dist/features/live/components/LiveItemDetailPageView.js +2 -1
  159. package/dist/features/orders/actions/refund-actions.js +0 -1
  160. package/dist/features/orders/components/OrderAddonBadges.d.ts +1 -3
  161. package/dist/features/orders/components/OrderAddonBadges.js +3 -4
  162. package/dist/features/orders/components/OrderPaymentSummary.js +15 -2
  163. package/dist/features/orders/components/YourPurchaseStrip.d.ts +24 -0
  164. package/dist/features/orders/components/YourPurchaseStrip.js +77 -0
  165. package/dist/features/orders/components/index.d.ts +2 -1
  166. package/dist/features/orders/components/index.js +1 -1
  167. package/dist/features/orders/repository/orders.repository.d.ts +0 -8
  168. package/dist/features/orders/repository/orders.repository.js +0 -2
  169. package/dist/features/orders/schemas/firestore.d.ts +17 -9
  170. package/dist/features/orders/types/index.d.ts +2 -5
  171. package/dist/features/orders/utils/order-announcement-message.d.ts +18 -0
  172. package/dist/features/orders/utils/order-announcement-message.js +16 -0
  173. package/dist/features/orders/utils/payment-proof-message.d.ts +20 -0
  174. package/dist/features/orders/utils/payment-proof-message.js +17 -0
  175. package/dist/features/parts/components/PartDetailPageView.js +96 -1
  176. package/dist/features/parts/schemas/firestore.d.ts +247 -0
  177. package/dist/features/parts/schemas/firestore.js +6 -6
  178. package/dist/features/pre-orders/components/MarketplacePreorderCard.d.ts +11 -1
  179. package/dist/features/pre-orders/components/MarketplacePreorderCard.js +10 -3
  180. package/dist/features/pre-orders/components/PreOrderDetailPageView.js +4 -3
  181. package/dist/features/products/api/[id]/route.js +8 -1
  182. package/dist/features/products/api/route.js +16 -4
  183. package/dist/features/products/components/AvailabilityScopeHint.js +1 -1
  184. package/dist/features/products/components/InteractiveProductCard.d.ts +7 -1
  185. package/dist/features/products/components/InteractiveProductCard.js +16 -4
  186. package/dist/features/products/components/MarketplaceBundleCard.d.ts +11 -1
  187. package/dist/features/products/components/MarketplaceBundleCard.js +9 -2
  188. package/dist/features/products/components/MarketplacePrizeDrawCard.d.ts +11 -1
  189. package/dist/features/products/components/MarketplacePrizeDrawCard.js +9 -2
  190. package/dist/features/products/components/PrizeDrawDetailPageView.js +2 -1
  191. package/dist/features/products/components/ProductDetailPageView.js +27 -2
  192. package/dist/features/products/components/ProductGrid.d.ts +14 -1
  193. package/dist/features/products/components/ProductGrid.js +22 -5
  194. package/dist/features/products/components/ProductsIndexListing.js +2 -2
  195. package/dist/features/reviews/api/[id]/route.js +83 -23
  196. package/dist/features/reviews/components/PurchaseReviewAffordance.d.ts +6 -0
  197. package/dist/features/reviews/components/PurchaseReviewAffordance.js +42 -0
  198. package/dist/features/reviews/components/ReviewFormDrawer.d.ts +34 -0
  199. package/dist/features/reviews/components/ReviewFormDrawer.js +127 -0
  200. package/dist/features/reviews/components/index.d.ts +4 -0
  201. package/dist/features/reviews/components/index.js +2 -0
  202. package/dist/features/scams/schemas/index.d.ts +10 -10
  203. package/dist/features/search/action-index/settings-entries.js +0 -9
  204. package/dist/features/seller/actions/seller-actions.d.ts +1 -1
  205. package/dist/features/seller/actions/seller-actions.js +49 -3
  206. package/dist/features/seller/components/SellerPayoutSettingsView.js +30 -2
  207. package/dist/features/seller/components/SellerProductShell.d.ts +17 -1
  208. package/dist/features/seller/hooks/useStoreListingEntitlements.d.ts +8 -0
  209. package/dist/features/seller/hooks/useStoreListingEntitlements.js +70 -0
  210. package/dist/features/store-extensions/repository/store-extensions.repositories.d.ts +1 -6
  211. package/dist/features/store-extensions/repository/store-extensions.repositories.js +1 -10
  212. package/dist/features/store-extensions/schemas/firestore.d.ts +1 -17
  213. package/dist/features/store-extensions/schemas/firestore.js +0 -10
  214. package/dist/features/stores/components/InteractiveStoreCard.d.ts +11 -1
  215. package/dist/features/stores/components/InteractiveStoreCard.js +9 -2
  216. package/dist/features/stores/components/StoreCapabilitiesGuideView.js +0 -1
  217. package/dist/features/stores/components/StoreGuideHubView.js +2 -8
  218. package/dist/features/stores/components/StoreSettingsGuideView.js +2 -6
  219. package/dist/features/stores/components/index.d.ts +0 -2
  220. package/dist/features/stores/components/index.js +0 -1
  221. package/dist/features/stores/repository/store.repository.d.ts +1 -26
  222. package/dist/features/stores/repository/store.repository.js +5 -60
  223. package/dist/features/stores/schemas/firestore.d.ts +6 -25
  224. package/dist/features/stores/schemas/firestore.js +6 -3
  225. package/dist/features/stores/schemas/index.d.ts +1 -87
  226. package/dist/features/stores/schemas/index.js +10 -15
  227. package/dist/features/tester/seed-data/authored/admin__site-system.js +0 -48
  228. package/dist/features/tester/seed-data/authored/buying__buying-checkout.js +0 -40
  229. package/dist/features/tester/seed-data/authored/selling__quick-add-minimum-details.js +0 -16
  230. package/dist/features/tester/seed-data/authored/selling__seller-guide.js +1 -1
  231. package/dist/features/tester/seed-data/authored/selling__seller-marketing-extras.js +0 -79
  232. package/dist/features/tester/seed-data/authored/selling__seller-orders.js +1 -1
  233. package/dist/features/tester/seed-data/tester-checklist-seed-data.js +415 -69
  234. package/dist/index.d.ts +20 -32
  235. package/dist/index.js +34 -43
  236. package/dist/next/routing/route-map.d.ts +2 -8
  237. package/dist/next/routing/route-map.js +21 -4
  238. package/dist/providers/db-firebase/base.repository.d.ts +1 -1
  239. package/dist/providers/db-firebase/base.repository.js +1 -1
  240. package/dist/providers/payment-razorpay/index.d.ts +125 -0
  241. package/dist/providers/payment-razorpay/index.js +232 -0
  242. package/dist/providers/payment-razorpay/signature.d.ts +53 -0
  243. package/dist/providers/payment-razorpay/signature.js +71 -0
  244. package/dist/providers/shipping-shiprocket/index.d.ts +98 -0
  245. package/dist/providers/shipping-shiprocket/index.js +356 -0
  246. package/dist/providers.d.ts +3 -0
  247. package/dist/providers.js +3 -0
  248. package/dist/react/hooks/useCanSeePrices.d.ts +0 -27
  249. package/dist/react/hooks/useCanSeePrices.js +25 -0
  250. package/dist/repositories/index.d.ts +1 -1
  251. package/dist/repositories/index.js +1 -1
  252. package/dist/schemas/registry.d.ts +10 -115
  253. package/dist/schemas/registry.js +1 -2
  254. package/dist/security/pii-encrypt.js +1 -1
  255. package/dist/seed/_helpers/category-forest.js +27 -0
  256. package/dist/seed/_helpers/category-parts-glossary-map.js +1816 -86
  257. package/dist/seed/_helpers/category-parts.d.ts +1 -1
  258. package/dist/seed/_helpers/category-parts.js +13412 -3020
  259. package/dist/seed/carousel-slides-seed-data.js +47 -10
  260. package/dist/seed/categories-seed-data.js +48 -6
  261. package/dist/seed/faq-seed-data.js +2 -2
  262. package/dist/seed/homepage-sections-seed-data.js +286 -54
  263. package/dist/seed/index.d.ts +1 -1
  264. package/dist/seed/index.js +1 -1
  265. package/dist/seed/manifest.d.ts +1 -1
  266. package/dist/seed/manifest.js +1 -2
  267. package/dist/seed/model-composition-seed-data.js +6 -8
  268. package/dist/seed/part-glossary/chunk0.d.ts +9 -0
  269. package/dist/seed/part-glossary/chunk0.js +35448 -0
  270. package/dist/seed/part-glossary/chunk1.d.ts +9 -0
  271. package/dist/seed/part-glossary/chunk1.js +40494 -0
  272. package/dist/seed/part-glossary/chunk2.d.ts +9 -0
  273. package/dist/seed/part-glossary/chunk2.js +51242 -0
  274. package/dist/seed/part-glossary/chunk3.d.ts +9 -0
  275. package/dist/seed/part-glossary/chunk3.js +53337 -0
  276. package/dist/seed/part-glossary/chunk4.d.ts +9 -0
  277. package/dist/seed/part-glossary/chunk4.js +51454 -0
  278. package/dist/seed/part-glossary-seed-data.d.ts +1 -1
  279. package/dist/seed/part-glossary-seed-data.js +23 -47483
  280. package/dist/seed/site-settings-seed-data.js +34 -35
  281. package/dist/seed/store-extensions-seed-data.d.ts +1 -2
  282. package/dist/seed/store-extensions-seed-data.js +1 -23
  283. package/dist/seed/stores-seed-data.js +0 -1
  284. package/dist/server-entry.d.ts +1 -1
  285. package/dist/server-entry.js +1 -1
  286. package/dist/server.d.ts +8 -10
  287. package/dist/server.js +16 -22
  288. package/dist/styles.css +392 -43
  289. package/dist/tailwind-utilities.css +1 -1
  290. package/dist/tokens/themes/default-dark.js +1 -1
  291. package/dist/tokens/themes/default-light.js +2 -1
  292. package/dist/tokens/tokens.css +6 -2
  293. package/dist/ui/components/Button.d.ts +11 -0
  294. package/dist/ui/components/Button.js +11 -0
  295. package/dist/ui/components/Button.style.css +29 -0
  296. package/dist/ui/components/CarouselNav.d.ts +57 -0
  297. package/dist/ui/components/CarouselNav.js +25 -0
  298. package/dist/ui/components/CarouselNav.style.css +265 -0
  299. package/dist/ui/components/GatedPrice.js +30 -3
  300. package/dist/ui/components/GatedPrice.style.css +43 -40
  301. package/dist/ui/components/HorizontalScroller.d.ts +12 -1
  302. package/dist/ui/components/HorizontalScroller.js +43 -3
  303. package/dist/ui/components/ImageMosaic.d.ts +8 -1
  304. package/dist/ui/components/ImageMosaic.js +3 -2
  305. package/dist/ui/components/ImageMosaic.style.css +22 -0
  306. package/dist/ui/components/Layout.style.css +6 -0
  307. package/dist/ui/components/Semantic.d.ts +3 -2
  308. package/dist/ui/components/Semantic.js +1 -0
  309. package/dist/ui/components/Typography.d.ts +2 -0
  310. package/dist/ui/components/Typography.js +2 -0
  311. package/dist/ui/components/Typography.style.css +19 -0
  312. package/dist/ui/components/index.style.css +1 -0
  313. package/dist/ui/index.d.ts +3 -1
  314. package/dist/ui/index.js +4 -0
  315. package/package.json +3 -2
  316. package/dist/_internal/server/jobs/core/whatsappCatalogImport.d.ts +0 -27
  317. package/dist/_internal/server/jobs/core/whatsappCatalogImport.js +0 -172
  318. package/dist/_internal/server/jobs/core/whatsappNotify.d.ts +0 -35
  319. package/dist/_internal/server/jobs/core/whatsappNotify.js +0 -140
  320. package/dist/features/admin/components/AdminWhatsAppGuideView.d.ts +0 -2
  321. package/dist/features/admin/components/AdminWhatsAppGuideView.js +0 -35
  322. package/dist/features/orders/components/MarketplaceOrderCard.d.ts +0 -36
  323. package/dist/features/orders/components/MarketplaceOrderCard.js +0 -57
  324. package/dist/features/stores/components/StoreWhatsAppGuideView.d.ts +0 -3
  325. package/dist/features/stores/components/StoreWhatsAppGuideView.js +0 -12
  326. package/dist/features/whatsapp-bot/api/send-status/route.d.ts +0 -12
  327. package/dist/features/whatsapp-bot/api/send-status/route.js +0 -38
  328. package/dist/features/whatsapp-bot/api/webhook/route.d.ts +0 -12
  329. package/dist/features/whatsapp-bot/api/webhook/route.js +0 -43
  330. package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.d.ts +0 -6
  331. package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.js +0 -270
  332. package/dist/features/whatsapp-bot/components/WhatsAppChatButton.d.ts +0 -9
  333. package/dist/features/whatsapp-bot/components/WhatsAppChatButton.js +0 -7
  334. package/dist/features/whatsapp-bot/components/index.d.ts +0 -3
  335. package/dist/features/whatsapp-bot/components/index.js +0 -2
  336. package/dist/features/whatsapp-bot/helpers/payment-proof-message.d.ts +0 -14
  337. package/dist/features/whatsapp-bot/helpers/payment-proof-message.js +0 -17
  338. package/dist/features/whatsapp-bot/helpers/whatsapp.d.ts +0 -52
  339. package/dist/features/whatsapp-bot/helpers/whatsapp.js +0 -283
  340. package/dist/features/whatsapp-bot/index.d.ts +0 -3
  341. package/dist/features/whatsapp-bot/index.js +0 -3
  342. package/dist/features/whatsapp-bot/manifest.d.ts +0 -2
  343. package/dist/features/whatsapp-bot/manifest.js +0 -13
  344. package/dist/features/whatsapp-bot/messages/en.json +0 -7
  345. package/dist/features/whatsapp-bot/server.d.ts +0 -7
  346. package/dist/features/whatsapp-bot/server.js +0 -7
  347. package/dist/features/whatsapp-bot/types/index.d.ts +0 -126
  348. package/dist/features/whatsapp-bot/types/index.js +0 -1
package/dist/index.d.ts CHANGED
@@ -475,7 +475,7 @@ export type { RateLimitConfig } from "./security/index";
475
475
  export type { RateLimitResult } from "./security/index";
476
476
  export type { UserRole } from "./security/index";
477
477
  export { AddressesRepository } from "./repositories/index";
478
- export { type PayoutMethodType, type PayoutMethodDocument, PAYOUT_METHODS_COLLECTION, PAYOUT_METHOD_INDEXED_FIELDS, DEFAULT_PAYOUT_METHOD_DATA, type ShippingMethod as ShippingConfigMethod, type ShippingConfigDocument, SHIPPING_CONFIGS_COLLECTION, SHIPPING_CONFIG_INDEXED_FIELDS, DEFAULT_SHIPPING_CONFIG_DATA, type AnalyticsScope, type AnalyticsCardType, type AnalyticsCardDocument, ANALYTICS_CARDS_COLLECTION, ANALYTICS_CARD_INDEXED_FIELDS, DEFAULT_ANALYTICS_CARD_DATA, type AlertOperator, type AnalyticsAlertDocument, ANALYTICS_ALERTS_COLLECTION, ANALYTICS_ALERT_INDEXED_FIELDS, DEFAULT_ANALYTICS_ALERT_DATA, type StoreCategoryDocument, storeCategoryFormSchema, storeCategoryCreateSchema, storeCategoryUpdateSchema, type StoreCategoryFormValues, listingTemplateFormSchema, listingTemplateCreateSchema, listingTemplateUpdateSchema, type ListingTemplateFormValues, LISTING_TEMPLATE_TYPES, LISTING_TEMPLATE_TYPE_OPTIONS, payoutMethodFormSchema, payoutMethodCreateSchema, payoutMethodUpdateSchema, type PayoutMethodFormValues, shippingConfigFormSchema, SHIPPING_METHOD_OPTIONS, shippingConfigCreateSchema, shippingConfigUpdateSchema, type ShippingConfigFormValues, customRoleFormSchema, customRoleCreateSchema, customRoleUpdateSchema, isKnownPermission, type CustomRoleFormValues, moderationReviewFormSchema, moderationReviewUpdateSchema, MODERATION_REVIEWER_STATUSES, type ModerationReviewFormValues, reportReviewFormSchema, reportReviewUpdateSchema, REPORT_REVIEWER_STATUSES, REPORT_TERMINAL_STATUSES, type ReportReviewFormValues, reportCreateSchema, type ReportCreateValues, itemRequestCreateSchema, type ItemRequestCreateValues, REPORT_ENTITY_TYPES, REPORT_REASONS, analyticsAlertCreateSchema, type AnalyticsAlertCreateValues, analyticsCardCreateSchema, type AnalyticsCardCreateValues, ANALYTICS_ALERT_OPERATORS, ANALYTICS_CARD_TYPES, storeGoogleConfigUpdateSchema, type StoreGoogleConfigFormValues, toSellerGoogleConfig, type SellerGoogleConfig, adminNotificationCreateSchema, type AdminNotificationCreateValues, ADMIN_NOTIFICATION_CATEGORIES, ADMIN_NOTIFICATION_SEVERITIES, STORE_CATEGORIES_COLLECTION, STORE_CATEGORY_INDEXED_FIELDS, DEFAULT_STORE_CATEGORY_DATA, type ListingTemplateType, type ListingTemplateDocument, LISTING_TEMPLATES_COLLECTION, LISTING_TEMPLATE_INDEXED_FIELDS, DEFAULT_LISTING_TEMPLATE_DATA, type ModerationStatus, type ModerationMediaType, type ModerationQueueDocument, MODERATION_QUEUE_COLLECTION, MODERATION_QUEUE_INDEXED_FIELDS, DEFAULT_MODERATION_QUEUE_DATA, type ReportEntityType, type ReportStatus, type ReportReason, type ReportDocument, REPORTS_COLLECTION, REPORT_INDEXED_FIELDS, DEFAULT_REPORT_DATA, type AdminNotificationCategory, type AdminNotificationDocument, ADMIN_NOTIFICATIONS_COLLECTION, ADMIN_NOTIFICATION_INDEXED_FIELDS, DEFAULT_ADMIN_NOTIFICATION_DATA, type ItemRequestStatus, type ItemRequestReply, type ItemRequestDocument, ITEM_REQUESTS_COLLECTION, ITEM_REQUEST_INDEXED_FIELDS, DEFAULT_ITEM_REQUEST_DATA, type StoreGoogleConfigDocument, STORE_GOOGLE_CONFIG_COLLECTION, STORE_GOOGLE_CONFIG_INDEXED_FIELDS, DEFAULT_STORE_GOOGLE_CONFIG_DATA, type StoreWhatsAppConfigDocument, STORE_WHATSAPP_CONFIG_COLLECTION, STORE_WHATSAPP_CONFIG_INDEXED_FIELDS, DEFAULT_STORE_WHATSAPP_CONFIG_DATA, type CustomRoleDocument, CUSTOM_ROLES_COLLECTION, CUSTOM_ROLE_INDEXED_FIELDS, DEFAULT_CUSTOM_ROLE_DATA, type RoleOverrideDocument, ROLE_OVERRIDES_COLLECTION, ROLE_OVERRIDE_INDEXED_FIELDS, DEFAULT_ROLE_OVERRIDE_DATA, PayoutMethodsRepository, ShippingConfigsRepository, AnalyticsCardsRepository, AnalyticsAlertsRepository, StoreCategoriesRepository, ListingTemplatesRepository, ModerationQueueRepository, ReportsRepository, AdminNotificationsRepository, ItemRequestsRepository, StoreGoogleConfigRepository, StoreWhatsAppConfigRepository, CustomRolesRepository, RoleOverridesRepository, payoutMethodsRepository, shippingConfigsRepository, analyticsCardsRepository, analyticsAlertsRepository, storeCategoriesRepository, listingTemplatesRepository, moderationQueueRepository, reportsRepository, adminNotificationsRepository, itemRequestsRepository, storeGoogleConfigRepository, storeWhatsAppConfigRepository, customRolesRepository, roleOverridesRepository, } from "./features/store-extensions/index";
478
+ export { type PayoutMethodType, type PayoutMethodDocument, PAYOUT_METHODS_COLLECTION, PAYOUT_METHOD_INDEXED_FIELDS, DEFAULT_PAYOUT_METHOD_DATA, type ShippingMethod as ShippingConfigMethod, type ShippingConfigDocument, SHIPPING_CONFIGS_COLLECTION, SHIPPING_CONFIG_INDEXED_FIELDS, DEFAULT_SHIPPING_CONFIG_DATA, type AnalyticsScope, type AnalyticsCardType, type AnalyticsCardDocument, ANALYTICS_CARDS_COLLECTION, ANALYTICS_CARD_INDEXED_FIELDS, DEFAULT_ANALYTICS_CARD_DATA, type AlertOperator, type AnalyticsAlertDocument, ANALYTICS_ALERTS_COLLECTION, ANALYTICS_ALERT_INDEXED_FIELDS, DEFAULT_ANALYTICS_ALERT_DATA, type StoreCategoryDocument, storeCategoryFormSchema, storeCategoryCreateSchema, storeCategoryUpdateSchema, type StoreCategoryFormValues, listingTemplateFormSchema, listingTemplateCreateSchema, listingTemplateUpdateSchema, type ListingTemplateFormValues, LISTING_TEMPLATE_TYPES, LISTING_TEMPLATE_TYPE_OPTIONS, payoutMethodFormSchema, payoutMethodCreateSchema, payoutMethodUpdateSchema, type PayoutMethodFormValues, shippingConfigFormSchema, SHIPPING_METHOD_OPTIONS, shippingConfigCreateSchema, shippingConfigUpdateSchema, type ShippingConfigFormValues, customRoleFormSchema, customRoleCreateSchema, customRoleUpdateSchema, isKnownPermission, type CustomRoleFormValues, moderationReviewFormSchema, moderationReviewUpdateSchema, MODERATION_REVIEWER_STATUSES, type ModerationReviewFormValues, reportReviewFormSchema, reportReviewUpdateSchema, REPORT_REVIEWER_STATUSES, REPORT_TERMINAL_STATUSES, type ReportReviewFormValues, reportCreateSchema, type ReportCreateValues, itemRequestCreateSchema, type ItemRequestCreateValues, REPORT_ENTITY_TYPES, REPORT_REASONS, analyticsAlertCreateSchema, type AnalyticsAlertCreateValues, analyticsCardCreateSchema, type AnalyticsCardCreateValues, ANALYTICS_ALERT_OPERATORS, ANALYTICS_CARD_TYPES, storeGoogleConfigUpdateSchema, type StoreGoogleConfigFormValues, toSellerGoogleConfig, type SellerGoogleConfig, adminNotificationCreateSchema, type AdminNotificationCreateValues, ADMIN_NOTIFICATION_CATEGORIES, ADMIN_NOTIFICATION_SEVERITIES, STORE_CATEGORIES_COLLECTION, STORE_CATEGORY_INDEXED_FIELDS, DEFAULT_STORE_CATEGORY_DATA, type ListingTemplateType, type ListingTemplateDocument, LISTING_TEMPLATES_COLLECTION, LISTING_TEMPLATE_INDEXED_FIELDS, DEFAULT_LISTING_TEMPLATE_DATA, type ModerationStatus, type ModerationMediaType, type ModerationQueueDocument, MODERATION_QUEUE_COLLECTION, MODERATION_QUEUE_INDEXED_FIELDS, DEFAULT_MODERATION_QUEUE_DATA, type ReportEntityType, type ReportStatus, type ReportReason, type ReportDocument, REPORTS_COLLECTION, REPORT_INDEXED_FIELDS, DEFAULT_REPORT_DATA, type AdminNotificationCategory, type AdminNotificationDocument, ADMIN_NOTIFICATIONS_COLLECTION, ADMIN_NOTIFICATION_INDEXED_FIELDS, DEFAULT_ADMIN_NOTIFICATION_DATA, type ItemRequestStatus, type ItemRequestReply, type ItemRequestDocument, ITEM_REQUESTS_COLLECTION, ITEM_REQUEST_INDEXED_FIELDS, DEFAULT_ITEM_REQUEST_DATA, type StoreGoogleConfigDocument, STORE_GOOGLE_CONFIG_COLLECTION, STORE_GOOGLE_CONFIG_INDEXED_FIELDS, DEFAULT_STORE_GOOGLE_CONFIG_DATA, type CustomRoleDocument, CUSTOM_ROLES_COLLECTION, CUSTOM_ROLE_INDEXED_FIELDS, DEFAULT_CUSTOM_ROLE_DATA, type RoleOverrideDocument, ROLE_OVERRIDES_COLLECTION, ROLE_OVERRIDE_INDEXED_FIELDS, DEFAULT_ROLE_OVERRIDE_DATA, PayoutMethodsRepository, ShippingConfigsRepository, AnalyticsCardsRepository, AnalyticsAlertsRepository, StoreCategoriesRepository, ListingTemplatesRepository, ModerationQueueRepository, ReportsRepository, AdminNotificationsRepository, ItemRequestsRepository, StoreGoogleConfigRepository, CustomRolesRepository, RoleOverridesRepository, payoutMethodsRepository, shippingConfigsRepository, analyticsCardsRepository, analyticsAlertsRepository, storeCategoriesRepository, listingTemplatesRepository, moderationQueueRepository, reportsRepository, adminNotificationsRepository, itemRequestsRepository, storeGoogleConfigRepository, customRolesRepository, roleOverridesRepository, } from "./features/store-extensions/index";
479
479
  export { BaseRepository } from "./repositories/index";
480
480
  export { BlogRepository } from "./repositories/index";
481
481
  export { CartRepository } from "./repositories/index";
@@ -548,7 +548,7 @@ export type { SupportTicketDocument, SupportTicketCreateInput, SupportTicketUpda
548
548
  export { ELIGIBLE_ORDER_STATUSES_FOR_TICKET, SUPPORT_TICKET_COLLECTION, ACTIVE_TICKET_STATUSES, SUPPORT_TICKET_FIELDS, TicketCategoryValues, TicketStatusValues, TicketPriorityValues, } from "./features/support/schemas/firestore";
549
549
  export { supportTicketsSeedData } from "./seed/index";
550
550
  export { offersSeedData } from "./seed/index";
551
- export { payoutMethodsSeedData, shippingConfigsSeedData, analyticsCardsSeedData, analyticsAlertsSeedData, storeCategoriesSeedData, listingTemplatesSeedData, moderationQueueSeedData, reportsSeedData, itemRequestsSeedData, storeWhatsAppConfigSeedData, storeGoogleConfigSeedData, } from "./seed/index";
551
+ export { payoutMethodsSeedData, shippingConfigsSeedData, analyticsCardsSeedData, analyticsAlertsSeedData, storeCategoriesSeedData, listingTemplatesSeedData, moderationQueueSeedData, reportsSeedData, itemRequestsSeedData, storeGoogleConfigSeedData, } from "./seed/index";
552
552
  export { AdminTaxCodesView } from "./features/admin/components/AdminTaxCodesView";
553
553
  export type { AdminTaxCodesViewProps } from "./features/admin/components/AdminTaxCodesView";
554
554
  export { AdminTaxCodeEditorView } from "./features/admin/components/AdminTaxCodeEditorView";
@@ -854,6 +854,11 @@ export { PhonePeProvider } from "./providers/payment-phonepe/index";
854
854
  export { paiseToRupees } from "./core/money";
855
855
  export { rupeesToPaise } from "./core/money";
856
856
  export type { PhonePeConfig } from "./providers/payment-phonepe/index";
857
+ export { RazorpayProvider } from "./providers/payment-razorpay/index";
858
+ export type { RazorpayConfig } from "./providers/payment-razorpay/index";
859
+ export { verifyPaymentSignature as verifyRazorpayPaymentSignature } from "./providers/payment-razorpay/signature";
860
+ export { verifyWebhookSignature as verifyRazorpayWebhookSignature } from "./providers/payment-razorpay/signature";
861
+ export type { RazorpayPaymentResult } from "./providers/payment-razorpay/signature";
857
862
  export { ManualPaymentProvider } from "./providers/payment-manual/index";
858
863
  export { ManualShippingProvider } from "./providers/shipping-manual/index";
859
864
  export { STORAGE_PATHS } from "./providers/storage-firebase/client";
@@ -2076,7 +2081,6 @@ export { finalizeStagedMediaObject } from "./features/media/server";
2076
2081
  export { finalizeStagedMediaObjectArray } from "./features/media/server";
2077
2082
  export { finalizeStagedMediaUrl } from "./features/media/server";
2078
2083
  export { DEFAULT_ORDER_DATA } from "./features/orders/index";
2079
- export { MarketplaceOrderCard } from "./features/orders/index";
2080
2084
  export { ORDER_ADMIN_SORT_OPTIONS } from "./features/orders/index";
2081
2085
  export { ORDER_COLLECTION } from "./features/orders/index";
2082
2086
  export { ORDER_FILTER_KEYS } from "./features/orders/index";
@@ -2125,10 +2129,6 @@ export { orderTimelineSchema } from "./features/orders/index";
2125
2129
  export { useOrder } from "./features/orders/index";
2126
2130
  export { useOrders } from "./features/orders/index";
2127
2131
  export { useTrackOrder } from "./features/orders/index";
2128
- export type { MarketplaceOrderCardLabels } from "./features/orders/index";
2129
- export type { MarketplaceOrderCardLinks } from "./features/orders/index";
2130
- export type { MarketplaceOrderCardOrder } from "./features/orders/index";
2131
- export type { MarketplaceOrderCardProps } from "./features/orders/index";
2132
2132
  export type { Order } from "./features/orders/index";
2133
2133
  export type { OrderAdminUpdateInput } from "./features/orders/index";
2134
2134
  export type { AppliedOrderDiscount } from "./features/orders/index";
@@ -2311,16 +2311,18 @@ export { getProductTableColumns } from "./features/products/index";
2311
2311
  export { normalizeListingType, isAuctionListing, isPreOrderListing, isStandardListing, isPrizeDrawListing, isClassifiedListing, isDigitalCodeListing, isLiveListing, isArtListing, isStickersListing, } from "./features/products/index";
2312
2312
  export { isFinalSale, acceptsChangeOfMindReturns, } from "./features/products/constants/final-sale";
2313
2313
  export { isListingTypeEnabled, isCategoryTypeEnabled, enabledListingTypes, enabledCategoryTypes, ALL_LISTING_TYPES, isListingType, } from "./_internal/shared/listing-types/feature-flags";
2314
+ export { ADVANCED_LISTING_TYPE_CAPABILITY, ADVANCED_LISTING_TYPES, BASIC_LISTING_TYPES, LISTING_TYPE_TIER, assertListingTypeAllowed, hasAdvancedListingTypes, isAdvancedListingType, isListingTypeAllowedFor, listingTypesAllowedFor, } from "./_internal/shared/listing-types/tiers";
2315
+ export type { ListingTypeAccessContext, ListingTypeTier, } from "./_internal/shared/listing-types/tiers";
2314
2316
  export { actionTracker, setActionTrackerSink, resetActionTrackerSink, type ActionEvent, type ActionTrackerSink, } from "./_internal/shared/listing-types/action-tracker";
2315
2317
  export { cartRequiresShipping, cartIsDigitalOnly, cartIsChatOnly, } from "./_internal/shared/listing-types/cart-shipping";
2316
2318
  export { ACTIONS, action, act, canPerformAction, actionsForListingType, actionLabel, type ActionDef, type ActionKind, type ActionResource, type ActionTree, type ActionConfirmation, } from "./_internal/shared/actions/action-registry";
2317
2319
  export { buildBulkAction } from "./_internal/shared/actions/bulk-helpers";
2318
- export { computeCheckoutFees, computePayoutDeduction, computeCodHandlingFee, computeWhatsAppNotifyFee, computeGiftWrapFee, computeShipmentProtectionFee, computeSaleProtectionFee, calculateGst, } from "./_internal/shared/fees/calculator";
2320
+ export { computeCheckoutFees, computePayoutDeduction, computeCodHandlingFee, computeGiftWrapFee, computeShipmentProtectionFee, computeSaleProtectionFee, calculateGst, } from "./_internal/shared/fees/calculator";
2319
2321
  export { searchPriceIndex, PRICE_INDEX_SEARCH_LIMIT, PRICE_INDEX_MIN_QUERY_LENGTH } from "./_internal/server/features/price-index/search";
2320
2322
  export type { PriceIndexSearchResponse, PriceIndexSearchResult, PriceIndexSearchResultBand, } from "./_internal/server/features/price-index/search";
2321
2323
  export { protectionAvailability, computeProtectionFees, adjudicateClaim, badgesFor, showsRiskNotice, showsSafetyBadge, returnDestination, rtoDestination, PROTECTION_KINDS, } from "./_internal/shared/features/shipping/protections";
2322
2324
  export type { ProtectionKind, ProtectionAvailability, ProtectionTierInput, ProtectionUnavailableReason, ClaimFinding, ClaimOutcome, } from "./_internal/shared/features/shipping/protections";
2323
- export type { FeeCommissionRates, CheckoutFees, PayoutDeduction, CodHandlingFeeRates, WhatsAppNotifyFeeRates, GiftWrapFeeRates, ShipmentProtectionFeeRates, SaleProtectionFeeRates, GstBreakdown, } from "./_internal/shared/fees/calculator";
2325
+ export type { FeeCommissionRates, CheckoutFees, PayoutDeduction, CodHandlingFeeRates, GiftWrapFeeRates, ShipmentProtectionFeeRates, SaleProtectionFeeRates, GstBreakdown, } from "./_internal/shared/fees/calculator";
2324
2326
  export { checkEmiEligibility, computeEmiSchedule, computeBuyerEmiQuote } from "./_internal/shared/features/emi/schedule";
2325
2327
  export type { BuyerEmiQuote } from "./_internal/shared/features/emi/schedule";
2326
2328
  export { toBuyerFacingFees, toBuyerEmiSettings, } from "./_internal/shared/features/site-settings/fees";
@@ -2747,7 +2749,6 @@ export { AdminSiteConfigGuideView } from "./features/admin/components/AdminSiteC
2747
2749
  export { AdminTeamGuideView } from "./features/admin/components/AdminTeamGuideView";
2748
2750
  export { AdminAnalyticsGuideView } from "./features/admin/components/AdminAnalyticsGuideView";
2749
2751
  export { AdminTrustGuideView } from "./features/admin/components/AdminTrustGuideView";
2750
- export { AdminWhatsAppGuideView } from "./features/admin/components/AdminWhatsAppGuideView";
2751
2752
  export { AdminPaymentsGuideView } from "./features/admin/components/AdminPaymentsGuideView";
2752
2753
  export { BuyerShoppingGuideView } from "./features/account/components/BuyerShoppingGuideView";
2753
2754
  export { BuyerAuctionsGuideView } from "./features/account/components/BuyerAuctionsGuideView";
@@ -2765,8 +2766,6 @@ export { StoreCapabilitiesGuideView } from "./features/stores/components/StoreCa
2765
2766
  export type { StoreCapabilitiesGuideViewProps } from "./features/stores/components/StoreCapabilitiesGuideView";
2766
2767
  export { StoreSettingsGuideView } from "./features/stores/components/StoreSettingsGuideView";
2767
2768
  export type { StoreSettingsGuideViewProps } from "./features/stores/components/StoreSettingsGuideView";
2768
- export { StoreWhatsAppGuideView } from "./features/stores/components/StoreWhatsAppGuideView";
2769
- export type { StoreWhatsAppGuideViewProps } from "./features/stores/components/StoreWhatsAppGuideView";
2770
2769
  export { StorePreOrdersListing } from "./features/stores/components/StorePreOrdersListing";
2771
2770
  export type { StorePreOrdersListingProps } from "./features/stores/components/StorePreOrdersListing";
2772
2771
  export { buildStoreColumns } from "./features/stores/index";
@@ -2820,25 +2819,8 @@ export { updateStoreAddressForSeller } from "./features/stores/server";
2820
2819
  export type { StoreContentParams } from "./features/stores/server";
2821
2820
  export type { StoreQueryListParams } from "./features/stores/server";
2822
2821
  export type { StoreReviewsResult } from "./features/stores/server";
2823
- export { WhatsAppChatButton } from "./features/whatsapp-bot/index";
2824
- export { SellerWhatsAppSettingsView } from "./features/whatsapp-bot/index";
2825
- export type { SellerWhatsAppSettingsViewProps } from "./features/whatsapp-bot/index";
2826
- export type { CheckoutMessageInput } from "./features/whatsapp-bot/index";
2827
- export type { IncomingWebhookPayload } from "./features/whatsapp-bot/index";
2828
- export type { OrderStatusKey } from "./features/whatsapp-bot/index";
2829
- export type { SendWhatsAppInput } from "./features/whatsapp-bot/index";
2830
- export type { StatusMessageInput } from "./features/whatsapp-bot/index";
2831
- export type { StatusNotificationInput } from "./features/whatsapp-bot/index";
2832
- export type { WebhookVerifyInput } from "./features/whatsapp-bot/index";
2833
- export { buildCheckoutMessageURL } from "./features/whatsapp-bot/server";
2834
- export { buildStatusMessage } from "./features/whatsapp-bot/server";
2835
- export { buildStatusNotificationURL } from "./features/whatsapp-bot/server";
2836
- export { buildPaymentProofReviewMessage } from "./features/whatsapp-bot/server";
2837
- export { isAdminNumber } from "./features/whatsapp-bot/server";
2838
- export { parseIncomingWebhookPayload } from "./features/whatsapp-bot/server";
2839
- export { sendWhatsAppMessage } from "./features/whatsapp-bot/server";
2840
- export { sendWhatsAppBusinessMessage, syncProductsToCatalog, buildPurchaseAnnouncementMessage, buildGroupShareLink } from "./features/whatsapp-bot/server";
2841
- export type { WaBusinessSendInput, CatalogSyncProduct, CatalogSyncInput, CatalogSyncResult, PurchaseAnnouncementInput } from "./features/whatsapp-bot/index";
2822
+ export { buildPaymentProofReviewMessage } from "./features/orders/utils/payment-proof-message";
2823
+ export type { PaymentProofReviewMessageInput } from "./features/orders/utils/payment-proof-message";
2842
2824
  export { WishlistCard } from "./features/wishlist/index";
2843
2825
  export { WishlistPage } from "./features/wishlist/index";
2844
2826
  export { WishlistHeartButton } from "./features/wishlist/index";
@@ -2914,6 +2896,8 @@ export { ActionRow } from "./ui/index";
2914
2896
  export type { ActionRowProps, ActionRowAlign } from "./ui/index";
2915
2897
  export { ToastProvider, StarRating, StepperNav, ViewToggle, PriceDisplay, GatedPrice, PricesOnly, SummaryCard } from "./ui/index";
2916
2898
  export { CountdownDisplay, ItemRow, HorizontalScroller } from "./ui/index";
2899
+ export { CarouselNav, CAROUSEL_RAIL_MAX } from "./ui/index";
2900
+ export type { CarouselNavProps, CarouselNavTone } from "./ui/index";
2917
2901
  export { CardBody, MenuTrigger, MenuContent, MenuSeparator, RoleBadge, SkipToMain } from "./ui/index";
2918
2902
  export { Tabs, TabsList, TabsTrigger, TabsContent, PasswordStrengthIndicator, TablePagination } from "./ui/index";
2919
2903
  export { TabBarShell, TabBarButton, TabsNavSelect } from "./ui/index";
@@ -3082,6 +3066,8 @@ export type { UserProfileOgData } from "./_internal/server/features/profile/og";
3082
3066
  export { LISTING_TYPE_CAPABILITIES, capabilityFor, canAddToCart, canBid, supportsShipping, requiresVendorVerified, requiresJurisdictionCheck, hasInstantFulfillment, assertNever, } from "./_internal/shared/listing-types/capabilities";
3083
3067
  export type { ListingTypeCapability } from "./_internal/shared/listing-types/capabilities";
3084
3068
  export { LISTING_TYPE_REGISTRY, pluginFor, detectListingTypeFromSlug } from "./_internal/shared/listing-types/_registry";
3069
+ export { OwnerQuickActions } from "./features/admin/components/OwnerQuickActions";
3070
+ export type { OwnerQuickActionsProps, OwnerQuickActionsResource } from "./features/admin/components/OwnerQuickActions";
3085
3071
  export type { ListingTypePlugin } from "./_internal/shared/listing-types/_registry";
3086
3072
  export { getListingRule, getCategoryRule, pickOrderType, getSplitKey, runSyncPreflight, CHECKOUT_RULES, CATEGORY_CHECKOUT_RULES, CHECKOUT_MAX_ORDERS_PER_TX, PRIZE_DRAW_MAX_REVEALS_PER_ORDER, BUNDLE_MAX_QTY_PER_TX, STANDARD_MAX_QTY_PER_LINE, } from "./_internal/shared/checkout/rules";
3087
3073
  export type { ListingCheckoutRule, CategoryCheckoutRule, CartItemProductPair, OrderItemInput, RefundPolicy, } from "./_internal/shared/checkout/rules";
@@ -3145,7 +3131,7 @@ export { sublistingCategoryFormSchema } from "./features/store-extensions/schema
3145
3131
  export { adminStoreUpdateSchema, announcementBarSchema, } from "./features/admin/schemas/admin-editor-forms";
3146
3132
  export { adminOrderUpdateSchema, employeeInviteSchema, hardBanReasonSchema, featureFlagsUpdateSchema, adminAdFormSchema, } from "./features/admin/schemas/admin-ops-forms";
3147
3133
  export { changeEmailSchema } from "./features/account/schemas/index";
3148
- export { adminUserUpdateSchema, whatsappSettingsSchema, lotteryPullSchema, } from "./features/admin/schemas/admin-user-form";
3134
+ export { adminUserUpdateSchema, lotteryPullSchema, } from "./features/admin/schemas/admin-user-form";
3149
3135
  export { siteSettingsFormSchema } from "./features/admin/schemas/site-settings-form";
3150
3136
  export { createReviewSchema as reviewSubmitSchema } from "./_internal/shared/features/reviews/schema";
3151
3137
  export { wishlistAddSchema } from "./schemas/api-routes";
@@ -3184,3 +3170,5 @@ export type { CourierRatingPair, CourierRatingDisplay, CourierRatingVote, Courie
3184
3170
  * server.ts.
3185
3171
  */
3186
3172
  export type { ConversationDocument, ConversationStatus, ConversationLastMessage, ParticipantRole, MessageDocument, MessageProductRef, } from "./features/messages/schemas/firestore";
3173
+ export { configurePlatformSupplier, getPlatformSupplier, resetPlatformSupplier, } from "./_internal/shared/features/site-settings/supplier-of-record";
3174
+ export type { PlatformSupplierIdentity } from "./_internal/shared/features/site-settings/supplier-of-record";
package/dist/index.js CHANGED
@@ -901,11 +901,11 @@ export { requireRole } from "./security/index.js";
901
901
  // AddressesRepository - unified top-level addresses collection (SB-UNI-A 2026-05-13).
902
902
  export { AddressesRepository } from "./repositories/index.js";
903
903
  // S-STORE foundation — 14 schemas + 14 repositories + RBAC.
904
- export { PAYOUT_METHODS_COLLECTION, PAYOUT_METHOD_INDEXED_FIELDS, DEFAULT_PAYOUT_METHOD_DATA, SHIPPING_CONFIGS_COLLECTION, SHIPPING_CONFIG_INDEXED_FIELDS, DEFAULT_SHIPPING_CONFIG_DATA, ANALYTICS_CARDS_COLLECTION, ANALYTICS_CARD_INDEXED_FIELDS, DEFAULT_ANALYTICS_CARD_DATA, ANALYTICS_ALERTS_COLLECTION, ANALYTICS_ALERT_INDEXED_FIELDS, DEFAULT_ANALYTICS_ALERT_DATA, storeCategoryFormSchema, storeCategoryCreateSchema, storeCategoryUpdateSchema, listingTemplateFormSchema, listingTemplateCreateSchema, listingTemplateUpdateSchema, LISTING_TEMPLATE_TYPES, LISTING_TEMPLATE_TYPE_OPTIONS, payoutMethodFormSchema, payoutMethodCreateSchema, payoutMethodUpdateSchema, shippingConfigFormSchema, SHIPPING_METHOD_OPTIONS, shippingConfigCreateSchema, shippingConfigUpdateSchema, customRoleFormSchema, customRoleCreateSchema, customRoleUpdateSchema, isKnownPermission, moderationReviewFormSchema, moderationReviewUpdateSchema, MODERATION_REVIEWER_STATUSES, reportReviewFormSchema, reportReviewUpdateSchema, REPORT_REVIEWER_STATUSES, REPORT_TERMINAL_STATUSES, reportCreateSchema, itemRequestCreateSchema, REPORT_ENTITY_TYPES, REPORT_REASONS, analyticsAlertCreateSchema, analyticsCardCreateSchema, ANALYTICS_ALERT_OPERATORS, ANALYTICS_CARD_TYPES, storeGoogleConfigUpdateSchema, toSellerGoogleConfig, adminNotificationCreateSchema, ADMIN_NOTIFICATION_CATEGORIES, ADMIN_NOTIFICATION_SEVERITIES, STORE_CATEGORIES_COLLECTION, STORE_CATEGORY_INDEXED_FIELDS, DEFAULT_STORE_CATEGORY_DATA, LISTING_TEMPLATES_COLLECTION, LISTING_TEMPLATE_INDEXED_FIELDS, DEFAULT_LISTING_TEMPLATE_DATA, MODERATION_QUEUE_COLLECTION, MODERATION_QUEUE_INDEXED_FIELDS, DEFAULT_MODERATION_QUEUE_DATA, REPORTS_COLLECTION, REPORT_INDEXED_FIELDS, DEFAULT_REPORT_DATA, ADMIN_NOTIFICATIONS_COLLECTION, ADMIN_NOTIFICATION_INDEXED_FIELDS, DEFAULT_ADMIN_NOTIFICATION_DATA, ITEM_REQUESTS_COLLECTION, ITEM_REQUEST_INDEXED_FIELDS, DEFAULT_ITEM_REQUEST_DATA, STORE_GOOGLE_CONFIG_COLLECTION, STORE_GOOGLE_CONFIG_INDEXED_FIELDS, DEFAULT_STORE_GOOGLE_CONFIG_DATA, STORE_WHATSAPP_CONFIG_COLLECTION, STORE_WHATSAPP_CONFIG_INDEXED_FIELDS, DEFAULT_STORE_WHATSAPP_CONFIG_DATA, CUSTOM_ROLES_COLLECTION, CUSTOM_ROLE_INDEXED_FIELDS, DEFAULT_CUSTOM_ROLE_DATA, ROLE_OVERRIDES_COLLECTION, ROLE_OVERRIDE_INDEXED_FIELDS, DEFAULT_ROLE_OVERRIDE_DATA,
904
+ export { PAYOUT_METHODS_COLLECTION, PAYOUT_METHOD_INDEXED_FIELDS, DEFAULT_PAYOUT_METHOD_DATA, SHIPPING_CONFIGS_COLLECTION, SHIPPING_CONFIG_INDEXED_FIELDS, DEFAULT_SHIPPING_CONFIG_DATA, ANALYTICS_CARDS_COLLECTION, ANALYTICS_CARD_INDEXED_FIELDS, DEFAULT_ANALYTICS_CARD_DATA, ANALYTICS_ALERTS_COLLECTION, ANALYTICS_ALERT_INDEXED_FIELDS, DEFAULT_ANALYTICS_ALERT_DATA, storeCategoryFormSchema, storeCategoryCreateSchema, storeCategoryUpdateSchema, listingTemplateFormSchema, listingTemplateCreateSchema, listingTemplateUpdateSchema, LISTING_TEMPLATE_TYPES, LISTING_TEMPLATE_TYPE_OPTIONS, payoutMethodFormSchema, payoutMethodCreateSchema, payoutMethodUpdateSchema, shippingConfigFormSchema, SHIPPING_METHOD_OPTIONS, shippingConfigCreateSchema, shippingConfigUpdateSchema, customRoleFormSchema, customRoleCreateSchema, customRoleUpdateSchema, isKnownPermission, moderationReviewFormSchema, moderationReviewUpdateSchema, MODERATION_REVIEWER_STATUSES, reportReviewFormSchema, reportReviewUpdateSchema, REPORT_REVIEWER_STATUSES, REPORT_TERMINAL_STATUSES, reportCreateSchema, itemRequestCreateSchema, REPORT_ENTITY_TYPES, REPORT_REASONS, analyticsAlertCreateSchema, analyticsCardCreateSchema, ANALYTICS_ALERT_OPERATORS, ANALYTICS_CARD_TYPES, storeGoogleConfigUpdateSchema, toSellerGoogleConfig, adminNotificationCreateSchema, ADMIN_NOTIFICATION_CATEGORIES, ADMIN_NOTIFICATION_SEVERITIES, STORE_CATEGORIES_COLLECTION, STORE_CATEGORY_INDEXED_FIELDS, DEFAULT_STORE_CATEGORY_DATA, LISTING_TEMPLATES_COLLECTION, LISTING_TEMPLATE_INDEXED_FIELDS, DEFAULT_LISTING_TEMPLATE_DATA, MODERATION_QUEUE_COLLECTION, MODERATION_QUEUE_INDEXED_FIELDS, DEFAULT_MODERATION_QUEUE_DATA, REPORTS_COLLECTION, REPORT_INDEXED_FIELDS, DEFAULT_REPORT_DATA, ADMIN_NOTIFICATIONS_COLLECTION, ADMIN_NOTIFICATION_INDEXED_FIELDS, DEFAULT_ADMIN_NOTIFICATION_DATA, ITEM_REQUESTS_COLLECTION, ITEM_REQUEST_INDEXED_FIELDS, DEFAULT_ITEM_REQUEST_DATA, STORE_GOOGLE_CONFIG_COLLECTION, STORE_GOOGLE_CONFIG_INDEXED_FIELDS, DEFAULT_STORE_GOOGLE_CONFIG_DATA, CUSTOM_ROLES_COLLECTION, CUSTOM_ROLE_INDEXED_FIELDS, DEFAULT_CUSTOM_ROLE_DATA, ROLE_OVERRIDES_COLLECTION, ROLE_OVERRIDE_INDEXED_FIELDS, DEFAULT_ROLE_OVERRIDE_DATA,
905
905
  // Repositories — classes
906
- PayoutMethodsRepository, ShippingConfigsRepository, AnalyticsCardsRepository, AnalyticsAlertsRepository, StoreCategoriesRepository, ListingTemplatesRepository, ModerationQueueRepository, ReportsRepository, AdminNotificationsRepository, ItemRequestsRepository, StoreGoogleConfigRepository, StoreWhatsAppConfigRepository, CustomRolesRepository, RoleOverridesRepository,
906
+ PayoutMethodsRepository, ShippingConfigsRepository, AnalyticsCardsRepository, AnalyticsAlertsRepository, StoreCategoriesRepository, ListingTemplatesRepository, ModerationQueueRepository, ReportsRepository, AdminNotificationsRepository, ItemRequestsRepository, StoreGoogleConfigRepository, CustomRolesRepository, RoleOverridesRepository,
907
907
  // Repositories — singletons
908
- payoutMethodsRepository, shippingConfigsRepository, analyticsCardsRepository, analyticsAlertsRepository, storeCategoriesRepository, listingTemplatesRepository, moderationQueueRepository, reportsRepository, adminNotificationsRepository, itemRequestsRepository, storeGoogleConfigRepository, storeWhatsAppConfigRepository, customRolesRepository, roleOverridesRepository, } from "./features/store-extensions/index.js";
908
+ payoutMethodsRepository, shippingConfigsRepository, analyticsCardsRepository, analyticsAlertsRepository, storeCategoriesRepository, listingTemplatesRepository, moderationQueueRepository, reportsRepository, adminNotificationsRepository, itemRequestsRepository, storeGoogleConfigRepository, customRolesRepository, roleOverridesRepository, } from "./features/store-extensions/index.js";
909
909
  // [DB]-Database layer â€" uses firebase-admin or another server-side DB SDK; can only run in a trusted server environment.
910
910
  // BaseRepository - Shared export for base repository.
911
911
  export { BaseRepository } from "./repositories/index.js";
@@ -1087,7 +1087,7 @@ export { ELIGIBLE_ORDER_STATUSES_FOR_TICKET, SUPPORT_TICKET_COLLECTION, ACTIVE_T
1087
1087
  export { supportTicketsSeedData } from "./seed/index.js";
1088
1088
  export { offersSeedData } from "./seed/index.js";
1089
1089
  // S-STORE foundation seed data
1090
- export { payoutMethodsSeedData, shippingConfigsSeedData, analyticsCardsSeedData, analyticsAlertsSeedData, storeCategoriesSeedData, listingTemplatesSeedData, moderationQueueSeedData, reportsSeedData, itemRequestsSeedData, storeWhatsAppConfigSeedData, storeGoogleConfigSeedData, } from "./seed/index.js";
1090
+ export { payoutMethodsSeedData, shippingConfigsSeedData, analyticsCardsSeedData, analyticsAlertsSeedData, storeCategoriesSeedData, listingTemplatesSeedData, moderationQueueSeedData, reportsSeedData, itemRequestsSeedData, storeGoogleConfigSeedData, } from "./seed/index.js";
1091
1091
  // SB-UNI-B â€" sublistingCategoriesRepository + SublistingCategoryDocument deleted.
1092
1092
  // Use categoriesRepository.findBySlugAndType(slug, "sublisting") and CategoryDocument with categoryType:"sublisting".
1093
1093
  // [DB]-Database layer â€" uses firebase-admin; server-only.
@@ -1767,6 +1767,17 @@ export { paiseToRupees } from "./core/money.js";
1767
1767
  // [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
1768
1768
  // rupeesToPaise - Shared export for rupees to paise. // audit-money-units-ok: names the boundary conversion function itself
1769
1769
  export { rupeesToPaise } from "./core/money.js";
1770
+ // ./providers/payment-razorpay/index
1771
+ // [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
1772
+ // RazorpayProvider - IPaymentProvider over Razorpay's client-side-modal gateway.
1773
+ export { RazorpayProvider } from "./providers/payment-razorpay/index.js";
1774
+ // ./providers/payment-razorpay/signature
1775
+ // [SERVER-ONLY]-Server-only — uses Node.js crypto. Deliberately SDK-free so importing it does not pull the razorpay package in.
1776
+ // verifyRazorpayPaymentSignature - HMAC-SHA256 over `{order_id}|{payment_id}`; the cheap guard, never the authority.
1777
+ export { verifyPaymentSignature as verifyRazorpayPaymentSignature } from "./providers/payment-razorpay/signature.js";
1778
+ // [SERVER-ONLY]-Server-only — uses Node.js crypto.
1779
+ // verifyRazorpayWebhookSignature - HMAC-SHA256 over the RAW webhook body.
1780
+ export { verifyWebhookSignature as verifyRazorpayWebhookSignature } from "./providers/payment-razorpay/signature.js";
1770
1781
  // ./providers/payment-manual/index
1771
1782
  // [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
1772
1783
  // ManualPaymentProvider - the default IPaymentProvider implementation (no gateway).
@@ -2382,7 +2393,7 @@ export { markAllNotificationsRead } from "./features/admin/server.js";
2382
2393
  // markNotificationRead - Shared export for mark notification read.
2383
2394
  export { markNotificationRead } from "./features/admin/server.js";
2384
2395
  // [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
2385
- // sendNotification - Multi-channel notification dispatcher (in-app + optional email/WhatsApp).
2396
+ // sendNotification - Multi-channel notification dispatcher (in-app + optional email).
2386
2397
  export { sendNotification } from "./features/admin/server.js";
2387
2398
  // [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
2388
2399
  // revokeSession - Shared export for revoke session.
@@ -3915,8 +3926,6 @@ export { finalizeStagedMediaUrl } from "./features/media/server.js";
3915
3926
  // DEFAULT_ORDER_DATA - Constant used across modules.
3916
3927
  export { DEFAULT_ORDER_DATA } from "./features/orders/index.js";
3917
3928
  // [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
3918
- // MarketplaceOrderCard - Component for marketplace order card.
3919
- export { MarketplaceOrderCard } from "./features/orders/index.js";
3920
3929
  // [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
3921
3930
  // ORDER_ADMIN_SORT_OPTIONS - Constant used across modules.
3922
3931
  export { ORDER_ADMIN_SORT_OPTIONS } from "./features/orders/index.js";
@@ -4306,6 +4315,9 @@ export { normalizeListingType, isAuctionListing, isPreOrderListing, isStandardLi
4306
4315
  export { isFinalSale, acceptsChangeOfMindReturns, } from "./features/products/constants/final-sale.js";
4307
4316
  // SB-UNI-X4 2026-05-13 â€" per-type feature-flag helpers.
4308
4317
  export { isListingTypeEnabled, isCategoryTypeEnabled, enabledListingTypes, enabledCategoryTypes, ALL_LISTING_TYPES, isListingType, } from "./_internal/shared/listing-types/feature-flags.js";
4318
+ // Basic/advanced listing-type split — which types a store may create.
4319
+ // Pure (no firebase-admin in its import chain), so it is safe in index.ts.
4320
+ export { ADVANCED_LISTING_TYPE_CAPABILITY, ADVANCED_LISTING_TYPES, BASIC_LISTING_TYPES, LISTING_TYPE_TIER, assertListingTypeAllowed, hasAdvancedListingTypes, isAdvancedListingType, isListingTypeAllowedFor, listingTypesAllowedFor, } from "./_internal/shared/listing-types/tiers.js";
4309
4321
  // SB-UNI-X5 2026-05-13 â€" action telemetry sink.
4310
4322
  export { actionTracker, setActionTrackerSink, resetActionTrackerSink, } from "./_internal/shared/listing-types/action-tracker.js";
4311
4323
  // SB-UNI-S 2026-05-13 â€" cart-level shipping-requirement helpers.
@@ -4313,8 +4325,8 @@ export { cartRequiresShipping, cartIsDigitalOnly, cartIsChatOnly, } from "./_int
4313
4325
  // SB-UNI-W-1 2026-05-13 â€" CTA action registry shell.
4314
4326
  export { ACTIONS, action, act, canPerformAction, actionsForListingType, actionLabel, } from "./_internal/shared/actions/action-registry.js";
4315
4327
  export { buildBulkAction } from "./_internal/shared/actions/bulk-helpers.js";
4316
- // Shared fee calculator — platform/gateway/GST/COD handling/WhatsApp-addon fee math (pure, client-safe).
4317
- export { computeCheckoutFees, computePayoutDeduction, computeCodHandlingFee, computeWhatsAppNotifyFee, computeGiftWrapFee, computeShipmentProtectionFee, computeSaleProtectionFee, calculateGst, } from "./_internal/shared/fees/calculator.js";
4328
+ // Shared fee calculator — platform/gateway/GST/COD handling/addon fee math (pure, client-safe).
4329
+ export { computeCheckoutFees, computePayoutDeduction, computeCodHandlingFee, computeGiftWrapFee, computeShipmentProtectionFee, computeSaleProtectionFee, calculateGst, } from "./_internal/shared/fees/calculator.js";
4318
4330
  // C5e buyer protections — the pure three-tier gate plus the one fee pair
4319
4331
  // every money path must agree on. Public API because the capture route
4320
4332
  // (/api/payment/create-order) is one of the three sites that must agree.
@@ -5045,8 +5057,6 @@ export { AdminTeamGuideView } from "./features/admin/components/AdminTeamGuideVi
5045
5057
  export { AdminAnalyticsGuideView } from "./features/admin/components/AdminAnalyticsGuideView.js";
5046
5058
  // [CLIENT-SSR]-Admin trust & safety guide — static view, no firebase-admin.
5047
5059
  export { AdminTrustGuideView } from "./features/admin/components/AdminTrustGuideView.js";
5048
- // [CLIENT-SSR]-Admin WhatsApp integration guide — static view, no firebase-admin.
5049
- export { AdminWhatsAppGuideView } from "./features/admin/components/AdminWhatsAppGuideView.js";
5050
5060
  // [CLIENT-SSR]-Admin payments (Razorpay) guide — static view, no firebase-admin.
5051
5061
  export { AdminPaymentsGuideView } from "./features/admin/components/AdminPaymentsGuideView.js";
5052
5062
  // [CLIENT-SSR]-Buyer shopping guide — static view, no firebase-admin.
@@ -5069,8 +5079,6 @@ export { StoreFinanceGuideView } from "./features/stores/components/StoreFinance
5069
5079
  export { StoreCapabilitiesGuideView } from "./features/stores/components/StoreCapabilitiesGuideView.js";
5070
5080
  // [CLIENT-SSR]-Store settings guide — static view, no firebase-admin.
5071
5081
  export { StoreSettingsGuideView } from "./features/stores/components/StoreSettingsGuideView.js";
5072
- // [CLIENT-SSR]-Store WhatsApp catalog sync guide — static view, no firebase-admin.
5073
- export { StoreWhatsAppGuideView } from "./features/stores/components/StoreWhatsAppGuideView.js";
5074
5082
  export { StorePreOrdersListing } from "./features/stores/components/StorePreOrdersListing.js";
5075
5083
  // [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
5076
5084
  // buildStoreColumns - Helper for build store columns.
@@ -5146,35 +5154,11 @@ export { storeSlugGET } from "./features/stores/server.js";
5146
5154
  // [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
5147
5155
  // updateStoreAddressForSeller - Helper for update store address for seller.
5148
5156
  export { updateStoreAddressForSeller } from "./features/stores/server.js";
5149
- // ./features/whatsapp-bot/index
5150
- // [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
5151
- // WhatsAppChatButton - Component for whats app chat button.
5152
- export { WhatsAppChatButton } from "./features/whatsapp-bot/index.js";
5153
- export { SellerWhatsAppSettingsView } from "./features/whatsapp-bot/index.js";
5154
- // ./features/whatsapp-bot/server
5155
- // [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
5156
- // buildCheckoutMessageURL - Helper for build checkout message url.
5157
- export { buildCheckoutMessageURL } from "./features/whatsapp-bot/server.js";
5158
- // [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
5159
- // buildStatusMessage - Helper for build status message.
5160
- export { buildStatusMessage } from "./features/whatsapp-bot/server.js";
5161
- // [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
5162
- // buildStatusNotificationURL - Helper for build status notification url.
5163
- export { buildStatusNotificationURL } from "./features/whatsapp-bot/server.js";
5164
- // [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
5165
- // buildPaymentProofReviewMessage - Helper for build payment proof review message (Tier PP).
5166
- export { buildPaymentProofReviewMessage } from "./features/whatsapp-bot/server.js";
5167
- // [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
5168
- // isAdminNumber - Shared export for is admin number.
5169
- export { isAdminNumber } from "./features/whatsapp-bot/server.js";
5170
- // [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
5171
- // parseIncomingWebhookPayload - Helper for parse incoming webhook payload.
5172
- export { parseIncomingWebhookPayload } from "./features/whatsapp-bot/server.js";
5173
- // [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
5174
- // sendWhatsAppMessage - Shared export for send whats app message.
5175
- export { sendWhatsAppMessage } from "./features/whatsapp-bot/server.js";
5176
- // [SERVER-ONLY] Meta WhatsApp Business Cloud API helpers (WA1-WA8 integration)
5177
- export { sendWhatsAppBusinessMessage, syncProductsToCatalog, buildPurchaseAnnouncementMessage, buildGroupShareLink } from "./features/whatsapp-bot/server.js";
5157
+ // ./features/orders/utils/payment-proof-message
5158
+ // [CLIENT-SAFE] Pure wa.me share-link message builder — no crypto, no network.
5159
+ // The WhatsApp Cloud API integration was removed 2026-10-20; this survived
5160
+ // because a wa.me deep link needs no token, number or Meta billing account.
5161
+ export { buildPaymentProofReviewMessage } from "./features/orders/utils/payment-proof-message.js";
5178
5162
  // ./features/wishlist/index
5179
5163
  // [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
5180
5164
  // WishlistCard - Component for wishlist card.
@@ -5284,6 +5268,7 @@ export { ModalFooter, UnsavedChangesModal, ResponsiveView, Textarea, Checkbox }
5284
5268
  export { ActionRow } from "./ui/index.js";
5285
5269
  export { ToastProvider, StarRating, StepperNav, ViewToggle, PriceDisplay, GatedPrice, PricesOnly, SummaryCard } from "./ui/index.js";
5286
5270
  export { CountdownDisplay, ItemRow, HorizontalScroller } from "./ui/index.js";
5271
+ export { CarouselNav, CAROUSEL_RAIL_MAX } from "./ui/index.js";
5287
5272
  export { CardBody, MenuTrigger, MenuContent, MenuSeparator, RoleBadge, SkipToMain } from "./ui/index.js";
5288
5273
  export { Tabs, TabsList, TabsTrigger, TabsContent, PasswordStrengthIndicator, TablePagination } from "./ui/index.js";
5289
5274
  // TabBarShell - rail + overflow scroll arrows around a role="tablist"; TabBarButton / TabsNavSelect - its two trigger flavours
@@ -5507,6 +5492,8 @@ export { renderPrivateProfileOgImage, renderUserProfileOgImage } from "./_intern
5507
5492
  // Listing-type capability registry â€" SB-UNI X1.
5508
5493
  export { LISTING_TYPE_CAPABILITIES, capabilityFor, canAddToCart, canBid, supportsShipping, requiresVendorVerified, requiresJurisdictionCheck, hasInstantFulfillment, assertNever, } from "./_internal/shared/listing-types/capabilities.js";
5509
5494
  export { LISTING_TYPE_REGISTRY, pluginFor, detectListingTypeFromSlug } from "./_internal/shared/listing-types/_registry.js";
5495
+ // Pencil / clone / bin for whoever owns the record, on a PUBLIC surface.
5496
+ export { OwnerQuickActions } from "./features/admin/components/OwnerQuickActions.js";
5510
5497
  // Checkout rule registry â€" pure TS, safe in both client and server bundles.
5511
5498
  export { getListingRule, getCategoryRule, pickOrderType, getSplitKey, runSyncPreflight, CHECKOUT_RULES, CATEGORY_CHECKOUT_RULES, CHECKOUT_MAX_ORDERS_PER_TX, PRIZE_DRAW_MAX_REVEALS_PER_ORDER, BUNDLE_MAX_QTY_PER_TX, STANDARD_MAX_QTY_PER_LINE, } from "./_internal/shared/checkout/rules/index.js";
5512
5499
  // Media upload limits â€" pure constants, safe in both client and server bundles.
@@ -5580,7 +5567,7 @@ export { sublistingCategoryFormSchema } from "./features/store-extensions/schema
5580
5567
  export { adminStoreUpdateSchema, announcementBarSchema, } from "./features/admin/schemas/admin-editor-forms.js";
5581
5568
  export { adminOrderUpdateSchema, employeeInviteSchema, hardBanReasonSchema, featureFlagsUpdateSchema, adminAdFormSchema, } from "./features/admin/schemas/admin-ops-forms.js";
5582
5569
  export { changeEmailSchema } from "./features/account/schemas/index.js";
5583
- export { adminUserUpdateSchema, whatsappSettingsSchema, lotteryPullSchema, } from "./features/admin/schemas/admin-user-form.js";
5570
+ export { adminUserUpdateSchema, lotteryPullSchema, } from "./features/admin/schemas/admin-user-form.js";
5584
5571
  export { siteSettingsFormSchema } from "./features/admin/schemas/site-settings-form.js";
5585
5572
  /*
5586
5573
  * Two schemas that existed and whose own routes did not use them.
@@ -5633,3 +5620,7 @@ export { RETURN_CUSTODY_STATES, RETURN_CUSTODY_COPY, isTerminalCustody, canAdvan
5633
5620
  export { resolveReturnAddress, RTO_ENTRY_CUSTODY, rtoCostBearer, RETURN_ABUSE_SCAM_TYPES, RETURN_ABUSE_THRESHOLDS, returnAbuseSignals, enforcementFor, } from "./_internal/shared/features/returns/destination.js";
5634
5621
  // C5f — courier ratings. Two numbers, never blended; see the module header.
5635
5622
  export { COURIER_RATING_MIN_CONFIDENT_SAMPLES, courierRatingDisplay, isValidCourierVote, courierVoteId, rollUpCourierVotes, } from "./_internal/shared/features/shipping/courier-rating.js";
5623
+ // The platform's statutory identity, injected at boot from appkit.config.js's
5624
+ // `business` block via the consumer's providers.config.ts. See the module
5625
+ // header for why the invoice path must not read it from siteSettings.
5626
+ export { configurePlatformSupplier, getPlatformSupplier, resetPlatformSupplier, } from "./_internal/shared/features/site-settings/supplier-of-record.js";
@@ -183,6 +183,7 @@ export declare const DEFAULT_ROUTE_MAP: {
183
183
  readonly CHECKOUT_SUCCESS: "/checkout/success";
184
184
  readonly OFFERS: "/user/offers";
185
185
  readonly REVIEWS: "/user/reviews";
186
+ readonly REVIEW_EDIT: (id: string) => string;
186
187
  readonly BIDS: "/user/bids";
187
188
  readonly BID_DETAIL: (id: string) => string;
188
189
  readonly RETURNS: "/user/returns";
@@ -226,7 +227,6 @@ export declare const DEFAULT_ROUTE_MAP: {
226
227
  readonly ADDRESSES_NEW: "/store/addresses/new";
227
228
  readonly ADDRESSES_EDIT: (id: string) => string;
228
229
  readonly OFFERS: "/store/offers";
229
- readonly WHATSAPP: "/store/whatsapp";
230
230
  readonly REVIEWS: "/store/reviews";
231
231
  readonly BIDS: "/store/bids";
232
232
  readonly BID_DETAIL: (id: string) => string;
@@ -290,7 +290,6 @@ export declare const DEFAULT_ROUTE_MAP: {
290
290
  readonly GUIDE_FINANCE: "/store/guide/finance";
291
291
  readonly GUIDE_CAPABILITIES: "/store/guide/capabilities";
292
292
  readonly GUIDE_SETTINGS: "/store/guide/settings";
293
- readonly GUIDE_WHATSAPP: "/store/guide/whatsapp";
294
293
  };
295
294
  readonly ADMIN: {
296
295
  readonly DASHBOARD: "/admin/dashboard";
@@ -432,7 +431,6 @@ export declare const DEFAULT_ROUTE_MAP: {
432
431
  readonly GUIDE_TEAM: "/admin/guide/team";
433
432
  readonly GUIDE_ANALYTICS: "/admin/guide/analytics";
434
433
  readonly GUIDE_TRUST: "/admin/guide/trust";
435
- readonly GUIDE_WHATSAPP: "/admin/guide/whatsapp";
436
434
  readonly GUIDE_PAYMENTS: "/admin/guide/payments";
437
435
  readonly BANNED_ADDRESSES: "/admin/banned-addresses";
438
436
  readonly ADDRESS_CLUSTERS: "/admin/address-clusters";
@@ -618,6 +616,7 @@ export declare const ROUTES: {
618
616
  readonly CHECKOUT_SUCCESS: "/checkout/success";
619
617
  readonly OFFERS: "/user/offers";
620
618
  readonly REVIEWS: "/user/reviews";
619
+ readonly REVIEW_EDIT: (id: string) => string;
621
620
  readonly BIDS: "/user/bids";
622
621
  readonly BID_DETAIL: (id: string) => string;
623
622
  readonly RETURNS: "/user/returns";
@@ -661,7 +660,6 @@ export declare const ROUTES: {
661
660
  readonly ADDRESSES_NEW: "/store/addresses/new";
662
661
  readonly ADDRESSES_EDIT: (id: string) => string;
663
662
  readonly OFFERS: "/store/offers";
664
- readonly WHATSAPP: "/store/whatsapp";
665
663
  readonly REVIEWS: "/store/reviews";
666
664
  readonly BIDS: "/store/bids";
667
665
  readonly BID_DETAIL: (id: string) => string;
@@ -725,7 +723,6 @@ export declare const ROUTES: {
725
723
  readonly GUIDE_FINANCE: "/store/guide/finance";
726
724
  readonly GUIDE_CAPABILITIES: "/store/guide/capabilities";
727
725
  readonly GUIDE_SETTINGS: "/store/guide/settings";
728
- readonly GUIDE_WHATSAPP: "/store/guide/whatsapp";
729
726
  };
730
727
  readonly ADMIN: {
731
728
  readonly DASHBOARD: "/admin/dashboard";
@@ -867,7 +864,6 @@ export declare const ROUTES: {
867
864
  readonly GUIDE_TEAM: "/admin/guide/team";
868
865
  readonly GUIDE_ANALYTICS: "/admin/guide/analytics";
869
866
  readonly GUIDE_TRUST: "/admin/guide/trust";
870
- readonly GUIDE_WHATSAPP: "/admin/guide/whatsapp";
871
867
  readonly GUIDE_PAYMENTS: "/admin/guide/payments";
872
868
  readonly BANNED_ADDRESSES: "/admin/banned-addresses";
873
869
  readonly ADDRESS_CLUSTERS: "/admin/address-clusters";
@@ -906,7 +902,6 @@ export declare const SELLER_ROUTES: {
906
902
  readonly ADDRESSES_NEW: "/store/addresses/new";
907
903
  readonly ADDRESSES_EDIT: (id: string) => string;
908
904
  readonly OFFERS: "/store/offers";
909
- readonly WHATSAPP: "/store/whatsapp";
910
905
  readonly REVIEWS: "/store/reviews";
911
906
  readonly BIDS: "/store/bids";
912
907
  readonly BID_DETAIL: (id: string) => string;
@@ -970,7 +965,6 @@ export declare const SELLER_ROUTES: {
970
965
  readonly GUIDE_FINANCE: "/store/guide/finance";
971
966
  readonly GUIDE_CAPABILITIES: "/store/guide/capabilities";
972
967
  readonly GUIDE_SETTINGS: "/store/guide/settings";
973
- readonly GUIDE_WHATSAPP: "/store/guide/whatsapp";
974
968
  };
975
969
  export declare const PUBLIC_ROUTES: readonly ["/", string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, "/unauthorized", "/auth/login", "/auth/register", "/auth/forgot-password", "/auth/reset-password", "/auth/verify-email"];
976
970
  export declare const PROTECTED_ROUTES: readonly [string, string, string, string, string, string, string];
@@ -258,7 +258,18 @@ export const DEFAULT_ROUTE_MAP = {
258
258
  */
259
259
  ADDRESSES_NEW: "/user/addresses/new",
260
260
  ADDRESSES_EDIT: (id) => `/user/addresses/${id}/edit`,
261
- ORDER_DETAIL: (id) => `/user/orders/view/${id}`,
261
+ /*
262
+ * 🛑 `/user/orders/{id}`, not `/user/orders/view/{id}`.
263
+ *
264
+ * The same order used to present two unrelated-looking URL shapes: the
265
+ * detail page at `view/{id}` while every action on it — cancel, invoice,
266
+ * payment, return, track — sat at `{id}/…`. A buyer who shortened the URL
267
+ * by dropping a trailing segment landed on a 404.
268
+ *
269
+ * The old path still resolves: `view/[id]/page.tsx` is a redirect, kept
270
+ * because order confirmation and shipping emails carry it.
271
+ */
272
+ ORDER_DETAIL: (id) => `/user/orders/${id}`,
262
273
  ORDER_CANCEL: (id) => `/user/orders/${id}/cancel`,
263
274
  ORDER_TRACK: (id) => `/user/orders/${id}/track`,
264
275
  ORDER_RETURN: (id) => `/user/orders/${id}/return`,
@@ -273,6 +284,15 @@ export const DEFAULT_ROUTE_MAP = {
273
284
  CHECKOUT_SUCCESS: "/checkout/success",
274
285
  OFFERS: "/user/offers",
275
286
  REVIEWS: "/user/reviews",
287
+ /*
288
+ * The buyer's own review editor. There was no edit route for a review in
289
+ * EITHER portal — the user index was list-only and the admin side had just
290
+ * /admin/reviews — so a reviewer had no way to change what they had
291
+ * written. Added with its page and its nav entry in the same change
292
+ * (Root Cause #37: a route with no page, or a page with no nav, ships as
293
+ * half done).
294
+ */
295
+ REVIEW_EDIT: (id) => `/user/reviews/${id}/edit`,
276
296
  BIDS: "/user/bids",
277
297
  BID_DETAIL: (id) => `/user/bids/${id}/view`,
278
298
  RETURNS: "/user/returns",
@@ -316,7 +336,6 @@ export const DEFAULT_ROUTE_MAP = {
316
336
  ADDRESSES_NEW: "/store/addresses/new",
317
337
  ADDRESSES_EDIT: (id) => `/store/addresses/${id}/edit`,
318
338
  OFFERS: "/store/offers",
319
- WHATSAPP: "/store/whatsapp",
320
339
  REVIEWS: "/store/reviews",
321
340
  BIDS: "/store/bids",
322
341
  BID_DETAIL: (id) => `/store/bids/${id}/view`,
@@ -386,7 +405,6 @@ export const DEFAULT_ROUTE_MAP = {
386
405
  GUIDE_FINANCE: "/store/guide/finance",
387
406
  GUIDE_CAPABILITIES: "/store/guide/capabilities",
388
407
  GUIDE_SETTINGS: "/store/guide/settings",
389
- GUIDE_WHATSAPP: "/store/guide/whatsapp",
390
408
  },
391
409
  ADMIN: {
392
410
  DASHBOARD: "/admin/dashboard",
@@ -553,7 +571,6 @@ export const DEFAULT_ROUTE_MAP = {
553
571
  GUIDE_TEAM: "/admin/guide/team",
554
572
  GUIDE_ANALYTICS: "/admin/guide/analytics",
555
573
  GUIDE_TRUST: "/admin/guide/trust",
556
- GUIDE_WHATSAPP: "/admin/guide/whatsapp",
557
574
  GUIDE_PAYMENTS: "/admin/guide/payments",
558
575
  BANNED_ADDRESSES: "/admin/banned-addresses",
559
576
  ADDRESS_CLUSTERS: "/admin/address-clusters",
@@ -19,7 +19,7 @@ export declare abstract class BaseRepository<T extends DocumentData> {
19
19
  *
20
20
  * It is a SEPARATE hook because a list is not a detail read. A repository
21
21
  * whose `mapDoc` decrypts a secret must not hand that secret to a list —
22
- * `StoreRepository` overrides this to drop the WhatsApp token, since
22
+ * A subclass overrides this when a list row must drop a field, since
23
23
  * `listStores(activeOnly)` backs the PUBLIC /stores page.
24
24
  */
25
25
  protected mapDocForList<D = T>(snap: DocumentSnapshot): D;
@@ -56,7 +56,7 @@ export class BaseRepository {
56
56
  *
57
57
  * It is a SEPARATE hook because a list is not a detail read. A repository
58
58
  * whose `mapDoc` decrypts a secret must not hand that secret to a list —
59
- * `StoreRepository` overrides this to drop the WhatsApp token, since
59
+ * A subclass overrides this when a list row must drop a field, since
60
60
  * `listStores(activeOnly)` backs the PUBLIC /stores page.
61
61
  */
62
62
  mapDocForList(snap) {