@mohasinac/appkit 4.64.1 → 4.66.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/.build-stamp.json +3 -3
- package/dist/_internal/client/features/digital-code/CodeRevealPanel.js +4 -1
- package/dist/_internal/client/features/digital-code/DigitalContentPoolManager.js +5 -1
- package/dist/_internal/client/features/layout/DashboardLayoutClient.d.ts +1 -1
- package/dist/_internal/client/features/layout/DashboardLayoutClient.js +3 -1
- package/dist/_internal/client/features/lottery/LotteryAdminEditView.js +6 -2
- package/dist/_internal/client/features/lottery/LotteryAdminSlotView.js +5 -1
- package/dist/_internal/client/features/lottery/LotteryDetailView.js +6 -1
- package/dist/_internal/client/features/lottery/LotteryEntriesView.js +6 -1
- package/dist/_internal/client/features/lottery/LotteryListView.js +7 -1
- package/dist/_internal/client/features/lottery/LotteryPullForm.js +3 -1
- package/dist/_internal/client/features/lottery/LotterySlotGrid.js +3 -1
- package/dist/_internal/client/features/lottery/PrizeDrawLotteryDetailView.js +6 -1
- package/dist/_internal/client/scaffolds/AppShell.js +3 -1
- package/dist/_internal/server/features/account/data.js +2 -1
- package/dist/_internal/server/features/auctions/service.js +1 -1
- package/dist/_internal/server/features/auth/capabilities.js +1 -1
- package/dist/_internal/server/features/auth/permissions.js +1 -1
- package/dist/_internal/server/features/brands/actions.js +1 -1
- package/dist/_internal/server/features/brands/data.js +1 -1
- package/dist/_internal/server/features/brands/service.js +1 -1
- package/dist/_internal/server/features/bundles/actions.js +1 -1
- package/dist/_internal/server/features/bundles/data.js +2 -2
- package/dist/_internal/server/features/cart/actions.js +1 -1
- package/dist/_internal/server/features/cart/data.js +1 -1
- package/dist/_internal/server/features/cart/service.js +1 -1
- package/dist/_internal/server/features/categories/data.js +1 -1
- package/dist/_internal/server/features/checkout/actions.js +20 -3
- package/dist/_internal/server/features/checkout/group-rule-revalidation.js +1 -1
- package/dist/_internal/server/features/checkout/locked-lines.js +1 -1
- package/dist/_internal/server/features/checkout/upi-resolution.js +2 -1
- package/dist/_internal/server/features/grouped/data.js +2 -1
- package/dist/_internal/server/features/history/actions.d.ts +1 -1
- package/dist/_internal/server/features/history/actions.js +1 -1
- package/dist/_internal/server/features/history/data.d.ts +1 -1
- package/dist/_internal/server/features/history/data.js +1 -1
- package/dist/_internal/server/features/item-requests/data.js +1 -1
- package/dist/_internal/server/features/messages/actions.js +1 -1
- package/dist/_internal/server/features/payouts/actions.js +1 -1
- package/dist/_internal/server/features/pre-orders/actions.js +1 -1
- package/dist/_internal/server/features/pre-orders/service.js +1 -1
- package/dist/_internal/server/features/prize-draws/actions.js +1 -1
- package/dist/_internal/server/features/products/actions.js +1 -1
- package/dist/_internal/server/features/products/data.js +1 -1
- package/dist/_internal/server/features/products/list-public.js +1 -1
- package/dist/_internal/server/features/products/service.js +1 -1
- package/dist/_internal/server/features/promotions/actions.js +1 -1
- package/dist/_internal/server/features/promotions/adapters.js +9 -0
- package/dist/_internal/server/features/promotions/data.d.ts +24 -3
- package/dist/_internal/server/features/promotions/data.js +41 -6
- package/dist/_internal/server/features/promotions/index.d.ts +1 -1
- package/dist/_internal/server/features/promotions/index.js +1 -1
- package/dist/_internal/server/features/promotions/service.js +1 -1
- package/dist/_internal/server/features/search/index-build/sources.js +27 -12
- package/dist/_internal/server/features/seo/sitemap.js +79 -13
- package/dist/_internal/server/features/shared/listing-data-factory.js +1 -1
- package/dist/_internal/server/features/shipping/courier-block.js +1 -1
- package/dist/_internal/server/features/site-settings/adapters.d.ts +1 -1
- package/dist/_internal/server/features/site-settings/adapters.js +16 -1
- package/dist/_internal/server/features/sticker-trace/promote-to-listings.js +1 -1
- package/dist/_internal/server/features/stores/adapters.d.ts +1 -1
- package/dist/_internal/server/features/stores/adapters.js +14 -0
- package/dist/_internal/server/features/stores/data.js +1 -1
- package/dist/_internal/server/features/stores/tabs.d.ts +19 -15
- package/dist/_internal/server/features/stores/tabs.js +20 -21
- package/dist/_internal/server/features/sublisting-categories/data.js +1 -1
- package/dist/_internal/server/features/wishlist/actions.d.ts +1 -1
- package/dist/_internal/server/features/wishlist/actions.js +1 -1
- package/dist/_internal/server/features/wishlist/data.d.ts +1 -1
- package/dist/_internal/server/features/wishlist/data.js +1 -1
- package/dist/_internal/server/jobs/core/analyticsAlertEvaluate.js +9 -4
- package/dist/_internal/server/jobs/core/autoPayoutEligibility.js +1 -1
- package/dist/_internal/server/jobs/core/cartPrune.js +1 -1
- package/dist/_internal/server/jobs/core/catalogueImageStalenessReminder.js +1 -1
- package/dist/_internal/server/jobs/core/categoryTaxonomyBackfill.js +22 -0
- package/dist/_internal/server/jobs/core/cleanupRtdbEvents.js +1 -1
- package/dist/_internal/server/jobs/core/countersReconcile.js +0 -1
- package/dist/_internal/server/jobs/core/couponExpiry.js +1 -1
- package/dist/_internal/server/jobs/core/dailyDataCleanup.js +2 -1
- package/dist/_internal/server/jobs/core/draftPrune.js +1 -1
- package/dist/_internal/server/jobs/core/hardBanReinstatement.js +1 -1
- package/dist/_internal/server/jobs/core/newsletterExport.js +1 -1
- package/dist/_internal/server/jobs/core/notificationPrune.js +1 -1
- package/dist/_internal/server/jobs/core/onJobCreated.js +1 -1
- package/dist/_internal/server/jobs/core/onOrderCreate.js +3 -1
- package/dist/_internal/server/jobs/core/onProductWrite.js +2 -1
- package/dist/_internal/server/jobs/core/onScamReportCreate.js +2 -1
- package/dist/_internal/server/jobs/core/onScamReportRejected.js +1 -1
- package/dist/_internal/server/jobs/core/onScamReportVerified.js +1 -1
- package/dist/_internal/server/jobs/core/revenueRollup.js +1 -1
- package/dist/_internal/server/jobs/core/runJobOnce.js +1 -1
- package/dist/_internal/server/jobs/core/sellerStandingRollup.js +1 -1
- package/dist/_internal/server/jobs/core/weeklyPayoutEligibility.js +1 -1
- package/dist/_internal/server/jobs/handlers/onCatalogueSubmittedForApproval.js +2 -2
- package/dist/_internal/shared/features/blog/schema.d.ts +12 -12
- package/dist/_internal/shared/features/brands/schema.d.ts +19 -19
- package/dist/_internal/shared/features/cart/schema.d.ts +17 -17
- package/dist/_internal/shared/features/categories/bundle-schemas.d.ts +60 -60
- package/dist/_internal/shared/features/events/schema.d.ts +4 -4
- package/dist/_internal/shared/features/orders/schema.d.ts +8 -8
- package/dist/_internal/shared/features/products/schema.d.ts +2 -2
- package/dist/_internal/shared/features/promotions/schema.d.ts +12 -12
- package/dist/_internal/shared/features/reviews/schema.d.ts +3 -3
- package/dist/_internal/shared/features/site-settings/types.d.ts +10 -2
- package/dist/_internal/shared/features/sticker-trace/trace/segment.js +13 -2
- package/dist/_internal/shared/listing-types/feature-flags.d.ts +54 -0
- package/dist/_internal/shared/listing-types/feature-flags.js +72 -0
- package/dist/client.d.ts +225 -117
- package/dist/client.js +148 -74
- package/dist/constants/field-names.d.ts +1 -0
- package/dist/constants/field-names.js +14 -0
- package/dist/errors/error-handler.d.ts +1 -1
- package/dist/features/about/components/AboutView.js +9 -1
- package/dist/features/about/components/DeveloperView.js +8 -2
- package/dist/features/about/components/FAQPageView.js +5 -2
- package/dist/features/about/components/FeesView.js +4 -1
- package/dist/features/about/components/GstExplainerView.js +6 -1
- package/dist/features/about/components/GuidesHubView.js +5 -1
- package/dist/features/about/components/HelpPageView.js +6 -2
- package/dist/features/about/components/HowAuctionsWorkView.js +6 -2
- package/dist/features/about/components/HowCheckoutWorksView.js +6 -2
- package/dist/features/about/components/HowEmiWorksView.js +7 -2
- package/dist/features/about/components/HowOffersWorkView.js +6 -2
- package/dist/features/about/components/HowOrdersWorkView.js +6 -2
- package/dist/features/about/components/HowPayoutsWorkView.js +6 -2
- package/dist/features/about/components/HowPreOrdersWorkView.js +6 -2
- package/dist/features/about/components/HowReviewsWorkView.js +6 -2
- package/dist/features/about/components/PolicyPageView.js +6 -3
- package/dist/features/about/components/ProseHero.js +3 -1
- package/dist/features/about/components/PublicProfileView.js +6 -1
- package/dist/features/about/components/SecurityPrivacyView.js +6 -2
- package/dist/features/about/components/ShippingPolicyView.js +7 -3
- package/dist/features/about/components/SpotAFakeView.js +6 -1
- package/dist/features/about/components/TrackOrderView.js +5 -2
- package/dist/features/about/components/UnauthorizedView.js +5 -2
- package/dist/features/about/schemas/index.d.ts +18 -18
- package/dist/features/account/api/[userId]/addresses/route.js +1 -5
- package/dist/features/account/components/AddressBook.js +4 -1
- package/dist/features/account/components/AddressFilters.js +1 -1
- package/dist/features/account/components/AddressForm.js +1 -1
- package/dist/features/account/components/AddressSelectorCreate.js +2 -1
- package/dist/features/account/components/AddressesIndexListing.js +5 -1
- package/dist/features/account/components/BecomeSellerView.js +2 -1
- package/dist/features/account/components/BuyerAccountGuideView.js +6 -1
- package/dist/features/account/components/BuyerAuctionsGuideView.js +5 -1
- package/dist/features/account/components/BuyerOrdersGuideView.js +5 -1
- package/dist/features/account/components/BuyerShoppingGuideView.js +5 -1
- package/dist/features/account/components/LinkedAccountsSection.js +5 -1
- package/dist/features/account/components/NotificationBell.js +8 -1
- package/dist/features/account/components/NotificationPreferencesPanel.js +6 -1
- package/dist/features/account/components/OrderDetailView.d.ts +1 -1
- package/dist/features/account/components/OrderDetailView.js +1 -1
- package/dist/features/account/components/ProfileView.d.ts +1 -1
- package/dist/features/account/components/ProfileView.js +1 -1
- package/dist/features/account/components/UserAccountHubView.d.ts +1 -1
- package/dist/features/account/components/UserAccountHubView.js +1 -1
- package/dist/features/account/components/UserBidsView.js +5 -1
- package/dist/features/account/components/UserOffersPanel.js +9 -1
- package/dist/features/account/components/UserOrderTrackView.d.ts +1 -1
- package/dist/features/account/components/UserOrderTrackView.js +1 -1
- package/dist/features/account/components/UserOrdersView.js +6 -1
- package/dist/features/account/components/UserReturnsView.js +3 -1
- package/dist/features/account/components/UserSidebar.js +8 -1
- package/dist/features/account/schemas/index.d.ts +10 -10
- package/dist/features/addresses/repository/addresses.repository.js +1 -1
- package/dist/features/addresses/schemas/address-form.d.ts +16 -16
- package/dist/features/addresses/schemas/index.d.ts +2 -2
- package/dist/features/admin/actions/admin-actions.d.ts +3 -3
- package/dist/features/admin/actions/admin-coupon-actions.d.ts +1 -1
- package/dist/features/admin/actions/admin-read-actions.d.ts +3 -3
- package/dist/features/admin/api/bids/route.js +1 -5
- package/dist/features/admin/api/coupons/route.js +1 -5
- package/dist/features/admin/api/products/route.js +1 -5
- package/dist/features/admin/api/reviews/route.js +1 -5
- package/dist/features/admin/components/AdminActionIndexView.d.ts +1 -1
- package/dist/features/admin/components/AdminActionIndexView.js +7 -1
- package/dist/features/admin/components/AdminAdEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminAdEditorView.js +8 -1
- package/dist/features/admin/components/AdminAddressBookView.js +8 -1
- package/dist/features/admin/components/AdminAddressClustersView.js +7 -1
- package/dist/features/admin/components/AdminAddressEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminAddressEditorView.js +4 -1
- package/dist/features/admin/components/AdminAddressesView.js +6 -1
- package/dist/features/admin/components/AdminAllEventEntriesView.d.ts +1 -1
- package/dist/features/admin/components/AdminAllEventEntriesView.js +5 -1
- package/dist/features/admin/components/AdminAnalyticsGuideView.js +5 -1
- package/dist/features/admin/components/AdminAnalyticsView.js +4 -2
- package/dist/features/admin/components/AdminArtView.d.ts +1 -1
- package/dist/features/admin/components/AdminArtView.js +1 -1
- package/dist/features/admin/components/AdminAuditLogView.d.ts +1 -1
- package/dist/features/admin/components/AdminAuditLogView.js +5 -1
- package/dist/features/admin/components/AdminBeysView.d.ts +1 -1
- package/dist/features/admin/components/AdminBeysView.js +3 -1
- package/dist/features/admin/components/AdminBidsView.d.ts +1 -1
- package/dist/features/admin/components/AdminBidsView.js +7 -2
- package/dist/features/admin/components/AdminBlogEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminBlogEditorView.js +14 -2
- package/dist/features/admin/components/AdminBlogView.d.ts +1 -1
- package/dist/features/admin/components/AdminBlogView.js +2 -1
- package/dist/features/admin/components/AdminBrandEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminBrandEditorView.js +7 -2
- package/dist/features/admin/components/AdminBrandsView.d.ts +1 -1
- package/dist/features/admin/components/AdminBrandsView.js +4 -2
- package/dist/features/admin/components/AdminBundleEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminBundleEditorView.js +3 -1
- package/dist/features/admin/components/AdminBundlesView.js +7 -1
- package/dist/features/admin/components/AdminCarouselEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminCarouselEditorView.js +12 -3
- package/dist/features/admin/components/AdminCarouselGroupEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminCarouselView.d.ts +1 -1
- package/dist/features/admin/components/AdminCarouselView.js +16 -2
- package/dist/features/admin/components/AdminCartsView.d.ts +1 -1
- package/dist/features/admin/components/AdminCartsView.js +3 -1
- package/dist/features/admin/components/AdminCatalogGuideView.js +5 -1
- package/dist/features/admin/components/AdminCategoriesView.d.ts +1 -1
- package/dist/features/admin/components/AdminCategoriesView.js +3 -1
- package/dist/features/admin/components/AdminCategoryEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminCategoryEditorView.js +2 -2
- package/dist/features/admin/components/AdminClassifiedView.d.ts +1 -1
- package/dist/features/admin/components/AdminClassifiedView.js +1 -1
- package/dist/features/admin/components/AdminContactView.d.ts +1 -1
- package/dist/features/admin/components/AdminContactView.js +5 -1
- package/dist/features/admin/components/AdminContentGuideView.js +5 -1
- package/dist/features/admin/components/AdminCouponEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminCouponEditorView.js +5 -1
- package/dist/features/admin/components/AdminCouponsView.d.ts +1 -1
- package/dist/features/admin/components/AdminCouponsView.js +6 -1
- package/dist/features/admin/components/AdminDashboardView.d.ts +1 -1
- package/dist/features/admin/components/AdminDashboardView.js +2 -2
- package/dist/features/admin/components/AdminDigitalCodesView.d.ts +1 -1
- package/dist/features/admin/components/AdminDigitalCodesView.js +1 -1
- package/dist/features/admin/components/AdminFaqEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminFaqEditorView.js +12 -2
- package/dist/features/admin/components/AdminFaqsView.d.ts +1 -1
- package/dist/features/admin/components/AdminFaqsView.js +3 -1
- package/dist/features/admin/components/AdminFeatureEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminFeatureEditorView.js +6 -2
- package/dist/features/admin/components/AdminFeaturesView.d.ts +1 -1
- package/dist/features/admin/components/AdminFeaturesView.js +2 -1
- package/dist/features/admin/components/AdminFulfillmentView.js +2 -1
- package/dist/features/admin/components/AdminGatewayEventsView.d.ts +1 -1
- package/dist/features/admin/components/AdminGatewayEventsView.js +8 -1
- package/dist/features/admin/components/AdminGroupedListingsView.d.ts +1 -1
- package/dist/features/admin/components/AdminGroupedListingsView.js +7 -2
- package/dist/features/admin/components/AdminGuideHubView.js +7 -2
- package/dist/features/admin/components/AdminHistoryView.d.ts +1 -1
- package/dist/features/admin/components/AdminHistoryView.js +1 -1
- package/dist/features/admin/components/AdminIntegrationsView.js +6 -1
- package/dist/features/admin/components/AdminInvoicingView.js +6 -1
- package/dist/features/admin/components/AdminLiveView.d.ts +1 -1
- package/dist/features/admin/components/AdminLiveView.js +1 -1
- package/dist/features/admin/components/AdminMediaView.d.ts +1 -1
- package/dist/features/admin/components/AdminMediaView.js +11 -1
- package/dist/features/admin/components/AdminMoneyCasesView.d.ts +1 -1
- package/dist/features/admin/components/AdminMoneyCasesView.js +7 -1
- package/dist/features/admin/components/AdminNavEditorView.js +3 -1
- package/dist/features/admin/components/AdminNavigationView.d.ts +1 -1
- package/dist/features/admin/components/AdminNavigationView.js +10 -1
- package/dist/features/admin/components/AdminNewsletterView.d.ts +1 -1
- package/dist/features/admin/components/AdminNewsletterView.js +7 -1
- package/dist/features/admin/components/AdminNotificationsView.d.ts +1 -1
- package/dist/features/admin/components/AdminNotificationsView.js +5 -1
- package/dist/features/admin/components/AdminOffersView.d.ts +1 -1
- package/dist/features/admin/components/AdminOffersView.js +5 -1
- package/dist/features/admin/components/AdminOrderEditorView.js +8 -2
- package/dist/features/admin/components/AdminOrdersGuideView.js +4 -1
- package/dist/features/admin/components/AdminOrdersView.d.ts +1 -1
- package/dist/features/admin/components/AdminOrdersView.js +3 -1
- package/dist/features/admin/components/AdminPartsView.d.ts +1 -1
- package/dist/features/admin/components/AdminPartsView.js +3 -1
- package/dist/features/admin/components/AdminPaymentClustersView.js +7 -1
- package/dist/features/admin/components/AdminPaymentMethodsView.js +7 -1
- package/dist/features/admin/components/AdminPaymentsGuideView.js +4 -1
- package/dist/features/admin/components/AdminPayoutsView.d.ts +1 -1
- package/dist/features/admin/components/AdminPayoutsView.js +5 -1
- package/dist/features/admin/components/AdminPrizeDrawsView.d.ts +1 -1
- package/dist/features/admin/components/AdminPrizeDrawsView.js +7 -1
- package/dist/features/admin/components/AdminProductEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminProductEditorView.js +5 -2
- package/dist/features/admin/components/AdminProductsView.d.ts +1 -1
- package/dist/features/admin/components/AdminProductsView.js +5 -2
- package/dist/features/admin/components/AdminReturnRequestsView.js +3 -1
- package/dist/features/admin/components/AdminReviewsView.d.ts +1 -1
- package/dist/features/admin/components/AdminReviewsView.js +8 -1
- package/dist/features/admin/components/AdminScammersView.d.ts +1 -1
- package/dist/features/admin/components/AdminScammersView.js +5 -1
- package/dist/features/admin/components/AdminSectionsView.js +1 -1
- package/dist/features/admin/components/AdminSessionsManager.js +1 -1
- package/dist/features/admin/components/AdminSessionsView.d.ts +1 -1
- package/dist/features/admin/components/AdminSessionsView.js +6 -1
- package/dist/features/admin/components/AdminSidebar.js +7 -1
- package/dist/features/admin/components/AdminSiteConfigGuideView.js +5 -1
- package/dist/features/admin/components/AdminSiteSettingsView.d.ts +1 -1
- package/dist/features/admin/components/AdminSiteSettingsView.js +21 -5
- package/dist/features/admin/components/AdminSparesView.d.ts +1 -1
- package/dist/features/admin/components/AdminSparesView.js +1 -1
- package/dist/features/admin/components/AdminStickersView.d.ts +1 -1
- package/dist/features/admin/components/AdminStickersView.js +1 -1
- package/dist/features/admin/components/AdminStoreAddressesView.js +1 -1
- package/dist/features/admin/components/AdminStoreEditorView.js +7 -1
- package/dist/features/admin/components/AdminStoresGuideView.js +5 -1
- package/dist/features/admin/components/AdminStoresView.d.ts +1 -1
- package/dist/features/admin/components/AdminStoresView.js +4 -1
- package/dist/features/admin/components/AdminSublistingCategoryEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminSublistingCategoryEditorView.js +8 -3
- package/dist/features/admin/components/AdminSupportTicketDetailView.js +12 -1
- package/dist/features/admin/components/AdminSupportTicketsView.d.ts +1 -1
- package/dist/features/admin/components/AdminSupportTicketsView.js +4 -1
- package/dist/features/admin/components/AdminTaxCodeEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminTaxCodeEditorView.js +4 -1
- package/dist/features/admin/components/AdminTaxCodesView.d.ts +1 -1
- package/dist/features/admin/components/AdminTaxCodesView.js +1 -1
- package/dist/features/admin/components/AdminTeamGuideView.js +5 -1
- package/dist/features/admin/components/AdminTeamView.d.ts +1 -1
- package/dist/features/admin/components/AdminTeamView.js +4 -1
- package/dist/features/admin/components/AdminTesterChecklistItemEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminTesterChecklistItemEditorView.js +4 -1
- package/dist/features/admin/components/AdminTesterChecklistView.d.ts +1 -1
- package/dist/features/admin/components/AdminTesterChecklistView.js +4 -1
- package/dist/features/admin/components/AdminTopBar.js +1 -1
- package/dist/features/admin/components/AdminTrustGuideView.js +5 -1
- package/dist/features/admin/components/AdminUserEditorView.js +12 -1
- package/dist/features/admin/components/AdminUsersGuideView.js +5 -1
- package/dist/features/admin/components/AdminUsersView.d.ts +1 -1
- package/dist/features/admin/components/AdminViewCards.js +4 -1
- package/dist/features/admin/components/AdminWishlistsView.d.ts +1 -1
- package/dist/features/admin/components/AdminWishlistsView.js +1 -1
- package/dist/features/admin/components/DashboardStats.js +3 -1
- package/dist/features/admin/components/DataListingView.d.ts +1 -1
- package/dist/features/admin/components/DataListingView.js +14 -2
- package/dist/features/admin/components/DataTable.js +7 -1
- package/dist/features/admin/components/OwnerQuickActions.d.ts +7 -1
- package/dist/features/admin/components/OwnerQuickActions.js +3 -2
- package/dist/features/admin/components/QuickEditMenu.js +2 -1
- package/dist/features/admin/components/ViewAuditLogEntryModal.js +6 -1
- package/dist/features/admin/components/ViewNotificationModal.js +6 -1
- package/dist/features/admin/components/analytics/AdminAnalyticsCharts.js +2 -1
- package/dist/features/admin/components/analytics/AdminStatCard.js +3 -1
- package/dist/features/admin/components/analytics/AdminTopProductsTable.js +3 -1
- package/dist/features/admin/components/sections/adminSectionsTypes.js +1 -0
- package/dist/features/admin/constants/site-settings-tabs.d.ts +1 -1
- package/dist/features/admin/hooks/useAdminListing.d.ts +1 -1
- package/dist/features/admin/hooks/useOptimisticRowFlag.js +1 -1
- package/dist/features/admin/schemas/action-index-form.d.ts +2 -2
- package/dist/features/admin/schemas/admin-editor-forms.d.ts +12 -12
- package/dist/features/admin/schemas/admin-editor-forms.js +0 -1
- package/dist/features/admin/schemas/admin-ops-forms.d.ts +8 -8
- package/dist/features/admin/schemas/admin-user-form.d.ts +8 -8
- package/dist/features/admin/schemas/firestore.d.ts +52 -0
- package/dist/features/admin/schemas/firestore.js +20 -0
- package/dist/features/admin/schemas/nav-item-form.d.ts +8 -8
- package/dist/features/auctions/actions/bid-actions.js +1 -1
- package/dist/features/auctions/api/route.js +1 -8
- package/dist/features/auctions/components/AuctionBidsTable.js +6 -1
- package/dist/features/auctions/components/AuctionBottomActions.js +1 -1
- package/dist/features/auctions/components/AuctionDetailPageView.js +12 -9
- package/dist/features/auctions/components/AuctionFilters.js +1 -1
- package/dist/features/auctions/components/AuctionLiveStatusBadge.js +1 -1
- package/dist/features/auctions/components/AuctionsListView.js +3 -1
- package/dist/features/auctions/components/CollapsibleBidHistory.js +4 -1
- package/dist/features/auctions/components/LiveBidPrice.js +3 -1
- package/dist/features/auctions/components/LiveMinIncrement.js +1 -1
- package/dist/features/auctions/components/MarketplaceAuctionCard.d.ts +1 -1
- package/dist/features/auctions/components/MarketplaceAuctionCard.js +9 -3
- package/dist/features/auctions/components/MarketplaceAuctionGrid.d.ts +1 -1
- package/dist/features/auctions/components/MarketplaceAuctionGrid.js +3 -1
- package/dist/features/auctions/components/PlaceBidFormClient.js +8 -1
- package/dist/features/auctions/schemas/index.d.ts +34 -34
- package/dist/features/auth/components/ForgotPasswordView.js +6 -1
- package/dist/features/auth/components/Guards.js +4 -1
- package/dist/features/auth/components/LoginForm.js +7 -1
- package/dist/features/auth/components/OAuthLoadingView.js +3 -1
- package/dist/features/auth/components/RegisterForm.js +5 -1
- package/dist/features/auth/components/ResetPasswordView.js +6 -1
- package/dist/features/auth/components/SocialAuthButtons.js +4 -1
- package/dist/features/auth/components/VerifyEmailView.js +4 -1
- package/dist/features/auth/hooks/useAuth.js +1 -1
- package/dist/features/auth/schemas/index.d.ts +2 -2
- package/dist/features/before-after/api/route.js +1 -5
- package/dist/features/before-after/components/BeforeAfterGallery.js +3 -1
- package/dist/features/before-after/components/BeforeAfterSlider.js +3 -1
- package/dist/features/before-after/schemas/index.d.ts +4 -4
- package/dist/features/beys/components/BeyDetailPageView.js +7 -1
- package/dist/features/blog/actions/blog-actions.d.ts +39 -39
- package/dist/features/blog/api/route.js +1 -8
- package/dist/features/blog/components/BlogFeaturedCard.js +6 -1
- package/dist/features/blog/components/BlogFilters.js +1 -1
- package/dist/features/blog/components/BlogIndexListing.js +7 -1
- package/dist/features/blog/components/BlogIndexPageView.d.ts +2 -3
- package/dist/features/blog/components/BlogIndexPageView.js +9 -10
- package/dist/features/blog/components/BlogListView.js +6 -1
- package/dist/features/blog/components/BlogPostForm.js +9 -2
- package/dist/features/blog/components/BlogPostView.js +5 -1
- package/dist/features/blog/schemas/blog-form.d.ts +10 -10
- package/dist/features/blog/schemas/index.d.ts +80 -80
- package/dist/features/cart/actions/cart-actions.js +1 -1
- package/dist/features/cart/api/route.js +1 -5
- package/dist/features/cart/components/CartDrawer.js +6 -1
- package/dist/features/cart/components/CartGroupLineRow.js +5 -1
- package/dist/features/cart/components/CartPriceBreakdown.js +4 -1
- package/dist/features/cart/components/CartSummary.js +2 -1
- package/dist/features/cart/components/CartView.js +3 -1
- package/dist/features/cart/components/CheckoutAddressStep.js +3 -1
- package/dist/features/cart/components/CheckoutSuccessView.d.ts +1 -1
- package/dist/features/cart/components/CheckoutSuccessView.js +1 -1
- package/dist/features/cart/components/CheckoutView.js +3 -1
- package/dist/features/cart/components/PointsTenderPicker.js +3 -1
- package/dist/features/cart/components/ShippingPicker.js +4 -1
- package/dist/features/cart/components/StoreAddonsPicker.js +3 -1
- package/dist/features/cart/schemas/index.d.ts +30 -30
- package/dist/features/cart/utils/guest-cart.js +1 -5
- package/dist/features/catalogue/actions/approve-catalogue-listing.js +1 -1
- package/dist/features/catalogue/actions/list-from-catalogue.js +2 -1
- package/dist/features/catalogue/actions/submit-for-approval.js +1 -1
- package/dist/features/catalogue/components/AdminCatalogueApprovalsView.js +6 -1
- package/dist/features/catalogue/components/CatalogueItemEditorView.js +1 -1
- package/dist/features/catalogue/components/PublicCatalogueItemDetailView.js +6 -1
- package/dist/features/catalogue/components/PublicCatalogueView.js +5 -1
- package/dist/features/catalogue/components/UserCatalogueView.js +7 -1
- package/dist/features/catalogue/repository/catalogue.repository.js +1 -1
- package/dist/features/catalogue/schemas/validation.d.ts +12 -12
- package/dist/features/catalogue/utils/product-from-item.js +1 -1
- package/dist/features/categories/api/route.js +5 -23
- package/dist/features/categories/components/BrandDetailPageView.js +6 -2
- package/dist/features/categories/components/BrandDetailTabs.js +2 -1
- package/dist/features/categories/components/BreadcrumbTrail.js +4 -2
- package/dist/features/categories/components/BundleBuyNowCta.js +5 -2
- package/dist/features/categories/components/BundleCollage.js +5 -1
- package/dist/features/categories/components/BundleDetailView.js +6 -1
- package/dist/features/categories/components/BundleDynamicRuleEditor.js +6 -1
- package/dist/features/categories/components/BundleItemsPicker.js +7 -1
- package/dist/features/categories/components/BundlesListView.d.ts +2 -3
- package/dist/features/categories/components/BundlesListView.js +6 -7
- package/dist/features/categories/components/CategoriesIndexListing.js +55 -6
- package/dist/features/categories/components/CategoriesIndexPageView.d.ts +2 -3
- package/dist/features/categories/components/CategoriesIndexPageView.js +3 -33
- package/dist/features/categories/components/CategoryBundlesListing.js +8 -2
- package/dist/features/categories/components/CategoryDetailPageView.js +7 -2
- package/dist/features/categories/components/CategoryDetailTabs.js +2 -1
- package/dist/features/categories/components/CategoryFilters.js +1 -1
- package/dist/features/categories/components/CategoryForm.js +3 -1
- package/dist/features/categories/components/CategoryGrid.js +3 -1
- package/dist/features/categories/components/CategoryHighlightsAndFaqSection.js +3 -1
- package/dist/features/categories/components/CategoryProductsListing.js +8 -1
- package/dist/features/categories/components/CategorySelectorCreate.js +6 -1
- package/dist/features/categories/components/CategorySortSelect.js +4 -1
- package/dist/features/categories/components/CategoryStoresListing.js +2 -1
- package/dist/features/categories/components/CategoryTableColumns.js +6 -2
- package/dist/features/categories/components/CategoryTemplatePicker.js +4 -1
- package/dist/features/categories/components/CategoryTree.js +2 -1
- package/dist/features/categories/components/ConcernCard.js +3 -1
- package/dist/features/categories/components/ConcernGrid.js +1 -1
- package/dist/features/categories/components/PriceGuidanceHint.js +3 -1
- package/dist/features/categories/components/SubcategoryCardRow.js +4 -1
- package/dist/features/categories/constants/category-tabs.d.ts +1 -1
- package/dist/features/categories/constants/category-tabs.js +7 -0
- package/dist/features/categories/hooks/useCategories.d.ts +6 -0
- package/dist/features/categories/hooks/useCategories.js +73 -2
- package/dist/features/categories/schemas/bundle-form.d.ts +22 -22
- package/dist/features/categories/schemas/index.d.ts +100 -100
- package/dist/features/categories/types/index.d.ts +1 -1
- package/dist/features/checkout/components/CheckoutStepper.js +3 -1
- package/dist/features/classified/components/ClassifiedDetailPageView.js +9 -9
- package/dist/features/classified/components/ClassifiedFilters.js +3 -1
- package/dist/features/collections/api/route.js +1 -5
- package/dist/features/collections/components/CollectionCard.js +4 -1
- package/dist/features/collections/schemas/index.d.ts +9 -9
- package/dist/features/consultation/api/route.js +1 -5
- package/dist/features/consultation/components/ConsultationForm.js +3 -1
- package/dist/features/consultation/schemas/index.d.ts +8 -8
- package/dist/features/contact/components/ContactForm.js +5 -2
- package/dist/features/contact/components/ContactInfoSidebar.js +4 -1
- package/dist/features/contact/components/ContactPageView.js +6 -1
- package/dist/features/contact/email.js +2 -5
- package/dist/features/corporate/api/route.js +1 -5
- package/dist/features/corporate/components/CorporateInquiryForm.js +3 -1
- package/dist/features/dashboard/components/DashboardHubView.js +7 -1
- package/dist/features/digital-codes/components/DigitalCodeDetailPageView.js +8 -8
- package/dist/features/digital-codes/components/DigitalCodeFilters.js +1 -1
- package/dist/features/dispute-reasons/components/AdminDisputeReasonsView.js +4 -1
- package/dist/features/events/components/AdminEventEditorView.d.ts +1 -1
- package/dist/features/events/components/AdminEventEditorView.js +14 -3
- package/dist/features/events/components/AdminEventEntriesView.js +10 -2
- package/dist/features/events/components/AdminEventsView.d.ts +1 -1
- package/dist/features/events/components/AdminEventsView.js +2 -1
- package/dist/features/events/components/EventBanner.js +3 -1
- package/dist/features/events/components/EventCard.js +7 -1
- package/dist/features/events/components/EventDetailView.d.ts +1 -1
- package/dist/features/events/components/EventDetailView.js +1 -1
- package/dist/features/events/components/EventFilters.js +1 -1
- package/dist/features/events/components/EventFormDrawer.js +1 -1
- package/dist/features/events/components/EventInsights.js +3 -1
- package/dist/features/events/components/EventLeaderboard.js +3 -1
- package/dist/features/events/components/EventLikeButton.js +4 -1
- package/dist/features/events/components/EventLikersRail.js +5 -1
- package/dist/features/events/components/EventOfferCard.js +3 -1
- package/dist/features/events/components/EventParticipateView.js +1 -1
- package/dist/features/events/components/EventPollWidget.js +8 -1
- package/dist/features/events/components/EventRaffleEntryForm.js +3 -1
- package/dist/features/events/components/EventRaffleWinnerView.js +6 -1
- package/dist/features/events/components/EventRafflesSection.js +3 -1
- package/dist/features/events/components/EventSaleBanner.js +4 -1
- package/dist/features/events/components/EventStatusBadge.js +1 -1
- package/dist/features/events/components/EventTypeBadge.js +1 -1
- package/dist/features/events/components/EventsIndexListing.js +7 -1
- package/dist/features/events/components/EventsListPageView.d.ts +2 -3
- package/dist/features/events/components/EventsListPageView.js +11 -12
- package/dist/features/events/components/EventsListView.js +4 -1
- package/dist/features/events/components/RelatedEventsCarousel.js +3 -1
- package/dist/features/events/components/SpinWheel.js +1 -1
- package/dist/features/events/components/SpinWheelView.js +7 -1
- package/dist/features/events/schemas/event-form.d.ts +5 -0
- package/dist/features/events/schemas/event-form.js +17 -0
- package/dist/features/events/schemas/firestore.d.ts +49 -1
- package/dist/features/events/schemas/index.d.ts +184 -184
- package/dist/features/events/utils/carousel-slide.d.ts +0 -9
- package/dist/features/events/utils/carousel-slide.js +38 -1
- package/dist/features/faq/actions/faq-actions.d.ts +12 -12
- package/dist/features/faq/components/ContactCTA.js +5 -1
- package/dist/features/faq/components/FAQAccordion.js +6 -1
- package/dist/features/faq/components/FAQCategorySidebar.js +5 -1
- package/dist/features/faq/components/FAQHelpfulButtons.js +3 -1
- package/dist/features/faq/components/FAQPageContent.js +8 -1
- package/dist/features/faq/components/FAQSearchableList.js +2 -1
- package/dist/features/faq/components/FAQSortDropdown.js +4 -1
- package/dist/features/faq/components/RelatedFAQs.js +4 -1
- package/dist/features/faq/constants/help-guides.d.ts +8 -5
- package/dist/features/faq/constants/help-guides.js +9 -5
- package/dist/features/faq/schemas/index.d.ts +14 -14
- package/dist/features/filters/AsyncFacetSection.js +8 -3
- package/dist/features/filters/FilterFacetSection.js +11 -6
- package/dist/features/filters/FilterPanel.js +1 -1
- package/dist/features/filters/RangeFilter.js +8 -3
- package/dist/features/filters/SwitchFilter.js +7 -3
- package/dist/features/filters/filterUtils.d.ts +0 -2
- package/dist/features/filters/filterUtils.js +0 -4
- package/dist/features/filters/index.d.ts +1 -1
- package/dist/features/filters/index.js +1 -1
- package/dist/features/forms/Checkbox.js +7 -4
- package/dist/features/forms/Input.js +7 -5
- package/dist/features/forms/Radio.js +9 -6
- package/dist/features/forms/Select.js +5 -3
- package/dist/features/forms/Slider.js +6 -3
- package/dist/features/forms/Textarea.js +6 -3
- package/dist/features/forms/Toggle.js +6 -4
- package/dist/features/forms/index.d.ts +1 -1
- package/dist/features/forms/index.js +1 -1
- package/dist/features/forms/utils.d.ts +0 -2
- package/dist/features/forms/utils.js +0 -4
- package/dist/features/gateway-events/schemas/index.d.ts +10 -10
- package/dist/features/grouped/components/GroupedListingDetailView.js +4 -1
- package/dist/features/grouped/components/GroupedListingEditorView.js +5 -2
- package/dist/features/grouped/components/GroupedListingsCarousel.js +1 -1
- package/dist/features/grouped/schemas/grouped-listing-form.d.ts +8 -8
- package/dist/features/grouped/schemas/index.d.ts +8 -8
- package/dist/features/history/hooks/useHistory.js +1 -1
- package/dist/features/history/utils/guest-history.js +1 -5
- package/dist/features/homepage/actions/homepage-section-actions.d.ts +4 -4
- package/dist/features/homepage/components/AdSlot.js +3 -1
- package/dist/features/homepage/components/BrandsSection.js +6 -1
- package/dist/features/homepage/components/CTABannerSection.js +6 -1
- package/dist/features/homepage/components/CharacterHotspot.js +5 -1
- package/dist/features/homepage/components/CharacterHotspotForm.js +8 -1
- package/dist/features/homepage/components/CollectionCardsSection.js +4 -1
- package/dist/features/homepage/components/CustomCardsSection.js +13 -2
- package/dist/features/homepage/components/CustomerReviewsSection.js +5 -1
- package/dist/features/homepage/components/FAQSection.js +8 -1
- package/dist/features/homepage/components/FeaturedBundlesSection.d.ts +6 -1
- package/dist/features/homepage/components/FeaturedBundlesSection.js +4 -2
- package/dist/features/homepage/components/GoogleReviewsSection.js +6 -1
- package/dist/features/homepage/components/HeroCarousel.js +6 -1
- package/dist/features/homepage/components/HomepageCouponsSection.d.ts +25 -0
- package/dist/features/homepage/components/HomepageCouponsSection.js +42 -0
- package/dist/features/homepage/components/HowItWorksSection.d.ts +1 -1
- package/dist/features/homepage/components/HowItWorksSection.js +7 -1
- package/dist/features/homepage/components/MarketplaceHomepageView.js +52 -4
- package/dist/features/homepage/components/NewsletterSection.js +4 -1
- package/dist/features/homepage/components/PromoGrid.js +4 -1
- package/dist/features/homepage/components/SectionCarousel.d.ts +1 -1
- package/dist/features/homepage/components/SectionCarousel.js +6 -1
- package/dist/features/homepage/components/SecurityHighlightsSection.js +6 -1
- package/dist/features/homepage/components/ShopByCategorySection.js +7 -1
- package/dist/features/homepage/components/SocialFeedSection.js +6 -1
- package/dist/features/homepage/components/SocialPostCard.js +4 -1
- package/dist/features/homepage/components/StatsCounterSection.js +5 -1
- package/dist/features/homepage/components/TestimonialsCarousel.js +4 -1
- package/dist/features/homepage/components/TrustFeaturesSection.js +5 -1
- package/dist/features/homepage/components/WelcomeSection.js +10 -1
- package/dist/features/homepage/components/WhatsAppCommunitySection.js +8 -1
- package/dist/features/homepage/lib/section-renderer.d.ts +2 -0
- package/dist/features/homepage/lib/section-renderer.js +8 -0
- package/dist/features/homepage/schemas/firestore.d.ts +23 -2
- package/dist/features/homepage/schemas/firestore.js +2 -0
- package/dist/features/homepage/schemas/index.d.ts +133 -133
- package/dist/features/inventory/components/ReceiveStationView.js +9 -1
- package/dist/features/jobs/actions/enqueue-job.js +1 -1
- package/dist/features/layout/AppLayoutShell.d.ts +23 -1
- package/dist/features/layout/AppLayoutShell.js +13 -12
- package/dist/features/layout/AutoBreadcrumbs.js +3 -1
- package/dist/features/layout/BackToTop.js +2 -1
- package/dist/features/layout/BottomActions.js +5 -1
- package/dist/features/layout/BottomActionsContext.d.ts +1 -1
- package/dist/features/layout/BottomChrome.js +1 -1
- package/dist/features/layout/BottomNavItem.d.ts +9 -1
- package/dist/features/layout/BottomNavItem.js +20 -5
- package/dist/features/layout/BottomNavLayout.js +1 -1
- package/dist/features/layout/BottomSheet.js +4 -1
- package/dist/features/layout/Breadcrumbs.js +2 -1
- package/dist/features/layout/FooterLayout.js +5 -1
- package/dist/features/layout/LocaleSwitcher.js +1 -1
- package/dist/features/layout/NavItem.js +2 -1
- package/dist/features/layout/NavbarLayout.js +5 -1
- package/dist/features/layout/PageTabs.js +1 -1
- package/dist/features/layout/SideActionDock.js +7 -1
- package/dist/features/layout/SidebarLayout.d.ts +1 -1
- package/dist/features/layout/SidebarLayout.js +2 -1
- package/dist/features/layout/TitleBarLayout.js +9 -1
- package/dist/features/layout/index.d.ts +1 -1
- package/dist/features/live/components/LiveItemDetailPageView.js +8 -8
- package/dist/features/live/components/LiveItemFilters.js +3 -1
- package/dist/features/lottery/schemas/config-write.d.ts +10 -10
- package/dist/features/lottery/schemas/zod.d.ts +6 -6
- package/dist/features/media/MediaLightbox.js +3 -5
- package/dist/features/media/modals/ImageCropModal.js +6 -1
- package/dist/features/media/modals/ImageEditor.js +6 -1
- package/dist/features/media/modals/VideoTrimModal.js +6 -1
- package/dist/features/media/types/index.d.ts +4 -4
- package/dist/features/media/upload/MediaUploadList.js +7 -1
- package/dist/features/orders/components/OrderAddonBadges.js +2 -1
- package/dist/features/orders/components/OrderCompletionPanel.d.ts +1 -1
- package/dist/features/orders/components/OrderCompletionPanel.js +1 -1
- package/dist/features/orders/components/OrderFilters.js +1 -1
- package/dist/features/orders/components/OrderPaymentSummary.js +4 -1
- package/dist/features/orders/components/OrderProvenanceCard.js +5 -1
- package/dist/features/orders/components/OrderScopeTabs.js +1 -1
- package/dist/features/orders/components/OrderSiblingPayments.js +3 -1
- package/dist/features/orders/components/OrderStatusTimeline.js +4 -1
- package/dist/features/orders/components/OrdersList.js +4 -1
- package/dist/features/orders/components/RaiseDisputeForm.js +1 -1
- package/dist/features/orders/components/RefundHistoryTable.js +4 -1
- package/dist/features/orders/components/RefundRequestView.js +2 -2
- package/dist/features/orders/components/YourPurchaseStrip.js +5 -1
- package/dist/features/orders/schemas/index.d.ts +86 -86
- package/dist/features/parts/components/AssemblyDrawer.js +8 -1
- package/dist/features/parts/components/ModelCompositionPanel.js +5 -1
- package/dist/features/parts/components/PartDetailPageView.js +7 -1
- package/dist/features/parts/components/PartsIndexPageView.js +6 -1
- package/dist/features/parts/components/PartsSearchBox.js +5 -1
- package/dist/features/parts/schemas/firestore.d.ts +274 -0
- package/dist/features/parts/schemas/firestore.js +19 -0
- package/dist/features/payments/repository/saved-payment-methods.repository.js +1 -1
- package/dist/features/payments/schemas/index.d.ts +10 -10
- package/dist/features/points/schemas/adjust-form.d.ts +2 -2
- package/dist/features/pre-orders/api/admin/route.js +1 -5
- package/dist/features/pre-orders/components/MarketplacePreorderCard.d.ts +1 -1
- package/dist/features/pre-orders/components/MarketplacePreorderCard.js +10 -3
- package/dist/features/pre-orders/components/PreOrderActionsClient.js +6 -1
- package/dist/features/pre-orders/components/PreOrderBadge.js +2 -1
- package/dist/features/pre-orders/components/PreOrderDetailPageView.js +10 -9
- package/dist/features/pre-orders/components/PreOrderFilters.js +1 -1
- package/dist/features/pre-orders/components/PreOrdersIndexListing.js +11 -2
- package/dist/features/pre-orders/components/PreOrdersListView.js +3 -1
- package/dist/features/pre-orders/components/PreorderCard.js +1 -1
- package/dist/features/pre-orders/schemas/index.d.ts +15 -15
- package/dist/features/price-index/components/PriceIndexToolView.js +4 -1
- package/dist/features/pricing/components/AdminPricingView.js +4 -1
- package/dist/features/print/components/BoxLabelPrintView.js +5 -1
- package/dist/features/print/components/LabelProfilePicker.js +3 -1
- package/dist/features/print/components/labels.js +3 -1
- package/dist/features/products/api/route.js +1 -3
- package/dist/features/products/columns/productTableColumns.js +5 -1
- package/dist/features/products/components/ArtStickersListView.js +3 -1
- package/dist/features/products/components/AuctionDetailView.d.ts +1 -1
- package/dist/features/products/components/AuctionDetailView.js +2 -1
- package/dist/features/products/components/AuctionsIndexListing.js +10 -2
- package/dist/features/products/components/AvailabilityScopeHint.js +3 -1
- package/dist/features/products/components/AvailabilityTabs.js +1 -1
- package/dist/features/products/components/BidHistory.js +4 -1
- package/dist/features/products/components/CityCollectiblesView.js +6 -1
- package/dist/features/products/components/CompareOverlay.js +6 -1
- package/dist/features/products/components/CustomFieldsEditor.js +6 -1
- package/dist/features/products/components/CustomSectionTabContent.js +4 -6
- package/dist/features/products/components/CustomSectionsEditor.js +6 -1
- package/dist/features/products/components/FeatureBadge.js +2 -1
- package/dist/features/products/components/GroupMemberPicker.js +9 -2
- package/dist/features/products/components/GroupSettingsPanel.js +13 -2
- package/dist/features/products/components/MakeOfferButton.js +6 -1
- package/dist/features/products/components/MarketplaceBundleCard.js +6 -1
- package/dist/features/products/components/MarketplacePrizeDrawCard.js +7 -1
- package/dist/features/products/components/NonRefundableConsentModal.js +6 -1
- package/dist/features/products/components/PreOrderDetailView.d.ts +1 -1
- package/dist/features/products/components/PreOrderDetailView.js +1 -1
- package/dist/features/products/components/PrizeDrawCollage.js +6 -1
- package/dist/features/products/components/PrizeDrawDetailPageView.js +7 -8
- package/dist/features/products/components/PrizeDrawEntryActions.d.ts +1 -1
- package/dist/features/products/components/PrizeDrawEntryActions.js +8 -2
- package/dist/features/products/components/PrizeDrawWinnerMappingView.js +7 -1
- package/dist/features/products/components/PrizeDrawsIndexListing.js +8 -1
- package/dist/features/products/components/PrizeDrawsListingView.js +3 -1
- package/dist/features/products/components/PrizeDrawsSection.js +3 -1
- package/dist/features/products/components/PrizeRevealModal.js +6 -1
- package/dist/features/products/components/ProductCardMetadataSection.js +3 -1
- package/dist/features/products/components/ProductDetailActions.js +4 -1
- package/dist/features/products/components/ProductDetailPageView.js +11 -9
- package/dist/features/products/components/ProductDetailView.d.ts +1 -1
- package/dist/features/products/components/ProductDetailView.js +1 -1
- package/dist/features/products/components/ProductFeatureBadges.js +4 -1
- package/dist/features/products/components/ProductFeaturesSelector.js +3 -1
- package/dist/features/products/components/ProductFilters.js +2 -1
- package/dist/features/products/components/ProductForm.js +1 -1
- package/dist/features/products/components/ProductGalleryClient.js +4 -1
- package/dist/features/products/components/ProductGradingTab.js +4 -1
- package/dist/features/products/components/ProductGrid.d.ts +1 -1
- package/dist/features/products/components/ProductGrid.js +7 -1
- package/dist/features/products/components/ProductsIndexListing.js +11 -3
- package/dist/features/products/components/ProductsIndexPageView.js +6 -2
- package/dist/features/products/components/RelatedItemsSection.js +1 -1
- package/dist/features/products/components/RelatedProducts.js +3 -1
- package/dist/features/products/components/ShowGroupSection.js +7 -1
- package/dist/features/products/components/SparesListView.js +4 -1
- package/dist/features/products/components/SublistingCarouselSection.js +4 -1
- package/dist/features/products/components/SublistingCategorySelect.js +2 -1
- package/dist/features/products/hooks/useProducts.js +1 -1
- package/dist/features/products/repository/products.repository.js +0 -1
- package/dist/features/products/schemas/index.d.ts +70 -70
- package/dist/features/products/schemas/product-features.validators.d.ts +52 -52
- package/dist/features/promotions/actions/promotions-actions.js +22 -6
- package/dist/features/promotions/api/route.js +1 -8
- package/dist/features/promotions/components/AttachedCouponsSection.js +5 -2
- package/dist/features/promotions/components/CouponCard.js +8 -1
- package/dist/features/promotions/components/CouponCodeCopyRow.js +2 -1
- package/dist/features/promotions/components/CouponHelpDetails.js +4 -1
- package/dist/features/promotions/components/CouponsIndexListing.js +12 -1
- package/dist/features/promotions/components/PromotionsView.js +4 -1
- package/dist/features/promotions/constants/attached-coupons.d.ts +14 -0
- package/dist/features/promotions/repository/coupons.repository.js +32 -2
- package/dist/features/promotions/schemas/firestore.d.ts +33 -0
- package/dist/features/promotions/schemas/firestore.js +44 -0
- package/dist/features/promotions/schemas/index.d.ts +108 -108
- package/dist/features/reviews/components/ReviewDetailPageView.js +4 -1
- package/dist/features/reviews/components/ReviewDetailShell.js +8 -1
- package/dist/features/reviews/components/ReviewFilters.js +1 -1
- package/dist/features/reviews/components/ReviewModal.js +7 -2
- package/dist/features/reviews/components/ReviewSummary.js +4 -2
- package/dist/features/reviews/components/ReviewsIndexPageView.d.ts +2 -3
- package/dist/features/reviews/components/ReviewsIndexPageView.js +12 -13
- package/dist/features/reviews/components/ReviewsList.js +7 -2
- package/dist/features/reviews/components/ReviewsListingPanel.js +7 -1
- package/dist/features/reviews/schemas/index.d.ts +40 -40
- package/dist/features/scams/components/ScamAwarenessModal.js +7 -1
- package/dist/features/scams/components/ScamProfileView.js +11 -1
- package/dist/features/scams/constants/scammer-status-display.d.ts +1 -1
- package/dist/features/scams/schemas/index.d.ts +22 -22
- package/dist/features/scams/schemas/report-form.d.ts +4 -4
- package/dist/features/search/components/EntityTypeahead.js +5 -1
- package/dist/features/search/components/Search.js +7 -1
- package/dist/features/search/components/SearchFacetRail.js +4 -1
- package/dist/features/search/components/SearchResultsClient.js +1 -1
- package/dist/features/search/components/SearchResultsPageView.js +5 -1
- package/dist/features/seller/api/coupons/route.js +1 -5
- package/dist/features/seller/api/products/route.js +1 -5
- package/dist/features/seller/components/BulkStockModal.js +2 -1
- package/dist/features/seller/components/CategoryChipPicker.js +3 -1
- package/dist/features/seller/components/FulfillmentView.js +2 -1
- package/dist/features/seller/components/GroupInlineSelect.js +1 -1
- package/dist/features/seller/components/SellerAddressesView.js +11 -2
- package/dist/features/seller/components/SellerAnalyticsAlertsView.js +9 -1
- package/dist/features/seller/components/SellerAnalyticsView.d.ts +1 -1
- package/dist/features/seller/components/SellerAnalyticsView.js +4 -1
- package/dist/features/seller/components/SellerBidsView.js +8 -2
- package/dist/features/seller/components/SellerBundlesView.js +7 -1
- package/dist/features/seller/components/SellerCouponEditorView.js +5 -1
- package/dist/features/seller/components/SellerCouponsView.d.ts +1 -1
- package/dist/features/seller/components/SellerCouponsView.js +5 -1
- package/dist/features/seller/components/SellerDashboardView.d.ts +1 -1
- package/dist/features/seller/components/SellerDashboardView.js +4 -1
- package/dist/features/seller/components/SellerFeaturesView.js +8 -1
- package/dist/features/seller/components/SellerGoogleReviewsView.js +7 -1
- package/dist/features/seller/components/SellerGroupedListingsView.js +4 -1
- package/dist/features/seller/components/SellerGuideView.d.ts +1 -1
- package/dist/features/seller/components/SellerGuideView.js +1 -1
- package/dist/features/seller/components/SellerListingTypeView.js +4 -1
- package/dist/features/seller/components/SellerOffersView.d.ts +1 -1
- package/dist/features/seller/components/SellerOffersView.js +4 -1
- package/dist/features/seller/components/SellerOrdersView.js +8 -1
- package/dist/features/seller/components/SellerPayoutHistoryTable.js +2 -1
- package/dist/features/seller/components/SellerPayoutMethodsView.js +7 -1
- package/dist/features/seller/components/SellerPayoutRequestView.js +8 -1
- package/dist/features/seller/components/SellerPayoutSettingsView.js +3 -2
- package/dist/features/seller/components/SellerPayoutStats.js +1 -1
- package/dist/features/seller/components/SellerPayoutsView.d.ts +1 -1
- package/dist/features/seller/components/SellerPayoutsView.js +10 -1
- package/dist/features/seller/components/SellerProductShell.js +1 -2
- package/dist/features/seller/components/SellerProductsCards.js +7 -1
- package/dist/features/seller/components/SellerProductsFilterDrawer.js +4 -1
- package/dist/features/seller/components/SellerProductsView.js +7 -1
- package/dist/features/seller/components/SellerReviewsView.js +11 -1
- package/dist/features/seller/components/SellerShippingConfigsView.js +6 -1
- package/dist/features/seller/components/SellerShippingView.js +2 -2
- package/dist/features/seller/components/SellerSidebar.js +7 -1
- package/dist/features/seller/components/SellerStoreCategoriesView.js +5 -1
- package/dist/features/seller/components/SellerStoreSetupView.js +2 -1
- package/dist/features/seller/components/SellerStorefrontView.js +1 -1
- package/dist/features/seller/components/SellerSupportView.d.ts +1 -1
- package/dist/features/seller/components/SellerSupportView.js +4 -1
- package/dist/features/seller/components/SellersListView.d.ts +1 -1
- package/dist/features/seller/components/SellersListView.js +1 -1
- package/dist/features/seller/components/analytics/SellerAnalyticsStats.js +1 -1
- package/dist/features/seller/components/analytics/SellerRevenueChart.js +2 -1
- package/dist/features/seller/components/analytics/SellerTopProducts.js +3 -1
- package/dist/features/seller/hooks/useSellerListingData.js +0 -30
- package/dist/features/seller/schemas/coupon-form.d.ts +50 -50
- package/dist/features/seller/schemas/index.d.ts +22 -22
- package/dist/features/seller/schemas/order-forms.d.ts +12 -12
- package/dist/features/server-errors/schemas/index.d.ts +4 -4
- package/dist/features/shell/CommandPalette.js +7 -1
- package/dist/features/shell/FormShell.js +5 -1
- package/dist/features/shell/SectionForm.js +4 -1
- package/dist/features/shipments/components/AdminShipmentEditorView.js +9 -1
- package/dist/features/shipments/components/AdminShipmentLotItemsView.js +11 -1
- package/dist/features/shipments/components/AdminShipmentProjectionsView.js +10 -1
- package/dist/features/shipments/components/AdminShipmentsView.d.ts +1 -1
- package/dist/features/shipments/components/AdminShipmentsView.js +3 -1
- package/dist/features/shipments/components/ShipmentItemLinkModal.js +7 -1
- package/dist/features/shipments/schemas/validation.d.ts +44 -44
- package/dist/features/site-settings/components/ActionPermissionsManager.js +7 -2
- package/dist/features/site-settings/components/NavPermissionsManager.js +6 -2
- package/dist/features/site-settings/components/ThemeManagerView.js +9 -1
- package/dist/features/status-history/components/StatusTimeline.js +4 -1
- package/dist/features/sticker-trace/components/StickerPrintPanel.js +6 -1
- package/dist/features/sticker-trace/components/StickerRetryPanel.js +4 -1
- package/dist/features/sticker-trace/components/StickerRunHistoryPanel.js +5 -1
- package/dist/features/sticker-trace/components/StickerTraceStudio.js +5 -1
- package/dist/features/store-extensions/schemas/admin-notification-form.d.ts +5 -5
- package/dist/features/store-extensions/schemas/custom-role-form.d.ts +12 -12
- package/dist/features/store-extensions/schemas/item-request-create-form.d.ts +2 -2
- package/dist/features/store-extensions/schemas/listing-template-form.d.ts +13 -13
- package/dist/features/store-extensions/schemas/payout-method-form.d.ts +10 -10
- package/dist/features/store-extensions/schemas/shipping-config-form.d.ts +12 -12
- package/dist/features/store-extensions/schemas/store-category-form.d.ts +10 -10
- package/dist/features/stores/api/[storeSlug]/auctions/route.js +1 -10
- package/dist/features/stores/api/[storeSlug]/products/route.js +1 -10
- package/dist/features/stores/components/InteractiveStoreCard.js +15 -2
- package/dist/features/stores/components/SellerStandingPanel.js +3 -1
- package/dist/features/stores/components/SellerTierBadge.js +2 -1
- package/dist/features/stores/components/StoreAboutView.js +5 -1
- package/dist/features/stores/components/StoreAddressSelectorCreate.js +2 -1
- package/dist/features/stores/components/StoreAuctionsListing.js +8 -1
- package/dist/features/stores/components/StoreAuctionsView.d.ts +1 -1
- package/dist/features/stores/components/StoreAuctionsView.js +1 -1
- package/dist/features/stores/components/StoreBundlesPageView.js +1 -1
- package/dist/features/stores/components/StoreCapabilitiesGuideView.js +6 -1
- package/dist/features/stores/components/StoreClassifiedsListing.js +7 -1
- package/dist/features/stores/components/StoreCreateForm.js +3 -1
- package/dist/features/stores/components/StoreDetailLayoutView.js +5 -2
- package/dist/features/stores/components/StoreDigitalCodesListing.js +7 -1
- package/dist/features/stores/components/StoreFilters.js +1 -1
- package/dist/features/stores/components/StoreFinanceGuideView.js +6 -1
- package/dist/features/stores/components/StoreGuideHubView.js +7 -2
- package/dist/features/stores/components/StoreHeader.js +6 -1
- package/dist/features/stores/components/StoreListingsGuideView.js +6 -1
- package/dist/features/stores/components/StoreLiveItemsListing.js +7 -1
- package/dist/features/stores/components/StoreNavTabs.js +3 -1
- package/dist/features/stores/components/StoreOrdersGuideView.js +7 -1
- package/dist/features/stores/components/StorePreOrdersListing.js +7 -1
- package/dist/features/stores/components/StoreProductsListing.js +8 -1
- package/dist/features/stores/components/StoreProductsView.js +5 -1
- package/dist/features/stores/components/StoreReviewsView.d.ts +1 -1
- package/dist/features/stores/components/StoreReviewsView.js +1 -1
- package/dist/features/stores/components/StoreSettingsGuideView.js +6 -1
- package/dist/features/stores/components/StoresIndexListing.js +9 -2
- package/dist/features/stores/components/StoresIndexPageView.d.ts +2 -3
- package/dist/features/stores/components/StoresIndexPageView.js +10 -11
- package/dist/features/stores/hooks/useStoreAddressSelector.d.ts +1 -1
- package/dist/features/stores/schemas/firestore.d.ts +27 -0
- package/dist/features/stores/schemas/firestore.js +2 -0
- package/dist/features/stores/schemas/index.d.ts +28 -28
- package/dist/features/support/schemas/index.d.ts +14 -14
- package/dist/features/support/schemas/ticket-create-form.d.ts +4 -4
- package/dist/features/tax-codes/schemas/tax-code-form.d.ts +4 -4
- package/dist/features/tax-codes/schemas/tax-codes.validators.d.ts +10 -10
- package/dist/features/tester/actions/checklist-item-actions.d.ts +3 -3
- package/dist/features/tester/components/AdminTesterFeedbackIssuesView.js +7 -1
- package/dist/features/tester/components/AdminTesterFeedbackListView.js +5 -1
- package/dist/features/tester/components/AdminTesterFeedbackReportView.js +2 -1
- package/dist/features/tester/components/AdminTesterFeedbackView.js +5 -1
- package/dist/features/tester/components/TesterChecklistStepRow.js +8 -1
- package/dist/features/tester/components/TesterFeedbackChart.js +3 -1
- package/dist/features/tester/schemas/checklist-item-form.d.ts +2 -2
- package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.js +8 -1
- package/dist/features/wishlist/components/WishlistCapWatcher.js +1 -1
- package/dist/features/wishlist/components/WishlistHeartButton.js +2 -1
- package/dist/features/wishlist/components/WishlistPage.js +5 -1
- package/dist/features/wishlist/components/WishlistView.js +3 -1
- package/dist/features/wishlist/hooks/useWishlistToggle.js +1 -1
- package/dist/features/wishlist/hooks/useWishlistWithGuest.d.ts +1 -1
- package/dist/features/wishlist/schemas/index.d.ts +2 -2
- package/dist/features/wishlist/utils/guest-wishlist.js +1 -5
- package/dist/index.d.ts +2496 -2452
- package/dist/index.js +1549 -1500
- package/dist/next/api/routeHandler.js +1 -1
- package/dist/providers/db-firebase/admin-app-lite.js +14 -2
- package/dist/providers/db-firebase/admin.js +8 -2
- package/dist/react/hooks/use-action-dispatch.d.ts +1 -1
- package/dist/react/hooks/use-action-dispatch.js +1 -1
- package/dist/react/hooks/useBrowsePageFlags.d.ts +26 -0
- package/dist/react/hooks/useBrowsePageFlags.js +18 -0
- package/dist/schemas/registry.d.ts +492 -487
- package/dist/schemas/sieve.d.ts +5 -5
- package/dist/schemas/webhooks/google-oauth.d.ts +4 -4
- package/dist/security/csp.d.ts +32 -2
- package/dist/security/csp.js +32 -2
- package/dist/server.d.ts +369 -362
- package/dist/server.js +355 -351
- package/dist/styles.css +1 -1
- package/dist/tailwind-utilities.css +1 -1
- package/dist/ui/components/Button.js +1 -1
- package/dist/ui/components/Chart.js +0 -1
- package/dist/ui/components/HorizontalScroller.js +27 -2
- package/dist/ui/components/Repeater.js +4 -1
- package/dist/ui/rich-text/RichText.js +1 -3
- package/dist/ui/rich-text/RichTextRenderer.js +1 -3
- package/dist/utils/browser-storage.d.ts +14 -0
- package/dist/utils/browser-storage.js +18 -0
- package/dist/utils/classnames.d.ts +19 -0
- package/dist/utils/classnames.js +21 -0
- package/dist/utils/search-params.d.ts +44 -0
- package/dist/utils/search-params.js +46 -0
- package/dist/utils/sieve-builder.d.ts +13 -0
- package/dist/utils/sieve-builder.js +22 -0
- package/dist/utils/string.formatter.d.ts +12 -0
- package/dist/utils/string.formatter.js +17 -0
- package/dist/validation/schemas.d.ts +26 -26
- package/package.json +90 -2
|
@@ -52,9 +52,9 @@ export declare const emiInstallmentSchema: z.ZodObject<{
|
|
|
52
52
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
53
53
|
}, z.ZodTypeAny, "passthrough">>]>>;
|
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
|
55
|
-
status: "
|
|
56
|
-
index: number;
|
|
55
|
+
status: "pending" | "paid" | "overdue";
|
|
57
56
|
amount: number;
|
|
57
|
+
index: number;
|
|
58
58
|
dueDate: string | Date | z.objectOutputType<{
|
|
59
59
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
60
60
|
}, z.ZodTypeAny, "passthrough">;
|
|
@@ -67,9 +67,9 @@ export declare const emiInstallmentSchema: z.ZodObject<{
|
|
|
67
67
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
68
68
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
69
69
|
}, {
|
|
70
|
-
status: "
|
|
71
|
-
index: number;
|
|
70
|
+
status: "pending" | "paid" | "overdue";
|
|
72
71
|
amount: number;
|
|
72
|
+
index: number;
|
|
73
73
|
dueDate: string | Date | z.objectInputType<{
|
|
74
74
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
75
75
|
}, z.ZodTypeAny, "passthrough">;
|
|
@@ -91,21 +91,21 @@ export declare const orderDocumentItemSchema: z.ZodObject<{
|
|
|
91
91
|
listingType: z.ZodOptional<z.ZodEnum<["standard", "auction", "pre-order", "prize-draw", "classified", "digital-code", "live"]>>;
|
|
92
92
|
prizeRevealStatus: z.ZodOptional<z.ZodEnum<["pending", "open", "closed", "revealed"]>>;
|
|
93
93
|
}, "strip", z.ZodTypeAny, {
|
|
94
|
-
quantity: number;
|
|
95
94
|
productId: string;
|
|
96
95
|
productTitle: string;
|
|
96
|
+
quantity: number;
|
|
97
97
|
unitPrice: number;
|
|
98
98
|
totalPrice: number;
|
|
99
|
-
listingType?: "
|
|
100
|
-
prizeRevealStatus?: "
|
|
99
|
+
listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
|
|
100
|
+
prizeRevealStatus?: "pending" | "open" | "closed" | "revealed" | undefined;
|
|
101
101
|
}, {
|
|
102
|
-
quantity: number;
|
|
103
102
|
productId: string;
|
|
104
103
|
productTitle: string;
|
|
104
|
+
quantity: number;
|
|
105
105
|
unitPrice: number;
|
|
106
106
|
totalPrice: number;
|
|
107
|
-
listingType?: "
|
|
108
|
-
prizeRevealStatus?: "
|
|
107
|
+
listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
|
|
108
|
+
prizeRevealStatus?: "pending" | "open" | "closed" | "revealed" | undefined;
|
|
109
109
|
}>;
|
|
110
110
|
/**
|
|
111
111
|
* Mirror of `OrderRefundEvent`.
|
|
@@ -164,8 +164,8 @@ export declare const orderRefundEventSchema: z.ZodObject<{
|
|
|
164
164
|
}, z.ZodTypeAny, "passthrough">;
|
|
165
165
|
refundedBy: string;
|
|
166
166
|
status?: "failed" | "processed" | "reserved" | undefined;
|
|
167
|
-
gateway?: string | undefined;
|
|
168
167
|
failureReason?: string | undefined;
|
|
168
|
+
gateway?: string | undefined;
|
|
169
169
|
itemIds?: string[] | undefined;
|
|
170
170
|
reasonCode?: string | undefined;
|
|
171
171
|
gatewayRefundId?: string | undefined;
|
|
@@ -190,8 +190,8 @@ export declare const orderRefundEventSchema: z.ZodObject<{
|
|
|
190
190
|
}, z.ZodTypeAny, "passthrough">;
|
|
191
191
|
refundedBy: string;
|
|
192
192
|
status?: "failed" | "processed" | "reserved" | undefined;
|
|
193
|
-
gateway?: string | undefined;
|
|
194
193
|
failureReason?: string | undefined;
|
|
194
|
+
gateway?: string | undefined;
|
|
195
195
|
itemIds?: string[] | undefined;
|
|
196
196
|
reasonCode?: string | undefined;
|
|
197
197
|
gatewayRefundId?: string | undefined;
|
|
@@ -218,15 +218,15 @@ export declare const appliedOrderDiscountSchema: z.ZodObject<{
|
|
|
218
218
|
code: string;
|
|
219
219
|
type: "auto" | "coupon" | "deal";
|
|
220
220
|
discountAmount: number;
|
|
221
|
-
scope?: "admin" | "seller" | undefined;
|
|
222
221
|
storeId?: string | undefined;
|
|
222
|
+
scope?: "seller" | "admin" | undefined;
|
|
223
223
|
couponId?: string | undefined;
|
|
224
224
|
}, {
|
|
225
225
|
code: string;
|
|
226
226
|
type: "auto" | "coupon" | "deal";
|
|
227
227
|
discountAmount: number;
|
|
228
|
-
scope?: "admin" | "seller" | undefined;
|
|
229
228
|
storeId?: string | undefined;
|
|
229
|
+
scope?: "seller" | "admin" | undefined;
|
|
230
230
|
couponId?: string | undefined;
|
|
231
231
|
}>;
|
|
232
232
|
export declare const prizeWonSchema: z.ZodObject<{
|
|
@@ -300,21 +300,21 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
300
300
|
listingType: z.ZodOptional<z.ZodEnum<["standard", "auction", "pre-order", "prize-draw", "classified", "digital-code", "live"]>>;
|
|
301
301
|
prizeRevealStatus: z.ZodOptional<z.ZodEnum<["pending", "open", "closed", "revealed"]>>;
|
|
302
302
|
}, "strip", z.ZodTypeAny, {
|
|
303
|
-
quantity: number;
|
|
304
303
|
productId: string;
|
|
305
304
|
productTitle: string;
|
|
305
|
+
quantity: number;
|
|
306
306
|
unitPrice: number;
|
|
307
307
|
totalPrice: number;
|
|
308
|
-
listingType?: "
|
|
309
|
-
prizeRevealStatus?: "
|
|
308
|
+
listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
|
|
309
|
+
prizeRevealStatus?: "pending" | "open" | "closed" | "revealed" | undefined;
|
|
310
310
|
}, {
|
|
311
|
-
quantity: number;
|
|
312
311
|
productId: string;
|
|
313
312
|
productTitle: string;
|
|
313
|
+
quantity: number;
|
|
314
314
|
unitPrice: number;
|
|
315
315
|
totalPrice: number;
|
|
316
|
-
listingType?: "
|
|
317
|
-
prizeRevealStatus?: "
|
|
316
|
+
listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
|
|
317
|
+
prizeRevealStatus?: "pending" | "open" | "closed" | "revealed" | undefined;
|
|
318
318
|
}>, "many">>;
|
|
319
319
|
orderType: z.ZodOptional<z.ZodString>;
|
|
320
320
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -376,15 +376,15 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
376
376
|
code: string;
|
|
377
377
|
type: "auto" | "coupon" | "deal";
|
|
378
378
|
discountAmount: number;
|
|
379
|
-
scope?: "admin" | "seller" | undefined;
|
|
380
379
|
storeId?: string | undefined;
|
|
380
|
+
scope?: "seller" | "admin" | undefined;
|
|
381
381
|
couponId?: string | undefined;
|
|
382
382
|
}, {
|
|
383
383
|
code: string;
|
|
384
384
|
type: "auto" | "coupon" | "deal";
|
|
385
385
|
discountAmount: number;
|
|
386
|
-
scope?: "admin" | "seller" | undefined;
|
|
387
386
|
storeId?: string | undefined;
|
|
387
|
+
scope?: "seller" | "admin" | undefined;
|
|
388
388
|
couponId?: string | undefined;
|
|
389
389
|
}>, "many">>;
|
|
390
390
|
platformFee: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
@@ -423,9 +423,9 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
423
423
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
424
424
|
}, z.ZodTypeAny, "passthrough">>]>>;
|
|
425
425
|
}, "strip", z.ZodTypeAny, {
|
|
426
|
-
status: "
|
|
427
|
-
index: number;
|
|
426
|
+
status: "pending" | "paid" | "overdue";
|
|
428
427
|
amount: number;
|
|
428
|
+
index: number;
|
|
429
429
|
dueDate: string | Date | z.objectOutputType<{
|
|
430
430
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
431
431
|
}, z.ZodTypeAny, "passthrough">;
|
|
@@ -438,9 +438,9 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
438
438
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
439
439
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
440
440
|
}, {
|
|
441
|
-
status: "
|
|
442
|
-
index: number;
|
|
441
|
+
status: "pending" | "paid" | "overdue";
|
|
443
442
|
amount: number;
|
|
443
|
+
index: number;
|
|
444
444
|
dueDate: string | Date | z.objectInputType<{
|
|
445
445
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
446
446
|
}, z.ZodTypeAny, "passthrough">;
|
|
@@ -537,8 +537,8 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
537
537
|
}, z.ZodTypeAny, "passthrough">;
|
|
538
538
|
refundedBy: string;
|
|
539
539
|
status?: "failed" | "processed" | "reserved" | undefined;
|
|
540
|
-
gateway?: string | undefined;
|
|
541
540
|
failureReason?: string | undefined;
|
|
541
|
+
gateway?: string | undefined;
|
|
542
542
|
itemIds?: string[] | undefined;
|
|
543
543
|
reasonCode?: string | undefined;
|
|
544
544
|
gatewayRefundId?: string | undefined;
|
|
@@ -563,8 +563,8 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
563
563
|
}, z.ZodTypeAny, "passthrough">;
|
|
564
564
|
refundedBy: string;
|
|
565
565
|
status?: "failed" | "processed" | "reserved" | undefined;
|
|
566
|
-
gateway?: string | undefined;
|
|
567
566
|
failureReason?: string | undefined;
|
|
567
|
+
gateway?: string | undefined;
|
|
568
568
|
itemIds?: string[] | undefined;
|
|
569
569
|
reasonCode?: string | undefined;
|
|
570
570
|
gatewayRefundId?: string | undefined;
|
|
@@ -625,7 +625,7 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
625
625
|
refundPending: z.ZodOptional<z.ZodBoolean>;
|
|
626
626
|
}, "strip", z.ZodTypeAny, {
|
|
627
627
|
currency: string;
|
|
628
|
-
status: "
|
|
628
|
+
status: "cancelled" | "pending" | "confirmed" | "processing" | "shipped" | "delivered" | "returned" | "return_requested" | "refunded";
|
|
629
629
|
id: string;
|
|
630
630
|
createdAt: string | Date | z.objectOutputType<{
|
|
631
631
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
@@ -633,21 +633,20 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
633
633
|
updatedAt: string | Date | z.objectOutputType<{
|
|
634
634
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
635
635
|
}, z.ZodTypeAny, "passthrough">;
|
|
636
|
-
quantity: number;
|
|
637
636
|
productId: string;
|
|
638
637
|
productTitle: string;
|
|
639
638
|
userId: string;
|
|
640
639
|
userName: string;
|
|
641
640
|
userEmail: string;
|
|
641
|
+
quantity: number;
|
|
642
642
|
unitPrice: number;
|
|
643
643
|
totalPrice: number;
|
|
644
|
-
paymentStatus: "
|
|
644
|
+
paymentStatus: "pending" | "processing" | "refunded" | "paid" | "failed" | "partial_refund";
|
|
645
645
|
orderDate: string | Date | z.objectOutputType<{
|
|
646
646
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
647
647
|
}, z.ZodTypeAny, "passthrough">;
|
|
648
|
-
storeName?: string | undefined;
|
|
649
648
|
storeId?: string | undefined;
|
|
650
|
-
prizeRevealMode?: "
|
|
649
|
+
prizeRevealMode?: "instant" | "scheduled" | undefined;
|
|
651
650
|
paymentId?: string | undefined;
|
|
652
651
|
paymentMethod?: string | undefined;
|
|
653
652
|
shippingAddress?: string | undefined;
|
|
@@ -664,7 +663,7 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
664
663
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
665
664
|
cancellationReason?: string | undefined;
|
|
666
665
|
refundAmount?: number | undefined;
|
|
667
|
-
refundStatus?: "pending" | "
|
|
666
|
+
refundStatus?: "pending" | "processing" | "rejected" | "completed" | undefined;
|
|
668
667
|
platformFee?: number | undefined;
|
|
669
668
|
depositAmount?: number | undefined;
|
|
670
669
|
codRemainingAmount?: number | undefined;
|
|
@@ -675,13 +674,13 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
675
674
|
shippingCarrier?: string | undefined;
|
|
676
675
|
trackingUrl?: string | undefined;
|
|
677
676
|
items?: {
|
|
678
|
-
quantity: number;
|
|
679
677
|
productId: string;
|
|
680
678
|
productTitle: string;
|
|
679
|
+
quantity: number;
|
|
681
680
|
unitPrice: number;
|
|
682
681
|
totalPrice: number;
|
|
683
|
-
listingType?: "
|
|
684
|
-
prizeRevealStatus?: "
|
|
682
|
+
listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
|
|
683
|
+
prizeRevealStatus?: "pending" | "open" | "closed" | "revealed" | undefined;
|
|
685
684
|
}[] | undefined;
|
|
686
685
|
bundleId?: string | undefined;
|
|
687
686
|
orderType?: string | undefined;
|
|
@@ -694,6 +693,7 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
694
693
|
}, z.ZodTypeAny, "passthrough">;
|
|
695
694
|
} | undefined;
|
|
696
695
|
prizeDrawProductId?: string | undefined;
|
|
696
|
+
storeName?: string | undefined;
|
|
697
697
|
couponCode?: string | undefined;
|
|
698
698
|
physicalLocation?: {
|
|
699
699
|
zone: string;
|
|
@@ -711,8 +711,8 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
711
711
|
code: string;
|
|
712
712
|
type: "auto" | "coupon" | "deal";
|
|
713
713
|
discountAmount: number;
|
|
714
|
-
scope?: "admin" | "seller" | undefined;
|
|
715
714
|
storeId?: string | undefined;
|
|
715
|
+
scope?: "seller" | "admin" | undefined;
|
|
716
716
|
couponId?: string | undefined;
|
|
717
717
|
}[] | undefined;
|
|
718
718
|
codHandlingFee?: number | undefined;
|
|
@@ -721,9 +721,9 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
721
721
|
emiTokenAmount?: number | undefined;
|
|
722
722
|
emiSurchargeAmount?: number | undefined;
|
|
723
723
|
emiInstallments?: {
|
|
724
|
-
status: "
|
|
725
|
-
index: number;
|
|
724
|
+
status: "pending" | "paid" | "overdue";
|
|
726
725
|
amount: number;
|
|
726
|
+
index: number;
|
|
727
727
|
dueDate: string | Date | z.objectOutputType<{
|
|
728
728
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
729
729
|
}, z.ZodTypeAny, "passthrough">;
|
|
@@ -749,8 +749,8 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
749
749
|
}, z.ZodTypeAny, "passthrough">;
|
|
750
750
|
refundedBy: string;
|
|
751
751
|
status?: "failed" | "processed" | "reserved" | undefined;
|
|
752
|
-
gateway?: string | undefined;
|
|
753
752
|
failureReason?: string | undefined;
|
|
753
|
+
gateway?: string | undefined;
|
|
754
754
|
itemIds?: string[] | undefined;
|
|
755
755
|
reasonCode?: string | undefined;
|
|
756
756
|
gatewayRefundId?: string | undefined;
|
|
@@ -784,7 +784,7 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
784
784
|
refundPending?: boolean | undefined;
|
|
785
785
|
}, {
|
|
786
786
|
currency: string;
|
|
787
|
-
status: "
|
|
787
|
+
status: "cancelled" | "pending" | "confirmed" | "processing" | "shipped" | "delivered" | "returned" | "return_requested" | "refunded";
|
|
788
788
|
id: string;
|
|
789
789
|
createdAt: string | Date | z.objectInputType<{
|
|
790
790
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
@@ -792,21 +792,20 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
792
792
|
updatedAt: string | Date | z.objectInputType<{
|
|
793
793
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
794
794
|
}, z.ZodTypeAny, "passthrough">;
|
|
795
|
-
quantity: number;
|
|
796
795
|
productId: string;
|
|
797
796
|
productTitle: string;
|
|
798
797
|
userId: string;
|
|
799
798
|
userName: string;
|
|
800
799
|
userEmail: string;
|
|
800
|
+
quantity: number;
|
|
801
801
|
unitPrice: number;
|
|
802
802
|
totalPrice: number;
|
|
803
|
-
paymentStatus: "
|
|
803
|
+
paymentStatus: "pending" | "processing" | "refunded" | "paid" | "failed" | "partial_refund";
|
|
804
804
|
orderDate: string | Date | z.objectInputType<{
|
|
805
805
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
806
806
|
}, z.ZodTypeAny, "passthrough">;
|
|
807
|
-
storeName?: string | undefined;
|
|
808
807
|
storeId?: string | undefined;
|
|
809
|
-
prizeRevealMode?: "
|
|
808
|
+
prizeRevealMode?: "instant" | "scheduled" | undefined;
|
|
810
809
|
paymentId?: string | undefined;
|
|
811
810
|
paymentMethod?: string | undefined;
|
|
812
811
|
shippingAddress?: string | undefined;
|
|
@@ -823,7 +822,7 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
823
822
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
824
823
|
cancellationReason?: string | undefined;
|
|
825
824
|
refundAmount?: number | undefined;
|
|
826
|
-
refundStatus?: "pending" | "
|
|
825
|
+
refundStatus?: "pending" | "processing" | "rejected" | "completed" | undefined;
|
|
827
826
|
platformFee?: number | undefined;
|
|
828
827
|
depositAmount?: number | undefined;
|
|
829
828
|
codRemainingAmount?: number | undefined;
|
|
@@ -834,13 +833,13 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
834
833
|
shippingCarrier?: string | undefined;
|
|
835
834
|
trackingUrl?: string | undefined;
|
|
836
835
|
items?: {
|
|
837
|
-
quantity: number;
|
|
838
836
|
productId: string;
|
|
839
837
|
productTitle: string;
|
|
838
|
+
quantity: number;
|
|
840
839
|
unitPrice: number;
|
|
841
840
|
totalPrice: number;
|
|
842
|
-
listingType?: "
|
|
843
|
-
prizeRevealStatus?: "
|
|
841
|
+
listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
|
|
842
|
+
prizeRevealStatus?: "pending" | "open" | "closed" | "revealed" | undefined;
|
|
844
843
|
}[] | undefined;
|
|
845
844
|
bundleId?: string | undefined;
|
|
846
845
|
orderType?: string | undefined;
|
|
@@ -853,6 +852,7 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
853
852
|
}, z.ZodTypeAny, "passthrough">;
|
|
854
853
|
} | undefined;
|
|
855
854
|
prizeDrawProductId?: string | undefined;
|
|
855
|
+
storeName?: string | undefined;
|
|
856
856
|
couponCode?: string | undefined;
|
|
857
857
|
physicalLocation?: {
|
|
858
858
|
zone: string;
|
|
@@ -870,8 +870,8 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
870
870
|
code: string;
|
|
871
871
|
type: "auto" | "coupon" | "deal";
|
|
872
872
|
discountAmount: number;
|
|
873
|
-
scope?: "admin" | "seller" | undefined;
|
|
874
873
|
storeId?: string | undefined;
|
|
874
|
+
scope?: "seller" | "admin" | undefined;
|
|
875
875
|
couponId?: string | undefined;
|
|
876
876
|
}[] | undefined;
|
|
877
877
|
codHandlingFee?: number | undefined;
|
|
@@ -880,9 +880,9 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
880
880
|
emiTokenAmount?: number | undefined;
|
|
881
881
|
emiSurchargeAmount?: number | undefined;
|
|
882
882
|
emiInstallments?: {
|
|
883
|
-
status: "
|
|
884
|
-
index: number;
|
|
883
|
+
status: "pending" | "paid" | "overdue";
|
|
885
884
|
amount: number;
|
|
885
|
+
index: number;
|
|
886
886
|
dueDate: string | Date | z.objectInputType<{
|
|
887
887
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
888
888
|
}, z.ZodTypeAny, "passthrough">;
|
|
@@ -908,8 +908,8 @@ export declare const orderFirestoreSchema: z.ZodObject<{
|
|
|
908
908
|
}, z.ZodTypeAny, "passthrough">;
|
|
909
909
|
refundedBy: string;
|
|
910
910
|
status?: "failed" | "processed" | "reserved" | undefined;
|
|
911
|
-
gateway?: string | undefined;
|
|
912
911
|
failureReason?: string | undefined;
|
|
912
|
+
gateway?: string | undefined;
|
|
913
913
|
itemIds?: string[] | undefined;
|
|
914
914
|
reasonCode?: string | undefined;
|
|
915
915
|
gatewayRefundId?: string | undefined;
|
|
@@ -956,8 +956,8 @@ export declare const orderItemSchema: z.ZodObject<{
|
|
|
956
956
|
}, "strip", z.ZodTypeAny, {
|
|
957
957
|
title: string;
|
|
958
958
|
price: number;
|
|
959
|
-
quantity: number;
|
|
960
959
|
productId: string;
|
|
960
|
+
quantity: number;
|
|
961
961
|
currency?: string | undefined;
|
|
962
962
|
image?: string | undefined;
|
|
963
963
|
storeId?: string | undefined;
|
|
@@ -965,8 +965,8 @@ export declare const orderItemSchema: z.ZodObject<{
|
|
|
965
965
|
}, {
|
|
966
966
|
title: string;
|
|
967
967
|
price: number;
|
|
968
|
-
quantity: number;
|
|
969
968
|
productId: string;
|
|
969
|
+
quantity: number;
|
|
970
970
|
currency?: string | undefined;
|
|
971
971
|
image?: string | undefined;
|
|
972
972
|
storeId?: string | undefined;
|
|
@@ -978,12 +978,12 @@ export declare const orderTimelineSchema: z.ZodObject<{
|
|
|
978
978
|
timestamp: z.ZodString;
|
|
979
979
|
actor: z.ZodOptional<z.ZodString>;
|
|
980
980
|
}, "strip", z.ZodTypeAny, {
|
|
981
|
-
status: "
|
|
981
|
+
status: "cancelled" | "pending" | "confirmed" | "processing" | "shipped" | "delivered" | "returned" | "return_requested" | "refunded";
|
|
982
982
|
timestamp: string;
|
|
983
983
|
message?: string | undefined;
|
|
984
984
|
actor?: string | undefined;
|
|
985
985
|
}, {
|
|
986
|
-
status: "
|
|
986
|
+
status: "cancelled" | "pending" | "confirmed" | "processing" | "shipped" | "delivered" | "returned" | "return_requested" | "refunded";
|
|
987
987
|
timestamp: string;
|
|
988
988
|
message?: string | undefined;
|
|
989
989
|
actor?: string | undefined;
|
|
@@ -1016,8 +1016,8 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
1016
1016
|
}, "strip", z.ZodTypeAny, {
|
|
1017
1017
|
title: string;
|
|
1018
1018
|
price: number;
|
|
1019
|
-
quantity: number;
|
|
1020
1019
|
productId: string;
|
|
1020
|
+
quantity: number;
|
|
1021
1021
|
currency?: string | undefined;
|
|
1022
1022
|
image?: string | undefined;
|
|
1023
1023
|
storeId?: string | undefined;
|
|
@@ -1025,8 +1025,8 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
1025
1025
|
}, {
|
|
1026
1026
|
title: string;
|
|
1027
1027
|
price: number;
|
|
1028
|
-
quantity: number;
|
|
1029
1028
|
productId: string;
|
|
1029
|
+
quantity: number;
|
|
1030
1030
|
currency?: string | undefined;
|
|
1031
1031
|
image?: string | undefined;
|
|
1032
1032
|
storeId?: string | undefined;
|
|
@@ -1052,12 +1052,12 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
1052
1052
|
timestamp: z.ZodString;
|
|
1053
1053
|
actor: z.ZodOptional<z.ZodString>;
|
|
1054
1054
|
}, "strip", z.ZodTypeAny, {
|
|
1055
|
-
status: "
|
|
1055
|
+
status: "cancelled" | "pending" | "confirmed" | "processing" | "shipped" | "delivered" | "returned" | "return_requested" | "refunded";
|
|
1056
1056
|
timestamp: string;
|
|
1057
1057
|
message?: string | undefined;
|
|
1058
1058
|
actor?: string | undefined;
|
|
1059
1059
|
}, {
|
|
1060
|
-
status: "
|
|
1060
|
+
status: "cancelled" | "pending" | "confirmed" | "processing" | "shipped" | "delivered" | "returned" | "return_requested" | "refunded";
|
|
1061
1061
|
timestamp: string;
|
|
1062
1062
|
message?: string | undefined;
|
|
1063
1063
|
actor?: string | undefined;
|
|
@@ -1067,24 +1067,24 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
1067
1067
|
}, "strip", z.ZodTypeAny, {
|
|
1068
1068
|
currency: string;
|
|
1069
1069
|
id: string;
|
|
1070
|
-
address: {} & {
|
|
1071
|
-
[k: string]: unknown;
|
|
1072
|
-
};
|
|
1073
|
-
total: number;
|
|
1074
1070
|
userId: string;
|
|
1075
1071
|
paymentStatus: string;
|
|
1076
1072
|
items: {
|
|
1077
1073
|
title: string;
|
|
1078
1074
|
price: number;
|
|
1079
|
-
quantity: number;
|
|
1080
1075
|
productId: string;
|
|
1076
|
+
quantity: number;
|
|
1081
1077
|
currency?: string | undefined;
|
|
1082
1078
|
image?: string | undefined;
|
|
1083
1079
|
storeId?: string | undefined;
|
|
1084
1080
|
attributes?: Record<string, string> | undefined;
|
|
1085
1081
|
}[];
|
|
1082
|
+
address: {} & {
|
|
1083
|
+
[k: string]: unknown;
|
|
1084
|
+
};
|
|
1085
|
+
total: number;
|
|
1086
1086
|
subtotal: number;
|
|
1087
|
-
orderStatus: "
|
|
1087
|
+
orderStatus: "cancelled" | "pending" | "confirmed" | "processing" | "shipped" | "delivered" | "returned" | "return_requested" | "refunded";
|
|
1088
1088
|
createdAt?: string | undefined;
|
|
1089
1089
|
updatedAt?: string | undefined;
|
|
1090
1090
|
trackingNumber?: string | undefined;
|
|
@@ -1092,36 +1092,36 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
1092
1092
|
shippingCarrier?: string | undefined;
|
|
1093
1093
|
couponCode?: string | undefined;
|
|
1094
1094
|
discount?: number | undefined;
|
|
1095
|
+
paymentGateway?: string | undefined;
|
|
1096
|
+
shippingCost?: number | undefined;
|
|
1097
|
+
tax?: number | undefined;
|
|
1095
1098
|
timeline?: {
|
|
1096
|
-
status: "
|
|
1099
|
+
status: "cancelled" | "pending" | "confirmed" | "processing" | "shipped" | "delivered" | "returned" | "return_requested" | "refunded";
|
|
1097
1100
|
timestamp: string;
|
|
1098
1101
|
message?: string | undefined;
|
|
1099
1102
|
actor?: string | undefined;
|
|
1100
1103
|
}[] | undefined;
|
|
1101
|
-
tax?: number | undefined;
|
|
1102
|
-
paymentGateway?: string | undefined;
|
|
1103
|
-
shippingCost?: number | undefined;
|
|
1104
1104
|
}, {
|
|
1105
1105
|
currency: string;
|
|
1106
1106
|
id: string;
|
|
1107
|
-
address: {} & {
|
|
1108
|
-
[k: string]: unknown;
|
|
1109
|
-
};
|
|
1110
|
-
total: number;
|
|
1111
1107
|
userId: string;
|
|
1112
1108
|
paymentStatus: string;
|
|
1113
1109
|
items: {
|
|
1114
1110
|
title: string;
|
|
1115
1111
|
price: number;
|
|
1116
|
-
quantity: number;
|
|
1117
1112
|
productId: string;
|
|
1113
|
+
quantity: number;
|
|
1118
1114
|
currency?: string | undefined;
|
|
1119
1115
|
image?: string | undefined;
|
|
1120
1116
|
storeId?: string | undefined;
|
|
1121
1117
|
attributes?: Record<string, string> | undefined;
|
|
1122
1118
|
}[];
|
|
1119
|
+
address: {} & {
|
|
1120
|
+
[k: string]: unknown;
|
|
1121
|
+
};
|
|
1122
|
+
total: number;
|
|
1123
1123
|
subtotal: number;
|
|
1124
|
-
orderStatus: "
|
|
1124
|
+
orderStatus: "cancelled" | "pending" | "confirmed" | "processing" | "shipped" | "delivered" | "returned" | "return_requested" | "refunded";
|
|
1125
1125
|
createdAt?: string | undefined;
|
|
1126
1126
|
updatedAt?: string | undefined;
|
|
1127
1127
|
trackingNumber?: string | undefined;
|
|
@@ -1129,15 +1129,15 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
1129
1129
|
shippingCarrier?: string | undefined;
|
|
1130
1130
|
couponCode?: string | undefined;
|
|
1131
1131
|
discount?: number | undefined;
|
|
1132
|
+
paymentGateway?: string | undefined;
|
|
1133
|
+
shippingCost?: number | undefined;
|
|
1134
|
+
tax?: number | undefined;
|
|
1132
1135
|
timeline?: {
|
|
1133
|
-
status: "
|
|
1136
|
+
status: "cancelled" | "pending" | "confirmed" | "processing" | "shipped" | "delivered" | "returned" | "return_requested" | "refunded";
|
|
1134
1137
|
timestamp: string;
|
|
1135
1138
|
message?: string | undefined;
|
|
1136
1139
|
actor?: string | undefined;
|
|
1137
1140
|
}[] | undefined;
|
|
1138
|
-
tax?: number | undefined;
|
|
1139
|
-
paymentGateway?: string | undefined;
|
|
1140
|
-
shippingCost?: number | undefined;
|
|
1141
1141
|
}>;
|
|
1142
1142
|
/** Base schema for list-query parameters. */
|
|
1143
1143
|
export declare const orderListParamsSchema: z.ZodObject<{
|
|
@@ -1149,16 +1149,16 @@ export declare const orderListParamsSchema: z.ZodObject<{
|
|
|
1149
1149
|
perPage: z.ZodOptional<z.ZodNumber>;
|
|
1150
1150
|
}, "strip", z.ZodTypeAny, {
|
|
1151
1151
|
sort?: string | undefined;
|
|
1152
|
-
page?: number | undefined;
|
|
1153
1152
|
userId?: string | undefined;
|
|
1154
1153
|
paymentStatus?: string | undefined;
|
|
1154
|
+
page?: number | undefined;
|
|
1155
1155
|
perPage?: number | undefined;
|
|
1156
|
-
orderStatus?: "
|
|
1156
|
+
orderStatus?: "cancelled" | "pending" | "confirmed" | "processing" | "shipped" | "delivered" | "returned" | "return_requested" | "refunded" | undefined;
|
|
1157
1157
|
}, {
|
|
1158
1158
|
sort?: string | undefined;
|
|
1159
|
-
page?: number | undefined;
|
|
1160
1159
|
userId?: string | undefined;
|
|
1161
1160
|
paymentStatus?: string | undefined;
|
|
1161
|
+
page?: number | undefined;
|
|
1162
1162
|
perPage?: number | undefined;
|
|
1163
|
-
orderStatus?: "
|
|
1163
|
+
orderStatus?: "cancelled" | "pending" | "confirmed" | "processing" | "shipped" | "delivered" | "returned" | "return_requested" | "refunded" | undefined;
|
|
1164
1164
|
}>;
|
|
@@ -45,7 +45,14 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
45
45
|
* build that consumed the wrong parts.
|
|
46
46
|
*/
|
|
47
47
|
import React from "react";
|
|
48
|
-
import { SideDrawer
|
|
48
|
+
import { SideDrawer } from "../../../ui/components/SideDrawer.js";
|
|
49
|
+
import { Stack, Row } from "../../../ui/components/Layout.js";
|
|
50
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
51
|
+
import { Heading, Text } from "../../../ui/components/Typography.js";
|
|
52
|
+
import { Button } from "../../../ui/components/Button.js";
|
|
53
|
+
import { Badge } from "../../../ui/components/Badge.js";
|
|
54
|
+
import { FieldInput } from "../../../ui/forms/FieldInput.js";
|
|
55
|
+
import { FieldSelect } from "../../../ui/forms/FieldSelect.js";
|
|
49
56
|
import { SectionForm } from "../../shell/SectionForm.js";
|
|
50
57
|
import { PART_SLOT_LABEL } from "../schemas/firestore.js";
|
|
51
58
|
import { normalizeError } from "../../../errors/normalize.js";
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Stack, Row
|
|
2
|
+
import { Stack, Row } from "../../../ui/components/Layout.js";
|
|
3
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
4
|
+
import { Heading, Text, Span } from "../../../ui/components/Typography.js";
|
|
5
|
+
import { TextLink } from "../../../ui/components/TextLink.js";
|
|
6
|
+
import { Badge } from "../../../ui/components/Badge.js";
|
|
3
7
|
import { PART_SLOT_LABEL, } from "../schemas/firestore.js";
|
|
4
8
|
/** `performance-tip--rf` → `rf`. The id's tail IS the URL segment. */
|
|
5
9
|
function tailOf(partId) {
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Section
|
|
2
|
+
import { Section } from "../../../ui/components/Semantic.js";
|
|
3
|
+
import { Container, Stack, Row } from "../../../ui/components/Layout.js";
|
|
4
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
5
|
+
import { Heading, Text, Span } from "../../../ui/components/Typography.js";
|
|
6
|
+
import { TextLink } from "../../../ui/components/TextLink.js";
|
|
7
|
+
import { Badge } from "../../../ui/components/Badge.js";
|
|
8
|
+
import { Anchor } from "../../../ui/components/Anchor.js";
|
|
3
9
|
import { SpecTable } from "../../../ui/components/SpecTable.js";
|
|
4
10
|
import { RecordOwnerQuickActions } from "../../admin/components/RecordOwnerQuickActions.js";
|
|
5
11
|
import { ROUTES } from "../../../next/routing/route-map.js";
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Section
|
|
2
|
+
import { Section } from "../../../ui/components/Semantic.js";
|
|
3
|
+
import { Container, Stack, Row, Grid } from "../../../ui/components/Layout.js";
|
|
4
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
5
|
+
import { Heading, Text, Span } from "../../../ui/components/Typography.js";
|
|
6
|
+
import { TextLink } from "../../../ui/components/TextLink.js";
|
|
7
|
+
import { Badge } from "../../../ui/components/Badge.js";
|
|
3
8
|
import { ALL_PART_SLOTS, PART_SLOT_LABEL, } from "../schemas/firestore.js";
|
|
4
9
|
/*
|
|
5
10
|
* 🛑 Rendered as JSX from a Server Component, which is the normal RSC
|
|
@@ -33,7 +33,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
33
33
|
* @tag sideEffects:network
|
|
34
34
|
*/
|
|
35
35
|
import React from "react";
|
|
36
|
-
import { Div
|
|
36
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
37
|
+
import { Input } from "../../../ui/components/Input.js";
|
|
38
|
+
import { Stack } from "../../../ui/components/Layout.js";
|
|
39
|
+
import { Text } from "../../../ui/components/Typography.js";
|
|
40
|
+
import { TextLink } from "../../../ui/components/TextLink.js";
|
|
37
41
|
import { useSiteSearch } from "../../search/hooks/useSiteSearch.js";
|
|
38
42
|
import { useUrlTable } from "../../../react/hooks/useUrlTable.js";
|
|
39
43
|
import { TABLE_KEYS } from "../../../constants/table-keys.js";
|