@mohasinac/appkit 4.9.5 → 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.
- package/dist/_internal/client/features/layout/DashboardLayoutClient.d.ts +6 -1
- package/dist/_internal/client/features/layout/DashboardLayoutClient.js +4 -1
- package/dist/_internal/client/features/lottery/LotteryPullForm.d.ts +1 -1
- package/dist/_internal/client/features/lottery/LotteryPullForm.js +2 -2
- package/dist/_internal/server/features/admin/daily-digest-actions.d.ts +18 -0
- package/dist/_internal/server/features/admin/daily-digest-actions.js +37 -0
- package/dist/_internal/server/features/auctions/actions.js +3 -2
- package/dist/_internal/server/features/auctions/service.d.ts +4 -3
- package/dist/_internal/server/features/auctions/service.js +6 -6
- package/dist/_internal/server/features/audit-log/actions.d.ts +25 -0
- package/dist/_internal/server/features/audit-log/actions.js +38 -0
- package/dist/_internal/server/features/brands/actions.js +0 -2
- package/dist/_internal/server/features/brands/og.d.ts +4 -1
- package/dist/_internal/server/features/brands/og.js +1 -1
- package/dist/_internal/server/features/bundles/data.d.ts +9 -0
- package/dist/_internal/server/features/bundles/data.js +14 -0
- package/dist/_internal/server/features/bundles/index.d.ts +1 -1
- package/dist/_internal/server/features/bundles/index.js +1 -1
- package/dist/_internal/server/features/catalogue/og.d.ts +20 -0
- package/dist/_internal/server/features/catalogue/og.js +27 -0
- package/dist/_internal/server/features/grouped/data.d.ts +16 -0
- package/dist/_internal/server/features/grouped/data.js +50 -1
- package/dist/_internal/server/features/grouped/index.d.ts +1 -1
- package/dist/_internal/server/features/grouped/index.js +1 -1
- package/dist/_internal/server/features/orders/actions.js +9 -0
- package/dist/_internal/server/features/orders/adapters.js +25 -0
- package/dist/_internal/server/features/products/data.d.ts +23 -0
- package/dist/_internal/server/features/products/data.js +159 -0
- package/dist/_internal/server/features/products/index.d.ts +1 -1
- package/dist/_internal/server/features/products/index.js +1 -1
- package/dist/_internal/server/functions/scheduled.d.ts +3 -1
- package/dist/_internal/server/functions/scheduled.js +17 -1
- package/dist/_internal/server/jobs/core/dailyStatusDigest.d.ts +40 -0
- package/dist/_internal/server/jobs/core/dailyStatusDigest.js +164 -0
- package/dist/_internal/server/jobs/core/hardBanCascade.js +11 -0
- package/dist/_internal/server/jobs/core/testerSandboxCleanup.d.ts +1 -0
- package/dist/_internal/server/jobs/core/testerSandboxCleanup.js +4 -1
- package/dist/_internal/server/jobs/core/testerSandboxRefresh.d.ts +12 -0
- package/dist/_internal/server/jobs/core/testerSandboxRefresh.js +85 -0
- package/dist/_internal/server/jobs/core/whatsappNotify.js +16 -0
- package/dist/_internal/server/jobs/handlers/dailyStatusDigest.d.ts +2 -0
- package/dist/_internal/server/jobs/handlers/dailyStatusDigest.js +4 -0
- package/dist/_internal/server/jobs/handlers/index.d.ts +2 -0
- package/dist/_internal/server/jobs/handlers/index.js +3 -0
- package/dist/_internal/server/jobs/handlers/testerSandboxRefresh.d.ts +2 -0
- package/dist/_internal/server/jobs/handlers/testerSandboxRefresh.js +2 -0
- package/dist/_internal/server/notifications/channel-health.d.ts +27 -0
- package/dist/_internal/server/notifications/channel-health.js +101 -0
- package/dist/_internal/shared/features/auctions/config.d.ts +20 -0
- package/dist/_internal/shared/features/auctions/config.js +31 -1
- package/dist/_internal/shared/features/brands/schema.d.ts +0 -6
- package/dist/_internal/shared/features/brands/schema.js +0 -1
- package/dist/_internal/shared/features/categories/bundle-schemas.d.ts +7 -0
- package/dist/_internal/shared/features/categories/bundle-schemas.js +3 -0
- package/dist/_internal/shared/features/orders/schema.d.ts +8 -8
- package/dist/_internal/shared/listing-types/art/config.d.ts +1 -1
- package/dist/_internal/shared/listing-types/art/config.js +1 -1
- package/dist/_internal/shared/listing-types/classified/config.d.ts +1 -1
- package/dist/_internal/shared/listing-types/classified/config.js +1 -1
- package/dist/_internal/shared/listing-types/digital-code/config.d.ts +1 -1
- package/dist/_internal/shared/listing-types/digital-code/config.js +1 -1
- package/dist/_internal/shared/listing-types/live/config.d.ts +1 -1
- package/dist/_internal/shared/listing-types/live/config.js +1 -1
- package/dist/_internal/shared/listing-types/prize-draw/config.d.ts +1 -1
- package/dist/_internal/shared/listing-types/prize-draw/config.js +1 -1
- package/dist/_internal/shared/listing-types/stickers/config.d.ts +1 -1
- package/dist/_internal/shared/listing-types/stickers/config.js +1 -1
- package/dist/client.d.ts +21 -12
- package/dist/client.js +14 -7
- package/dist/constants/api-endpoints.d.ts +9 -9
- package/dist/constants/api-endpoints.js +3 -3
- package/dist/contracts/client-auth.d.ts +3 -7
- package/dist/contracts/email.d.ts +1 -0
- package/dist/features/account/components/AddressForm.js +24 -2
- package/dist/features/account/components/BecomeSellerView.d.ts +1 -2
- package/dist/features/account/components/BecomeSellerView.js +1 -1
- package/dist/features/account/components/NotificationBell.js +1 -1
- package/dist/features/account/components/UserBidsView.d.ts +1 -0
- package/dist/features/account/components/UserBidsView.js +47 -0
- package/dist/features/account/components/UserOrdersView.d.ts +4 -11
- package/dist/features/account/components/UserOrdersView.js +54 -4
- package/dist/features/account/components/UserReturnsView.d.ts +4 -9
- package/dist/features/account/components/UserReturnsView.js +37 -3
- package/dist/features/account/components/index.d.ts +3 -2
- package/dist/features/account/components/index.js +1 -0
- package/dist/features/admin/actions/admin-actions.js +22 -0
- package/dist/features/admin/actions/admin-coupon-actions.js +10 -0
- package/dist/features/admin/actions/notification-actions.js +4 -3
- package/dist/features/admin/components/AdminAdsView.d.ts +2 -3
- package/dist/features/admin/components/AdminAdsView.js +86 -89
- package/dist/features/admin/components/AdminAllEventEntriesView.js +18 -3
- package/dist/features/admin/components/AdminAuditLogView.d.ts +11 -0
- package/dist/features/admin/components/AdminAuditLogView.js +95 -0
- package/dist/features/admin/components/AdminBlogEditorView.js +37 -3
- package/dist/features/admin/components/AdminBrandEditorView.js +10 -6
- package/dist/features/admin/components/AdminBundleEditorView.js +18 -2
- package/dist/features/admin/components/AdminCarouselEditorView.js +2 -2
- package/dist/features/admin/components/AdminCarouselGroupEditorView.js +2 -2
- package/dist/features/admin/components/AdminCartsView.js +34 -4
- package/dist/features/admin/components/AdminCategoryEditorView.js +5 -4
- package/dist/features/admin/components/AdminCouponEditorView.js +2 -2
- package/dist/features/admin/components/AdminFaqEditorView.js +2 -2
- package/dist/features/admin/components/AdminHistoryView.js +11 -1
- package/dist/features/admin/components/AdminNotificationsView.js +27 -1
- package/dist/features/admin/components/AdminOrderEditorView.d.ts +10 -1
- package/dist/features/admin/components/AdminOrderEditorView.js +4 -3
- package/dist/features/admin/components/AdminOrdersView.js +92 -24
- package/dist/features/admin/components/AdminPayoutMarkPaidModal.d.ts +7 -0
- package/dist/features/admin/components/AdminPayoutMarkPaidModal.js +47 -0
- package/dist/features/admin/components/AdminPayoutsView.js +15 -31
- package/dist/features/admin/components/AdminProductEditorView.js +26 -3
- package/dist/features/admin/components/AdminSiteSettingsView.js +31 -4
- package/dist/features/admin/components/AdminStoreAddressesView.js +22 -2
- package/dist/features/admin/components/AdminStoresView.js +7 -0
- package/dist/features/admin/components/AdminSublistingCategoryEditorView.js +2 -2
- package/dist/features/admin/components/AdminTesterChecklistItemEditorView.js +2 -2
- package/dist/features/admin/components/AdminUserEditorView.d.ts +2 -2
- package/dist/features/admin/components/AdminUserEditorView.js +4 -2
- package/dist/features/admin/components/AdminUsersView.js +1 -1
- package/dist/features/admin/components/AdminWishlistsView.js +14 -1
- package/dist/features/admin/components/DataListingView.d.ts +2 -2
- package/dist/features/admin/components/ViewAuditLogEntryModal.d.ts +19 -0
- package/dist/features/admin/components/ViewAuditLogEntryModal.js +22 -0
- package/dist/features/admin/components/ViewNotificationModal.d.ts +21 -0
- package/dist/features/admin/components/ViewNotificationModal.js +15 -0
- package/dist/features/admin/components/analytics/AdminPageViewsReportView.d.ts +4 -7
- package/dist/features/admin/components/analytics/AdminPageViewsReportView.js +56 -36
- package/dist/features/admin/components/index.d.ts +8 -1
- package/dist/features/admin/components/index.js +4 -0
- package/dist/features/admin/constants/filter-tabs.d.ts +49 -0
- package/dist/features/admin/constants/filter-tabs.js +27 -0
- package/dist/features/admin/hooks/useAdminListing.d.ts +6 -0
- package/dist/features/admin/hooks/useAdminListing.js +3 -1
- package/dist/features/admin/hooks/useAdminListingData.d.ts +9 -1
- package/dist/features/admin/hooks/useAdminListingData.js +9 -2
- package/dist/features/admin/repository/site-settings.repository.d.ts +5 -0
- package/dist/features/admin/schemas/firestore.d.ts +21 -0
- package/dist/features/admin/schemas/firestore.js +6 -0
- package/dist/features/analytics/types.d.ts +1 -1
- package/dist/features/analytics/types.js +8 -0
- package/dist/features/auctions/actions/bid-actions.js +4 -1
- package/dist/features/auctions/components/AuctionBottomActions.d.ts +2 -1
- package/dist/features/auctions/components/AuctionBottomActions.js +14 -1
- package/dist/features/auctions/components/AuctionDetailPageView.js +21 -9
- package/dist/features/auctions/components/LiveMinIncrement.d.ts +18 -0
- package/dist/features/auctions/components/LiveMinIncrement.js +17 -0
- package/dist/features/auctions/components/PlaceBidFormClient.d.ts +5 -2
- package/dist/features/auctions/components/PlaceBidFormClient.js +7 -3
- package/dist/features/auctions/schemas/index.d.ts +5 -0
- package/dist/features/audit-log/repository/audit-log.repository.d.ts +45 -0
- package/dist/features/audit-log/repository/audit-log.repository.js +30 -0
- package/dist/features/audit-log/schemas/firestore.d.ts +59 -0
- package/dist/features/audit-log/schemas/firestore.js +35 -0
- package/dist/features/auth/actions/index.d.ts +0 -1
- package/dist/features/auth/actions/index.js +0 -1
- package/dist/features/auth/hooks/useAuth.d.ts +8 -35
- package/dist/features/auth/hooks/useAuth.js +21 -37
- package/dist/features/auth/permissions/constants.d.ts +1 -1
- package/dist/features/auth/permissions/constants.js +2 -0
- package/dist/features/blog/schemas/index.d.ts +32 -0
- package/dist/features/catalogue/components/AdminCatalogueApprovalsView.js +31 -3
- package/dist/features/catalogue/components/CatalogueItemEditorView.js +2 -1
- package/dist/features/catalogue/components/PublicCatalogueItemDetailView.d.ts +11 -0
- package/dist/features/catalogue/components/PublicCatalogueItemDetailView.js +33 -0
- package/dist/features/catalogue/components/PublicCatalogueView.js +2 -1
- package/dist/features/catalogue/index.d.ts +2 -0
- package/dist/features/catalogue/index.js +1 -0
- package/dist/features/categories/components/BrandDetailPageView.js +14 -12
- package/dist/features/categories/components/BundleDetailView.d.ts +3 -1
- package/dist/features/categories/components/BundleDetailView.js +3 -2
- package/dist/features/categories/components/CategoryDetailPageView.js +7 -3
- package/dist/features/categories/components/CategoryHighlightsAndFaqSection.d.ts +14 -0
- package/dist/features/categories/components/CategoryHighlightsAndFaqSection.js +22 -0
- package/dist/features/categories/components/CategoryProductsView.d.ts +1 -5
- package/dist/features/categories/components/CategoryProductsView.js +1 -1
- package/dist/features/categories/components/CategorySelectorCreate.js +16 -2
- package/dist/features/categories/schemas/firestore.d.ts +19 -2
- package/dist/features/categories/schemas/index.d.ts +24 -3
- package/dist/features/categories/schemas/index.js +3 -1
- package/dist/features/categories/types/index.d.ts +7 -0
- package/dist/features/checkout/actions/checkout-value-otp-actions.d.ts +17 -3
- package/dist/features/checkout/actions/checkout-value-otp-actions.js +101 -22
- package/dist/features/classified/components/ClassifiedContactSellerPanel.d.ts +12 -0
- package/dist/features/classified/components/ClassifiedContactSellerPanel.js +49 -0
- package/dist/features/classified/components/ClassifiedDetailPageView.d.ts +7 -0
- package/dist/features/classified/components/ClassifiedDetailPageView.js +69 -0
- package/dist/features/contact/components/ContactForm.js +17 -4
- package/dist/features/contact/components/ContactPageView.js +8 -2
- package/dist/features/contact/email.d.ts +1 -0
- package/dist/features/contact/email.js +3 -0
- package/dist/features/digital-codes/components/DigitalCodeDetailPageView.d.ts +19 -0
- package/dist/features/digital-codes/components/DigitalCodeDetailPageView.js +79 -0
- package/dist/features/events/components/AdminEventEditorView.js +54 -2
- package/dist/features/events/components/AdminEventEntriesView.d.ts +2 -16
- package/dist/features/events/components/AdminEventEntriesView.js +56 -89
- package/dist/features/events/components/EventFormDrawer.js +5 -1
- package/dist/features/events/components/EventRaffleEntryForm.d.ts +1 -3
- package/dist/features/events/components/EventRaffleEntryForm.js +1 -1
- package/dist/features/events/schemas/index.d.ts +22 -0
- package/dist/features/grouped/components/GroupedListingsCarousel.d.ts +13 -0
- package/dist/features/grouped/components/GroupedListingsCarousel.js +31 -0
- package/dist/features/grouped/repository/grouped-listings.repository.d.ts +12 -0
- package/dist/features/grouped/repository/grouped-listings.repository.js +34 -0
- package/dist/features/homepage/components/CharacterHotspotForm.js +202 -187
- package/dist/features/homepage/components/SectionCarousel.d.ts +1 -7
- package/dist/features/homepage/components/SectionCarousel.js +1 -1
- package/dist/features/layout/BottomActions.js +4 -3
- package/dist/features/layout/BottomActionsContext.d.ts +10 -0
- package/dist/features/layout/BottomActionsContext.js +5 -1
- package/dist/features/layout/TitleBarLayout.d.ts +1 -1
- package/dist/features/layout/TitleBarLayout.js +3 -3
- package/dist/features/layout/hooks/useBottomActions.d.ts +2 -0
- package/dist/features/layout/hooks/useBottomActions.js +4 -1
- package/dist/features/live/components/LiveItemDetailPageView.d.ts +9 -0
- package/dist/features/live/components/LiveItemDetailPageView.js +74 -0
- package/dist/features/media/MediaImage.js +39 -3
- package/dist/features/media/MediaVideo.js +17 -1
- package/dist/features/media/types/index.d.ts +10 -0
- package/dist/features/media/types/index.js +1 -0
- package/dist/features/media/upload/MediaUploadField.d.ts +7 -1
- package/dist/features/media/upload/MediaUploadField.js +11 -7
- package/dist/features/media/upload/video-poster.d.ts +2 -0
- package/dist/features/media/upload/video-poster.js +16 -1
- package/dist/features/media/upload/video-poster.test.js +1 -1
- package/dist/features/orders/components/OrderStatusTimeline.d.ts +12 -0
- package/dist/features/orders/components/OrderStatusTimeline.js +55 -0
- package/dist/features/orders/components/index.d.ts +2 -0
- package/dist/features/orders/components/index.js +1 -0
- package/dist/features/orders/constants/payment-window.d.ts +25 -0
- package/dist/features/orders/constants/payment-window.js +25 -0
- package/dist/features/orders/repository/orders.repository.d.ts +32 -0
- package/dist/features/orders/repository/orders.repository.js +56 -0
- package/dist/features/orders/schemas/index.d.ts +24 -24
- package/dist/features/orders/types/index.d.ts +33 -0
- package/dist/features/pre-orders/components/PreOrderDetailPageView.js +9 -1
- package/dist/features/pre-orders/schemas/index.d.ts +5 -0
- package/dist/features/products/components/BidHistory.js +9 -1
- package/dist/features/products/components/GroupSettingsPanel.js +25 -3
- package/dist/features/products/components/PrizeDrawDetailPageView.js +11 -1
- package/dist/features/products/components/PrizeDrawEntryActions.d.ts +1 -4
- package/dist/features/products/components/PrizeDrawEntryActions.js +1 -1
- package/dist/features/products/components/ProductDetailActions.d.ts +1 -2
- package/dist/features/products/components/ProductDetailActions.js +1 -1
- package/dist/features/products/components/ProductDetailPageView.js +11 -116
- package/dist/features/products/components/ProductGrid.js +15 -1
- package/dist/features/products/components/RelatedItemsSection.d.ts +16 -0
- package/dist/features/products/components/RelatedItemsSection.js +17 -0
- package/dist/features/products/constants/action-defs.d.ts +1 -0
- package/dist/features/products/constants/action-defs.js +1 -0
- package/dist/features/products/schemas/index.d.ts +5 -0
- package/dist/features/promotions/components/CouponsIndexListing.d.ts +1 -3
- package/dist/features/promotions/components/CouponsIndexListing.js +1 -1
- package/dist/features/search/components/SearchView.d.ts +1 -3
- package/dist/features/search/components/SearchView.js +1 -1
- package/dist/features/seller/components/QuickProductForm.js +2 -1
- package/dist/features/seller/components/SellerBidsView.js +66 -107
- package/dist/features/seller/components/SellerGoogleReviewsView.js +17 -1
- package/dist/features/seller/components/SellerOrdersView.d.ts +15 -3
- package/dist/features/seller/components/SellerOrdersView.js +134 -163
- package/dist/features/seller/components/SellerPayoutMethodsView.js +60 -48
- package/dist/features/seller/components/SellerPayoutSettingsView.js +69 -4
- package/dist/features/seller/components/SellerPayoutsView.d.ts +12 -0
- package/dist/features/seller/components/SellerPayoutsView.js +25 -5
- package/dist/features/seller/components/SellerProductShell.d.ts +10 -3
- package/dist/features/seller/components/SellerProductShell.js +90 -37
- package/dist/features/seller/components/SellerProductsFilterDrawer.d.ts +2 -7
- package/dist/features/seller/components/SellerProductsFilterDrawer.js +4 -4
- package/dist/features/seller/components/SellerProductsView.d.ts +2 -4
- package/dist/features/seller/components/SellerProductsView.js +131 -189
- package/dist/features/seller/components/SellerReviewsView.js +95 -133
- package/dist/features/seller/components/SellerShippingConfigsView.js +47 -67
- package/dist/features/seller/components/SellerShippingView.js +41 -4
- package/dist/features/seller/components/SellerStoreCategoriesView.js +51 -59
- package/dist/features/seller/components/SellerStorefrontView.d.ts +6 -1
- package/dist/features/seller/components/SellerStorefrontView.js +42 -5
- package/dist/features/seller/components/index.d.ts +2 -2
- package/dist/features/seller/components/index.js +2 -2
- package/dist/features/shell/FormShell.d.ts +24 -4
- package/dist/features/shell/FormShell.js +12 -6
- package/dist/features/shell/QuickFormDrawer.js +67 -12
- package/dist/features/shell/StepForm.d.ts +30 -1
- package/dist/features/shell/StepForm.js +47 -4
- package/dist/features/shell/index.d.ts +1 -1
- package/dist/features/shell/index.js +1 -1
- package/dist/features/shipments/components/AdminShipmentEditorView.js +2 -2
- package/dist/features/shipments/schemas/validation.d.ts +14 -4
- package/dist/features/tester/components/AdminTesterFeedbackListView.js +23 -2
- package/dist/features/tester/components/TesterChecklistStepRow.js +1 -1
- package/dist/features/tester/components/TesterHubView.js +3 -2
- package/dist/features/tester/seed-data/orders-tester-seed-data.js +9 -1
- package/dist/features/tester/seed-data/products-tester-seed-data.js +43 -32
- package/dist/features/tester/seed-data/tester-checklist-seed-data.js +487 -18
- package/dist/index.d.ts +17 -3
- package/dist/index.js +23 -5
- package/dist/next/routing/route-map.d.ts +13 -0
- package/dist/next/routing/route-map.js +12 -0
- package/dist/providers/email-resend/provider.js +1 -0
- package/dist/providers/firebase-client/auth.d.ts +1 -0
- package/dist/providers/firebase-client/auth.js +7 -1
- package/dist/repositories/index.d.ts +1 -0
- package/dist/repositories/index.js +1 -0
- package/dist/schemas/registry.d.ts +61 -25
- package/dist/security/pii-mask.js +1 -1
- package/dist/seed/bids-seed-data.js +48 -3
- package/dist/seed/categories-seed-data.js +69 -0
- package/dist/seed/grouped-listings-seed-data.js +167 -0
- package/dist/seed/payouts-seed-data.js +4 -4
- package/dist/seed/products-art-seed-data.js +188 -5
- package/dist/seed/products-auctions-seed-data.js +226 -6
- package/dist/seed/products-classifieds-seed-data.js +255 -8
- package/dist/seed/products-digital-codes-seed-data.js +258 -19
- package/dist/seed/products-live-items-seed-data.js +143 -10
- package/dist/seed/products-preorders-seed-data.js +213 -8
- package/dist/seed/products-prize-draws-seed-data.js +198 -0
- package/dist/seed/products-standard-seed-data.js +234 -4
- package/dist/seed/products-stickers-seed-data.js +178 -5
- package/dist/seed/site-settings-seed-data.js +23 -30
- package/dist/seed/store-extensions-seed-data.js +2 -2
- package/dist/server-entry.d.ts +6 -2
- package/dist/server-entry.js +24 -3
- package/dist/server.d.ts +10 -3
- package/dist/server.js +11 -4
- package/dist/styles.css +29 -1
- package/dist/tailwind-utilities.css +1 -1
- package/dist/ui/components/Form.d.ts +11 -2
- package/dist/ui/components/Form.js +4 -3
- package/dist/ui/components/FormField.d.ts +3 -1
- package/dist/ui/components/FormField.js +22 -4
- package/dist/ui/components/ImageLightbox.js +37 -3
- package/dist/ui/components/ImageLightbox.style.css +28 -0
- package/dist/ui/components/ListingLayout.d.ts +1 -2
- package/dist/ui/components/ListingLayout.js +1 -1
- package/dist/ui/components/RecordDetailModal.d.ts +68 -0
- package/dist/ui/components/RecordDetailModal.js +8 -0
- package/dist/ui/components/SlottedListingView.js +9 -1
- package/dist/ui/forms/FormErrorSummary.d.ts +25 -0
- package/dist/ui/forms/FormErrorSummary.js +37 -0
- package/dist/ui/forms/FormShell.d.ts +37 -2
- package/dist/ui/forms/FormShell.js +37 -7
- package/dist/ui/forms/FormShell.style.css +17 -0
- package/dist/ui/forms/index.d.ts +2 -0
- package/dist/ui/forms/index.js +1 -0
- package/dist/ui/index.d.ts +4 -0
- package/dist/ui/index.js +5 -0
- package/dist/utils/media-url.d.ts +12 -1
- package/dist/utils/media-url.js +59 -1
- package/dist/validation/schemas.d.ts +4 -4
- package/package.json +1 -1
- package/dist/_internal/client/features/classified/ClassifiedDetailView.d.ts +0 -9
- package/dist/_internal/client/features/classified/ClassifiedDetailView.js +0 -55
- package/dist/_internal/client/features/digital-code/DigitalCodeDetailView.d.ts +0 -18
- package/dist/_internal/client/features/digital-code/DigitalCodeDetailView.js +0 -21
- package/dist/_internal/client/features/live/LiveItemDetailView.d.ts +0 -9
- package/dist/_internal/client/features/live/LiveItemDetailView.js +0 -25
- package/dist/_internal/server/jobs/core/prizeRevealClose.d.ts +0 -2
- package/dist/_internal/server/jobs/core/prizeRevealClose.js +0 -28
- package/dist/_internal/server/jobs/core/prizeRevealExpiry.d.ts +0 -2
- package/dist/_internal/server/jobs/core/prizeRevealExpiry.js +0 -61
- package/dist/_internal/server/jobs/core/prizeRevealOpen.d.ts +0 -2
- package/dist/_internal/server/jobs/core/prizeRevealOpen.js +0 -68
- package/dist/_internal/server/jobs/core/prizeRevealReminder.d.ts +0 -2
- package/dist/_internal/server/jobs/core/prizeRevealReminder.js +0 -49
- package/dist/_internal/server/jobs/handlers/prizeRevealClose.d.ts +0 -2
- package/dist/_internal/server/jobs/handlers/prizeRevealClose.js +0 -2
- package/dist/_internal/server/jobs/handlers/prizeRevealExpiry.d.ts +0 -2
- package/dist/_internal/server/jobs/handlers/prizeRevealExpiry.js +0 -2
- package/dist/_internal/server/jobs/handlers/prizeRevealOpen.d.ts +0 -2
- package/dist/_internal/server/jobs/handlers/prizeRevealOpen.js +0 -2
- package/dist/_internal/server/jobs/handlers/prizeRevealReminder.d.ts +0 -2
- package/dist/_internal/server/jobs/handlers/prizeRevealReminder.js +0 -2
- package/dist/features/auth/consent-otp.d.ts +0 -57
- package/dist/features/auth/consent-otp.js +0 -127
- package/dist/features/cart/components/CheckoutOtpModal.d.ts +0 -15
- package/dist/features/cart/components/CheckoutOtpModal.js +0 -12
- package/dist/features/checkout/actions/checkout-actions.d.ts +0 -31
- package/dist/features/checkout/actions/checkout-actions.js +0 -124
- package/dist/features/classified/components/ClassifiedIndexListing.d.ts +0 -5
- package/dist/features/classified/components/ClassifiedIndexListing.js +0 -123
- package/dist/features/classified/components/ClassifiedListView.d.ts +0 -6
- package/dist/features/classified/components/ClassifiedListView.js +0 -44
- package/dist/features/digital-codes/components/DigitalCodesIndexListing.d.ts +0 -5
- package/dist/features/digital-codes/components/DigitalCodesIndexListing.js +0 -114
- package/dist/features/digital-codes/components/DigitalCodesListView.d.ts +0 -6
- package/dist/features/digital-codes/components/DigitalCodesListView.js +0 -38
- package/dist/features/live/components/LiveItemsIndexListing.d.ts +0 -5
- package/dist/features/live/components/LiveItemsIndexListing.js +0 -115
- package/dist/features/live/components/LiveItemsListView.d.ts +0 -6
- package/dist/features/live/components/LiveItemsListView.js +0 -44
- package/dist/features/seller/components/SellerTemplatesView.d.ts +0 -12
- package/dist/features/seller/components/SellerTemplatesView.js +0 -276
- package/dist/react/hooks/useVisibleItems.d.ts +0 -37
- package/dist/react/hooks/useVisibleItems.js +0 -59
- package/dist/ui/components/TabStrip.d.ts +0 -34
- package/dist/ui/components/TabStrip.js +0 -56
- 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";
|
|
@@ -2321,6 +2331,8 @@ export { CatalogueItemEditorView } from "./features/catalogue/index";
|
|
|
2321
2331
|
export type { CatalogueItemEditorViewProps } from "./features/catalogue/index";
|
|
2322
2332
|
export { PublicCatalogueView } from "./features/catalogue/index";
|
|
2323
2333
|
export type { PublicCatalogueViewProps } from "./features/catalogue/index";
|
|
2334
|
+
export { PublicCatalogueItemDetailView } from "./features/catalogue/index";
|
|
2335
|
+
export type { PublicCatalogueItemDetailViewProps } from "./features/catalogue/index";
|
|
2324
2336
|
export { AdminCatalogueApprovalsView } from "./features/catalogue/index";
|
|
2325
2337
|
export { PAYOUT_FIELDS } from "./features/payments/index";
|
|
2326
2338
|
export { PAYOUT_INDEXED_FIELDS } from "./features/payments/index";
|
|
@@ -2708,7 +2720,9 @@ export { SellerAnalyticsAlertsView as StoreAnalyticsAlertsView } from "./feature
|
|
|
2708
2720
|
export { SellerOffersPanel } from "./features/seller/index";
|
|
2709
2721
|
export type { SellerOffersPanelProps, SellerOfferAction } from "./features/seller/index";
|
|
2710
2722
|
export { SellerOrdersView } from "./features/seller/index";
|
|
2723
|
+
export { SellerOrderDetailPanel } from "./features/seller/index";
|
|
2711
2724
|
export { SellerPayoutHistoryTable } from "./features/seller/index";
|
|
2725
|
+
export { SellerPayoutDetailContent } from "./features/seller/index";
|
|
2712
2726
|
export { SellerPayoutSettingsView } from "./features/seller/index";
|
|
2713
2727
|
export { SellerPayoutStats } from "./features/seller/index";
|
|
2714
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 /
|
|
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.
|
|
@@ -4215,6 +4226,7 @@ export { approveCatalogueListingAction, rejectCatalogueListingAction, } from "./
|
|
|
4215
4226
|
export { UserCatalogueView } from "./features/catalogue/index";
|
|
4216
4227
|
export { CatalogueItemEditorView } from "./features/catalogue/index";
|
|
4217
4228
|
export { PublicCatalogueView } from "./features/catalogue/index";
|
|
4229
|
+
export { PublicCatalogueItemDetailView } from "./features/catalogue/index";
|
|
4218
4230
|
export { AdminCatalogueApprovalsView } from "./features/catalogue/index";
|
|
4219
4231
|
// [SCHEMA]-Schema / data-shape constant â€" Zod validator, default-value object, or Firestore collection/field name constant.
|
|
4220
4232
|
// PAYOUT_FIELDS - Constant used across modules.
|
|
@@ -4904,9 +4916,15 @@ export { SellerOffersPanel } from "./features/seller/index";
|
|
|
4904
4916
|
// SellerOrdersView - Component for seller orders view.
|
|
4905
4917
|
export { SellerOrdersView } from "./features/seller/index";
|
|
4906
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.
|
|
4907
4922
|
// SellerPayoutHistoryTable - Component for seller payout history table.
|
|
4908
4923
|
export { SellerPayoutHistoryTable } from "./features/seller/index";
|
|
4909
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.
|
|
4910
4928
|
// SellerPayoutSettingsView - Component for seller payout settings view.
|
|
4911
4929
|
export { SellerPayoutSettingsView } from "./features/seller/index";
|
|
4912
4930
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
@@ -105,6 +105,7 @@ export declare const DEFAULT_ROUTE_MAP: {
|
|
|
105
105
|
readonly LIVE: "/live";
|
|
106
106
|
readonly LIVE_DETAIL: (slug: string) => string;
|
|
107
107
|
readonly ART: "/art";
|
|
108
|
+
readonly CATALOGUE_ITEM_DETAIL: (ownerSlug: string, itemId: string) => string;
|
|
108
109
|
};
|
|
109
110
|
readonly ERRORS: {
|
|
110
111
|
readonly UNAUTHORIZED: "/unauthorized";
|
|
@@ -176,6 +177,7 @@ export declare const DEFAULT_ROUTE_MAP: {
|
|
|
176
177
|
readonly COUPONS_EDIT: (id: string) => string;
|
|
177
178
|
readonly ANALYTICS: "/store/analytics";
|
|
178
179
|
readonly PAYOUTS: "/store/payouts";
|
|
180
|
+
readonly PAYOUT_DETAIL: (id: string) => string;
|
|
179
181
|
readonly STOREFRONT: "/store/storefront";
|
|
180
182
|
readonly SHIPPING: "/store/shipping";
|
|
181
183
|
readonly PAYOUT_SETTINGS: "/store/payout-settings";
|
|
@@ -251,6 +253,7 @@ export declare const DEFAULT_ROUTE_MAP: {
|
|
|
251
253
|
readonly SHIPMENTS_PROJECTIONS: "/admin/shipments/projections";
|
|
252
254
|
readonly CATALOGUE_APPROVALS: "/admin/catalogue-approvals";
|
|
253
255
|
readonly USERS: "/admin/users";
|
|
256
|
+
readonly USER_DETAIL: (id: string) => string;
|
|
254
257
|
readonly SITE: "/admin/site";
|
|
255
258
|
readonly CAROUSEL: "/admin/carousel";
|
|
256
259
|
readonly CAROUSEL_NEW: "/admin/carousel/new";
|
|
@@ -294,11 +297,14 @@ export declare const DEFAULT_ROUTE_MAP: {
|
|
|
294
297
|
readonly BLOG_EDIT: (id: string) => string;
|
|
295
298
|
readonly ANALYTICS: "/admin/analytics";
|
|
296
299
|
readonly PAYOUTS: "/admin/payouts";
|
|
300
|
+
readonly PAYOUT_DETAIL: (id: string) => string;
|
|
301
|
+
readonly AUDIT_LOG: "/admin/audit-log";
|
|
297
302
|
readonly EVENTS: "/admin/events";
|
|
298
303
|
readonly EVENTS_NEW: "/admin/events/new";
|
|
299
304
|
readonly EVENTS_EDIT: (id: string) => string;
|
|
300
305
|
readonly EVENT_ENTRIES: (id: string) => string;
|
|
301
306
|
readonly STORES: "/admin/stores";
|
|
307
|
+
readonly STORE_DETAIL: (id: string) => string;
|
|
302
308
|
readonly FEATURE_FLAGS: "/admin/feature-flags";
|
|
303
309
|
readonly COPILOT: "/admin/copilot";
|
|
304
310
|
readonly ADS: "/admin/ads";
|
|
@@ -470,6 +476,7 @@ export declare const ROUTES: {
|
|
|
470
476
|
readonly LIVE: "/live";
|
|
471
477
|
readonly LIVE_DETAIL: (slug: string) => string;
|
|
472
478
|
readonly ART: "/art";
|
|
479
|
+
readonly CATALOGUE_ITEM_DETAIL: (ownerSlug: string, itemId: string) => string;
|
|
473
480
|
};
|
|
474
481
|
readonly ERRORS: {
|
|
475
482
|
readonly UNAUTHORIZED: "/unauthorized";
|
|
@@ -541,6 +548,7 @@ export declare const ROUTES: {
|
|
|
541
548
|
readonly COUPONS_EDIT: (id: string) => string;
|
|
542
549
|
readonly ANALYTICS: "/store/analytics";
|
|
543
550
|
readonly PAYOUTS: "/store/payouts";
|
|
551
|
+
readonly PAYOUT_DETAIL: (id: string) => string;
|
|
544
552
|
readonly STOREFRONT: "/store/storefront";
|
|
545
553
|
readonly SHIPPING: "/store/shipping";
|
|
546
554
|
readonly PAYOUT_SETTINGS: "/store/payout-settings";
|
|
@@ -616,6 +624,7 @@ export declare const ROUTES: {
|
|
|
616
624
|
readonly SHIPMENTS_PROJECTIONS: "/admin/shipments/projections";
|
|
617
625
|
readonly CATALOGUE_APPROVALS: "/admin/catalogue-approvals";
|
|
618
626
|
readonly USERS: "/admin/users";
|
|
627
|
+
readonly USER_DETAIL: (id: string) => string;
|
|
619
628
|
readonly SITE: "/admin/site";
|
|
620
629
|
readonly CAROUSEL: "/admin/carousel";
|
|
621
630
|
readonly CAROUSEL_NEW: "/admin/carousel/new";
|
|
@@ -659,11 +668,14 @@ export declare const ROUTES: {
|
|
|
659
668
|
readonly BLOG_EDIT: (id: string) => string;
|
|
660
669
|
readonly ANALYTICS: "/admin/analytics";
|
|
661
670
|
readonly PAYOUTS: "/admin/payouts";
|
|
671
|
+
readonly PAYOUT_DETAIL: (id: string) => string;
|
|
672
|
+
readonly AUDIT_LOG: "/admin/audit-log";
|
|
662
673
|
readonly EVENTS: "/admin/events";
|
|
663
674
|
readonly EVENTS_NEW: "/admin/events/new";
|
|
664
675
|
readonly EVENTS_EDIT: (id: string) => string;
|
|
665
676
|
readonly EVENT_ENTRIES: (id: string) => string;
|
|
666
677
|
readonly STORES: "/admin/stores";
|
|
678
|
+
readonly STORE_DETAIL: (id: string) => string;
|
|
667
679
|
readonly FEATURE_FLAGS: "/admin/feature-flags";
|
|
668
680
|
readonly COPILOT: "/admin/copilot";
|
|
669
681
|
readonly ADS: "/admin/ads";
|
|
@@ -759,6 +771,7 @@ export declare const SELLER_ROUTES: {
|
|
|
759
771
|
readonly COUPONS_EDIT: (id: string) => string;
|
|
760
772
|
readonly ANALYTICS: "/store/analytics";
|
|
761
773
|
readonly PAYOUTS: "/store/payouts";
|
|
774
|
+
readonly PAYOUT_DETAIL: (id: string) => string;
|
|
762
775
|
readonly STOREFRONT: "/store/storefront";
|
|
763
776
|
readonly SHIPPING: "/store/shipping";
|
|
764
777
|
readonly PAYOUT_SETTINGS: "/store/payout-settings";
|
|
@@ -99,6 +99,13 @@ export const DEFAULT_ROUTE_MAP = {
|
|
|
99
99
|
// detail page stays PRODUCT_DETAIL (`/products/{slug}`), already wired in
|
|
100
100
|
// `_internal/shared/listing-types/{art,stickers}/config.ts`.
|
|
101
101
|
ART: "/art",
|
|
102
|
+
// Personal catalogue (Feature B) — a user's own photo inventory of owned
|
|
103
|
+
// items, distinct from marketplace listings. Public when the owner sets
|
|
104
|
+
// an item's visibility to "public". The owner's full catalogue listing
|
|
105
|
+
// already exists at PROFILE(userId)/catalogue (PublicProfileView's
|
|
106
|
+
// "Catalogue" tab) — this is only the per-item detail route, which had
|
|
107
|
+
// no page at all before this.
|
|
108
|
+
CATALOGUE_ITEM_DETAIL: (ownerSlug, itemId) => `/catalogue/${ownerSlug}/${itemId}`,
|
|
102
109
|
},
|
|
103
110
|
ERRORS: {
|
|
104
111
|
UNAUTHORIZED: "/unauthorized",
|
|
@@ -170,6 +177,7 @@ export const DEFAULT_ROUTE_MAP = {
|
|
|
170
177
|
COUPONS_EDIT: (id) => `/store/coupons/${id}/edit`,
|
|
171
178
|
ANALYTICS: "/store/analytics",
|
|
172
179
|
PAYOUTS: "/store/payouts",
|
|
180
|
+
PAYOUT_DETAIL: (id) => `/store/payouts/${id}/view`,
|
|
173
181
|
STOREFRONT: "/store/storefront",
|
|
174
182
|
SHIPPING: "/store/shipping",
|
|
175
183
|
PAYOUT_SETTINGS: "/store/payout-settings",
|
|
@@ -250,6 +258,7 @@ export const DEFAULT_ROUTE_MAP = {
|
|
|
250
258
|
SHIPMENTS_PROJECTIONS: "/admin/shipments/projections",
|
|
251
259
|
CATALOGUE_APPROVALS: "/admin/catalogue-approvals",
|
|
252
260
|
USERS: "/admin/users",
|
|
261
|
+
USER_DETAIL: (id) => `/admin/users/${id}`,
|
|
253
262
|
SITE: "/admin/site",
|
|
254
263
|
CAROUSEL: "/admin/carousel",
|
|
255
264
|
CAROUSEL_NEW: "/admin/carousel/new",
|
|
@@ -294,11 +303,14 @@ export const DEFAULT_ROUTE_MAP = {
|
|
|
294
303
|
BLOG_EDIT: (id) => `/admin/blog/${id}/edit`,
|
|
295
304
|
ANALYTICS: "/admin/analytics",
|
|
296
305
|
PAYOUTS: "/admin/payouts",
|
|
306
|
+
PAYOUT_DETAIL: (id) => `/admin/payouts/${id}/view`,
|
|
307
|
+
AUDIT_LOG: "/admin/audit-log",
|
|
297
308
|
EVENTS: "/admin/events",
|
|
298
309
|
EVENTS_NEW: "/admin/events/new",
|
|
299
310
|
EVENTS_EDIT: (id) => `/admin/events/${id}/edit`,
|
|
300
311
|
EVENT_ENTRIES: (id) => `/admin/events/${id}/entries`,
|
|
301
312
|
STORES: "/admin/stores",
|
|
313
|
+
STORE_DETAIL: (id) => `/admin/stores/${id}/view`,
|
|
302
314
|
FEATURE_FLAGS: "/admin/feature-flags",
|
|
303
315
|
COPILOT: "/admin/copilot",
|
|
304
316
|
ADS: "/admin/ads",
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|