@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
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Row } from "@mohasinac/appkit/ui";
|
|
3
3
|
import { ArrowLeft } from "lucide-react";
|
|
4
|
-
import { Alert
|
|
4
|
+
import { Alert } from "../../../ui/components/Alert.js";
|
|
5
|
+
import { Code, Li, Section, Ul } from "../../../ui/components/Semantic.js";
|
|
6
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
7
|
+
import { Heading, Span, Text } from "../../../ui/components/Typography.js";
|
|
8
|
+
import { Stack } from "../../../ui/components/Layout.js";
|
|
9
|
+
import { TextLink } from "../../../ui/components/TextLink.js";
|
|
5
10
|
import { ROUTES } from "../../../next/routing/route-map.js";
|
|
6
11
|
const SUBHEADING = "mb-1 font-semibold text-[var(--appkit-color-text)]";
|
|
7
12
|
const LIST_DISC = "list-disc leading-relaxed";
|
|
@@ -4,7 +4,14 @@ import { Row, SIEVE_OP, Stack, sieveFilter } from "@mohasinac/appkit/client";
|
|
|
4
4
|
import { useState, useCallback, useMemo } from "react";
|
|
5
5
|
import { useUrlTable } from "../../../react/hooks/useUrlTable.js";
|
|
6
6
|
import { useStores } from "../hooks/useStores.js";
|
|
7
|
-
import { BulkActionBar
|
|
7
|
+
import { BulkActionBar } from "../../../ui/components/BulkActionBar.js";
|
|
8
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
9
|
+
import { Grid } from "../../../ui/components/Layout.js";
|
|
10
|
+
import { ListingFilterDrawer } from "../../../ui/components/ListingFilterDrawer.js";
|
|
11
|
+
import { ListingToolbar } from "../../../ui/components/ListingToolbar.js";
|
|
12
|
+
import { Pagination } from "../../../ui/components/Pagination.js";
|
|
13
|
+
import { Text } from "../../../ui/components/Typography.js";
|
|
14
|
+
import { StickyToolbar } from "../../../ui/components/StickyToolbar.js";
|
|
8
15
|
import { ROUTES } from "../../../next/routing/route-map.js";
|
|
9
16
|
import { InteractiveStoreCard } from "./InteractiveStoreCard.js";
|
|
10
17
|
import { StoreFilters } from "./StoreFilters.js";
|
|
@@ -13,7 +20,7 @@ import { TABLE_KEYS, VIEW_MODE } from "../../../constants/table-keys.js";
|
|
|
13
20
|
import { sortBy } from "../../../constants/sort.js";
|
|
14
21
|
import { STORE_FIELDS } from "../../../constants/field-names.js";
|
|
15
22
|
import { ACTION_ID } from "../../products/constants/action-defs.js";
|
|
16
|
-
import { useBottomActions } from "../../layout/
|
|
23
|
+
import { useBottomActions } from "../../layout/hooks/useBottomActions.js";
|
|
17
24
|
const __P = {
|
|
18
25
|
p4: "p-[var(--appkit-space-4)]",
|
|
19
26
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { storeRepository } from "
|
|
3
|
-
import { Container
|
|
2
|
+
import { storeRepository } from "../repository/store.repository.js";
|
|
3
|
+
import { Container } from "../../../ui/components/Layout.js";
|
|
4
|
+
import { Heading } from "../../../ui/components/Typography.js";
|
|
5
|
+
import { Main, Section } from "../../../ui/components/Semantic.js";
|
|
4
6
|
import { AdSlot } from "../../homepage/components/AdSlot.js";
|
|
5
7
|
import { StoresIndexListing } from "./StoresIndexListing.js";
|
|
6
8
|
import { safeRead } from "../../../errors/safe-read.js";
|
|
@@ -31,6 +31,7 @@ export declare const shippingProviderConfigSchema: z.ZodObject<{
|
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
32
|
type: "custom" | "self-courier" | "store-pickup";
|
|
33
33
|
label: string;
|
|
34
|
+
providerId: string;
|
|
34
35
|
fee: {
|
|
35
36
|
flat?: number | undefined;
|
|
36
37
|
min?: number | undefined;
|
|
@@ -38,7 +39,6 @@ export declare const shippingProviderConfigSchema: z.ZodObject<{
|
|
|
38
39
|
perKg?: number | undefined;
|
|
39
40
|
percentOfOrder?: number | undefined;
|
|
40
41
|
};
|
|
41
|
-
providerId: string;
|
|
42
42
|
etaDaysMin: number;
|
|
43
43
|
etaDaysMax: number;
|
|
44
44
|
regions?: string[] | undefined;
|
|
@@ -46,6 +46,7 @@ export declare const shippingProviderConfigSchema: z.ZodObject<{
|
|
|
46
46
|
}, {
|
|
47
47
|
type: "custom" | "self-courier" | "store-pickup";
|
|
48
48
|
label: string;
|
|
49
|
+
providerId: string;
|
|
49
50
|
fee: {
|
|
50
51
|
flat?: number | undefined;
|
|
51
52
|
min?: number | undefined;
|
|
@@ -53,7 +54,6 @@ export declare const shippingProviderConfigSchema: z.ZodObject<{
|
|
|
53
54
|
perKg?: number | undefined;
|
|
54
55
|
percentOfOrder?: number | undefined;
|
|
55
56
|
};
|
|
56
|
-
providerId: string;
|
|
57
57
|
etaDaysMin: number;
|
|
58
58
|
etaDaysMax: number;
|
|
59
59
|
regions?: string[] | undefined;
|
|
@@ -90,6 +90,7 @@ export declare const storeShippingConfigSchema: z.ZodObject<{
|
|
|
90
90
|
}, "strip", z.ZodTypeAny, {
|
|
91
91
|
type: "custom" | "self-courier" | "store-pickup";
|
|
92
92
|
label: string;
|
|
93
|
+
providerId: string;
|
|
93
94
|
fee: {
|
|
94
95
|
flat?: number | undefined;
|
|
95
96
|
min?: number | undefined;
|
|
@@ -97,7 +98,6 @@ export declare const storeShippingConfigSchema: z.ZodObject<{
|
|
|
97
98
|
perKg?: number | undefined;
|
|
98
99
|
percentOfOrder?: number | undefined;
|
|
99
100
|
};
|
|
100
|
-
providerId: string;
|
|
101
101
|
etaDaysMin: number;
|
|
102
102
|
etaDaysMax: number;
|
|
103
103
|
regions?: string[] | undefined;
|
|
@@ -105,6 +105,7 @@ export declare const storeShippingConfigSchema: z.ZodObject<{
|
|
|
105
105
|
}, {
|
|
106
106
|
type: "custom" | "self-courier" | "store-pickup";
|
|
107
107
|
label: string;
|
|
108
|
+
providerId: string;
|
|
108
109
|
fee: {
|
|
109
110
|
flat?: number | undefined;
|
|
110
111
|
min?: number | undefined;
|
|
@@ -112,7 +113,6 @@ export declare const storeShippingConfigSchema: z.ZodObject<{
|
|
|
112
113
|
perKg?: number | undefined;
|
|
113
114
|
percentOfOrder?: number | undefined;
|
|
114
115
|
};
|
|
115
|
-
providerId: string;
|
|
116
116
|
etaDaysMin: number;
|
|
117
117
|
etaDaysMax: number;
|
|
118
118
|
regions?: string[] | undefined;
|
|
@@ -123,6 +123,7 @@ export declare const storeShippingConfigSchema: z.ZodObject<{
|
|
|
123
123
|
providers: {
|
|
124
124
|
type: "custom" | "self-courier" | "store-pickup";
|
|
125
125
|
label: string;
|
|
126
|
+
providerId: string;
|
|
126
127
|
fee: {
|
|
127
128
|
flat?: number | undefined;
|
|
128
129
|
min?: number | undefined;
|
|
@@ -130,7 +131,6 @@ export declare const storeShippingConfigSchema: z.ZodObject<{
|
|
|
130
131
|
perKg?: number | undefined;
|
|
131
132
|
percentOfOrder?: number | undefined;
|
|
132
133
|
};
|
|
133
|
-
providerId: string;
|
|
134
134
|
etaDaysMin: number;
|
|
135
135
|
etaDaysMax: number;
|
|
136
136
|
regions?: string[] | undefined;
|
|
@@ -141,6 +141,7 @@ export declare const storeShippingConfigSchema: z.ZodObject<{
|
|
|
141
141
|
providers: {
|
|
142
142
|
type: "custom" | "self-courier" | "store-pickup";
|
|
143
143
|
label: string;
|
|
144
|
+
providerId: string;
|
|
144
145
|
fee: {
|
|
145
146
|
flat?: number | undefined;
|
|
146
147
|
min?: number | undefined;
|
|
@@ -148,7 +149,6 @@ export declare const storeShippingConfigSchema: z.ZodObject<{
|
|
|
148
149
|
perKg?: number | undefined;
|
|
149
150
|
percentOfOrder?: number | undefined;
|
|
150
151
|
};
|
|
151
|
-
providerId: string;
|
|
152
152
|
etaDaysMin: number;
|
|
153
153
|
etaDaysMax: number;
|
|
154
154
|
regions?: string[] | undefined;
|
|
@@ -280,6 +280,7 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
280
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
281
|
type: "custom" | "self-courier" | "store-pickup";
|
|
282
282
|
label: string;
|
|
283
|
+
providerId: string;
|
|
283
284
|
fee: {
|
|
284
285
|
flat?: number | undefined;
|
|
285
286
|
min?: number | undefined;
|
|
@@ -287,7 +288,6 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
287
288
|
perKg?: number | undefined;
|
|
288
289
|
percentOfOrder?: number | undefined;
|
|
289
290
|
};
|
|
290
|
-
providerId: string;
|
|
291
291
|
etaDaysMin: number;
|
|
292
292
|
etaDaysMax: number;
|
|
293
293
|
regions?: string[] | undefined;
|
|
@@ -295,6 +295,7 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
295
295
|
}, {
|
|
296
296
|
type: "custom" | "self-courier" | "store-pickup";
|
|
297
297
|
label: string;
|
|
298
|
+
providerId: string;
|
|
298
299
|
fee: {
|
|
299
300
|
flat?: number | undefined;
|
|
300
301
|
min?: number | undefined;
|
|
@@ -302,7 +303,6 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
302
303
|
perKg?: number | undefined;
|
|
303
304
|
percentOfOrder?: number | undefined;
|
|
304
305
|
};
|
|
305
|
-
providerId: string;
|
|
306
306
|
etaDaysMin: number;
|
|
307
307
|
etaDaysMax: number;
|
|
308
308
|
regions?: string[] | undefined;
|
|
@@ -313,6 +313,7 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
313
313
|
providers: {
|
|
314
314
|
type: "custom" | "self-courier" | "store-pickup";
|
|
315
315
|
label: string;
|
|
316
|
+
providerId: string;
|
|
316
317
|
fee: {
|
|
317
318
|
flat?: number | undefined;
|
|
318
319
|
min?: number | undefined;
|
|
@@ -320,7 +321,6 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
320
321
|
perKg?: number | undefined;
|
|
321
322
|
percentOfOrder?: number | undefined;
|
|
322
323
|
};
|
|
323
|
-
providerId: string;
|
|
324
324
|
etaDaysMin: number;
|
|
325
325
|
etaDaysMax: number;
|
|
326
326
|
regions?: string[] | undefined;
|
|
@@ -331,6 +331,7 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
331
331
|
providers: {
|
|
332
332
|
type: "custom" | "self-courier" | "store-pickup";
|
|
333
333
|
label: string;
|
|
334
|
+
providerId: string;
|
|
334
335
|
fee: {
|
|
335
336
|
flat?: number | undefined;
|
|
336
337
|
min?: number | undefined;
|
|
@@ -338,7 +339,6 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
338
339
|
perKg?: number | undefined;
|
|
339
340
|
percentOfOrder?: number | undefined;
|
|
340
341
|
};
|
|
341
|
-
providerId: string;
|
|
342
342
|
etaDaysMin: number;
|
|
343
343
|
etaDaysMax: number;
|
|
344
344
|
regions?: string[] | undefined;
|
|
@@ -381,7 +381,7 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
381
381
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
382
382
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
383
383
|
lastSyncCount?: number | undefined;
|
|
384
|
-
lastSyncStatus?: "
|
|
384
|
+
lastSyncStatus?: "failed" | "success" | "partial" | undefined;
|
|
385
385
|
connectedAt?: string | Date | z.objectOutputType<{
|
|
386
386
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
387
387
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -396,13 +396,13 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
396
396
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
397
397
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
398
398
|
lastSyncCount?: number | undefined;
|
|
399
|
-
lastSyncStatus?: "
|
|
399
|
+
lastSyncStatus?: "failed" | "success" | "partial" | undefined;
|
|
400
400
|
connectedAt?: string | Date | z.objectInputType<{
|
|
401
401
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
402
402
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
403
403
|
}>>;
|
|
404
404
|
}, "strip", z.ZodTypeAny, {
|
|
405
|
-
status: "pending" | "
|
|
405
|
+
status: "pending" | "rejected" | "active" | "suspended";
|
|
406
406
|
id: string;
|
|
407
407
|
createdAt: string | Date | z.objectOutputType<{
|
|
408
408
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
@@ -410,11 +410,10 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
410
410
|
updatedAt: string | Date | z.objectOutputType<{
|
|
411
411
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
412
412
|
}, z.ZodTypeAny, "passthrough">;
|
|
413
|
-
storeName: string;
|
|
414
413
|
ownerId: string;
|
|
414
|
+
storeName: string;
|
|
415
415
|
storeSlug: string;
|
|
416
416
|
isPublic: boolean;
|
|
417
|
-
location?: string | undefined;
|
|
418
417
|
returnPolicy?: string | undefined;
|
|
419
418
|
stats?: {
|
|
420
419
|
totalProducts: number;
|
|
@@ -432,6 +431,7 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
432
431
|
providers: {
|
|
433
432
|
type: "custom" | "self-courier" | "store-pickup";
|
|
434
433
|
label: string;
|
|
434
|
+
providerId: string;
|
|
435
435
|
fee: {
|
|
436
436
|
flat?: number | undefined;
|
|
437
437
|
min?: number | undefined;
|
|
@@ -439,7 +439,6 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
439
439
|
perKg?: number | undefined;
|
|
440
440
|
percentOfOrder?: number | undefined;
|
|
441
441
|
};
|
|
442
|
-
providerId: string;
|
|
443
442
|
etaDaysMin: number;
|
|
444
443
|
etaDaysMax: number;
|
|
445
444
|
regions?: string[] | undefined;
|
|
@@ -449,6 +448,7 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
449
448
|
} | undefined;
|
|
450
449
|
bio?: string | undefined;
|
|
451
450
|
website?: string | undefined;
|
|
451
|
+
location?: string | undefined;
|
|
452
452
|
socialLinks?: {
|
|
453
453
|
instagram?: string | undefined;
|
|
454
454
|
facebook?: string | undefined;
|
|
@@ -481,13 +481,13 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
481
481
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
482
482
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
483
483
|
lastSyncCount?: number | undefined;
|
|
484
|
-
lastSyncStatus?: "
|
|
484
|
+
lastSyncStatus?: "failed" | "success" | "partial" | undefined;
|
|
485
485
|
connectedAt?: string | Date | z.objectOutputType<{
|
|
486
486
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
487
487
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
488
488
|
} | undefined;
|
|
489
489
|
}, {
|
|
490
|
-
status: "pending" | "
|
|
490
|
+
status: "pending" | "rejected" | "active" | "suspended";
|
|
491
491
|
id: string;
|
|
492
492
|
createdAt: string | Date | z.objectInputType<{
|
|
493
493
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
@@ -495,11 +495,10 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
495
495
|
updatedAt: string | Date | z.objectInputType<{
|
|
496
496
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
497
497
|
}, z.ZodTypeAny, "passthrough">;
|
|
498
|
-
storeName: string;
|
|
499
498
|
ownerId: string;
|
|
499
|
+
storeName: string;
|
|
500
500
|
storeSlug: string;
|
|
501
501
|
isPublic: boolean;
|
|
502
|
-
location?: string | undefined;
|
|
503
502
|
returnPolicy?: string | undefined;
|
|
504
503
|
stats?: {
|
|
505
504
|
totalProducts: number;
|
|
@@ -517,6 +516,7 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
517
516
|
providers: {
|
|
518
517
|
type: "custom" | "self-courier" | "store-pickup";
|
|
519
518
|
label: string;
|
|
519
|
+
providerId: string;
|
|
520
520
|
fee: {
|
|
521
521
|
flat?: number | undefined;
|
|
522
522
|
min?: number | undefined;
|
|
@@ -524,7 +524,6 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
524
524
|
perKg?: number | undefined;
|
|
525
525
|
percentOfOrder?: number | undefined;
|
|
526
526
|
};
|
|
527
|
-
providerId: string;
|
|
528
527
|
etaDaysMin: number;
|
|
529
528
|
etaDaysMax: number;
|
|
530
529
|
regions?: string[] | undefined;
|
|
@@ -534,6 +533,7 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
534
533
|
} | undefined;
|
|
535
534
|
bio?: string | undefined;
|
|
536
535
|
website?: string | undefined;
|
|
536
|
+
location?: string | undefined;
|
|
537
537
|
socialLinks?: {
|
|
538
538
|
instagram?: string | undefined;
|
|
539
539
|
facebook?: string | undefined;
|
|
@@ -566,7 +566,7 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
566
566
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
567
567
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
568
568
|
lastSyncCount?: number | undefined;
|
|
569
|
-
lastSyncStatus?: "
|
|
569
|
+
lastSyncStatus?: "failed" | "success" | "partial" | undefined;
|
|
570
570
|
connectedAt?: string | Date | z.objectInputType<{
|
|
571
571
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
572
572
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -607,8 +607,8 @@ export declare const storeListItemSchema: z.ZodObject<{
|
|
|
607
607
|
}, "strip", z.ZodTypeAny, {
|
|
608
608
|
status: string;
|
|
609
609
|
id: string;
|
|
610
|
-
storeName: string;
|
|
611
610
|
ownerId: string;
|
|
611
|
+
storeName: string;
|
|
612
612
|
storeSlug: string;
|
|
613
613
|
isPublic: boolean;
|
|
614
614
|
createdAt?: string | undefined;
|
|
@@ -623,8 +623,8 @@ export declare const storeListItemSchema: z.ZodObject<{
|
|
|
623
623
|
}, {
|
|
624
624
|
status: string;
|
|
625
625
|
id: string;
|
|
626
|
-
storeName: string;
|
|
627
626
|
ownerId: string;
|
|
627
|
+
storeName: string;
|
|
628
628
|
storeSlug: string;
|
|
629
629
|
isPublic: boolean;
|
|
630
630
|
createdAt?: string | undefined;
|
|
@@ -645,14 +645,14 @@ export declare const storeListParamsSchema: z.ZodObject<{
|
|
|
645
645
|
filters: z.ZodOptional<z.ZodString>;
|
|
646
646
|
}, "strip", z.ZodTypeAny, {
|
|
647
647
|
sort?: string | undefined;
|
|
648
|
-
page?: number | undefined;
|
|
649
|
-
pageSize?: number | undefined;
|
|
650
648
|
category?: string | undefined;
|
|
649
|
+
page?: number | undefined;
|
|
651
650
|
filters?: string | undefined;
|
|
651
|
+
pageSize?: number | undefined;
|
|
652
652
|
}, {
|
|
653
653
|
sort?: string | undefined;
|
|
654
|
-
page?: number | undefined;
|
|
655
|
-
pageSize?: number | undefined;
|
|
656
654
|
category?: string | undefined;
|
|
655
|
+
page?: number | undefined;
|
|
657
656
|
filters?: string | undefined;
|
|
657
|
+
pageSize?: number | undefined;
|
|
658
658
|
}>;
|
|
@@ -19,19 +19,19 @@ export declare const ticketMessageSchema: z.ZodObject<{
|
|
|
19
19
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
id: string;
|
|
22
|
-
body: string;
|
|
23
22
|
createdAt: string | Date | z.objectOutputType<{
|
|
24
23
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
25
24
|
}, z.ZodTypeAny, "passthrough">;
|
|
25
|
+
body: string;
|
|
26
26
|
authorId: string;
|
|
27
27
|
authorRole: "user" | "admin" | "support";
|
|
28
28
|
attachments?: string[] | undefined;
|
|
29
29
|
}, {
|
|
30
30
|
id: string;
|
|
31
|
-
body: string;
|
|
32
31
|
createdAt: string | Date | z.objectInputType<{
|
|
33
32
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
34
33
|
}, z.ZodTypeAny, "passthrough">;
|
|
34
|
+
body: string;
|
|
35
35
|
authorId: string;
|
|
36
36
|
authorRole: "user" | "admin" | "support";
|
|
37
37
|
attachments?: string[] | undefined;
|
|
@@ -117,19 +117,19 @@ export declare const supportTicketFirestoreSchema: z.ZodObject<{
|
|
|
117
117
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
118
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
119
|
id: string;
|
|
120
|
-
body: string;
|
|
121
120
|
createdAt: string | Date | z.objectOutputType<{
|
|
122
121
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
123
122
|
}, z.ZodTypeAny, "passthrough">;
|
|
123
|
+
body: string;
|
|
124
124
|
authorId: string;
|
|
125
125
|
authorRole: "user" | "admin" | "support";
|
|
126
126
|
attachments?: string[] | undefined;
|
|
127
127
|
}, {
|
|
128
128
|
id: string;
|
|
129
|
-
body: string;
|
|
130
129
|
createdAt: string | Date | z.objectInputType<{
|
|
131
130
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
132
131
|
}, z.ZodTypeAny, "passthrough">;
|
|
132
|
+
body: string;
|
|
133
133
|
authorId: string;
|
|
134
134
|
authorRole: "user" | "admin" | "support";
|
|
135
135
|
attachments?: string[] | undefined;
|
|
@@ -149,27 +149,27 @@ export declare const supportTicketFirestoreSchema: z.ZodObject<{
|
|
|
149
149
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
150
150
|
}, z.ZodTypeAny, "passthrough">>]>>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
status: "
|
|
152
|
+
status: "open" | "closed" | "in_progress" | "waiting_on_user" | "resolved";
|
|
153
153
|
id: string;
|
|
154
|
+
description: string;
|
|
155
|
+
category: "general" | "account" | "order_issue" | "billing_payment" | "listing_dispute" | "scam_report" | "refund_request" | "auction_dispute" | "store_change_request" | "order_modification_request" | "unban_request";
|
|
154
156
|
createdAt: string | Date | z.objectOutputType<{
|
|
155
157
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
156
158
|
}, z.ZodTypeAny, "passthrough">;
|
|
157
159
|
updatedAt: string | Date | z.objectOutputType<{
|
|
158
160
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
159
161
|
}, z.ZodTypeAny, "passthrough">;
|
|
160
|
-
category: "general" | "account" | "order_issue" | "billing_payment" | "listing_dispute" | "scam_report" | "refund_request" | "auction_dispute" | "store_change_request" | "order_modification_request" | "unban_request";
|
|
161
|
-
priority: "normal" | "high" | "low" | "urgent";
|
|
162
|
-
description: string;
|
|
163
162
|
userId: string;
|
|
164
163
|
userEmail: string;
|
|
165
164
|
userDisplayName: string;
|
|
166
165
|
subject: string;
|
|
166
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
167
167
|
messages: {
|
|
168
168
|
id: string;
|
|
169
|
-
body: string;
|
|
170
169
|
createdAt: string | Date | z.objectOutputType<{
|
|
171
170
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
172
171
|
}, z.ZodTypeAny, "passthrough">;
|
|
172
|
+
body: string;
|
|
173
173
|
authorId: string;
|
|
174
174
|
authorRole: "user" | "admin" | "support";
|
|
175
175
|
attachments?: string[] | undefined;
|
|
@@ -192,27 +192,27 @@ export declare const supportTicketFirestoreSchema: z.ZodObject<{
|
|
|
192
192
|
} | undefined;
|
|
193
193
|
internalNotes?: string | undefined;
|
|
194
194
|
}, {
|
|
195
|
-
status: "
|
|
195
|
+
status: "open" | "closed" | "in_progress" | "waiting_on_user" | "resolved";
|
|
196
196
|
id: string;
|
|
197
|
+
description: string;
|
|
198
|
+
category: "general" | "account" | "order_issue" | "billing_payment" | "listing_dispute" | "scam_report" | "refund_request" | "auction_dispute" | "store_change_request" | "order_modification_request" | "unban_request";
|
|
197
199
|
createdAt: string | Date | z.objectInputType<{
|
|
198
200
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
199
201
|
}, z.ZodTypeAny, "passthrough">;
|
|
200
202
|
updatedAt: string | Date | z.objectInputType<{
|
|
201
203
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
202
204
|
}, z.ZodTypeAny, "passthrough">;
|
|
203
|
-
category: "general" | "account" | "order_issue" | "billing_payment" | "listing_dispute" | "scam_report" | "refund_request" | "auction_dispute" | "store_change_request" | "order_modification_request" | "unban_request";
|
|
204
|
-
priority: "normal" | "high" | "low" | "urgent";
|
|
205
|
-
description: string;
|
|
206
205
|
userId: string;
|
|
207
206
|
userEmail: string;
|
|
208
207
|
userDisplayName: string;
|
|
209
208
|
subject: string;
|
|
209
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
210
210
|
messages: {
|
|
211
211
|
id: string;
|
|
212
|
-
body: string;
|
|
213
212
|
createdAt: string | Date | z.objectInputType<{
|
|
214
213
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
215
214
|
}, z.ZodTypeAny, "passthrough">;
|
|
215
|
+
body: string;
|
|
216
216
|
authorId: string;
|
|
217
217
|
authorRole: "user" | "admin" | "support";
|
|
218
218
|
attachments?: string[] | undefined;
|
|
@@ -10,23 +10,23 @@ export declare const supportTicketCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
10
10
|
description: z.ZodString;
|
|
11
11
|
orderId: z.ZodOptional<z.ZodString>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
category: TicketCategory;
|
|
14
13
|
description: string;
|
|
14
|
+
category: TicketCategory;
|
|
15
15
|
subject: string;
|
|
16
16
|
orderId?: string | undefined;
|
|
17
17
|
}, {
|
|
18
|
-
category: TicketCategory;
|
|
19
18
|
description: string;
|
|
19
|
+
category: TicketCategory;
|
|
20
20
|
subject: string;
|
|
21
21
|
orderId?: string | undefined;
|
|
22
22
|
}>, {
|
|
23
|
-
category: TicketCategory;
|
|
24
23
|
description: string;
|
|
24
|
+
category: TicketCategory;
|
|
25
25
|
subject: string;
|
|
26
26
|
orderId?: string | undefined;
|
|
27
27
|
}, {
|
|
28
|
-
category: TicketCategory;
|
|
29
28
|
description: string;
|
|
29
|
+
category: TicketCategory;
|
|
30
30
|
subject: string;
|
|
31
31
|
orderId?: string | undefined;
|
|
32
32
|
}>;
|
|
@@ -28,32 +28,32 @@ export declare const taxCodeFormSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28
28
|
notes: z.ZodOptional<z.ZodString>;
|
|
29
29
|
isActive: z.ZodBoolean;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
label: string;
|
|
32
31
|
isActive: boolean;
|
|
32
|
+
label: string;
|
|
33
33
|
gstRate: number;
|
|
34
34
|
description?: string | undefined;
|
|
35
35
|
notes?: string | undefined;
|
|
36
36
|
hsnCode?: string | undefined;
|
|
37
37
|
chapter?: "9503" | "4911" | "9504" | "exempt" | undefined;
|
|
38
38
|
}, {
|
|
39
|
-
label: string;
|
|
40
39
|
isActive: boolean;
|
|
40
|
+
label: string;
|
|
41
41
|
gstRate: number;
|
|
42
42
|
description?: string | undefined;
|
|
43
43
|
notes?: string | undefined;
|
|
44
44
|
hsnCode?: string | undefined;
|
|
45
45
|
chapter?: "9503" | "4911" | "9504" | "exempt" | undefined;
|
|
46
46
|
}>, {
|
|
47
|
-
label: string;
|
|
48
47
|
isActive: boolean;
|
|
48
|
+
label: string;
|
|
49
49
|
gstRate: number;
|
|
50
50
|
description?: string | undefined;
|
|
51
51
|
notes?: string | undefined;
|
|
52
52
|
hsnCode?: string | undefined;
|
|
53
53
|
chapter?: "9503" | "4911" | "9504" | "exempt" | undefined;
|
|
54
54
|
}, {
|
|
55
|
-
label: string;
|
|
56
55
|
isActive: boolean;
|
|
56
|
+
label: string;
|
|
57
57
|
gstRate: number;
|
|
58
58
|
description?: string | undefined;
|
|
59
59
|
notes?: string | undefined;
|
|
@@ -38,7 +38,7 @@ import { z } from "zod";
|
|
|
38
38
|
* literal union here would be a second enumeration of the same union, which is
|
|
39
39
|
* Root Cause #61's shape.
|
|
40
40
|
*/
|
|
41
|
-
export declare const GST_RATE_ENUM: z.ZodType<0 |
|
|
41
|
+
export declare const GST_RATE_ENUM: z.ZodType<0 | 12 | 5 | 18 | 28, z.ZodTypeDef, 0 | 12 | 5 | 18 | 28>;
|
|
42
42
|
export declare const HSN_CHAPTER_ENUM: z.ZodEnum<["9503", "4911", "9504", "exempt"]>;
|
|
43
43
|
/**
|
|
44
44
|
* 🛑 `hsnCode` is OPTIONAL here and the blank-only-at-0% rule lives in the
|
|
@@ -51,15 +51,15 @@ export declare const taxCodeCreateSchema: z.ZodObject<{
|
|
|
51
51
|
hsnCode: z.ZodDefault<z.ZodString>;
|
|
52
52
|
label: z.ZodString;
|
|
53
53
|
description: z.ZodOptional<z.ZodString>;
|
|
54
|
-
gstRate: z.ZodType<0 |
|
|
54
|
+
gstRate: z.ZodType<0 | 12 | 5 | 18 | 28, z.ZodTypeDef, 0 | 12 | 5 | 18 | 28>;
|
|
55
55
|
chapter: z.ZodOptional<z.ZodEnum<["9503", "4911", "9504", "exempt"]>>;
|
|
56
56
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
57
57
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
58
58
|
notes: z.ZodOptional<z.ZodString>;
|
|
59
59
|
}, "strict", z.ZodTypeAny, {
|
|
60
|
-
label: string;
|
|
61
60
|
isActive: boolean;
|
|
62
|
-
|
|
61
|
+
label: string;
|
|
62
|
+
gstRate: 0 | 12 | 5 | 18 | 28;
|
|
63
63
|
hsnCode: string;
|
|
64
64
|
description?: string | undefined;
|
|
65
65
|
notes?: string | undefined;
|
|
@@ -67,7 +67,7 @@ export declare const taxCodeCreateSchema: z.ZodObject<{
|
|
|
67
67
|
effectiveFrom?: Date | undefined;
|
|
68
68
|
}, {
|
|
69
69
|
label: string;
|
|
70
|
-
gstRate: 0 |
|
|
70
|
+
gstRate: 0 | 12 | 5 | 18 | 28;
|
|
71
71
|
description?: string | undefined;
|
|
72
72
|
isActive?: boolean | undefined;
|
|
73
73
|
notes?: string | undefined;
|
|
@@ -80,26 +80,26 @@ export declare const taxCodeUpdateSchema: z.ZodObject<{
|
|
|
80
80
|
hsnCode: z.ZodOptional<z.ZodString>;
|
|
81
81
|
label: z.ZodOptional<z.ZodString>;
|
|
82
82
|
description: z.ZodOptional<z.ZodString>;
|
|
83
|
-
gstRate: z.ZodOptional<z.ZodType<0 |
|
|
83
|
+
gstRate: z.ZodOptional<z.ZodType<0 | 12 | 5 | 18 | 28, z.ZodTypeDef, 0 | 12 | 5 | 18 | 28>>;
|
|
84
84
|
chapter: z.ZodOptional<z.ZodEnum<["9503", "4911", "9504", "exempt"]>>;
|
|
85
85
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
86
86
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
87
87
|
notes: z.ZodOptional<z.ZodString>;
|
|
88
88
|
}, "strict", z.ZodTypeAny, {
|
|
89
|
-
label?: string | undefined;
|
|
90
89
|
description?: string | undefined;
|
|
91
90
|
isActive?: boolean | undefined;
|
|
92
91
|
notes?: string | undefined;
|
|
93
|
-
|
|
92
|
+
label?: string | undefined;
|
|
93
|
+
gstRate?: 0 | 12 | 5 | 18 | 28 | undefined;
|
|
94
94
|
hsnCode?: string | undefined;
|
|
95
95
|
chapter?: "9503" | "4911" | "9504" | "exempt" | undefined;
|
|
96
96
|
effectiveFrom?: Date | undefined;
|
|
97
97
|
}, {
|
|
98
|
-
label?: string | undefined;
|
|
99
98
|
description?: string | undefined;
|
|
100
99
|
isActive?: boolean | undefined;
|
|
101
100
|
notes?: string | undefined;
|
|
102
|
-
|
|
101
|
+
label?: string | undefined;
|
|
102
|
+
gstRate?: 0 | 12 | 5 | 18 | 28 | undefined;
|
|
103
103
|
hsnCode?: string | undefined;
|
|
104
104
|
chapter?: "9503" | "4911" | "9504" | "exempt" | undefined;
|
|
105
105
|
effectiveFrom?: Date | undefined;
|
|
@@ -13,9 +13,9 @@ export declare const checklistItemCreateSchema: z.ZodObject<{
|
|
|
13
13
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
14
14
|
adminOnly: z.ZodDefault<z.ZodBoolean>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
label: string;
|
|
17
16
|
isActive: boolean;
|
|
18
17
|
order: number;
|
|
18
|
+
label: string;
|
|
19
19
|
groupLabel: string;
|
|
20
20
|
groupKey: string;
|
|
21
21
|
pageLabel: string;
|
|
@@ -50,10 +50,10 @@ export declare const checklistItemUpdateSchema: z.ZodObject<{
|
|
|
50
50
|
isActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
51
51
|
adminOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
label?: string | undefined;
|
|
54
53
|
description?: string | undefined;
|
|
55
54
|
isActive?: boolean | undefined;
|
|
56
55
|
order?: number | undefined;
|
|
56
|
+
label?: string | undefined;
|
|
57
57
|
href?: string | undefined;
|
|
58
58
|
groupLabel?: string | undefined;
|
|
59
59
|
groupKey?: string | undefined;
|
|
@@ -62,10 +62,10 @@ export declare const checklistItemUpdateSchema: z.ZodObject<{
|
|
|
62
62
|
phase?: number | undefined;
|
|
63
63
|
adminOnly?: boolean | undefined;
|
|
64
64
|
}, {
|
|
65
|
-
label?: string | undefined;
|
|
66
65
|
description?: string | undefined;
|
|
67
66
|
isActive?: boolean | undefined;
|
|
68
67
|
order?: number | undefined;
|
|
68
|
+
label?: string | undefined;
|
|
69
69
|
href?: string | undefined;
|
|
70
70
|
groupLabel?: string | undefined;
|
|
71
71
|
groupKey?: string | undefined;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useQuery, useQueryClient } from "@tanstack/react-query";
|
|
4
|
-
import { Button
|
|
4
|
+
import { Button } from "../../../ui/components/Button.js";
|
|
5
|
+
import { Card } from "../../../ui/components/Card.js";
|
|
6
|
+
import { Details, Summary } from "../../../ui/components/Details.js";
|
|
7
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
8
|
+
import { Row, Stack } from "../../../ui/components/Layout.js";
|
|
9
|
+
import { Text } from "../../../ui/components/Typography.js";
|
|
10
|
+
import { TextLink } from "../../../ui/components/TextLink.js";
|
|
5
11
|
import { ROUTES } from "../../../next/routing/route-map.js";
|
|
6
12
|
import { MediaImage } from "../../media/MediaImage.js";
|
|
7
13
|
import { apiClient } from "../../../http/index.js";
|