@mohasinac/appkit 4.65.0 → 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 +2 -2
- 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/seo/sitemap.js +2 -2
- 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/sticker-trace/promote-to-listings.js +1 -1
- package/dist/_internal/server/features/stores/data.js +1 -1
- 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/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/cleanupRtdbEvents.js +1 -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 +1 -1
- 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/client.d.ts +221 -116
- package/dist/client.js +140 -73
- 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/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/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/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 -2
- 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 -1
- 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 +6 -1
- 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 +1 -1
- 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 +2 -2
- 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.js +2 -1
- 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-ops-forms.d.ts +8 -8
- package/dist/features/admin/schemas/admin-user-form.d.ts +8 -8
- 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/components/AuctionBidsTable.js +6 -1
- package/dist/features/auctions/components/AuctionBottomActions.js +1 -1
- package/dist/features/auctions/components/AuctionDetailPageView.js +11 -2
- 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/schemas/index.d.ts +2 -2
- 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/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.js +3 -1
- 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/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/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/schemas/validation.d.ts +12 -12
- package/dist/features/catalogue/utils/product-from-item.js +1 -1
- 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.js +4 -2
- package/dist/features/categories/components/CategoriesIndexListing.js +8 -1
- package/dist/features/categories/components/CategoriesIndexPageView.js +3 -1
- 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/schemas/bundle-form.d.ts +22 -22
- package/dist/features/categories/schemas/index.d.ts +100 -100
- package/dist/features/checkout/components/CheckoutStepper.js +3 -1
- package/dist/features/classified/components/ClassifiedDetailPageView.js +7 -1
- package/dist/features/classified/components/ClassifiedFilters.js +3 -1
- package/dist/features/collections/components/CollectionCard.js +4 -1
- package/dist/features/collections/schemas/index.d.ts +9 -9
- 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/corporate/components/CorporateInquiryForm.js +3 -1
- package/dist/features/dashboard/components/DashboardHubView.js +7 -1
- package/dist/features/digital-codes/components/DigitalCodeDetailPageView.js +7 -1
- 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 +13 -2
- 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.js +3 -1
- 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/schemas/index.d.ts +14 -14
- package/dist/features/filters/AsyncFacetSection.js +6 -1
- package/dist/features/filters/FilterFacetSection.js +6 -1
- package/dist/features/filters/FilterPanel.js +1 -1
- package/dist/features/filters/RangeFilter.js +6 -1
- package/dist/features/filters/SwitchFilter.js +5 -1
- package/dist/features/forms/Checkbox.js +3 -1
- package/dist/features/forms/Input.js +2 -1
- package/dist/features/forms/Radio.js +3 -1
- package/dist/features/forms/Select.js +2 -1
- package/dist/features/forms/Slider.js +3 -1
- package/dist/features/forms/Textarea.js +3 -1
- package/dist/features/forms/Toggle.js +3 -1
- 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 +2 -2
- package/dist/features/grouped/schemas/index.d.ts +6 -6
- package/dist/features/history/hooks/useHistory.js +1 -1
- 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 +6 -1
- package/dist/features/homepage/components/CustomerReviewsSection.js +5 -1
- package/dist/features/homepage/components/FAQSection.js +8 -1
- package/dist/features/homepage/components/FeaturedBundlesSection.js +3 -1
- 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/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.js +2 -1
- 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/live/components/LiveItemDetailPageView.js +7 -1
- 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/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/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/RefundHistoryTable.js +4 -1
- package/dist/features/orders/components/RefundRequestView.js +1 -1
- 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/payments/schemas/index.d.ts +10 -10
- package/dist/features/points/schemas/adjust-form.d.ts +2 -2
- 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 +9 -2
- 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/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 -1
- 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 +8 -1
- package/dist/features/products/components/GroupSettingsPanel.js +12 -1
- 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 +6 -1
- package/dist/features/products/components/PrizeDrawEntryActions.js +7 -1
- 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 +10 -2
- 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/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/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.js +3 -1
- 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/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/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/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/components/InteractiveStoreCard.js +6 -1
- 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 +6 -1
- 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.js +4 -2
- package/dist/features/stores/hooks/useStoreAddressSelector.d.ts +1 -1
- 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/index.d.ts +2494 -2451
- package/dist/index.js +1542 -1499
- package/dist/next/api/routeHandler.js +1 -1
- package/dist/react/hooks/use-action-dispatch.d.ts +1 -1
- package/dist/react/hooks/use-action-dispatch.js +1 -1
- package/dist/schemas/registry.d.ts +488 -483
- package/dist/schemas/sieve.d.ts +5 -5
- package/dist/schemas/webhooks/google-oauth.d.ts +4 -4
- package/dist/server.d.ts +369 -362
- package/dist/server.js +355 -351
- package/dist/ui/components/HorizontalScroller.js +27 -2
- package/dist/ui/components/Repeater.js +4 -1
- package/dist/validation/schemas.d.ts +26 -26
- package/package.json +89 -1
|
@@ -7,12 +7,12 @@ export declare const discountConfigSchema: z.ZodObject<{
|
|
|
7
7
|
minPurchase: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
value: number;
|
|
10
|
-
minPurchase?: number | undefined;
|
|
11
10
|
maxDiscount?: number | undefined;
|
|
11
|
+
minPurchase?: number | undefined;
|
|
12
12
|
}, {
|
|
13
13
|
value: number;
|
|
14
|
-
minPurchase?: number | undefined;
|
|
15
14
|
maxDiscount?: number | undefined;
|
|
15
|
+
minPurchase?: number | undefined;
|
|
16
16
|
}>;
|
|
17
17
|
export declare const bxgyConfigSchema: z.ZodObject<{
|
|
18
18
|
buyQuantity: z.ZodNumber;
|
|
@@ -37,11 +37,11 @@ export declare const tieredDiscountSchema: z.ZodObject<{
|
|
|
37
37
|
minAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
38
38
|
discountValue: z.ZodNumber;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
minAmount: number;
|
|
41
40
|
discountValue: number;
|
|
42
|
-
}, {
|
|
43
41
|
minAmount: number;
|
|
42
|
+
}, {
|
|
44
43
|
discountValue: number;
|
|
44
|
+
minAmount: number;
|
|
45
45
|
}>;
|
|
46
46
|
export declare const usageConfigSchema: z.ZodObject<{
|
|
47
47
|
totalLimit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -153,12 +153,12 @@ export declare const couponFirestoreSchema: z.ZodObject<{
|
|
|
153
153
|
minPurchase: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
154
154
|
}, "strip", z.ZodTypeAny, {
|
|
155
155
|
value: number;
|
|
156
|
-
minPurchase?: number | undefined;
|
|
157
156
|
maxDiscount?: number | undefined;
|
|
157
|
+
minPurchase?: number | undefined;
|
|
158
158
|
}, {
|
|
159
159
|
value: number;
|
|
160
|
-
minPurchase?: number | undefined;
|
|
161
160
|
maxDiscount?: number | undefined;
|
|
161
|
+
minPurchase?: number | undefined;
|
|
162
162
|
}>;
|
|
163
163
|
bxgy: z.ZodOptional<z.ZodObject<{
|
|
164
164
|
buyQuantity: z.ZodNumber;
|
|
@@ -183,11 +183,11 @@ export declare const couponFirestoreSchema: z.ZodObject<{
|
|
|
183
183
|
minAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
184
184
|
discountValue: z.ZodNumber;
|
|
185
185
|
}, "strip", z.ZodTypeAny, {
|
|
186
|
-
minAmount: number;
|
|
187
186
|
discountValue: number;
|
|
188
|
-
}, {
|
|
189
187
|
minAmount: number;
|
|
188
|
+
}, {
|
|
190
189
|
discountValue: number;
|
|
190
|
+
minAmount: number;
|
|
191
191
|
}>, "many">>;
|
|
192
192
|
usage: z.ZodObject<{
|
|
193
193
|
totalLimit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -273,10 +273,9 @@ export declare const couponFirestoreSchema: z.ZodObject<{
|
|
|
273
273
|
}>;
|
|
274
274
|
}, "strip", z.ZodTypeAny, {
|
|
275
275
|
code: string;
|
|
276
|
-
type: "
|
|
276
|
+
type: "percentage" | "fixed" | "free_shipping" | "buy_x_get_y";
|
|
277
277
|
id: string;
|
|
278
|
-
|
|
279
|
-
name: string;
|
|
278
|
+
description: string;
|
|
280
279
|
createdAt: string | Date | z.objectOutputType<{
|
|
281
280
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
282
281
|
}, z.ZodTypeAny, "passthrough">;
|
|
@@ -284,16 +283,17 @@ export declare const couponFirestoreSchema: z.ZodObject<{
|
|
|
284
283
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
285
284
|
}, z.ZodTypeAny, "passthrough">;
|
|
286
285
|
createdBy: string;
|
|
287
|
-
description: string;
|
|
288
286
|
stats: {
|
|
289
287
|
totalUses: number;
|
|
290
288
|
totalRevenue: number;
|
|
291
289
|
totalDiscount: number;
|
|
292
290
|
};
|
|
291
|
+
name: string;
|
|
292
|
+
scope: "seller" | "admin";
|
|
293
293
|
discount: {
|
|
294
294
|
value: number;
|
|
295
|
-
minPurchase?: number | undefined;
|
|
296
295
|
maxDiscount?: number | undefined;
|
|
296
|
+
minPurchase?: number | undefined;
|
|
297
297
|
};
|
|
298
298
|
usage: {
|
|
299
299
|
currentUsage: number;
|
|
@@ -327,15 +327,14 @@ export declare const couponFirestoreSchema: z.ZodObject<{
|
|
|
327
327
|
applicableCategories?: string[] | undefined;
|
|
328
328
|
} | undefined;
|
|
329
329
|
tiers?: {
|
|
330
|
-
minAmount: number;
|
|
331
330
|
discountValue: number;
|
|
331
|
+
minAmount: number;
|
|
332
332
|
}[] | undefined;
|
|
333
333
|
}, {
|
|
334
334
|
code: string;
|
|
335
|
-
type: "
|
|
335
|
+
type: "percentage" | "fixed" | "free_shipping" | "buy_x_get_y";
|
|
336
336
|
id: string;
|
|
337
|
-
|
|
338
|
-
name: string;
|
|
337
|
+
description: string;
|
|
339
338
|
createdAt: string | Date | z.objectInputType<{
|
|
340
339
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
341
340
|
}, z.ZodTypeAny, "passthrough">;
|
|
@@ -343,16 +342,17 @@ export declare const couponFirestoreSchema: z.ZodObject<{
|
|
|
343
342
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
344
343
|
}, z.ZodTypeAny, "passthrough">;
|
|
345
344
|
createdBy: string;
|
|
346
|
-
description: string;
|
|
347
345
|
stats: {
|
|
348
346
|
totalUses: number;
|
|
349
347
|
totalRevenue: number;
|
|
350
348
|
totalDiscount: number;
|
|
351
349
|
};
|
|
350
|
+
name: string;
|
|
351
|
+
scope: "seller" | "admin";
|
|
352
352
|
discount: {
|
|
353
353
|
value: number;
|
|
354
|
-
minPurchase?: number | undefined;
|
|
355
354
|
maxDiscount?: number | undefined;
|
|
355
|
+
minPurchase?: number | undefined;
|
|
356
356
|
};
|
|
357
357
|
usage: {
|
|
358
358
|
currentUsage: number;
|
|
@@ -386,8 +386,8 @@ export declare const couponFirestoreSchema: z.ZodObject<{
|
|
|
386
386
|
applicableCategories?: string[] | undefined;
|
|
387
387
|
} | undefined;
|
|
388
388
|
tiers?: {
|
|
389
|
-
minAmount: number;
|
|
390
389
|
discountValue: number;
|
|
390
|
+
minAmount: number;
|
|
391
391
|
}[] | undefined;
|
|
392
392
|
}>;
|
|
393
393
|
/**
|
|
@@ -419,11 +419,11 @@ export declare const couponCreateBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
419
419
|
minAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
420
420
|
discountValue: z.ZodNumber;
|
|
421
421
|
}, "strip", z.ZodTypeAny, {
|
|
422
|
-
minAmount: number;
|
|
423
422
|
discountValue: number;
|
|
424
|
-
}, {
|
|
425
423
|
minAmount: number;
|
|
424
|
+
}, {
|
|
426
425
|
discountValue: number;
|
|
426
|
+
minAmount: number;
|
|
427
427
|
}>, "many">>;
|
|
428
428
|
bxgy: z.ZodOptional<z.ZodObject<{
|
|
429
429
|
buyQuantity: z.ZodNumber;
|
|
@@ -450,12 +450,12 @@ export declare const couponCreateBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
450
450
|
minPurchase: z.ZodOptional<z.ZodNumber>;
|
|
451
451
|
}, "strip", z.ZodTypeAny, {
|
|
452
452
|
value: number;
|
|
453
|
-
minPurchase?: number | undefined;
|
|
454
453
|
maxDiscount?: number | undefined;
|
|
454
|
+
minPurchase?: number | undefined;
|
|
455
455
|
}, {
|
|
456
456
|
value: number;
|
|
457
|
-
minPurchase?: number | undefined;
|
|
458
457
|
maxDiscount?: number | undefined;
|
|
458
|
+
minPurchase?: number | undefined;
|
|
459
459
|
}>;
|
|
460
460
|
usage: z.ZodObject<{
|
|
461
461
|
totalLimit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -508,14 +508,14 @@ export declare const couponCreateBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
508
508
|
createdBy: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
509
509
|
}, "strip", z.ZodTypeAny, {
|
|
510
510
|
code: string;
|
|
511
|
-
type: "
|
|
512
|
-
name: string;
|
|
513
|
-
createdBy: string;
|
|
511
|
+
type: "percentage" | "fixed" | "free_shipping" | "buy_x_get_y";
|
|
514
512
|
description: string;
|
|
513
|
+
createdBy: string;
|
|
514
|
+
name: string;
|
|
515
515
|
discount: {
|
|
516
516
|
value: number;
|
|
517
|
-
minPurchase?: number | undefined;
|
|
518
517
|
maxDiscount?: number | undefined;
|
|
518
|
+
minPurchase?: number | undefined;
|
|
519
519
|
};
|
|
520
520
|
usage: {
|
|
521
521
|
currentUsage: number;
|
|
@@ -543,17 +543,17 @@ export declare const couponCreateBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
543
543
|
applicableCategories?: string[] | undefined;
|
|
544
544
|
} | undefined;
|
|
545
545
|
tiers?: {
|
|
546
|
-
minAmount: number;
|
|
547
546
|
discountValue: number;
|
|
547
|
+
minAmount: number;
|
|
548
548
|
}[] | undefined;
|
|
549
549
|
}, {
|
|
550
550
|
code: string;
|
|
551
|
-
type: "
|
|
551
|
+
type: "percentage" | "fixed" | "free_shipping" | "buy_x_get_y";
|
|
552
552
|
name: string;
|
|
553
553
|
discount: {
|
|
554
554
|
value: number;
|
|
555
|
-
minPurchase?: number | undefined;
|
|
556
555
|
maxDiscount?: number | undefined;
|
|
556
|
+
minPurchase?: number | undefined;
|
|
557
557
|
};
|
|
558
558
|
usage: {
|
|
559
559
|
currentUsage?: number | undefined;
|
|
@@ -565,8 +565,8 @@ export declare const couponCreateBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
565
565
|
isActive?: boolean | undefined;
|
|
566
566
|
endDate?: string | undefined;
|
|
567
567
|
};
|
|
568
|
-
createdBy?: string | undefined;
|
|
569
568
|
description?: string | undefined;
|
|
569
|
+
createdBy?: string | undefined;
|
|
570
570
|
bxgy?: {
|
|
571
571
|
buyQuantity: number;
|
|
572
572
|
getQuantity: number;
|
|
@@ -575,8 +575,8 @@ export declare const couponCreateBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
575
575
|
applicableCategories?: string[] | undefined;
|
|
576
576
|
} | undefined;
|
|
577
577
|
tiers?: {
|
|
578
|
-
minAmount: number;
|
|
579
578
|
discountValue: number;
|
|
579
|
+
minAmount: number;
|
|
580
580
|
}[] | undefined;
|
|
581
581
|
restrictions?: {
|
|
582
582
|
firstTimeUserOnly?: boolean | undefined;
|
|
@@ -588,14 +588,14 @@ export declare const couponCreateBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
588
588
|
} | undefined;
|
|
589
589
|
}>, {
|
|
590
590
|
code: string;
|
|
591
|
-
type: "
|
|
592
|
-
name: string;
|
|
593
|
-
createdBy: string;
|
|
591
|
+
type: "percentage" | "fixed" | "free_shipping" | "buy_x_get_y";
|
|
594
592
|
description: string;
|
|
593
|
+
createdBy: string;
|
|
594
|
+
name: string;
|
|
595
595
|
discount: {
|
|
596
596
|
value: number;
|
|
597
|
-
minPurchase?: number | undefined;
|
|
598
597
|
maxDiscount?: number | undefined;
|
|
598
|
+
minPurchase?: number | undefined;
|
|
599
599
|
};
|
|
600
600
|
usage: {
|
|
601
601
|
currentUsage: number;
|
|
@@ -623,17 +623,17 @@ export declare const couponCreateBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
623
623
|
applicableCategories?: string[] | undefined;
|
|
624
624
|
} | undefined;
|
|
625
625
|
tiers?: {
|
|
626
|
-
minAmount: number;
|
|
627
626
|
discountValue: number;
|
|
627
|
+
minAmount: number;
|
|
628
628
|
}[] | undefined;
|
|
629
629
|
}, {
|
|
630
630
|
code: string;
|
|
631
|
-
type: "
|
|
631
|
+
type: "percentage" | "fixed" | "free_shipping" | "buy_x_get_y";
|
|
632
632
|
name: string;
|
|
633
633
|
discount: {
|
|
634
634
|
value: number;
|
|
635
|
-
minPurchase?: number | undefined;
|
|
636
635
|
maxDiscount?: number | undefined;
|
|
636
|
+
minPurchase?: number | undefined;
|
|
637
637
|
};
|
|
638
638
|
usage: {
|
|
639
639
|
currentUsage?: number | undefined;
|
|
@@ -645,8 +645,8 @@ export declare const couponCreateBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
645
645
|
isActive?: boolean | undefined;
|
|
646
646
|
endDate?: string | undefined;
|
|
647
647
|
};
|
|
648
|
-
createdBy?: string | undefined;
|
|
649
648
|
description?: string | undefined;
|
|
649
|
+
createdBy?: string | undefined;
|
|
650
650
|
bxgy?: {
|
|
651
651
|
buyQuantity: number;
|
|
652
652
|
getQuantity: number;
|
|
@@ -655,8 +655,8 @@ export declare const couponCreateBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
655
655
|
applicableCategories?: string[] | undefined;
|
|
656
656
|
} | undefined;
|
|
657
657
|
tiers?: {
|
|
658
|
-
minAmount: number;
|
|
659
658
|
discountValue: number;
|
|
659
|
+
minAmount: number;
|
|
660
660
|
}[] | undefined;
|
|
661
661
|
restrictions?: {
|
|
662
662
|
firstTimeUserOnly?: boolean | undefined;
|
|
@@ -695,11 +695,11 @@ export declare const couponUpdateBodySchema: z.ZodObject<{
|
|
|
695
695
|
minAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
696
696
|
discountValue: z.ZodNumber;
|
|
697
697
|
}, "strip", z.ZodTypeAny, {
|
|
698
|
-
minAmount: number;
|
|
699
698
|
discountValue: number;
|
|
700
|
-
}, {
|
|
701
699
|
minAmount: number;
|
|
700
|
+
}, {
|
|
702
701
|
discountValue: number;
|
|
702
|
+
minAmount: number;
|
|
703
703
|
}>, "many">>;
|
|
704
704
|
bxgy: z.ZodOptional<z.ZodObject<{
|
|
705
705
|
buyQuantity: z.ZodNumber;
|
|
@@ -726,12 +726,12 @@ export declare const couponUpdateBodySchema: z.ZodObject<{
|
|
|
726
726
|
minPurchase: z.ZodOptional<z.ZodNumber>;
|
|
727
727
|
}, "strip", z.ZodTypeAny, {
|
|
728
728
|
value: number;
|
|
729
|
-
minPurchase?: number | undefined;
|
|
730
729
|
maxDiscount?: number | undefined;
|
|
730
|
+
minPurchase?: number | undefined;
|
|
731
731
|
}, {
|
|
732
732
|
value: number;
|
|
733
|
-
minPurchase?: number | undefined;
|
|
734
733
|
maxDiscount?: number | undefined;
|
|
734
|
+
minPurchase?: number | undefined;
|
|
735
735
|
}>>;
|
|
736
736
|
usage: z.ZodOptional<z.ZodObject<{
|
|
737
737
|
totalLimit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -780,13 +780,12 @@ export declare const couponUpdateBodySchema: z.ZodObject<{
|
|
|
780
780
|
}>>;
|
|
781
781
|
action: z.ZodOptional<z.ZodEnum<["activate", "deactivate"]>>;
|
|
782
782
|
}, "strip", z.ZodTypeAny, {
|
|
783
|
-
action?: "activate" | "deactivate" | undefined;
|
|
784
|
-
name?: string | undefined;
|
|
785
783
|
description?: string | undefined;
|
|
784
|
+
name?: string | undefined;
|
|
786
785
|
discount?: {
|
|
787
786
|
value: number;
|
|
788
|
-
minPurchase?: number | undefined;
|
|
789
787
|
maxDiscount?: number | undefined;
|
|
788
|
+
minPurchase?: number | undefined;
|
|
790
789
|
} | undefined;
|
|
791
790
|
bxgy?: {
|
|
792
791
|
buyQuantity: number;
|
|
@@ -796,8 +795,8 @@ export declare const couponUpdateBodySchema: z.ZodObject<{
|
|
|
796
795
|
applicableCategories?: string[] | undefined;
|
|
797
796
|
} | undefined;
|
|
798
797
|
tiers?: {
|
|
799
|
-
minAmount: number;
|
|
800
798
|
discountValue: number;
|
|
799
|
+
minAmount: number;
|
|
801
800
|
}[] | undefined;
|
|
802
801
|
usage?: {
|
|
803
802
|
totalLimit?: number | undefined;
|
|
@@ -816,14 +815,14 @@ export declare const couponUpdateBodySchema: z.ZodObject<{
|
|
|
816
815
|
excludeProducts?: string[] | undefined;
|
|
817
816
|
excludeCategories?: string[] | undefined;
|
|
818
817
|
} | undefined;
|
|
819
|
-
}, {
|
|
820
818
|
action?: "activate" | "deactivate" | undefined;
|
|
821
|
-
|
|
819
|
+
}, {
|
|
822
820
|
description?: string | undefined;
|
|
821
|
+
name?: string | undefined;
|
|
823
822
|
discount?: {
|
|
824
823
|
value: number;
|
|
825
|
-
minPurchase?: number | undefined;
|
|
826
824
|
maxDiscount?: number | undefined;
|
|
825
|
+
minPurchase?: number | undefined;
|
|
827
826
|
} | undefined;
|
|
828
827
|
bxgy?: {
|
|
829
828
|
buyQuantity: number;
|
|
@@ -833,8 +832,8 @@ export declare const couponUpdateBodySchema: z.ZodObject<{
|
|
|
833
832
|
applicableCategories?: string[] | undefined;
|
|
834
833
|
} | undefined;
|
|
835
834
|
tiers?: {
|
|
836
|
-
minAmount: number;
|
|
837
835
|
discountValue: number;
|
|
836
|
+
minAmount: number;
|
|
838
837
|
}[] | undefined;
|
|
839
838
|
usage?: {
|
|
840
839
|
totalLimit?: number | undefined;
|
|
@@ -853,6 +852,7 @@ export declare const couponUpdateBodySchema: z.ZodObject<{
|
|
|
853
852
|
excludeProducts?: string[] | undefined;
|
|
854
853
|
excludeCategories?: string[] | undefined;
|
|
855
854
|
} | undefined;
|
|
855
|
+
action?: "activate" | "deactivate" | undefined;
|
|
856
856
|
}>;
|
|
857
857
|
export type CouponUpdateBody = z.infer<typeof couponUpdateBodySchema>;
|
|
858
858
|
export declare const couponUsageFirestoreSchema: z.ZodObject<{
|
|
@@ -870,22 +870,22 @@ export declare const couponUsageFirestoreSchema: z.ZodObject<{
|
|
|
870
870
|
orders: z.ZodArray<z.ZodString, "many">;
|
|
871
871
|
}, "strip", z.ZodTypeAny, {
|
|
872
872
|
id: string;
|
|
873
|
-
orders: string[];
|
|
874
873
|
userId: string;
|
|
875
874
|
couponCode: string;
|
|
876
875
|
usageCount: number;
|
|
877
876
|
lastUsedAt: string | Date | z.objectOutputType<{
|
|
878
877
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
879
878
|
}, z.ZodTypeAny, "passthrough">;
|
|
879
|
+
orders: string[];
|
|
880
880
|
}, {
|
|
881
881
|
id: string;
|
|
882
|
-
orders: string[];
|
|
883
882
|
userId: string;
|
|
884
883
|
couponCode: string;
|
|
885
884
|
usageCount: number;
|
|
886
885
|
lastUsedAt: string | Date | z.objectInputType<{
|
|
887
886
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
888
887
|
}, z.ZodTypeAny, "passthrough">;
|
|
888
|
+
orders: string[];
|
|
889
889
|
}>;
|
|
890
890
|
export declare const claimedCouponStatusSchema: z.ZodEnum<["active", "expired", "used"]>;
|
|
891
891
|
export declare const claimedCouponSourceSchema: z.ZodEnum<["manual", "promo", "spin", "raffle", "prize-draw"]>;
|
|
@@ -901,12 +901,12 @@ export declare const claimedCouponSnapshotSchema: z.ZodObject<{
|
|
|
901
901
|
minPurchase: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
902
902
|
}, "strip", z.ZodTypeAny, {
|
|
903
903
|
value: number;
|
|
904
|
-
minPurchase?: number | undefined;
|
|
905
904
|
maxDiscount?: number | undefined;
|
|
905
|
+
minPurchase?: number | undefined;
|
|
906
906
|
}, {
|
|
907
907
|
value: number;
|
|
908
|
-
minPurchase?: number | undefined;
|
|
909
908
|
maxDiscount?: number | undefined;
|
|
909
|
+
minPurchase?: number | undefined;
|
|
910
910
|
}>;
|
|
911
911
|
restrictions: z.ZodObject<{
|
|
912
912
|
applicableProducts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -931,13 +931,13 @@ export declare const claimedCouponSnapshotSchema: z.ZodObject<{
|
|
|
931
931
|
excludeCategories?: string[] | undefined;
|
|
932
932
|
}>;
|
|
933
933
|
}, "strip", z.ZodTypeAny, {
|
|
934
|
-
type: "
|
|
935
|
-
scope: "admin" | "seller";
|
|
934
|
+
type: "percentage" | "fixed" | "free_shipping" | "buy_x_get_y";
|
|
936
935
|
name: string;
|
|
936
|
+
scope: "seller" | "admin";
|
|
937
937
|
discount: {
|
|
938
938
|
value: number;
|
|
939
|
-
minPurchase?: number | undefined;
|
|
940
939
|
maxDiscount?: number | undefined;
|
|
940
|
+
minPurchase?: number | undefined;
|
|
941
941
|
};
|
|
942
942
|
restrictions: {
|
|
943
943
|
firstTimeUserOnly: boolean;
|
|
@@ -947,16 +947,16 @@ export declare const claimedCouponSnapshotSchema: z.ZodObject<{
|
|
|
947
947
|
excludeProducts?: string[] | undefined;
|
|
948
948
|
excludeCategories?: string[] | undefined;
|
|
949
949
|
};
|
|
950
|
-
storeId?: string | undefined;
|
|
951
950
|
description?: string | undefined;
|
|
951
|
+
storeId?: string | undefined;
|
|
952
952
|
}, {
|
|
953
|
-
type: "
|
|
954
|
-
scope: "admin" | "seller";
|
|
953
|
+
type: "percentage" | "fixed" | "free_shipping" | "buy_x_get_y";
|
|
955
954
|
name: string;
|
|
955
|
+
scope: "seller" | "admin";
|
|
956
956
|
discount: {
|
|
957
957
|
value: number;
|
|
958
|
-
minPurchase?: number | undefined;
|
|
959
958
|
maxDiscount?: number | undefined;
|
|
959
|
+
minPurchase?: number | undefined;
|
|
960
960
|
};
|
|
961
961
|
restrictions: {
|
|
962
962
|
firstTimeUserOnly: boolean;
|
|
@@ -966,8 +966,8 @@ export declare const claimedCouponSnapshotSchema: z.ZodObject<{
|
|
|
966
966
|
excludeProducts?: string[] | undefined;
|
|
967
967
|
excludeCategories?: string[] | undefined;
|
|
968
968
|
};
|
|
969
|
-
storeId?: string | undefined;
|
|
970
969
|
description?: string | undefined;
|
|
970
|
+
storeId?: string | undefined;
|
|
971
971
|
}>;
|
|
972
972
|
export declare const claimedCouponFirestoreSchema: z.ZodObject<{
|
|
973
973
|
id: z.ZodString;
|
|
@@ -987,12 +987,12 @@ export declare const claimedCouponFirestoreSchema: z.ZodObject<{
|
|
|
987
987
|
minPurchase: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
988
988
|
}, "strip", z.ZodTypeAny, {
|
|
989
989
|
value: number;
|
|
990
|
-
minPurchase?: number | undefined;
|
|
991
990
|
maxDiscount?: number | undefined;
|
|
991
|
+
minPurchase?: number | undefined;
|
|
992
992
|
}, {
|
|
993
993
|
value: number;
|
|
994
|
-
minPurchase?: number | undefined;
|
|
995
994
|
maxDiscount?: number | undefined;
|
|
995
|
+
minPurchase?: number | undefined;
|
|
996
996
|
}>;
|
|
997
997
|
restrictions: z.ZodObject<{
|
|
998
998
|
applicableProducts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1017,13 +1017,13 @@ export declare const claimedCouponFirestoreSchema: z.ZodObject<{
|
|
|
1017
1017
|
excludeCategories?: string[] | undefined;
|
|
1018
1018
|
}>;
|
|
1019
1019
|
}, "strip", z.ZodTypeAny, {
|
|
1020
|
-
type: "
|
|
1021
|
-
scope: "admin" | "seller";
|
|
1020
|
+
type: "percentage" | "fixed" | "free_shipping" | "buy_x_get_y";
|
|
1022
1021
|
name: string;
|
|
1022
|
+
scope: "seller" | "admin";
|
|
1023
1023
|
discount: {
|
|
1024
1024
|
value: number;
|
|
1025
|
-
minPurchase?: number | undefined;
|
|
1026
1025
|
maxDiscount?: number | undefined;
|
|
1026
|
+
minPurchase?: number | undefined;
|
|
1027
1027
|
};
|
|
1028
1028
|
restrictions: {
|
|
1029
1029
|
firstTimeUserOnly: boolean;
|
|
@@ -1033,16 +1033,16 @@ export declare const claimedCouponFirestoreSchema: z.ZodObject<{
|
|
|
1033
1033
|
excludeProducts?: string[] | undefined;
|
|
1034
1034
|
excludeCategories?: string[] | undefined;
|
|
1035
1035
|
};
|
|
1036
|
-
storeId?: string | undefined;
|
|
1037
1036
|
description?: string | undefined;
|
|
1037
|
+
storeId?: string | undefined;
|
|
1038
1038
|
}, {
|
|
1039
|
-
type: "
|
|
1040
|
-
scope: "admin" | "seller";
|
|
1039
|
+
type: "percentage" | "fixed" | "free_shipping" | "buy_x_get_y";
|
|
1041
1040
|
name: string;
|
|
1041
|
+
scope: "seller" | "admin";
|
|
1042
1042
|
discount: {
|
|
1043
1043
|
value: number;
|
|
1044
|
-
minPurchase?: number | undefined;
|
|
1045
1044
|
maxDiscount?: number | undefined;
|
|
1045
|
+
minPurchase?: number | undefined;
|
|
1046
1046
|
};
|
|
1047
1047
|
restrictions: {
|
|
1048
1048
|
firstTimeUserOnly: boolean;
|
|
@@ -1052,8 +1052,8 @@ export declare const claimedCouponFirestoreSchema: z.ZodObject<{
|
|
|
1052
1052
|
excludeProducts?: string[] | undefined;
|
|
1053
1053
|
excludeCategories?: string[] | undefined;
|
|
1054
1054
|
};
|
|
1055
|
-
storeId?: string | undefined;
|
|
1056
1055
|
description?: string | undefined;
|
|
1056
|
+
storeId?: string | undefined;
|
|
1057
1057
|
}>;
|
|
1058
1058
|
status: z.ZodEnum<["active", "expired", "used"]>;
|
|
1059
1059
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString, z.ZodObject<{
|
|
@@ -1086,9 +1086,9 @@ export declare const claimedCouponFirestoreSchema: z.ZodObject<{
|
|
|
1086
1086
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
1087
1087
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
1088
1088
|
}, "strip", z.ZodTypeAny, {
|
|
1089
|
-
status: "
|
|
1089
|
+
status: "used" | "active" | "expired";
|
|
1090
|
+
source: "prize-draw" | "raffle" | "manual" | "promo" | "spin";
|
|
1090
1091
|
id: string;
|
|
1091
|
-
source: "manual" | "prize-draw" | "raffle" | "promo" | "spin";
|
|
1092
1092
|
updatedAt: string | Date | z.objectOutputType<{
|
|
1093
1093
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
1094
1094
|
}, z.ZodTypeAny, "passthrough">;
|
|
@@ -1099,13 +1099,13 @@ export declare const claimedCouponFirestoreSchema: z.ZodObject<{
|
|
|
1099
1099
|
}, z.ZodTypeAny, "passthrough">;
|
|
1100
1100
|
couponId: string;
|
|
1101
1101
|
couponSnapshot: {
|
|
1102
|
-
type: "
|
|
1103
|
-
scope: "admin" | "seller";
|
|
1102
|
+
type: "percentage" | "fixed" | "free_shipping" | "buy_x_get_y";
|
|
1104
1103
|
name: string;
|
|
1104
|
+
scope: "seller" | "admin";
|
|
1105
1105
|
discount: {
|
|
1106
1106
|
value: number;
|
|
1107
|
-
minPurchase?: number | undefined;
|
|
1108
1107
|
maxDiscount?: number | undefined;
|
|
1108
|
+
minPurchase?: number | undefined;
|
|
1109
1109
|
};
|
|
1110
1110
|
restrictions: {
|
|
1111
1111
|
firstTimeUserOnly: boolean;
|
|
@@ -1115,8 +1115,8 @@ export declare const claimedCouponFirestoreSchema: z.ZodObject<{
|
|
|
1115
1115
|
excludeProducts?: string[] | undefined;
|
|
1116
1116
|
excludeCategories?: string[] | undefined;
|
|
1117
1117
|
};
|
|
1118
|
-
storeId?: string | undefined;
|
|
1119
1118
|
description?: string | undefined;
|
|
1119
|
+
storeId?: string | undefined;
|
|
1120
1120
|
};
|
|
1121
1121
|
expiresAt?: string | Date | z.objectOutputType<{
|
|
1122
1122
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
@@ -1126,9 +1126,9 @@ export declare const claimedCouponFirestoreSchema: z.ZodObject<{
|
|
|
1126
1126
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1127
1127
|
usedOrderId?: string | undefined;
|
|
1128
1128
|
}, {
|
|
1129
|
-
status: "
|
|
1129
|
+
status: "used" | "active" | "expired";
|
|
1130
|
+
source: "prize-draw" | "raffle" | "manual" | "promo" | "spin";
|
|
1130
1131
|
id: string;
|
|
1131
|
-
source: "manual" | "prize-draw" | "raffle" | "promo" | "spin";
|
|
1132
1132
|
updatedAt: string | Date | z.objectInputType<{
|
|
1133
1133
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
1134
1134
|
}, z.ZodTypeAny, "passthrough">;
|
|
@@ -1139,13 +1139,13 @@ export declare const claimedCouponFirestoreSchema: z.ZodObject<{
|
|
|
1139
1139
|
}, z.ZodTypeAny, "passthrough">;
|
|
1140
1140
|
couponId: string;
|
|
1141
1141
|
couponSnapshot: {
|
|
1142
|
-
type: "
|
|
1143
|
-
scope: "admin" | "seller";
|
|
1142
|
+
type: "percentage" | "fixed" | "free_shipping" | "buy_x_get_y";
|
|
1144
1143
|
name: string;
|
|
1144
|
+
scope: "seller" | "admin";
|
|
1145
1145
|
discount: {
|
|
1146
1146
|
value: number;
|
|
1147
|
-
minPurchase?: number | undefined;
|
|
1148
1147
|
maxDiscount?: number | undefined;
|
|
1148
|
+
minPurchase?: number | undefined;
|
|
1149
1149
|
};
|
|
1150
1150
|
restrictions: {
|
|
1151
1151
|
firstTimeUserOnly: boolean;
|
|
@@ -1155,8 +1155,8 @@ export declare const claimedCouponFirestoreSchema: z.ZodObject<{
|
|
|
1155
1155
|
excludeProducts?: string[] | undefined;
|
|
1156
1156
|
excludeCategories?: string[] | undefined;
|
|
1157
1157
|
};
|
|
1158
|
-
storeId?: string | undefined;
|
|
1159
1158
|
description?: string | undefined;
|
|
1159
|
+
storeId?: string | undefined;
|
|
1160
1160
|
};
|
|
1161
1161
|
expiresAt?: string | Date | z.objectInputType<{
|
|
1162
1162
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
@@ -1209,50 +1209,50 @@ export declare const couponItemSchema: z.ZodObject<{
|
|
|
1209
1209
|
updatedAt: z.ZodString;
|
|
1210
1210
|
}, "strip", z.ZodTypeAny, {
|
|
1211
1211
|
code: string;
|
|
1212
|
-
type: "
|
|
1212
|
+
type: "percentage" | "fixed" | "free_shipping" | "buy_x_get_y";
|
|
1213
1213
|
id: string;
|
|
1214
|
-
|
|
1215
|
-
name: string;
|
|
1214
|
+
description: string;
|
|
1216
1215
|
createdAt: string;
|
|
1217
1216
|
updatedAt: string;
|
|
1218
|
-
description: string;
|
|
1219
1217
|
isActive: boolean;
|
|
1220
1218
|
isPublic: boolean;
|
|
1219
|
+
name: string;
|
|
1221
1220
|
usageCount: number;
|
|
1221
|
+
scope: "seller" | "admin";
|
|
1222
1222
|
discountValue: number;
|
|
1223
1223
|
storeId?: string | undefined;
|
|
1224
1224
|
startsAt?: string | undefined;
|
|
1225
1225
|
expiresAt?: string | undefined;
|
|
1226
|
-
perUserLimit?: number | undefined;
|
|
1227
|
-
buyQuantity?: number | undefined;
|
|
1228
|
-
getQuantity?: number | undefined;
|
|
1229
1226
|
minOrderAmount?: number | undefined;
|
|
1230
1227
|
maxDiscountAmount?: number | undefined;
|
|
1231
1228
|
maxUsageCount?: number | undefined;
|
|
1229
|
+
buyQuantity?: number | undefined;
|
|
1230
|
+
getQuantity?: number | undefined;
|
|
1231
|
+
perUserLimit?: number | undefined;
|
|
1232
1232
|
applicableProductIds?: string[] | undefined;
|
|
1233
1233
|
applicableCategoryIds?: string[] | undefined;
|
|
1234
1234
|
}, {
|
|
1235
1235
|
code: string;
|
|
1236
|
-
type: "
|
|
1236
|
+
type: "percentage" | "fixed" | "free_shipping" | "buy_x_get_y";
|
|
1237
1237
|
id: string;
|
|
1238
|
-
|
|
1239
|
-
name: string;
|
|
1238
|
+
description: string;
|
|
1240
1239
|
createdAt: string;
|
|
1241
1240
|
updatedAt: string;
|
|
1242
|
-
description: string;
|
|
1243
1241
|
isActive: boolean;
|
|
1244
1242
|
isPublic: boolean;
|
|
1243
|
+
name: string;
|
|
1245
1244
|
usageCount: number;
|
|
1245
|
+
scope: "seller" | "admin";
|
|
1246
1246
|
discountValue: number;
|
|
1247
1247
|
storeId?: string | undefined;
|
|
1248
1248
|
startsAt?: string | undefined;
|
|
1249
1249
|
expiresAt?: string | undefined;
|
|
1250
|
-
perUserLimit?: number | undefined;
|
|
1251
|
-
buyQuantity?: number | undefined;
|
|
1252
|
-
getQuantity?: number | undefined;
|
|
1253
1250
|
minOrderAmount?: number | undefined;
|
|
1254
1251
|
maxDiscountAmount?: number | undefined;
|
|
1255
1252
|
maxUsageCount?: number | undefined;
|
|
1253
|
+
buyQuantity?: number | undefined;
|
|
1254
|
+
getQuantity?: number | undefined;
|
|
1255
|
+
perUserLimit?: number | undefined;
|
|
1256
1256
|
applicableProductIds?: string[] | undefined;
|
|
1257
1257
|
applicableCategoryIds?: string[] | undefined;
|
|
1258
1258
|
}>;
|
|
@@ -1266,18 +1266,18 @@ export declare const promotionsListParamsSchema: z.ZodObject<{
|
|
|
1266
1266
|
sort: z.ZodOptional<z.ZodString>;
|
|
1267
1267
|
}, "strip", z.ZodTypeAny, {
|
|
1268
1268
|
sort?: string | undefined;
|
|
1269
|
-
page?: number | undefined;
|
|
1270
|
-
scope?: "admin" | "seller" | undefined;
|
|
1271
|
-
pageSize?: number | undefined;
|
|
1272
1269
|
storeId?: string | undefined;
|
|
1273
1270
|
isActive?: boolean | undefined;
|
|
1271
|
+
scope?: "seller" | "admin" | undefined;
|
|
1272
|
+
page?: number | undefined;
|
|
1274
1273
|
filters?: string | undefined;
|
|
1274
|
+
pageSize?: number | undefined;
|
|
1275
1275
|
}, {
|
|
1276
1276
|
sort?: string | undefined;
|
|
1277
|
-
page?: number | undefined;
|
|
1278
|
-
scope?: "admin" | "seller" | undefined;
|
|
1279
|
-
pageSize?: number | undefined;
|
|
1280
1277
|
storeId?: string | undefined;
|
|
1281
1278
|
isActive?: boolean | undefined;
|
|
1279
|
+
scope?: "seller" | "admin" | undefined;
|
|
1280
|
+
page?: number | undefined;
|
|
1282
1281
|
filters?: string | undefined;
|
|
1282
|
+
pageSize?: number | undefined;
|
|
1283
1283
|
}>;
|