@mohasinac/appkit 4.10.0 → 4.11.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 (319) hide show
  1. package/dist/_internal/client/features/layout/DashboardLayoutClient.d.ts +6 -1
  2. package/dist/_internal/client/features/layout/DashboardLayoutClient.js +4 -1
  3. package/dist/_internal/client/features/lottery/LotteryPullForm.d.ts +1 -1
  4. package/dist/_internal/client/features/lottery/LotteryPullForm.js +2 -2
  5. package/dist/_internal/server/features/admin/daily-digest-actions.d.ts +18 -0
  6. package/dist/_internal/server/features/admin/daily-digest-actions.js +37 -0
  7. package/dist/_internal/server/features/audit-log/actions.d.ts +25 -0
  8. package/dist/_internal/server/features/audit-log/actions.js +38 -0
  9. package/dist/_internal/server/features/brands/actions.js +0 -2
  10. package/dist/_internal/server/features/brands/og.d.ts +4 -1
  11. package/dist/_internal/server/features/brands/og.js +1 -1
  12. package/dist/_internal/server/features/grouped/data.d.ts +4 -0
  13. package/dist/_internal/server/features/grouped/data.js +24 -0
  14. package/dist/_internal/server/features/grouped/index.d.ts +1 -1
  15. package/dist/_internal/server/features/grouped/index.js +1 -1
  16. package/dist/_internal/server/features/orders/actions.js +9 -0
  17. package/dist/_internal/server/features/orders/adapters.js +25 -0
  18. package/dist/_internal/server/functions/scheduled.d.ts +3 -1
  19. package/dist/_internal/server/functions/scheduled.js +17 -1
  20. package/dist/_internal/server/jobs/core/dailyStatusDigest.d.ts +40 -0
  21. package/dist/_internal/server/jobs/core/dailyStatusDigest.js +164 -0
  22. package/dist/_internal/server/jobs/core/hardBanCascade.js +11 -0
  23. package/dist/_internal/server/jobs/core/testerSandboxCleanup.d.ts +1 -0
  24. package/dist/_internal/server/jobs/core/testerSandboxCleanup.js +4 -1
  25. package/dist/_internal/server/jobs/core/testerSandboxRefresh.d.ts +12 -0
  26. package/dist/_internal/server/jobs/core/testerSandboxRefresh.js +85 -0
  27. package/dist/_internal/server/jobs/core/whatsappNotify.js +16 -0
  28. package/dist/_internal/server/jobs/handlers/dailyStatusDigest.d.ts +2 -0
  29. package/dist/_internal/server/jobs/handlers/dailyStatusDigest.js +4 -0
  30. package/dist/_internal/server/jobs/handlers/index.d.ts +2 -0
  31. package/dist/_internal/server/jobs/handlers/index.js +3 -0
  32. package/dist/_internal/server/jobs/handlers/testerSandboxRefresh.d.ts +2 -0
  33. package/dist/_internal/server/jobs/handlers/testerSandboxRefresh.js +2 -0
  34. package/dist/_internal/server/notifications/channel-health.d.ts +27 -0
  35. package/dist/_internal/server/notifications/channel-health.js +101 -0
  36. package/dist/_internal/shared/features/brands/schema.d.ts +0 -6
  37. package/dist/_internal/shared/features/brands/schema.js +0 -1
  38. package/dist/_internal/shared/features/categories/bundle-schemas.d.ts +7 -0
  39. package/dist/_internal/shared/features/categories/bundle-schemas.js +3 -0
  40. package/dist/_internal/shared/features/orders/schema.d.ts +8 -8
  41. package/dist/client.d.ts +21 -6
  42. package/dist/client.js +13 -3
  43. package/dist/constants/api-endpoints.d.ts +6 -9
  44. package/dist/constants/api-endpoints.js +2 -3
  45. package/dist/contracts/client-auth.d.ts +3 -7
  46. package/dist/contracts/email.d.ts +1 -0
  47. package/dist/features/account/components/AddressForm.js +24 -2
  48. package/dist/features/account/components/BecomeSellerView.d.ts +1 -2
  49. package/dist/features/account/components/BecomeSellerView.js +1 -1
  50. package/dist/features/account/components/NotificationBell.js +1 -1
  51. package/dist/features/account/components/UserBidsView.d.ts +1 -0
  52. package/dist/features/account/components/UserBidsView.js +47 -0
  53. package/dist/features/account/components/UserOrdersView.d.ts +4 -11
  54. package/dist/features/account/components/UserOrdersView.js +54 -4
  55. package/dist/features/account/components/UserReturnsView.d.ts +4 -9
  56. package/dist/features/account/components/UserReturnsView.js +37 -3
  57. package/dist/features/account/components/index.d.ts +3 -2
  58. package/dist/features/account/components/index.js +1 -0
  59. package/dist/features/admin/actions/admin-actions.js +22 -0
  60. package/dist/features/admin/actions/admin-coupon-actions.js +10 -0
  61. package/dist/features/admin/actions/notification-actions.js +4 -3
  62. package/dist/features/admin/components/AdminAdsView.d.ts +2 -3
  63. package/dist/features/admin/components/AdminAdsView.js +86 -89
  64. package/dist/features/admin/components/AdminAllEventEntriesView.js +18 -3
  65. package/dist/features/admin/components/AdminAuditLogView.d.ts +11 -0
  66. package/dist/features/admin/components/AdminAuditLogView.js +95 -0
  67. package/dist/features/admin/components/AdminBlogEditorView.js +37 -3
  68. package/dist/features/admin/components/AdminBrandEditorView.js +10 -6
  69. package/dist/features/admin/components/AdminBundleEditorView.js +18 -2
  70. package/dist/features/admin/components/AdminCarouselEditorView.js +2 -2
  71. package/dist/features/admin/components/AdminCarouselGroupEditorView.js +2 -2
  72. package/dist/features/admin/components/AdminCartsView.js +34 -4
  73. package/dist/features/admin/components/AdminCategoryEditorView.js +5 -4
  74. package/dist/features/admin/components/AdminCouponEditorView.js +2 -2
  75. package/dist/features/admin/components/AdminFaqEditorView.js +2 -2
  76. package/dist/features/admin/components/AdminHistoryView.js +11 -1
  77. package/dist/features/admin/components/AdminNotificationsView.js +27 -1
  78. package/dist/features/admin/components/AdminOrderEditorView.d.ts +10 -1
  79. package/dist/features/admin/components/AdminOrderEditorView.js +4 -3
  80. package/dist/features/admin/components/AdminOrdersView.js +92 -24
  81. package/dist/features/admin/components/AdminPayoutMarkPaidModal.d.ts +7 -0
  82. package/dist/features/admin/components/AdminPayoutMarkPaidModal.js +47 -0
  83. package/dist/features/admin/components/AdminPayoutsView.js +15 -31
  84. package/dist/features/admin/components/AdminProductEditorView.js +26 -3
  85. package/dist/features/admin/components/AdminSiteSettingsView.js +20 -1
  86. package/dist/features/admin/components/AdminStoreAddressesView.js +22 -2
  87. package/dist/features/admin/components/AdminStoresView.js +7 -0
  88. package/dist/features/admin/components/AdminSublistingCategoryEditorView.js +2 -2
  89. package/dist/features/admin/components/AdminTesterChecklistItemEditorView.js +2 -2
  90. package/dist/features/admin/components/AdminUserEditorView.d.ts +2 -2
  91. package/dist/features/admin/components/AdminUserEditorView.js +4 -2
  92. package/dist/features/admin/components/AdminUsersView.js +1 -1
  93. package/dist/features/admin/components/AdminWishlistsView.js +14 -1
  94. package/dist/features/admin/components/DataListingView.d.ts +2 -2
  95. package/dist/features/admin/components/ViewAuditLogEntryModal.d.ts +19 -0
  96. package/dist/features/admin/components/ViewAuditLogEntryModal.js +22 -0
  97. package/dist/features/admin/components/ViewNotificationModal.d.ts +21 -0
  98. package/dist/features/admin/components/ViewNotificationModal.js +15 -0
  99. package/dist/features/admin/components/analytics/AdminPageViewsReportView.d.ts +4 -7
  100. package/dist/features/admin/components/analytics/AdminPageViewsReportView.js +56 -36
  101. package/dist/features/admin/components/index.d.ts +8 -1
  102. package/dist/features/admin/components/index.js +4 -0
  103. package/dist/features/admin/constants/filter-tabs.d.ts +49 -0
  104. package/dist/features/admin/constants/filter-tabs.js +27 -0
  105. package/dist/features/admin/hooks/useAdminListing.d.ts +6 -0
  106. package/dist/features/admin/hooks/useAdminListing.js +3 -1
  107. package/dist/features/admin/hooks/useAdminListingData.d.ts +9 -1
  108. package/dist/features/admin/hooks/useAdminListingData.js +9 -2
  109. package/dist/features/admin/repository/site-settings.repository.d.ts +5 -0
  110. package/dist/features/admin/schemas/firestore.d.ts +12 -0
  111. package/dist/features/analytics/types.d.ts +1 -1
  112. package/dist/features/analytics/types.js +8 -0
  113. package/dist/features/auctions/schemas/index.d.ts +5 -0
  114. package/dist/features/audit-log/repository/audit-log.repository.d.ts +45 -0
  115. package/dist/features/audit-log/repository/audit-log.repository.js +30 -0
  116. package/dist/features/audit-log/schemas/firestore.d.ts +59 -0
  117. package/dist/features/audit-log/schemas/firestore.js +35 -0
  118. package/dist/features/auth/actions/index.d.ts +0 -1
  119. package/dist/features/auth/actions/index.js +0 -1
  120. package/dist/features/auth/hooks/useAuth.d.ts +8 -35
  121. package/dist/features/auth/hooks/useAuth.js +21 -37
  122. package/dist/features/auth/permissions/constants.d.ts +1 -1
  123. package/dist/features/auth/permissions/constants.js +2 -0
  124. package/dist/features/blog/schemas/index.d.ts +32 -0
  125. package/dist/features/catalogue/components/AdminCatalogueApprovalsView.js +31 -3
  126. package/dist/features/catalogue/components/CatalogueItemEditorView.js +2 -1
  127. package/dist/features/categories/components/BrandDetailPageView.js +14 -12
  128. package/dist/features/categories/components/CategoryDetailPageView.js +7 -3
  129. package/dist/features/categories/components/CategoryHighlightsAndFaqSection.d.ts +14 -0
  130. package/dist/features/categories/components/CategoryHighlightsAndFaqSection.js +22 -0
  131. package/dist/features/categories/components/CategoryProductsView.d.ts +1 -5
  132. package/dist/features/categories/components/CategoryProductsView.js +1 -1
  133. package/dist/features/categories/components/CategorySelectorCreate.js +16 -2
  134. package/dist/features/categories/schemas/firestore.d.ts +19 -2
  135. package/dist/features/categories/schemas/index.d.ts +24 -3
  136. package/dist/features/categories/schemas/index.js +3 -1
  137. package/dist/features/categories/types/index.d.ts +7 -0
  138. package/dist/features/checkout/actions/checkout-value-otp-actions.d.ts +17 -3
  139. package/dist/features/checkout/actions/checkout-value-otp-actions.js +101 -22
  140. package/dist/features/contact/components/ContactForm.js +17 -4
  141. package/dist/features/contact/email.d.ts +1 -0
  142. package/dist/features/contact/email.js +3 -0
  143. package/dist/features/events/components/AdminEventEditorView.js +54 -2
  144. package/dist/features/events/components/AdminEventEntriesView.d.ts +2 -16
  145. package/dist/features/events/components/AdminEventEntriesView.js +56 -89
  146. package/dist/features/events/components/EventFormDrawer.js +5 -1
  147. package/dist/features/events/components/EventRaffleEntryForm.d.ts +1 -3
  148. package/dist/features/events/components/EventRaffleEntryForm.js +1 -1
  149. package/dist/features/events/schemas/index.d.ts +22 -0
  150. package/dist/features/grouped/repository/grouped-listings.repository.d.ts +4 -0
  151. package/dist/features/grouped/repository/grouped-listings.repository.js +18 -0
  152. package/dist/features/homepage/components/CharacterHotspotForm.js +202 -187
  153. package/dist/features/homepage/components/SectionCarousel.d.ts +1 -7
  154. package/dist/features/homepage/components/SectionCarousel.js +1 -1
  155. package/dist/features/layout/TitleBarLayout.d.ts +1 -1
  156. package/dist/features/layout/TitleBarLayout.js +3 -3
  157. package/dist/features/media/MediaImage.js +39 -3
  158. package/dist/features/media/types/index.d.ts +10 -0
  159. package/dist/features/media/types/index.js +1 -0
  160. package/dist/features/media/upload/MediaUploadField.d.ts +7 -1
  161. package/dist/features/media/upload/MediaUploadField.js +11 -7
  162. package/dist/features/media/upload/video-poster.d.ts +2 -0
  163. package/dist/features/media/upload/video-poster.js +16 -1
  164. package/dist/features/media/upload/video-poster.test.js +1 -1
  165. package/dist/features/orders/components/OrderStatusTimeline.d.ts +12 -0
  166. package/dist/features/orders/components/OrderStatusTimeline.js +55 -0
  167. package/dist/features/orders/components/index.d.ts +2 -0
  168. package/dist/features/orders/components/index.js +1 -0
  169. package/dist/features/orders/constants/payment-window.d.ts +25 -0
  170. package/dist/features/orders/constants/payment-window.js +25 -0
  171. package/dist/features/orders/repository/orders.repository.d.ts +32 -0
  172. package/dist/features/orders/repository/orders.repository.js +56 -0
  173. package/dist/features/orders/schemas/index.d.ts +24 -24
  174. package/dist/features/orders/types/index.d.ts +33 -0
  175. package/dist/features/pre-orders/schemas/index.d.ts +5 -0
  176. package/dist/features/products/components/BidHistory.js +9 -1
  177. package/dist/features/products/components/GroupSettingsPanel.js +25 -3
  178. package/dist/features/products/components/PrizeDrawDetailPageView.js +1 -1
  179. package/dist/features/products/components/PrizeDrawEntryActions.d.ts +1 -4
  180. package/dist/features/products/components/PrizeDrawEntryActions.js +1 -1
  181. package/dist/features/products/components/ProductDetailActions.d.ts +1 -2
  182. package/dist/features/products/components/ProductDetailActions.js +1 -1
  183. package/dist/features/products/components/ProductGrid.js +15 -1
  184. package/dist/features/products/constants/action-defs.d.ts +1 -0
  185. package/dist/features/products/constants/action-defs.js +1 -0
  186. package/dist/features/products/schemas/index.d.ts +5 -0
  187. package/dist/features/promotions/components/CouponsIndexListing.d.ts +1 -3
  188. package/dist/features/promotions/components/CouponsIndexListing.js +1 -1
  189. package/dist/features/search/components/SearchView.d.ts +1 -3
  190. package/dist/features/search/components/SearchView.js +1 -1
  191. package/dist/features/seller/components/QuickProductForm.js +2 -1
  192. package/dist/features/seller/components/SellerBidsView.js +66 -107
  193. package/dist/features/seller/components/SellerGoogleReviewsView.js +17 -1
  194. package/dist/features/seller/components/SellerOrdersView.d.ts +15 -3
  195. package/dist/features/seller/components/SellerOrdersView.js +134 -163
  196. package/dist/features/seller/components/SellerPayoutMethodsView.js +60 -48
  197. package/dist/features/seller/components/SellerPayoutSettingsView.js +69 -4
  198. package/dist/features/seller/components/SellerPayoutsView.d.ts +12 -0
  199. package/dist/features/seller/components/SellerPayoutsView.js +25 -5
  200. package/dist/features/seller/components/SellerProductShell.d.ts +10 -3
  201. package/dist/features/seller/components/SellerProductShell.js +89 -36
  202. package/dist/features/seller/components/SellerProductsFilterDrawer.d.ts +2 -7
  203. package/dist/features/seller/components/SellerProductsFilterDrawer.js +4 -4
  204. package/dist/features/seller/components/SellerProductsView.d.ts +2 -4
  205. package/dist/features/seller/components/SellerProductsView.js +131 -189
  206. package/dist/features/seller/components/SellerReviewsView.js +95 -133
  207. package/dist/features/seller/components/SellerShippingConfigsView.js +47 -67
  208. package/dist/features/seller/components/SellerShippingView.js +41 -4
  209. package/dist/features/seller/components/SellerStoreCategoriesView.js +51 -59
  210. package/dist/features/seller/components/SellerStorefrontView.d.ts +6 -1
  211. package/dist/features/seller/components/SellerStorefrontView.js +42 -5
  212. package/dist/features/seller/components/index.d.ts +2 -2
  213. package/dist/features/seller/components/index.js +2 -2
  214. package/dist/features/shell/FormShell.d.ts +24 -4
  215. package/dist/features/shell/FormShell.js +12 -6
  216. package/dist/features/shell/QuickFormDrawer.js +67 -12
  217. package/dist/features/shell/StepForm.d.ts +30 -1
  218. package/dist/features/shell/StepForm.js +47 -4
  219. package/dist/features/shell/index.d.ts +1 -1
  220. package/dist/features/shell/index.js +1 -1
  221. package/dist/features/shipments/components/AdminShipmentEditorView.js +2 -2
  222. package/dist/features/shipments/schemas/validation.d.ts +14 -4
  223. package/dist/features/tester/components/AdminTesterFeedbackListView.js +23 -2
  224. package/dist/features/tester/components/TesterChecklistStepRow.js +1 -1
  225. package/dist/features/tester/components/TesterHubView.js +3 -2
  226. package/dist/features/tester/seed-data/orders-tester-seed-data.js +9 -1
  227. package/dist/features/tester/seed-data/products-tester-seed-data.js +43 -32
  228. package/dist/features/tester/seed-data/tester-checklist-seed-data.js +404 -15
  229. package/dist/index.d.ts +15 -3
  230. package/dist/index.js +22 -5
  231. package/dist/next/routing/route-map.d.ts +11 -0
  232. package/dist/next/routing/route-map.js +5 -0
  233. package/dist/providers/email-resend/provider.js +1 -0
  234. package/dist/providers/firebase-client/auth.d.ts +1 -0
  235. package/dist/providers/firebase-client/auth.js +7 -1
  236. package/dist/repositories/index.d.ts +1 -0
  237. package/dist/repositories/index.js +1 -0
  238. package/dist/schemas/registry.d.ts +61 -25
  239. package/dist/security/pii-mask.js +1 -1
  240. package/dist/seed/categories-seed-data.js +69 -0
  241. package/dist/seed/products-auctions-seed-data.js +11 -0
  242. package/dist/seed/products-standard-seed-data.js +93 -4
  243. package/dist/seed/site-settings-seed-data.js +13 -1
  244. package/dist/seed/store-extensions-seed-data.js +1 -1
  245. package/dist/server-entry.d.ts +2 -1
  246. package/dist/server-entry.js +20 -2
  247. package/dist/server.d.ts +7 -2
  248. package/dist/server.js +8 -3
  249. package/dist/styles.css +1 -1
  250. package/dist/tailwind-utilities.css +1 -1
  251. package/dist/ui/components/Form.d.ts +11 -2
  252. package/dist/ui/components/Form.js +4 -3
  253. package/dist/ui/components/FormField.d.ts +3 -1
  254. package/dist/ui/components/FormField.js +22 -4
  255. package/dist/ui/components/ListingLayout.d.ts +1 -2
  256. package/dist/ui/components/ListingLayout.js +1 -1
  257. package/dist/ui/components/RecordDetailModal.d.ts +68 -0
  258. package/dist/ui/components/RecordDetailModal.js +8 -0
  259. package/dist/ui/components/SlottedListingView.js +9 -1
  260. package/dist/ui/forms/FormErrorSummary.d.ts +25 -0
  261. package/dist/ui/forms/FormErrorSummary.js +37 -0
  262. package/dist/ui/forms/FormShell.d.ts +37 -2
  263. package/dist/ui/forms/FormShell.js +37 -7
  264. package/dist/ui/forms/FormShell.style.css +17 -0
  265. package/dist/ui/forms/index.d.ts +2 -0
  266. package/dist/ui/forms/index.js +1 -0
  267. package/dist/ui/index.d.ts +4 -0
  268. package/dist/ui/index.js +5 -0
  269. package/dist/utils/media-url.d.ts +3 -1
  270. package/dist/utils/media-url.js +20 -1
  271. package/dist/validation/schemas.d.ts +4 -4
  272. package/package.json +1 -1
  273. package/dist/_internal/client/features/classified/ClassifiedDetailView.d.ts +0 -9
  274. package/dist/_internal/client/features/classified/ClassifiedDetailView.js +0 -55
  275. package/dist/_internal/client/features/digital-code/DigitalCodeDetailView.d.ts +0 -18
  276. package/dist/_internal/client/features/digital-code/DigitalCodeDetailView.js +0 -21
  277. package/dist/_internal/client/features/live/LiveItemDetailView.d.ts +0 -9
  278. package/dist/_internal/client/features/live/LiveItemDetailView.js +0 -25
  279. package/dist/_internal/server/jobs/core/prizeRevealClose.d.ts +0 -2
  280. package/dist/_internal/server/jobs/core/prizeRevealClose.js +0 -28
  281. package/dist/_internal/server/jobs/core/prizeRevealExpiry.d.ts +0 -2
  282. package/dist/_internal/server/jobs/core/prizeRevealExpiry.js +0 -61
  283. package/dist/_internal/server/jobs/core/prizeRevealOpen.d.ts +0 -2
  284. package/dist/_internal/server/jobs/core/prizeRevealOpen.js +0 -68
  285. package/dist/_internal/server/jobs/core/prizeRevealReminder.d.ts +0 -2
  286. package/dist/_internal/server/jobs/core/prizeRevealReminder.js +0 -49
  287. package/dist/_internal/server/jobs/handlers/prizeRevealClose.d.ts +0 -2
  288. package/dist/_internal/server/jobs/handlers/prizeRevealClose.js +0 -2
  289. package/dist/_internal/server/jobs/handlers/prizeRevealExpiry.d.ts +0 -2
  290. package/dist/_internal/server/jobs/handlers/prizeRevealExpiry.js +0 -2
  291. package/dist/_internal/server/jobs/handlers/prizeRevealOpen.d.ts +0 -2
  292. package/dist/_internal/server/jobs/handlers/prizeRevealOpen.js +0 -2
  293. package/dist/_internal/server/jobs/handlers/prizeRevealReminder.d.ts +0 -2
  294. package/dist/_internal/server/jobs/handlers/prizeRevealReminder.js +0 -2
  295. package/dist/features/auth/consent-otp.d.ts +0 -57
  296. package/dist/features/auth/consent-otp.js +0 -127
  297. package/dist/features/cart/components/CheckoutOtpModal.d.ts +0 -15
  298. package/dist/features/cart/components/CheckoutOtpModal.js +0 -12
  299. package/dist/features/checkout/actions/checkout-actions.d.ts +0 -31
  300. package/dist/features/checkout/actions/checkout-actions.js +0 -124
  301. package/dist/features/classified/components/ClassifiedIndexListing.d.ts +0 -5
  302. package/dist/features/classified/components/ClassifiedIndexListing.js +0 -123
  303. package/dist/features/classified/components/ClassifiedListView.d.ts +0 -6
  304. package/dist/features/classified/components/ClassifiedListView.js +0 -44
  305. package/dist/features/digital-codes/components/DigitalCodesIndexListing.d.ts +0 -5
  306. package/dist/features/digital-codes/components/DigitalCodesIndexListing.js +0 -114
  307. package/dist/features/digital-codes/components/DigitalCodesListView.d.ts +0 -6
  308. package/dist/features/digital-codes/components/DigitalCodesListView.js +0 -38
  309. package/dist/features/live/components/LiveItemsIndexListing.d.ts +0 -5
  310. package/dist/features/live/components/LiveItemsIndexListing.js +0 -115
  311. package/dist/features/live/components/LiveItemsListView.d.ts +0 -6
  312. package/dist/features/live/components/LiveItemsListView.js +0 -44
  313. package/dist/features/seller/components/SellerTemplatesView.d.ts +0 -12
  314. package/dist/features/seller/components/SellerTemplatesView.js +0 -276
  315. package/dist/react/hooks/useVisibleItems.d.ts +0 -37
  316. package/dist/react/hooks/useVisibleItems.js +0 -59
  317. package/dist/ui/components/TabStrip.d.ts +0 -34
  318. package/dist/ui/components/TabStrip.js +0 -56
  319. package/dist/ui/components/TabStrip.style.css +0 -97
package/dist/index.d.ts CHANGED
@@ -535,6 +535,11 @@ export { testerChecklistItemRepository } from "./repositories/index";
535
535
  export { testerChecklistResponseRepository } from "./repositories/index";
536
536
  export { homepageSectionsRepository } from "./repositories/index";
537
537
  export { jobsRepository, JobsRepository } from "./repositories/index";
538
+ export { adminAuditLogRepository, AdminAuditLogRepository } from "./repositories/index";
539
+ export { recordAdminAction } from "./_internal/server/features/audit-log/actions";
540
+ export type { RecordAdminActionInput } from "./_internal/server/features/audit-log/actions";
541
+ export { AdminAuditActionValues, ADMIN_AUDIT_LOG_FIELDS, ADMIN_AUDIT_LOG_COLLECTION } from "./features/audit-log/schemas/firestore";
542
+ export type { AdminAuditAction, AdminAuditLogDocument } from "./features/audit-log/schemas/firestore";
538
543
  export { notificationRepository } from "./repositories/index";
539
544
  export { offerRepository } from "./repositories/index";
540
545
  export { orderRepository } from "./repositories/index";
@@ -1052,7 +1057,6 @@ export type { UserOffersViewProps } from "./features/account/index";
1052
1057
  export type { UserOrder } from "./features/account/index";
1053
1058
  export type { UserOrderTrackViewLabels } from "./features/account/index";
1054
1059
  export type { UserOrderTrackViewProps } from "./features/account/index";
1055
- export type { UserOrdersViewLabels } from "./features/account/index";
1056
1060
  export type { UserOrdersViewProps } from "./features/account/index";
1057
1061
  export type { UserProfile } from "./features/account/index";
1058
1062
  export type { UserProfileStats } from "./features/account/index";
@@ -1122,6 +1126,10 @@ export { QuickEditMenu } from "./features/admin/index";
1122
1126
  export type { QuickEditAction, QuickEditMenuProps } from "./features/admin/index";
1123
1127
  export { AdminPageHeader } from "./features/admin/index";
1124
1128
  export { AdminPayoutsView } from "./features/admin/index";
1129
+ export { AdminAuditLogView } from "./features/admin/index";
1130
+ export type { AdminAuditLogViewProps } from "./features/admin/index";
1131
+ export { ViewAuditLogEntryModal } from "./features/admin/index";
1132
+ export type { AuditLogEntryDetail, ViewAuditLogEntryModalProps } from "./features/admin/index";
1125
1133
  export { AdminPrizeDrawsView } from "./features/admin/index";
1126
1134
  export { AdminClassifiedView } from "./features/admin/index";
1127
1135
  export { AdminDigitalCodesView } from "./features/admin/index";
@@ -1396,9 +1404,7 @@ export { placeBid, buyNowAuction } from "./features/auctions/server";
1396
1404
  export type { PlaceBidInput, BuyNowAuctionInput, BuyNowAuctionResult } from "./features/auctions/server";
1397
1405
  export type { PlaceBidResult } from "./features/auctions/server";
1398
1406
  export { CHECKOUT_VALUE_OTP_VERIFY_RATE_LIMIT } from "./features/auth/checkout-value-otp";
1399
- export { PASSWORD_CHANGE_OTP_VERIFY_RATE_LIMIT } from "./features/auth/password-change-otp";
1400
1407
  export { sendCheckoutValueOtp, verifyCheckoutValueOtp, } from "./features/checkout/server";
1401
- export { sendPasswordChangeOtp, verifyPasswordChangeOtp, isPasswordChangeOtpVerified, consumePasswordChangeOtp, } from "./features/auth/server";
1402
1408
  export { authMeGET } from "./features/auth/server";
1403
1409
  export { createPasswordResetToken } from "./features/auth/server";
1404
1410
  export { createVerificationToken } from "./features/auth/server";
@@ -2234,6 +2240,8 @@ export { OrderSiblingPayments } from "./features/orders/index";
2234
2240
  export type { OrderSiblingPaymentsProps } from "./features/orders/index";
2235
2241
  export { OrderPaymentSummary } from "./features/orders/index";
2236
2242
  export type { OrderPaymentSummaryProps } from "./features/orders/index";
2243
+ export { OrderStatusTimeline } from "./features/orders/index";
2244
+ export type { OrderStatusTimelineProps } from "./features/orders/index";
2237
2245
  export type { OrderPaymentRecord, OrderPaymentRecordMethod, OrderPaymentVerificationMethod, } from "./features/orders/index";
2238
2246
  export { RefundHistoryTable } from "./features/orders/index";
2239
2247
  export type { RefundHistoryTableProps } from "./features/orders/index";
@@ -2270,6 +2278,8 @@ export type { AppliedOrderDiscount } from "./features/orders/index";
2270
2278
  export type { OrderCreateInput } from "./features/orders/index";
2271
2279
  export type { OrderDocument } from "./features/orders/index";
2272
2280
  export type { OrderRefundEvent, RefundType } from "./features/orders/schemas/firestore";
2281
+ export { MANUAL_PAYMENT_METHODS, isManualPaymentMethod, PAYMENT_REVIEW_QUEUE_MODES, isPaymentReviewQueueMode, PAYMENT_REVIEW_QUEUE_SCAN_LIMIT, } from "./features/orders/constants/payment-window";
2282
+ export type { PaymentReviewQueueMode } from "./features/orders/constants/payment-window";
2273
2283
  export type { OrderDocumentItem } from "./features/orders/index";
2274
2284
  export type { OrderFilterVariant } from "./features/orders/index";
2275
2285
  export type { OrderFiltersProps } from "./features/orders/index";
@@ -2710,7 +2720,9 @@ export { SellerAnalyticsAlertsView as StoreAnalyticsAlertsView } from "./feature
2710
2720
  export { SellerOffersPanel } from "./features/seller/index";
2711
2721
  export type { SellerOffersPanelProps, SellerOfferAction } from "./features/seller/index";
2712
2722
  export { SellerOrdersView } from "./features/seller/index";
2723
+ export { SellerOrderDetailPanel } from "./features/seller/index";
2713
2724
  export { SellerPayoutHistoryTable } from "./features/seller/index";
2725
+ export { SellerPayoutDetailContent } from "./features/seller/index";
2714
2726
  export { SellerPayoutSettingsView } from "./features/seller/index";
2715
2727
  export { SellerPayoutStats } from "./features/seller/index";
2716
2728
  export { SellerPayoutsView } from "./features/seller/index";
package/dist/index.js CHANGED
@@ -999,7 +999,7 @@ export { cartRepository } from "./repositories/index";
999
999
  // Brands now live in the categories collection with categoryType:"brand".
1000
1000
  // Use categoriesRepository.findBySlugAndType(slug, "brand") and
1001
1001
  // categoriesRepository.findActiveBrands(). CategoryDocument carries
1002
- // brandWebsite / brandCountry / brandFounded / brandBannerImage.
1002
+ // brandWebsite / brandCountry / brandFounded / highlights / faqs.
1003
1003
  // [DB]-Database layer â€" uses firebase-admin or another server-side DB SDK; can only run in a trusted server environment.
1004
1004
  // categoriesRepository - Shared export for categories repository.
1005
1005
  export { categoriesRepository } from "./repositories/index";
@@ -1036,6 +1036,11 @@ export { homepageSectionsRepository } from "./repositories/index";
1036
1036
  // jobsRepository - Shared export for the async-job (jobs collection) repository.
1037
1037
  export { jobsRepository, JobsRepository } from "./repositories/index";
1038
1038
  // [DB]-Database layer â€" uses firebase-admin or another server-side DB SDK; can only run in a trusted server environment.
1039
+ // adminAuditLogRepository - Shared export for the admin audit-log (adminAuditLog collection) repository.
1040
+ export { adminAuditLogRepository, AdminAuditLogRepository } from "./repositories/index";
1041
+ export { recordAdminAction } from "./_internal/server/features/audit-log/actions";
1042
+ export { AdminAuditActionValues, ADMIN_AUDIT_LOG_FIELDS, ADMIN_AUDIT_LOG_COLLECTION } from "./features/audit-log/schemas/firestore";
1043
+ // [DB]-Database layer â€" uses firebase-admin or another server-side DB SDK; can only run in a trusted server environment.
1039
1044
  // notificationRepository - Shared export for notification repository.
1040
1045
  export { notificationRepository } from "./repositories/index";
1041
1046
  // [DB]-Database layer â€" uses firebase-admin or another server-side DB SDK; can only run in a trusted server environment.
@@ -2163,6 +2168,11 @@ export { AdminPageHeader } from "./features/admin/index";
2163
2168
  // AdminPayoutsView - Component for admin payouts view.
2164
2169
  export { AdminPayoutsView } from "./features/admin/index";
2165
2170
  // [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
2171
+ // AdminAuditLogView - Read-only admin action audit trail list view.
2172
+ export { AdminAuditLogView } from "./features/admin/index";
2173
+ // ViewAuditLogEntryModal - Detail modal for one audit-log entry.
2174
+ export { ViewAuditLogEntryModal } from "./features/admin/index";
2175
+ // [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
2166
2176
  // AdminPrizeDrawsView - Component for admin prize draws listing view (SB4-E).
2167
2177
  export { AdminPrizeDrawsView } from "./features/admin/index";
2168
2178
  // W1-29 2026-05-23 — admin listing views for orphaned listing types.
@@ -2591,16 +2601,12 @@ export { placeBid, buyNowAuction } from "./features/auctions/server";
2591
2601
  // [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
2592
2602
  // CHECKOUT_VALUE_OTP_VERIFY_RATE_LIMIT - Constant used across modules.
2593
2603
  export { CHECKOUT_VALUE_OTP_VERIFY_RATE_LIMIT } from "./features/auth/checkout-value-otp";
2594
- // PASSWORD_CHANGE_OTP_VERIFY_RATE_LIMIT - Constant used across modules.
2595
- export { PASSWORD_CHANGE_OTP_VERIFY_RATE_LIMIT } from "./features/auth/password-change-otp";
2596
2604
  // [SERVER-ONLY] Tier PP — high-value checkout OTP gate. "use server" actions
2597
2605
  // belong in both index.ts and server.ts per the appkit Export Rules table;
2598
2606
  // these were only in server.ts, leaving src/actions/checkout.actions.ts's
2599
2607
  // `import { sendCheckoutValueOtp, verifyCheckoutValueOtp } from "@mohasinac/appkit"`
2600
2608
  // unresolved.
2601
2609
  export { sendCheckoutValueOtp, verifyCheckoutValueOtp, } from "./features/checkout/server";
2602
- // [SERVER-ONLY] Password-change OTP gate — see features/auth/password-change-otp.ts.
2603
- export { sendPasswordChangeOtp, verifyPasswordChangeOtp, isPasswordChangeOtpVerified, consumePasswordChangeOtp, } from "./features/auth/server";
2604
2610
  // [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
2605
2611
  // authMeGET - Shared export for auth me get.
2606
2612
  export { authMeGET } from "./features/auth/server";
@@ -4097,6 +4103,7 @@ export { OrderStatusValues } from "./features/orders/index";
4097
4103
  export { OrdersList } from "./features/orders/index";
4098
4104
  export { OrderSiblingPayments } from "./features/orders/index";
4099
4105
  export { OrderPaymentSummary } from "./features/orders/index";
4106
+ export { OrderStatusTimeline } from "./features/orders/index";
4100
4107
  export { RefundHistoryTable } from "./features/orders/index";
4101
4108
  export { RefundRequestView } from "./features/orders/index";
4102
4109
  // [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
@@ -4159,6 +4166,10 @@ export { useOrders } from "./features/orders/index";
4159
4166
  // [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
4160
4167
  // useTrackOrder - React hook for use track order.
4161
4168
  export { useTrackOrder } from "./features/orders/index";
4169
+ // Manual-payment (cash / UPI / EMI) shared constants + the payment-review
4170
+ // queue discriminator. Pure data + predicates — no firebase-admin in the
4171
+ // import chain, so safe on the main barrel (see "appkit Export Rules").
4172
+ export { MANUAL_PAYMENT_METHODS, isManualPaymentMethod, PAYMENT_REVIEW_QUEUE_MODES, isPaymentReviewQueueMode, PAYMENT_REVIEW_QUEUE_SCAN_LIMIT, } from "./features/orders/constants/payment-window";
4162
4173
  // ./features/orders/server
4163
4174
  // [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
4164
4175
  // cancelOrderForUser - Shared export for cancel order for user.
@@ -4905,9 +4916,15 @@ export { SellerOffersPanel } from "./features/seller/index";
4905
4916
  // SellerOrdersView - Component for seller orders view.
4906
4917
  export { SellerOrdersView } from "./features/seller/index";
4907
4918
  // [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
4919
+ // SellerOrderDetailPanel - Shared order-detail content (items/address/payment/EMI/status form), used by both the seller orders list drawer and the standalone /store/orders/[id]/view page.
4920
+ export { SellerOrderDetailPanel } from "./features/seller/index";
4921
+ // [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
4908
4922
  // SellerPayoutHistoryTable - Component for seller payout history table.
4909
4923
  export { SellerPayoutHistoryTable } from "./features/seller/index";
4910
4924
  // [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
4925
+ // SellerPayoutDetailContent - Shared payout-detail body, used by both the payouts list drawer and the standalone /store/payouts/[id]/view page.
4926
+ export { SellerPayoutDetailContent } from "./features/seller/index";
4927
+ // [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
4911
4928
  // SellerPayoutSettingsView - Component for seller payout settings view.
4912
4929
  export { SellerPayoutSettingsView } from "./features/seller/index";
4913
4930
  // [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
@@ -177,6 +177,7 @@ export declare const DEFAULT_ROUTE_MAP: {
177
177
  readonly COUPONS_EDIT: (id: string) => string;
178
178
  readonly ANALYTICS: "/store/analytics";
179
179
  readonly PAYOUTS: "/store/payouts";
180
+ readonly PAYOUT_DETAIL: (id: string) => string;
180
181
  readonly STOREFRONT: "/store/storefront";
181
182
  readonly SHIPPING: "/store/shipping";
182
183
  readonly PAYOUT_SETTINGS: "/store/payout-settings";
@@ -252,6 +253,7 @@ export declare const DEFAULT_ROUTE_MAP: {
252
253
  readonly SHIPMENTS_PROJECTIONS: "/admin/shipments/projections";
253
254
  readonly CATALOGUE_APPROVALS: "/admin/catalogue-approvals";
254
255
  readonly USERS: "/admin/users";
256
+ readonly USER_DETAIL: (id: string) => string;
255
257
  readonly SITE: "/admin/site";
256
258
  readonly CAROUSEL: "/admin/carousel";
257
259
  readonly CAROUSEL_NEW: "/admin/carousel/new";
@@ -295,11 +297,14 @@ export declare const DEFAULT_ROUTE_MAP: {
295
297
  readonly BLOG_EDIT: (id: string) => string;
296
298
  readonly ANALYTICS: "/admin/analytics";
297
299
  readonly PAYOUTS: "/admin/payouts";
300
+ readonly PAYOUT_DETAIL: (id: string) => string;
301
+ readonly AUDIT_LOG: "/admin/audit-log";
298
302
  readonly EVENTS: "/admin/events";
299
303
  readonly EVENTS_NEW: "/admin/events/new";
300
304
  readonly EVENTS_EDIT: (id: string) => string;
301
305
  readonly EVENT_ENTRIES: (id: string) => string;
302
306
  readonly STORES: "/admin/stores";
307
+ readonly STORE_DETAIL: (id: string) => string;
303
308
  readonly FEATURE_FLAGS: "/admin/feature-flags";
304
309
  readonly COPILOT: "/admin/copilot";
305
310
  readonly ADS: "/admin/ads";
@@ -543,6 +548,7 @@ export declare const ROUTES: {
543
548
  readonly COUPONS_EDIT: (id: string) => string;
544
549
  readonly ANALYTICS: "/store/analytics";
545
550
  readonly PAYOUTS: "/store/payouts";
551
+ readonly PAYOUT_DETAIL: (id: string) => string;
546
552
  readonly STOREFRONT: "/store/storefront";
547
553
  readonly SHIPPING: "/store/shipping";
548
554
  readonly PAYOUT_SETTINGS: "/store/payout-settings";
@@ -618,6 +624,7 @@ export declare const ROUTES: {
618
624
  readonly SHIPMENTS_PROJECTIONS: "/admin/shipments/projections";
619
625
  readonly CATALOGUE_APPROVALS: "/admin/catalogue-approvals";
620
626
  readonly USERS: "/admin/users";
627
+ readonly USER_DETAIL: (id: string) => string;
621
628
  readonly SITE: "/admin/site";
622
629
  readonly CAROUSEL: "/admin/carousel";
623
630
  readonly CAROUSEL_NEW: "/admin/carousel/new";
@@ -661,11 +668,14 @@ export declare const ROUTES: {
661
668
  readonly BLOG_EDIT: (id: string) => string;
662
669
  readonly ANALYTICS: "/admin/analytics";
663
670
  readonly PAYOUTS: "/admin/payouts";
671
+ readonly PAYOUT_DETAIL: (id: string) => string;
672
+ readonly AUDIT_LOG: "/admin/audit-log";
664
673
  readonly EVENTS: "/admin/events";
665
674
  readonly EVENTS_NEW: "/admin/events/new";
666
675
  readonly EVENTS_EDIT: (id: string) => string;
667
676
  readonly EVENT_ENTRIES: (id: string) => string;
668
677
  readonly STORES: "/admin/stores";
678
+ readonly STORE_DETAIL: (id: string) => string;
669
679
  readonly FEATURE_FLAGS: "/admin/feature-flags";
670
680
  readonly COPILOT: "/admin/copilot";
671
681
  readonly ADS: "/admin/ads";
@@ -761,6 +771,7 @@ export declare const SELLER_ROUTES: {
761
771
  readonly COUPONS_EDIT: (id: string) => string;
762
772
  readonly ANALYTICS: "/store/analytics";
763
773
  readonly PAYOUTS: "/store/payouts";
774
+ readonly PAYOUT_DETAIL: (id: string) => string;
764
775
  readonly STOREFRONT: "/store/storefront";
765
776
  readonly SHIPPING: "/store/shipping";
766
777
  readonly PAYOUT_SETTINGS: "/store/payout-settings";
@@ -177,6 +177,7 @@ export const DEFAULT_ROUTE_MAP = {
177
177
  COUPONS_EDIT: (id) => `/store/coupons/${id}/edit`,
178
178
  ANALYTICS: "/store/analytics",
179
179
  PAYOUTS: "/store/payouts",
180
+ PAYOUT_DETAIL: (id) => `/store/payouts/${id}/view`,
180
181
  STOREFRONT: "/store/storefront",
181
182
  SHIPPING: "/store/shipping",
182
183
  PAYOUT_SETTINGS: "/store/payout-settings",
@@ -257,6 +258,7 @@ export const DEFAULT_ROUTE_MAP = {
257
258
  SHIPMENTS_PROJECTIONS: "/admin/shipments/projections",
258
259
  CATALOGUE_APPROVALS: "/admin/catalogue-approvals",
259
260
  USERS: "/admin/users",
261
+ USER_DETAIL: (id) => `/admin/users/${id}`,
260
262
  SITE: "/admin/site",
261
263
  CAROUSEL: "/admin/carousel",
262
264
  CAROUSEL_NEW: "/admin/carousel/new",
@@ -301,11 +303,14 @@ export const DEFAULT_ROUTE_MAP = {
301
303
  BLOG_EDIT: (id) => `/admin/blog/${id}/edit`,
302
304
  ANALYTICS: "/admin/analytics",
303
305
  PAYOUTS: "/admin/payouts",
306
+ PAYOUT_DETAIL: (id) => `/admin/payouts/${id}/view`,
307
+ AUDIT_LOG: "/admin/audit-log",
304
308
  EVENTS: "/admin/events",
305
309
  EVENTS_NEW: "/admin/events/new",
306
310
  EVENTS_EDIT: (id) => `/admin/events/${id}/edit`,
307
311
  EVENT_ENTRIES: (id) => `/admin/events/${id}/entries`,
308
312
  STORES: "/admin/stores",
313
+ STORE_DETAIL: (id) => `/admin/stores/${id}/view`,
309
314
  FEATURE_FLAGS: "/admin/feature-flags",
310
315
  COPILOT: "/admin/copilot",
311
316
  ADS: "/admin/ads",
@@ -47,6 +47,7 @@ export function createResendProvider(options = {}) {
47
47
  const { data, error } = await resend.emails.send({
48
48
  from: opts.from ?? `${fromName} <${fromEmail}>`,
49
49
  to: opts.to,
50
+ cc: opts.cc,
50
51
  subject: opts.subject,
51
52
  html: opts.html,
52
53
  text: opts.text,
@@ -12,6 +12,7 @@ export declare class FirebaseClientAuthProvider implements IClientAuthProvider {
12
12
  constructor(_auth: Auth);
13
13
  signInWithEmailAndPassword(email: string, password: string): Promise<void>;
14
14
  applyActionCode(code: string): Promise<void>;
15
+ sendEmailVerification(): Promise<void>;
15
16
  sendPasswordResetEmail(email: string): Promise<void>;
16
17
  confirmPasswordReset(code: string, newPassword: string): Promise<void>;
17
18
  /** Re-authenticates the current user against `currentPassword`, returning the now-fresh user. Throws if no user is signed in. */
@@ -1,4 +1,4 @@
1
- import { applyActionCode as fbApplyActionCode, confirmPasswordReset as fbConfirmPasswordReset, EmailAuthProvider, reauthenticateWithCredential, sendPasswordResetEmail as fbSendPasswordResetEmail, signInWithEmailAndPassword as fbSignInWithEmailAndPassword, updatePassword, verifyBeforeUpdateEmail, } from "firebase/auth";
1
+ import { applyActionCode as fbApplyActionCode, confirmPasswordReset as fbConfirmPasswordReset, EmailAuthProvider, reauthenticateWithCredential, sendEmailVerification as fbSendEmailVerification, sendPasswordResetEmail as fbSendPasswordResetEmail, signInWithEmailAndPassword as fbSignInWithEmailAndPassword, updatePassword, verifyBeforeUpdateEmail, } from "firebase/auth";
2
2
  const NO_AUTHENTICATED_USER_MESSAGE = "No authenticated user.";
3
3
  /**
4
4
  * Firebase Auth client SDK implementation of IClientAuthProvider.
@@ -17,6 +17,12 @@ export class FirebaseClientAuthProvider {
17
17
  async applyActionCode(code) {
18
18
  await fbApplyActionCode(this._auth, code);
19
19
  }
20
+ async sendEmailVerification() {
21
+ const user = this._auth.currentUser;
22
+ if (!user)
23
+ throw new Error(NO_AUTHENTICATED_USER_MESSAGE);
24
+ await fbSendEmailVerification(user);
25
+ }
20
26
  async sendPasswordResetEmail(email) {
21
27
  await fbSendPasswordResetEmail(this._auth, email);
22
28
  }
@@ -34,6 +34,7 @@ export { TesterChecklistResponseRepository, testerChecklistResponseRepository, }
34
34
  export { BlogRepository, blogRepository, } from "../features/blog/repository/blog.repository";
35
35
  export { payoutRepository } from "../features/payments/repository/payout.repository";
36
36
  export { jobsRepository, JobsRepository } from "../features/jobs/repository/jobs.repository";
37
+ export { adminAuditLogRepository, AdminAuditLogRepository } from "../features/audit-log/repository/audit-log.repository";
37
38
  export { shipmentsRepository } from "../features/shipments/repository/shipments.repository";
38
39
  export { shipmentLotsRepository } from "../features/shipments/repository/shipment-lots.repository";
39
40
  export { shipmentItemsRepository } from "../features/shipments/repository/shipment-items.repository";
@@ -39,6 +39,7 @@ export { TesterChecklistResponseRepository, testerChecklistResponseRepository, }
39
39
  export { BlogRepository, blogRepository, } from "../features/blog/repository/blog.repository";
40
40
  export { payoutRepository } from "../features/payments/repository/payout.repository";
41
41
  export { jobsRepository, JobsRepository } from "../features/jobs/repository/jobs.repository";
42
+ export { adminAuditLogRepository, AdminAuditLogRepository } from "../features/audit-log/repository/audit-log.repository";
42
43
  export { shipmentsRepository } from "../features/shipments/repository/shipments.repository";
43
44
  export { shipmentLotsRepository } from "../features/shipments/repository/shipment-lots.repository";
44
45
  export { shipmentItemsRepository } from "../features/shipments/repository/shipment-items.repository";
@@ -99,6 +99,7 @@ export declare const SCHEMAS: {
99
99
  thumbnailUrl: import("zod").ZodOptional<import("zod").ZodString>;
100
100
  source: import("zod").ZodOptional<import("zod").ZodEnum<["upload", "youtube", "external"]>>;
101
101
  youtubeId: import("zod").ZodOptional<import("zod").ZodString>;
102
+ duration: import("zod").ZodOptional<import("zod").ZodNumber>;
102
103
  }, "strip", import("zod").ZodTypeAny, {
103
104
  type: "video" | "image" | "file";
104
105
  url: string;
@@ -106,6 +107,7 @@ export declare const SCHEMAS: {
106
107
  alt?: string | undefined;
107
108
  thumbnailUrl?: string | undefined;
108
109
  youtubeId?: string | undefined;
110
+ duration?: number | undefined;
109
111
  }, {
110
112
  type: "video" | "image" | "file";
111
113
  url: string;
@@ -113,6 +115,7 @@ export declare const SCHEMAS: {
113
115
  alt?: string | undefined;
114
116
  thumbnailUrl?: string | undefined;
115
117
  youtubeId?: string | undefined;
118
+ duration?: number | undefined;
116
119
  }>>;
117
120
  contentImages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
118
121
  url: import("zod").ZodString;
@@ -121,6 +124,7 @@ export declare const SCHEMAS: {
121
124
  thumbnailUrl: import("zod").ZodOptional<import("zod").ZodString>;
122
125
  source: import("zod").ZodOptional<import("zod").ZodEnum<["upload", "youtube", "external"]>>;
123
126
  youtubeId: import("zod").ZodOptional<import("zod").ZodString>;
127
+ duration: import("zod").ZodOptional<import("zod").ZodNumber>;
124
128
  }, "strip", import("zod").ZodTypeAny, {
125
129
  type: "video" | "image" | "file";
126
130
  url: string;
@@ -128,6 +132,7 @@ export declare const SCHEMAS: {
128
132
  alt?: string | undefined;
129
133
  thumbnailUrl?: string | undefined;
130
134
  youtubeId?: string | undefined;
135
+ duration?: number | undefined;
131
136
  }, {
132
137
  type: "video" | "image" | "file";
133
138
  url: string;
@@ -135,6 +140,7 @@ export declare const SCHEMAS: {
135
140
  alt?: string | undefined;
136
141
  thumbnailUrl?: string | undefined;
137
142
  youtubeId?: string | undefined;
143
+ duration?: number | undefined;
138
144
  }>, "many">>;
139
145
  additionalImages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
140
146
  url: import("zod").ZodString;
@@ -143,6 +149,7 @@ export declare const SCHEMAS: {
143
149
  thumbnailUrl: import("zod").ZodOptional<import("zod").ZodString>;
144
150
  source: import("zod").ZodOptional<import("zod").ZodEnum<["upload", "youtube", "external"]>>;
145
151
  youtubeId: import("zod").ZodOptional<import("zod").ZodString>;
152
+ duration: import("zod").ZodOptional<import("zod").ZodNumber>;
146
153
  }, "strip", import("zod").ZodTypeAny, {
147
154
  type: "video" | "image" | "file";
148
155
  url: string;
@@ -150,6 +157,7 @@ export declare const SCHEMAS: {
150
157
  alt?: string | undefined;
151
158
  thumbnailUrl?: string | undefined;
152
159
  youtubeId?: string | undefined;
160
+ duration?: number | undefined;
153
161
  }, {
154
162
  type: "video" | "image" | "file";
155
163
  url: string;
@@ -157,6 +165,7 @@ export declare const SCHEMAS: {
157
165
  alt?: string | undefined;
158
166
  thumbnailUrl?: string | undefined;
159
167
  youtubeId?: string | undefined;
168
+ duration?: number | undefined;
160
169
  }>, "many">>;
161
170
  category: import("zod").ZodString;
162
171
  tags: import("zod").ZodArray<import("zod").ZodString, "many">;
@@ -206,6 +215,7 @@ export declare const SCHEMAS: {
206
215
  alt?: string | undefined;
207
216
  thumbnailUrl?: string | undefined;
208
217
  youtubeId?: string | undefined;
218
+ duration?: number | undefined;
209
219
  } | undefined;
210
220
  additionalImages?: {
211
221
  type: "video" | "image" | "file";
@@ -214,6 +224,7 @@ export declare const SCHEMAS: {
214
224
  alt?: string | undefined;
215
225
  thumbnailUrl?: string | undefined;
216
226
  youtubeId?: string | undefined;
227
+ duration?: number | undefined;
217
228
  }[] | undefined;
218
229
  metaTitle?: string | undefined;
219
230
  metaDescription?: string | undefined;
@@ -224,6 +235,7 @@ export declare const SCHEMAS: {
224
235
  alt?: string | undefined;
225
236
  thumbnailUrl?: string | undefined;
226
237
  youtubeId?: string | undefined;
238
+ duration?: number | undefined;
227
239
  }[] | undefined;
228
240
  authorAvatar?: string | undefined;
229
241
  }, {
@@ -256,6 +268,7 @@ export declare const SCHEMAS: {
256
268
  alt?: string | undefined;
257
269
  thumbnailUrl?: string | undefined;
258
270
  youtubeId?: string | undefined;
271
+ duration?: number | undefined;
259
272
  } | undefined;
260
273
  additionalImages?: {
261
274
  type: "video" | "image" | "file";
@@ -264,6 +277,7 @@ export declare const SCHEMAS: {
264
277
  alt?: string | undefined;
265
278
  thumbnailUrl?: string | undefined;
266
279
  youtubeId?: string | undefined;
280
+ duration?: number | undefined;
267
281
  }[] | undefined;
268
282
  metaTitle?: string | undefined;
269
283
  metaDescription?: string | undefined;
@@ -274,6 +288,7 @@ export declare const SCHEMAS: {
274
288
  alt?: string | undefined;
275
289
  thumbnailUrl?: string | undefined;
276
290
  youtubeId?: string | undefined;
291
+ duration?: number | undefined;
277
292
  }[] | undefined;
278
293
  authorAvatar?: string | undefined;
279
294
  }>;
@@ -996,8 +1011,19 @@ export declare const SCHEMAS: {
996
1011
  brandWebsite: import("zod").ZodOptional<import("zod").ZodString>;
997
1012
  brandCountry: import("zod").ZodOptional<import("zod").ZodString>;
998
1013
  brandFounded: import("zod").ZodOptional<import("zod").ZodNumber>;
999
- brandBannerImage: import("zod").ZodOptional<import("zod").ZodString>;
1014
+ highlights: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1015
+ faqs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1016
+ question: import("zod").ZodString;
1017
+ answer: import("zod").ZodString;
1018
+ }, "strip", import("zod").ZodTypeAny, {
1019
+ question: string;
1020
+ answer: string;
1021
+ }, {
1022
+ question: string;
1023
+ answer: string;
1024
+ }>, "many">>;
1000
1025
  bundleKind: import("zod").ZodOptional<import("zod").ZodEnum<["special", "brand"]>>;
1026
+ brandSlug: import("zod").ZodOptional<import("zod").ZodString>;
1001
1027
  bundlePrice: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>;
1002
1028
  bundleQueryRule: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
1003
1029
  type: import("zod").ZodLiteral<"static">;
@@ -1186,7 +1212,12 @@ export declare const SCHEMAS: {
1186
1212
  name: string;
1187
1213
  tier: number;
1188
1214
  }[];
1215
+ faqs?: {
1216
+ question: string;
1217
+ answer: string;
1218
+ }[] | undefined;
1189
1219
  description?: string | undefined;
1220
+ brandSlug?: string | undefined;
1190
1221
  showOnHomepage?: boolean | undefined;
1191
1222
  categoryType?: "brand" | "category" | "sublisting" | "bundle" | undefined;
1192
1223
  bundleKind?: "brand" | "special" | undefined;
@@ -1209,7 +1240,7 @@ export declare const SCHEMAS: {
1209
1240
  brandWebsite?: string | undefined;
1210
1241
  brandCountry?: string | undefined;
1211
1242
  brandFounded?: number | undefined;
1212
- brandBannerImage?: string | undefined;
1243
+ highlights?: string[] | undefined;
1213
1244
  bundlePrice?: number | undefined;
1214
1245
  bundleQueryRule?: {
1215
1246
  type: "static";
@@ -1280,7 +1311,12 @@ export declare const SCHEMAS: {
1280
1311
  name: string;
1281
1312
  tier: number;
1282
1313
  }[];
1314
+ faqs?: {
1315
+ question: string;
1316
+ answer: string;
1317
+ }[] | undefined;
1283
1318
  description?: string | undefined;
1319
+ brandSlug?: string | undefined;
1284
1320
  showOnHomepage?: boolean | undefined;
1285
1321
  categoryType?: "brand" | "category" | "sublisting" | "bundle" | undefined;
1286
1322
  bundleKind?: "brand" | "special" | undefined;
@@ -1303,7 +1339,7 @@ export declare const SCHEMAS: {
1303
1339
  brandWebsite?: string | undefined;
1304
1340
  brandCountry?: string | undefined;
1305
1341
  brandFounded?: number | undefined;
1306
- brandBannerImage?: string | undefined;
1342
+ highlights?: string[] | undefined;
1307
1343
  bundlePrice?: number | undefined;
1308
1344
  bundleQueryRule?: {
1309
1345
  type: "static";
@@ -2592,15 +2628,6 @@ export declare const SCHEMAS: {
2592
2628
  bin: string;
2593
2629
  } | undefined;
2594
2630
  payoutStatus?: "paid" | "eligible" | "requested" | undefined;
2595
- items?: {
2596
- productId: string;
2597
- productTitle: string;
2598
- quantity: number;
2599
- unitPrice: number;
2600
- totalPrice: number;
2601
- listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
2602
- prizeRevealStatus?: "closed" | "open" | "pending" | "revealed" | undefined;
2603
- }[] | undefined;
2604
2631
  paymentId?: string | undefined;
2605
2632
  shippingAddress?: string | undefined;
2606
2633
  trackingNumber?: string | undefined;
@@ -2623,6 +2650,15 @@ export declare const SCHEMAS: {
2623
2650
  shippingMethod?: "custom" | undefined;
2624
2651
  shippingCarrier?: string | undefined;
2625
2652
  trackingUrl?: string | undefined;
2653
+ items?: {
2654
+ productId: string;
2655
+ productTitle: string;
2656
+ quantity: number;
2657
+ unitPrice: number;
2658
+ totalPrice: number;
2659
+ listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
2660
+ prizeRevealStatus?: "closed" | "open" | "pending" | "revealed" | undefined;
2661
+ }[] | undefined;
2626
2662
  bundleId?: string | undefined;
2627
2663
  prizeWon?: {
2628
2664
  title: string;
@@ -2634,6 +2670,8 @@ export declare const SCHEMAS: {
2634
2670
  } | undefined;
2635
2671
  prizeDrawProductId?: string | undefined;
2636
2672
  couponCode?: string | undefined;
2673
+ emiEnabled?: boolean | undefined;
2674
+ emiTenureMonths?: number | undefined;
2637
2675
  orderType?: string | undefined;
2638
2676
  imageUrls?: string[] | undefined;
2639
2677
  refundFeeDeducted?: number | undefined;
@@ -2649,8 +2687,6 @@ export declare const SCHEMAS: {
2649
2687
  couponId?: string | undefined;
2650
2688
  }[] | undefined;
2651
2689
  codHandlingFee?: number | undefined;
2652
- emiEnabled?: boolean | undefined;
2653
- emiTenureMonths?: number | undefined;
2654
2690
  emiTokenAmount?: number | undefined;
2655
2691
  emiSurchargeAmount?: number | undefined;
2656
2692
  emiInstallments?: {
@@ -2740,15 +2776,6 @@ export declare const SCHEMAS: {
2740
2776
  bin: string;
2741
2777
  } | undefined;
2742
2778
  payoutStatus?: "paid" | "eligible" | "requested" | undefined;
2743
- items?: {
2744
- productId: string;
2745
- productTitle: string;
2746
- quantity: number;
2747
- unitPrice: number;
2748
- totalPrice: number;
2749
- listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
2750
- prizeRevealStatus?: "closed" | "open" | "pending" | "revealed" | undefined;
2751
- }[] | undefined;
2752
2779
  paymentId?: string | undefined;
2753
2780
  shippingAddress?: string | undefined;
2754
2781
  trackingNumber?: string | undefined;
@@ -2771,6 +2798,15 @@ export declare const SCHEMAS: {
2771
2798
  shippingMethod?: "custom" | undefined;
2772
2799
  shippingCarrier?: string | undefined;
2773
2800
  trackingUrl?: string | undefined;
2801
+ items?: {
2802
+ productId: string;
2803
+ productTitle: string;
2804
+ quantity: number;
2805
+ unitPrice: number;
2806
+ totalPrice: number;
2807
+ listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
2808
+ prizeRevealStatus?: "closed" | "open" | "pending" | "revealed" | undefined;
2809
+ }[] | undefined;
2774
2810
  bundleId?: string | undefined;
2775
2811
  prizeWon?: {
2776
2812
  title: string;
@@ -2782,6 +2818,8 @@ export declare const SCHEMAS: {
2782
2818
  } | undefined;
2783
2819
  prizeDrawProductId?: string | undefined;
2784
2820
  couponCode?: string | undefined;
2821
+ emiEnabled?: boolean | undefined;
2822
+ emiTenureMonths?: number | undefined;
2785
2823
  orderType?: string | undefined;
2786
2824
  imageUrls?: string[] | undefined;
2787
2825
  refundFeeDeducted?: number | undefined;
@@ -2797,8 +2835,6 @@ export declare const SCHEMAS: {
2797
2835
  couponId?: string | undefined;
2798
2836
  }[] | undefined;
2799
2837
  codHandlingFee?: number | undefined;
2800
- emiEnabled?: boolean | undefined;
2801
- emiTenureMonths?: number | undefined;
2802
2838
  emiTokenAmount?: number | undefined;
2803
2839
  emiSurchargeAmount?: number | undefined;
2804
2840
  emiInstallments?: {
@@ -70,7 +70,7 @@ export function maskPublicReview(review) {
70
70
  * (auction product page).
71
71
  */
72
72
  export function maskPublicBid(bid) {
73
- return { ...bid };
73
+ return { ...bid, userName: maskName(bid.userName) };
74
74
  }
75
75
  /**
76
76
  * Return a copy of an event-entry document with PII masked for the leaderboard.