@mohasinac/appkit 4.53.2 → 4.54.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 (350) 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 -88
  257. package/dist/seed/_helpers/category-parts.d.ts +1 -1
  258. package/dist/seed/_helpers/category-parts.js +13399 -3019
  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/products-catalogue-seed-data.d.ts +5 -5
  281. package/dist/seed/products-catalogue-seed-data.js +63936 -13803
  282. package/dist/seed/site-settings-seed-data.js +34 -35
  283. package/dist/seed/store-extensions-seed-data.d.ts +1 -2
  284. package/dist/seed/store-extensions-seed-data.js +1 -23
  285. package/dist/seed/stores-seed-data.js +0 -1
  286. package/dist/server-entry.d.ts +1 -1
  287. package/dist/server-entry.js +1 -1
  288. package/dist/server.d.ts +8 -10
  289. package/dist/server.js +16 -22
  290. package/dist/styles.css +392 -43
  291. package/dist/tailwind-utilities.css +1 -1
  292. package/dist/tokens/themes/default-dark.js +1 -1
  293. package/dist/tokens/themes/default-light.js +2 -1
  294. package/dist/tokens/tokens.css +6 -2
  295. package/dist/ui/components/Button.d.ts +11 -0
  296. package/dist/ui/components/Button.js +11 -0
  297. package/dist/ui/components/Button.style.css +29 -0
  298. package/dist/ui/components/CarouselNav.d.ts +57 -0
  299. package/dist/ui/components/CarouselNav.js +25 -0
  300. package/dist/ui/components/CarouselNav.style.css +265 -0
  301. package/dist/ui/components/GatedPrice.js +30 -3
  302. package/dist/ui/components/GatedPrice.style.css +43 -40
  303. package/dist/ui/components/HorizontalScroller.d.ts +12 -1
  304. package/dist/ui/components/HorizontalScroller.js +43 -3
  305. package/dist/ui/components/ImageMosaic.d.ts +8 -1
  306. package/dist/ui/components/ImageMosaic.js +3 -2
  307. package/dist/ui/components/ImageMosaic.style.css +22 -0
  308. package/dist/ui/components/Layout.style.css +6 -0
  309. package/dist/ui/components/Semantic.d.ts +3 -2
  310. package/dist/ui/components/Semantic.js +1 -0
  311. package/dist/ui/components/Typography.d.ts +2 -0
  312. package/dist/ui/components/Typography.js +2 -0
  313. package/dist/ui/components/Typography.style.css +19 -0
  314. package/dist/ui/components/index.style.css +1 -0
  315. package/dist/ui/index.d.ts +3 -1
  316. package/dist/ui/index.js +4 -0
  317. package/package.json +3 -2
  318. package/dist/_internal/server/jobs/core/whatsappCatalogImport.d.ts +0 -27
  319. package/dist/_internal/server/jobs/core/whatsappCatalogImport.js +0 -172
  320. package/dist/_internal/server/jobs/core/whatsappNotify.d.ts +0 -35
  321. package/dist/_internal/server/jobs/core/whatsappNotify.js +0 -140
  322. package/dist/features/admin/components/AdminWhatsAppGuideView.d.ts +0 -2
  323. package/dist/features/admin/components/AdminWhatsAppGuideView.js +0 -35
  324. package/dist/features/orders/components/MarketplaceOrderCard.d.ts +0 -36
  325. package/dist/features/orders/components/MarketplaceOrderCard.js +0 -57
  326. package/dist/features/stores/components/StoreWhatsAppGuideView.d.ts +0 -3
  327. package/dist/features/stores/components/StoreWhatsAppGuideView.js +0 -12
  328. package/dist/features/whatsapp-bot/api/send-status/route.d.ts +0 -12
  329. package/dist/features/whatsapp-bot/api/send-status/route.js +0 -38
  330. package/dist/features/whatsapp-bot/api/webhook/route.d.ts +0 -12
  331. package/dist/features/whatsapp-bot/api/webhook/route.js +0 -43
  332. package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.d.ts +0 -6
  333. package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.js +0 -270
  334. package/dist/features/whatsapp-bot/components/WhatsAppChatButton.d.ts +0 -9
  335. package/dist/features/whatsapp-bot/components/WhatsAppChatButton.js +0 -7
  336. package/dist/features/whatsapp-bot/components/index.d.ts +0 -3
  337. package/dist/features/whatsapp-bot/components/index.js +0 -2
  338. package/dist/features/whatsapp-bot/helpers/payment-proof-message.d.ts +0 -14
  339. package/dist/features/whatsapp-bot/helpers/payment-proof-message.js +0 -17
  340. package/dist/features/whatsapp-bot/helpers/whatsapp.d.ts +0 -52
  341. package/dist/features/whatsapp-bot/helpers/whatsapp.js +0 -283
  342. package/dist/features/whatsapp-bot/index.d.ts +0 -3
  343. package/dist/features/whatsapp-bot/index.js +0 -3
  344. package/dist/features/whatsapp-bot/manifest.d.ts +0 -2
  345. package/dist/features/whatsapp-bot/manifest.js +0 -13
  346. package/dist/features/whatsapp-bot/messages/en.json +0 -7
  347. package/dist/features/whatsapp-bot/server.d.ts +0 -7
  348. package/dist/features/whatsapp-bot/server.js +0 -7
  349. package/dist/features/whatsapp-bot/types/index.d.ts +0 -126
  350. package/dist/features/whatsapp-bot/types/index.js +0 -1
@@ -167,6 +167,7 @@ export const siteSettingsSeedData = {
167
167
  whatsappNumber: "918919665811",
168
168
  },
169
169
  payment: {
170
+ razorpayEnabled: false,
170
171
  phonepeEnabled: false,
171
172
  upiManualEnabled: true,
172
173
  codEnabled: true,
@@ -220,12 +221,15 @@ export const siteSettingsSeedData = {
220
221
  */
221
222
  messaging: {
222
223
  emailEnabled: false,
223
- whatsappEnabled: false,
224
- dailyCeiling: { email: 80, whatsapp: 200, sms: 50 },
224
+ dailyCeiling: { email: 80, sms: 50 },
225
225
  },
226
226
  seo: {
227
- defaultTitle: "LetItRip — Buy, Sell & Auction Collectibles | India's Collectibles Marketplace",
228
- defaultDescription: "Buy, sell, and auction collectibles on India's marketplace for enthusiasts — action figures, trading cards, spinning tops, model kits, and more from verified sellers.",
227
+ // Kept in step with the hero h1 in homepage-sections-seed-data.ts: the
228
+ // title is what a search result and a browser tab show, so leaving
229
+ // "Auction" here would have gone on advertising a disabled type from the
230
+ // one place a visitor sees before the page even loads.
231
+ defaultTitle: "LetItRip — Buy & Sell Collectibles | India's Collectibles Marketplace",
232
+ defaultDescription: "Buy and sell collectibles on India's marketplace for enthusiasts — action figures, trading cards, spinning tops, model kits, and more from verified sellers.",
229
233
  keywords: [
230
234
  "collectibles marketplace india",
231
235
  "action figures india",
@@ -474,8 +478,6 @@ export const siteSettingsSeedData = {
474
478
  codHandlingFeePercent: 10,
475
479
  // Enabled so a seeded install actually shows the add-ons — see the matching
476
480
  // comment on DEFAULT_SITE_SETTINGS_DATA.commissions.
477
- whatsappNotifyFeeEnabled: true,
478
- whatsappNotifyFee: 10,
479
481
  giftWrapFeeEnabled: true,
480
482
  giftWrapFee: 49,
481
483
  shipmentProtectionFeeEnabled: true,
@@ -498,22 +500,27 @@ export const siteSettingsSeedData = {
498
500
  // Was `featureFlags` — 14 toggles of which 11 had no reader. Deleted
499
501
  // 2026-08-29; the two that were never flags live here instead.
500
502
  listings: {
503
+ // Kept identical to `DEFAULT_SITE_SETTINGS_DATA.listings` in
504
+ // admin/schemas/firestore.ts — a seed that disagrees with the default
505
+ // means a freshly seeded site and a never-configured site offer different
506
+ // catalogues. See that block for why every member is now spelled out.
501
507
  listingTypes: {
502
508
  standard: true,
503
- auction: true,
509
+ spares: true,
504
510
  "pre-order": true,
505
- "prize-draw": true,
506
- classified: true,
507
- "digital-code": true,
508
- live: true,
509
511
  art: true,
510
512
  stickers: true,
513
+ auction: false,
514
+ "prize-draw": false,
515
+ classified: false,
516
+ "digital-code": false,
517
+ live: false,
511
518
  },
512
519
  categoryTypes: {
513
520
  category: true,
514
521
  sublisting: true,
515
522
  brand: true,
516
- bundle: true,
523
+ bundle: false,
517
524
  },
518
525
  },
519
526
  credentials: {
@@ -523,29 +530,22 @@ export const siteSettingsSeedData = {
523
530
  phonepeEnvironment: "sandbox",
524
531
  phonepeWebhookUsername: "webhook_PLACEHOLDER",
525
532
  phonepeWebhookPassword: "webhook_PLACEHOLDER",
533
+ /*
534
+ * 🛑 Deliberately EMPTY, not `*_PLACEHOLDER`, and this is the same
535
+ * reasoning the Meta secrets and `googleMapsApiKey` are seeded empty for:
536
+ * a placeholder is truthy, so a consumer that reads the value directly
537
+ * treats it as a usable credential and makes a real, failing API call —
538
+ * here, mid-checkout, after the buyer has committed. `resolveKeys()` also
539
+ * filters PLACEHOLDER for these three as a second line of defence, but
540
+ * the seed should not be the thing that needs defending against.
541
+ *
542
+ * A real key belongs in Admin › Site Settings › Credentials (encrypted at
543
+ * rest) or in RAZORPAY_KEY_ID / RAZORPAY_KEY_SECRET.
544
+ */
545
+ razorpayKeyId: "",
546
+ razorpayKeySecret: "",
547
+ razorpayWebhookSecret: "",
526
548
  resendApiKey: "",
527
- whatsappApiKey: "wa_PLACEHOLDER",
528
- // Real Meta secrets — deliberately left empty. With these unset the order
529
- // announcement logs "not configured" and skips cleanly; a placeholder
530
- // string here would instead be treated as a usable token and fail on send.
531
- // Enter the real values in Admin → Site Settings → WhatsApp.
532
- whatsappPhoneNumberId: "",
533
- whatsappCloudApiToken: "",
534
- // The platform's own WhatsApp number, digits-only with country code
535
- // (+91 8919665811). Same number as contact.whatsappNumber above.
536
- whatsappAdminNotifyNumbers: "918919665811",
537
- // Default Meta message-template names. These MUST be created and approved
538
- // in Meta Business Manager under exactly these names — business-initiated
539
- // sends outside the 24h customer-service window are rejected without an
540
- // approved template. Names match the notification types they serve, see
541
- // WHATSAPP_TEMPLATE_BY_TYPE in features/admin/actions/notification-actions.ts.
542
- whatsappTemplateOrderPlaced: "order_placed",
543
- whatsappTemplateOrderConfirmed: "order_confirmed",
544
- whatsappTemplateOrderShipped: "order_shipped",
545
- whatsappTemplateOrderDelivered: "order_delivered",
546
- whatsappTemplateOrderCancelled: "order_cancelled",
547
- whatsappTemplateRefundInitiated: "refund_initiated",
548
- whatsappTemplateLanguage: "en",
549
549
  metaAppId: "meta_app_PLACEHOLDER",
550
550
  metaAppSecret: "meta_secret_PLACEHOLDER",
551
551
  metaPageAccessToken: "meta_page_token_PLACEHOLDER",
@@ -568,7 +568,6 @@ export const siteSettingsSeedData = {
568
568
  notificationChannels: {
569
569
  inApp: { enabled: true, readOnly: true },
570
570
  email: { enabled: true, minPriority: "normal" },
571
- whatsapp: { enabled: true, minPriority: "high", otpEnabled: true },
572
571
  /*
573
572
  * FALSE. There is no SMS sender anywhere in this codebase — nothing reads
574
573
  * `notificationChannels.sms`, no Twilio SDK is installed, and the only
@@ -1,4 +1,4 @@
1
- import type { AnalyticsAlertDocument, AnalyticsCardDocument, ItemRequestDocument, ListingTemplateDocument, ModerationQueueDocument, PayoutMethodDocument, ReportDocument, ShippingConfigDocument, StoreCategoryDocument, StoreGoogleConfigDocument, StoreWhatsAppConfigDocument } from "../features/store-extensions/schemas/firestore";
1
+ import type { AnalyticsAlertDocument, AnalyticsCardDocument, ItemRequestDocument, ListingTemplateDocument, ModerationQueueDocument, PayoutMethodDocument, ReportDocument, ShippingConfigDocument, StoreCategoryDocument, StoreGoogleConfigDocument } from "../features/store-extensions/schemas/firestore";
2
2
  export declare const payoutMethodsSeedData: Partial<PayoutMethodDocument>[];
3
3
  export declare const shippingConfigsSeedData: Partial<ShippingConfigDocument>[];
4
4
  export declare const analyticsCardsSeedData: Partial<AnalyticsCardDocument>[];
@@ -8,5 +8,4 @@ export declare const listingTemplatesSeedData: Partial<ListingTemplateDocument>[
8
8
  export declare const moderationQueueSeedData: Partial<ModerationQueueDocument>[];
9
9
  export declare const reportsSeedData: Partial<ReportDocument>[];
10
10
  export declare const itemRequestsSeedData: Partial<ItemRequestDocument>[];
11
- export declare const storeWhatsAppConfigSeedData: Partial<StoreWhatsAppConfigDocument>[];
12
11
  export declare const storeGoogleConfigSeedData: Partial<StoreGoogleConfigDocument>[];
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * WHY: Seeds the 11 store-extension collections for the Beyblade marketplace (2 stores).
3
3
  * WHAT: payoutMethods, shippingConfigs, analyticsCards, analyticsAlerts, storeCategories,
4
- * listingTemplates, moderationQueue, reports, itemRequests, storeWhatsAppConfig, storeGoogleConfig.
4
+ * listingTemplates, moderationQueue, reports, itemRequests, storeGoogleConfig.
5
5
  *
6
6
  * EXPORTS:
7
7
  * payoutMethodsSeedData, shippingConfigsSeedData, analyticsCardsSeedData,
@@ -272,28 +272,6 @@ export const itemRequestsSeedData = [
272
272
  replies: [],
273
273
  },
274
274
  ];
275
- // ───── storeWhatsAppConfig (2 records) ────────────────────────────────────
276
- export const storeWhatsAppConfigSeedData = [
277
- {
278
- id: "whatsapp-beyblade-arena",
279
- storeId: "store-beyblade-arena",
280
- isConnected: true,
281
- isPaid: true,
282
- phoneNumber: "+919876501001",
283
- businessProfileName: "Beyblade Arena",
284
- catalogUrl: "https://wa.me/c/919876501001",
285
- autoReply: "Hi! Thanks for messaging Beyblade Arena. We respond within 2 hours.",
286
- welcomeMessage: "Welcome to Beyblade Arena! Browse our full catalog above.",
287
- onboardingStatus: "approved",
288
- },
289
- {
290
- id: "whatsapp-letitrip-official",
291
- storeId: "store-letitrip-official",
292
- isConnected: false,
293
- isPaid: false,
294
- onboardingStatus: "pending",
295
- },
296
- ];
297
275
  // ───── storeGoogleConfig (2 records) ──────────────────────────────────────
298
276
  export const storeGoogleConfigSeedData = [
299
277
  {
@@ -113,7 +113,6 @@ const _rawstoresSeedData = [
113
113
  "api_access",
114
114
  "multiple_stores",
115
115
  "early_access_features",
116
- "whatsapp_catalog_sync",
117
116
  ],
118
117
  createdAt: daysAgo(400),
119
118
  updatedAt: daysAgo(1),
@@ -67,7 +67,7 @@ export { renderFaqOg, renderFaqOgImage, type FaqOgData, } from "./_internal/serv
67
67
  export { renderScamOg, renderScamOgImage, type ScamOgData, getScammerForDetail, getScammerProfilePageData as getScammerProfilePageDataCached, } from "./_internal/server/features/scams/index";
68
68
  export { getCategoryForDetail, listRootCategories, listFeaturedCategories, listMenuCategories, getCategoryTree, listSitemapCategories, CATEGORIES_PAGE_SIZE, CATEGORIES_ROOT_TIER, CATEGORIES_MAX_DEPTH, CATEGORIES_SITEMAP_LIMIT, CATEGORIES_FEATURED_LIMIT, CATEGORIES_MENU_LIMIT, } from "./_internal/server/features/categories/index";
69
69
  export { getGroupedListingForDetail, getGroupedListingWithItems, listGroupedListings, listFeaturedGroupedListings, listSitemapGroupedListings, getGroupsForProduct, getGroupsWithItemsForProduct, GROUPED_LISTINGS_PAGE_SIZE, GROUPED_LISTINGS_FEATURED_LIMIT, GROUPED_LISTINGS_SITEMAP_LIMIT, buildGroupedListingMetadata, renderGroupedListingOg, type GroupedListingWithItems, type ListGroupedListingsParams, type SitemapGroupedListing, type GroupedListingMetadataOptions, } from "./_internal/server/features/grouped/index";
70
- export { createCheckoutOrderAction, attachPaymentAction, verifyAndPlacePhonePeOrderAction, previewCheckoutPricing, resolveShippingCost, formatShippingAddress, CHECKOUT_DEFAULT_COMMISSIONS, CHECKOUT_PAYMENT_METHODS, type CreateCheckoutOrderInput, type VerifyAndPlacePhonePeOrderInput, type CheckoutOrderResult, type CheckoutPaymentMethod, type CheckoutPricingPreviewInput, type CheckoutPricingPreview, } from "./_internal/server/features/checkout/index";
70
+ export { createCheckoutOrderAction, attachPaymentAction, verifyAndPlaceGatewayOrderAction, previewCheckoutPricing, resolveShippingCost, formatShippingAddress, CHECKOUT_DEFAULT_COMMISSIONS, CHECKOUT_PAYMENT_METHODS, type CreateCheckoutOrderInput, type VerifyAndPlaceGatewayOrderInput, type CheckoutOrderResult, type CheckoutPaymentMethod, type CheckoutPricingPreviewInput, type CheckoutPricingPreview, } from "./_internal/server/features/checkout/index";
71
71
  export { unitPriceFor, lineTotalFor, sumGroupGst, computePreOrderDepositAmount, type GroupGstSummary, type GstRateSlice, } from "./_internal/shared/checkout/order-math";
72
72
  export { processRefundAction, type ProcessRefundInput, } from "./_internal/server/features/refunds/actions";
73
73
  export { getSublistingCategoryForDetail } from "./_internal/server/features/sublisting-categories/index";
@@ -96,7 +96,7 @@ export { getGroupedListingForDetail, getGroupedListingWithItems, listGroupedList
96
96
  // `categoriesRepository.findBySlugAndType(slug, "bundle")` /
97
97
  // `.listByType("bundle", opts)` / `.findById(id)` directly.
98
98
  // S4: checkout actions
99
- export { createCheckoutOrderAction, attachPaymentAction, verifyAndPlacePhonePeOrderAction, previewCheckoutPricing, resolveShippingCost, formatShippingAddress, CHECKOUT_DEFAULT_COMMISSIONS, CHECKOUT_PAYMENT_METHODS, } from "./_internal/server/features/checkout/index.js";
99
+ export { createCheckoutOrderAction, attachPaymentAction, verifyAndPlaceGatewayOrderAction, previewCheckoutPricing, resolveShippingCost, formatShippingAddress, CHECKOUT_DEFAULT_COMMISSIONS, CHECKOUT_PAYMENT_METHODS, } from "./_internal/server/features/checkout/index.js";
100
100
  // The one definition of "what does this cart line cost". Exported because the
101
101
  // consumer's Razorpay create-order route needs it: that route used to hand-roll
102
102
  // the rule and reproduced only the bundle branch, so it captured the LIST price
package/dist/server.d.ts CHANGED
@@ -154,6 +154,8 @@ export { normalizeFirebaseConfigValue } from "./providers/db-firebase/index";
154
154
  export { prepareForFirestore } from "./providers/db-firebase/index";
155
155
  export { createResendProvider } from "./providers/email-resend/index";
156
156
  export { PhonePeProvider } from "./providers/payment-phonepe/index";
157
+ export { RazorpayProvider } from "./providers/payment-razorpay/index";
158
+ export { verifyWebhookSignature as verifyRazorpayWebhookSignature } from "./providers/payment-razorpay/signature";
157
159
  export { paiseToRupees } from "./core/money";
158
160
  export { rupeesToPaise } from "./core/money";
159
161
  export { resolveKeys } from "./core/integration-keys";
@@ -286,14 +288,14 @@ export { updateEvent } from "./features/events/server";
286
288
  export { triggerEventRaffleAction, assignSpinPrizeAction, resolveEventIdAction, } from "./_internal/server/features/raffle/actions";
287
289
  export { reasonToHttp, EVENT_DRAW_REASON, type EventDrawReason, type EventDrawHttpMapping, } from "./_internal/server/jobs/core/event-draw-reasons";
288
290
  export { processRefundAction, type ProcessRefundInput, } from "./_internal/server/features/refunds/actions";
289
- export { computeCheckoutFees, computePayoutDeduction, computeCodHandlingFee, computeWhatsAppNotifyFee, computeGiftWrapFee, computeShipmentProtectionFee, computeSaleProtectionFee, } from "./_internal/shared/fees/calculator";
291
+ export { computeCheckoutFees, computePayoutDeduction, computeCodHandlingFee, computeGiftWrapFee, computeShipmentProtectionFee, computeSaleProtectionFee, } from "./_internal/shared/fees/calculator";
290
292
  export { searchPriceIndex, getPriceIndexBandsForIds, PRICE_INDEX_SEARCH_LIMIT, PRICE_INDEX_MIN_QUERY_LENGTH } from "./_internal/server/features/price-index/search";
291
293
  export type { PriceIndexSearchResponse, PriceIndexSearchResult, PriceIndexSearchResultBand, } from "./_internal/server/features/price-index/search";
292
294
  export { getPriceIndexMarketForIds } from "./_internal/server/features/price-index/market";
293
295
  export type { PriceIndexMarketRow } from "./_internal/server/features/price-index/market";
294
296
  export { protectionAvailability, computeProtectionFees, adjudicateClaim, badgesFor, showsRiskNotice, showsSafetyBadge, returnDestination, rtoDestination, PROTECTION_KINDS, } from "./_internal/shared/features/shipping/protections";
295
297
  export type { ProtectionKind, ProtectionAvailability, ProtectionTierInput, ProtectionUnavailableReason, ClaimFinding, ClaimOutcome, } from "./_internal/shared/features/shipping/protections";
296
- export type { FeeCommissionRates, CheckoutFees, PayoutDeduction, CodHandlingFeeRates, WhatsAppNotifyFeeRates, GiftWrapFeeRates, ShipmentProtectionFeeRates, SaleProtectionFeeRates, } from "./_internal/shared/fees/calculator";
298
+ export type { FeeCommissionRates, CheckoutFees, PayoutDeduction, CodHandlingFeeRates, GiftWrapFeeRates, ShipmentProtectionFeeRates, SaleProtectionFeeRates, } from "./_internal/shared/fees/calculator";
297
299
  export { applyRefundDeductionAction, type ApplyRefundDeductionInput, type ApplyRefundDeductionResult, } from "./_internal/server/features/payouts/actions";
298
300
  export { createFaq } from "./features/faq/server";
299
301
  export { deleteFaq } from "./features/faq/server";
@@ -425,14 +427,6 @@ export { storeProductsGET } from "./features/stores/server";
425
427
  export { storeReviewsGET } from "./features/stores/server";
426
428
  export { storeSlugGET } from "./features/stores/server";
427
429
  export { updateStoreAddressForSeller } from "./features/stores/server";
428
- export { buildCheckoutMessageURL } from "./features/whatsapp-bot/server";
429
- export { buildStatusMessage } from "./features/whatsapp-bot/server";
430
- export { buildStatusNotificationURL } from "./features/whatsapp-bot/server";
431
- export { isAdminNumber } from "./features/whatsapp-bot/server";
432
- export { parseIncomingWebhookPayload } from "./features/whatsapp-bot/server";
433
- export { sendWhatsAppMessage } from "./features/whatsapp-bot/server";
434
- export { sendWhatsAppBusinessMessage, syncProductsToCatalog, buildPurchaseAnnouncementMessage, buildGroupShareLink } from "./features/whatsapp-bot/server";
435
- export type { WaBusinessSendInput, CatalogSyncProduct, CatalogSyncInput, CatalogSyncResult, PurchaseAnnouncementInput } from "./features/whatsapp-bot/server";
436
430
  export { addToWishlist } from "./features/wishlist/server";
437
431
  export { getWishlistForUser } from "./features/wishlist/server";
438
432
  export { removeFromWishlist } from "./features/wishlist/server";
@@ -629,3 +623,7 @@ export { promoteStickerTraceRun, isRunPromoted, type PromoteRunInput, type Promo
629
623
  export { createStickerSheet, attachStickerSheetScan, resolveStickerAssetUrl, measureStickerStorage, STICKER_ASSET_KINDS, STICKER_SHEET_MAX_BYTES, type StickerAssetKind, type SheetUsageRow, type StickerStorageUsage, } from "./_internal/server/features/sticker-trace/sheet-actions";
630
624
  export { promoteStickerSheetToListings, type PromoteToListingsInput, type PromoteToListingsResult, } from "./_internal/server/features/sticker-trace/promote-to-listings";
631
625
  export { toClientStickerSheet, toClientTraceRun, type ClientStickerSheet, type ClientTraceRun, } from "./_internal/server/features/sticker-trace/adapters";
626
+ export { configurePlatformSupplier, getPlatformSupplier, resetPlatformSupplier, } from "./_internal/shared/features/site-settings/supplier-of-record";
627
+ export type { PlatformSupplierIdentity } from "./_internal/shared/features/site-settings/supplier-of-record";
628
+ export { ShiprocketShippingProvider } from "./providers/shipping-shiprocket/index";
629
+ export type { ShiprocketConfig } from "./providers/shipping-shiprocket/index";
package/dist/server.js CHANGED
@@ -425,6 +425,12 @@ export { createResendProvider } from "./providers/email-resend/index.js";
425
425
  // PhonePeProvider - Component for phonepe provider.
426
426
  export { PhonePeProvider } from "./providers/payment-phonepe/index.js";
427
427
  // [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
428
+ // RazorpayProvider - IPaymentProvider over Razorpay's client-side-modal gateway.
429
+ export { RazorpayProvider } from "./providers/payment-razorpay/index.js";
430
+ // [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
431
+ // verifyRazorpayWebhookSignature - HMAC-SHA256 over the RAW webhook body. SDK-free module.
432
+ export { verifyWebhookSignature as verifyRazorpayWebhookSignature } from "./providers/payment-razorpay/signature.js";
433
+ // [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
428
434
  // paiseToRupees - Shared export for paise to rupees. // audit-money-units-ok: names the boundary conversion function itself
429
435
  export { paiseToRupees } from "./core/money.js";
430
436
  // [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
@@ -836,8 +842,8 @@ resolveEventIdAction, } from "./_internal/server/features/raffle/actions.js";
836
842
  export { reasonToHttp, EVENT_DRAW_REASON, } from "./_internal/server/jobs/core/event-draw-reasons.js";
837
843
  // [SERVER-ONLY] S-SBUNI-RULES — refund action (Razorpay + manual paths)
838
844
  export { processRefundAction, } from "./_internal/server/features/refunds/actions.js";
839
- // [SERVER-ONLY] Shared fee calculator — platform/gateway/GST/COD handling/WhatsApp-addon fee math.
840
- export { computeCheckoutFees, computePayoutDeduction, computeCodHandlingFee, computeWhatsAppNotifyFee, computeGiftWrapFee, computeShipmentProtectionFee, computeSaleProtectionFee, } from "./_internal/shared/fees/calculator.js";
845
+ // [SERVER-ONLY] Shared fee calculator — platform/gateway/GST/COD handling/addon fee math.
846
+ export { computeCheckoutFees, computePayoutDeduction, computeCodHandlingFee, computeGiftWrapFee, computeShipmentProtectionFee, computeSaleProtectionFee, } from "./_internal/shared/fees/calculator.js";
841
847
  // C5e buyer protections — the pure three-tier gate plus the one fee pair
842
848
  // every money path must agree on. Public API because the capture route
843
849
  // (/api/payment/create-order) is one of the three sites that must agree.
@@ -1250,26 +1256,6 @@ export { storeSlugGET } from "./features/stores/server.js";
1250
1256
  // updateStoreAddressForSeller - Helper for update store address for seller.
1251
1257
  export { updateStoreAddressForSeller } from "./features/stores/server.js";
1252
1258
  // [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
1253
- // buildCheckoutMessageURL - Helper for build checkout message url.
1254
- export { buildCheckoutMessageURL } from "./features/whatsapp-bot/server.js";
1255
- // [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
1256
- // buildStatusMessage - Helper for build status message.
1257
- export { buildStatusMessage } from "./features/whatsapp-bot/server.js";
1258
- // [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
1259
- // buildStatusNotificationURL - Helper for build status notification url.
1260
- export { buildStatusNotificationURL } from "./features/whatsapp-bot/server.js";
1261
- // [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
1262
- // isAdminNumber - Shared export for is admin number.
1263
- export { isAdminNumber } from "./features/whatsapp-bot/server.js";
1264
- // [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
1265
- // parseIncomingWebhookPayload - Helper for parse incoming webhook payload.
1266
- export { parseIncomingWebhookPayload } from "./features/whatsapp-bot/server.js";
1267
- // [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
1268
- // sendWhatsAppMessage - Shared export for send whats app message.
1269
- export { sendWhatsAppMessage } from "./features/whatsapp-bot/server.js";
1270
- // [SERVER-ONLY]-Server-only — Meta Cloud API helpers (WA3).
1271
- export { sendWhatsAppBusinessMessage, syncProductsToCatalog, buildPurchaseAnnouncementMessage, buildGroupShareLink } from "./features/whatsapp-bot/server.js";
1272
- // [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
1273
1259
  // addToWishlist - Helper for add to wishlist.
1274
1260
  export { addToWishlist } from "./features/wishlist/server.js";
1275
1261
  // [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
@@ -1594,3 +1580,11 @@ export { createStickerSheet, attachStickerSheetScan, resolveStickerAssetUrl, mea
1594
1580
  */
1595
1581
  export { promoteStickerSheetToListings, } from "./_internal/server/features/sticker-trace/promote-to-listings.js";
1596
1582
  export { toClientStickerSheet, toClientTraceRun, } from "./_internal/server/features/sticker-trace/adapters.js";
1583
+ // The platform's statutory identity, injected at boot from appkit.config.js's
1584
+ // `business` block via the consumer's providers.config.ts. See the module
1585
+ // header for why the invoice path must not read it from siteSettings.
1586
+ export { configurePlatformSupplier, getPlatformSupplier, resetPlatformSupplier, } from "./_internal/shared/features/site-settings/supplier-of-record.js";
1587
+ // Shiprocket carrier adapter. 🛑 NEVER exercised against the live API — the
1588
+ // credentials are empty — so it parses every response through Zod and refuses
1589
+ // at construction when unconfigured. See the module header.
1590
+ export { ShiprocketShippingProvider } from "./providers/shipping-shiprocket/index.js";