@mohasinac/appkit 4.62.0 → 4.63.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/layout/DashboardLayoutClient.js +8 -29
- package/dist/_internal/client/features/layout/filterNavItems.d.ts +28 -0
- package/dist/_internal/client/features/layout/filterNavItems.js +35 -0
- package/dist/_internal/server/features/ads/booking.d.ts +118 -0
- package/dist/_internal/server/features/ads/booking.js +326 -0
- package/dist/_internal/server/features/checkout/actions.d.ts +129 -9
- package/dist/_internal/server/features/checkout/actions.js +850 -79
- package/dist/_internal/server/features/checkout/expand-order-items.d.ts +1 -2
- package/dist/_internal/server/features/checkout/expand-order-items.js +32 -0
- package/dist/_internal/server/features/checkout/freeze-parts.d.ts +50 -0
- package/dist/_internal/server/features/checkout/freeze-parts.js +94 -0
- package/dist/_internal/server/features/checkout/value-otp-gate.d.ts +55 -0
- package/dist/_internal/server/features/checkout/value-otp-gate.js +60 -0
- package/dist/_internal/server/features/dashboard/attention.d.ts +128 -0
- package/dist/_internal/server/features/dashboard/attention.js +183 -0
- package/dist/_internal/server/features/dashboard/data.d.ts +47 -0
- package/dist/_internal/server/features/dashboard/data.js +82 -0
- package/dist/_internal/server/features/inventory/reservations.d.ts +99 -0
- package/dist/_internal/server/features/inventory/reservations.js +273 -0
- package/dist/_internal/server/features/invoicing/allocate.d.ts +63 -0
- package/dist/_internal/server/features/invoicing/allocate.js +162 -0
- package/dist/_internal/server/features/invoicing/credit-note.d.ts +57 -0
- package/dist/_internal/server/features/invoicing/credit-note.js +126 -0
- package/dist/_internal/server/features/invoicing/gstr1.d.ts +74 -0
- package/dist/_internal/server/features/invoicing/gstr1.js +251 -0
- package/dist/_internal/server/features/invoicing/issue.d.ts +96 -0
- package/dist/_internal/server/features/invoicing/issue.js +202 -0
- package/dist/_internal/server/features/offers/destinations.d.ts +40 -0
- package/dist/_internal/server/features/offers/destinations.js +65 -0
- package/dist/_internal/server/features/orders/actions.d.ts +8 -1
- package/dist/_internal/server/features/orders/actions.js +81 -8
- package/dist/_internal/server/features/orders/adapters.js +54 -0
- package/dist/_internal/server/features/orders/amend-delivery.d.ts +56 -0
- package/dist/_internal/server/features/orders/amend-delivery.js +124 -0
- package/dist/_internal/server/features/orders/balance.d.ts +89 -0
- package/dist/_internal/server/features/orders/balance.js +256 -0
- package/dist/_internal/server/features/orders/cancellation-refund.d.ts +15 -9
- package/dist/_internal/server/features/orders/cancellation-refund.js +15 -9
- package/dist/_internal/server/features/points/award.js +46 -4
- package/dist/_internal/server/features/pricing/actions.d.ts +58 -0
- package/dist/_internal/server/features/pricing/actions.js +144 -0
- package/dist/_internal/server/features/refunds/actions.js +26 -0
- package/dist/_internal/server/features/shipping/book-split.d.ts +86 -0
- package/dist/_internal/server/features/shipping/book-split.js +130 -0
- package/dist/_internal/server/features/shipping/book.d.ts +61 -0
- package/dist/_internal/server/features/shipping/book.js +176 -0
- package/dist/_internal/server/features/shipping/courier-block.d.ts +69 -0
- package/dist/_internal/server/features/shipping/courier-block.js +264 -0
- package/dist/_internal/server/features/site-settings/adapters.d.ts +2 -2
- package/dist/_internal/server/features/site-settings/adapters.js +29 -0
- package/dist/_internal/server/features/stores/adapters.d.ts +2 -2
- package/dist/_internal/server/features/stores/adapters.js +65 -0
- package/dist/_internal/server/functions/scheduled.d.ts +2 -1
- package/dist/_internal/server/functions/scheduled.js +95 -2
- package/dist/_internal/server/jobs/core/autoPayoutEligibility.js +11 -2
- package/dist/_internal/server/jobs/core/dailyStatusDigest.d.ts +4 -0
- package/dist/_internal/server/jobs/core/dailyStatusDigest.js +19 -2
- package/dist/_internal/server/jobs/core/index.d.ts +2 -1
- package/dist/_internal/server/jobs/core/index.js +2 -1
- package/dist/_internal/server/jobs/core/jobRunners.js +45 -0
- package/dist/_internal/server/jobs/core/onJobCreated.d.ts +30 -7
- package/dist/_internal/server/jobs/core/onJobCreated.js +78 -45
- package/dist/_internal/server/jobs/core/onOrderStatusChange.d.ts +7 -0
- package/dist/_internal/server/jobs/core/onOrderStatusChange.js +65 -0
- package/dist/_internal/server/jobs/core/paymentWindowTimeout.js +33 -0
- package/dist/_internal/server/jobs/core/reservationExpiry.d.ts +17 -0
- package/dist/_internal/server/jobs/core/reservationExpiry.js +40 -0
- package/dist/_internal/server/jobs/core/runJobOnce.d.ts +48 -0
- package/dist/_internal/server/jobs/core/runJobOnce.js +195 -0
- package/dist/_internal/server/jobs/core/weeklyPayoutEligibility.js +25 -2
- package/dist/_internal/server/jobs/handlers/index.d.ts +1 -0
- package/dist/_internal/server/jobs/handlers/index.js +1 -0
- package/dist/_internal/server/jobs/handlers/onOrderStatusChange.js +17 -0
- package/dist/_internal/server/jobs/handlers/reservationExpiry.d.ts +2 -0
- package/dist/_internal/server/jobs/handlers/reservationExpiry.js +2 -0
- package/dist/_internal/server/notifications/channel-health.d.ts +26 -3
- package/dist/_internal/shared/actions/action-registry.d.ts +1 -1
- package/dist/_internal/shared/actions/action-registry.js +296 -0
- package/dist/_internal/shared/checkout/coupon-discount.d.ts +43 -1
- package/dist/_internal/shared/checkout/coupon-discount.js +26 -1
- package/dist/_internal/shared/checkout/order-math.d.ts +174 -0
- package/dist/_internal/shared/checkout/order-math.js +159 -0
- package/dist/_internal/shared/checkout/refundable-base.d.ts +25 -0
- package/dist/_internal/shared/checkout/refundable-base.js +13 -1
- package/dist/_internal/shared/checkout/rules/index.d.ts +1 -1
- package/dist/_internal/shared/checkout/rules/index.js +1 -1
- package/dist/_internal/shared/checkout/rules/payment-gate.d.ts +18 -0
- package/dist/_internal/shared/checkout/rules/payment-gate.js +25 -0
- package/dist/_internal/shared/checkout/split.d.ts +75 -0
- package/dist/_internal/shared/checkout/split.js +120 -0
- package/dist/_internal/shared/content/disclaimers.d.ts +88 -0
- package/dist/_internal/shared/content/disclaimers.js +217 -0
- package/dist/_internal/shared/content/published-values.d.ts +93 -0
- package/dist/_internal/shared/content/published-values.js +206 -0
- package/dist/_internal/shared/features/admin/integrations.d.ts +139 -0
- package/dist/_internal/shared/features/admin/integrations.js +263 -0
- package/dist/_internal/shared/features/dashboard/hub-sections.d.ts +72 -0
- package/dist/_internal/shared/features/dashboard/hub-sections.js +75 -0
- package/dist/_internal/shared/features/emi/choice.d.ts +98 -0
- package/dist/_internal/shared/features/emi/choice.js +69 -0
- package/dist/_internal/shared/features/emi/group.d.ts +84 -0
- package/dist/_internal/shared/features/emi/group.js +126 -0
- package/dist/_internal/shared/features/ledger/posting.d.ts +107 -0
- package/dist/_internal/shared/features/ledger/posting.js +165 -0
- package/dist/_internal/shared/features/ledger/reports.d.ts +76 -0
- package/dist/_internal/shared/features/ledger/reports.js +127 -0
- package/dist/_internal/shared/features/ledger/rules.d.ts +170 -0
- package/dist/_internal/shared/features/ledger/rules.js +221 -0
- package/dist/_internal/shared/features/offers/coordination.d.ts +122 -0
- package/dist/_internal/shared/features/offers/coordination.js +80 -0
- package/dist/_internal/shared/features/orders/delivery-snapshot.d.ts +114 -0
- package/dist/_internal/shared/features/orders/delivery-snapshot.js +116 -0
- package/dist/_internal/shared/features/orders/dispute-reasons.d.ts +113 -0
- package/dist/_internal/shared/features/orders/dispute-reasons.js +181 -0
- package/dist/_internal/shared/features/orders/refund-copy.d.ts +1 -1
- package/dist/_internal/shared/features/orders/refund-copy.js +18 -1
- package/dist/_internal/shared/features/payouts/pay-period.d.ts +91 -0
- package/dist/_internal/shared/features/payouts/pay-period.js +104 -0
- package/dist/_internal/shared/features/points/accepts.d.ts +29 -0
- package/dist/_internal/shared/features/points/accepts.js +49 -0
- package/dist/_internal/shared/features/pricing/rate-registry.d.ts +150 -0
- package/dist/_internal/shared/features/pricing/rate-registry.js +246 -0
- package/dist/_internal/shared/features/shipping/parcel.d.ts +123 -0
- package/dist/_internal/shared/features/shipping/parcel.js +139 -0
- package/dist/_internal/shared/features/shipping/shared-purchase.d.ts +91 -0
- package/dist/_internal/shared/features/shipping/shared-purchase.js +108 -0
- package/dist/_internal/shared/features/site-settings/fees.d.ts +16 -8
- package/dist/_internal/shared/features/site-settings/fees.js +12 -8
- package/dist/_internal/shared/features/site-settings/types.d.ts +11 -0
- package/dist/_internal/shared/fees/calculator.d.ts +33 -1
- package/dist/_internal/shared/fees/calculator.js +32 -2
- package/dist/_internal/shared/fees/explain.d.ts +81 -0
- package/dist/_internal/shared/fees/explain.js +101 -0
- package/dist/_internal/shared/history/index.d.ts +1 -1
- package/dist/_internal/shared/history/index.js +1 -1
- package/dist/_internal/shared/history/types.d.ts +7 -1
- package/dist/_internal/shared/history/types.js +25 -0
- package/dist/client.d.ts +21 -0
- package/dist/client.js +43 -0
- package/dist/constants/api-endpoints.d.ts +114 -0
- package/dist/constants/api-endpoints.js +55 -0
- package/dist/constants/field-names.d.ts +42 -0
- package/dist/constants/field-names.js +52 -0
- package/dist/contracts/index.d.ts +1 -1
- package/dist/contracts/shipping.d.ts +45 -0
- package/dist/contracts/shipping.js +15 -0
- package/dist/features/about/components/AboutView.js +1 -1
- package/dist/features/account/components/BuyerAuctionsGuideView.js +4 -1
- package/dist/features/account/components/UserOrdersView.js +47 -35
- package/dist/features/admin/components/AdminCouponEditorView.js +17 -0
- package/dist/features/admin/components/AdminIntegrationsView.d.ts +55 -0
- package/dist/features/admin/components/AdminIntegrationsView.js +74 -0
- package/dist/features/admin/components/AdminInvoicingView.d.ts +2 -0
- package/dist/features/admin/components/AdminInvoicingView.js +65 -0
- package/dist/features/admin/components/AdminOrderEditorView.d.ts +33 -1
- package/dist/features/admin/components/AdminOrderEditorView.js +81 -3
- package/dist/features/admin/components/AdminOrdersGuideView.js +23 -2
- package/dist/features/admin/components/AdminOrdersView.js +86 -5
- package/dist/features/admin/components/OwnerQuickActions.js +24 -2
- package/dist/features/admin/constants/filter-tabs.d.ts +6 -0
- package/dist/features/admin/constants/filter-tabs.js +6 -0
- package/dist/features/admin/constants/site-settings-tabs.d.ts +1 -1
- package/dist/features/admin/hooks/useAdminListingData.js +16 -0
- package/dist/features/admin/schemas/admin-user-form.d.ts +2 -2
- package/dist/features/admin/schemas/firestore.d.ts +62 -0
- package/dist/features/admin/schemas/firestore.js +5 -0
- package/dist/features/ads/schemas/booking-write.d.ts +120 -0
- package/dist/features/ads/schemas/booking-write.js +75 -0
- package/dist/features/ads/schemas/creative-form.d.ts +18 -0
- package/dist/features/ads/schemas/creative-form.js +51 -0
- package/dist/features/ads/schemas/firestore.d.ts +140 -0
- package/dist/features/ads/schemas/firestore.js +109 -0
- package/dist/features/auctions/repository/bid.repository.js +3 -1
- package/dist/features/audit-log/schemas/firestore.d.ts +140 -0
- package/dist/features/audit-log/schemas/firestore.js +89 -0
- package/dist/features/auth/actions/profile-actions.d.ts +69 -1
- package/dist/features/auth/actions/profile-actions.js +62 -1
- package/dist/features/auth/permissions/constants.js +13 -0
- package/dist/features/auth/schemas/firestore.d.ts +16 -2
- package/dist/features/auth/schemas/firestore.js +2 -1
- package/dist/features/blog/actions/blog-actions.d.ts +6 -0
- package/dist/features/blog/actions/blog-actions.js +17 -2
- package/dist/features/blog/api/route.js +4 -1
- package/dist/features/blog/columns/index.js +5 -0
- package/dist/features/blog/components/BlogIndexPageView.js +2 -1
- package/dist/features/blog/repository/blog.repository.d.ts +4 -0
- package/dist/features/blog/repository/blog.repository.js +5 -0
- package/dist/features/blog/schemas/blog-form.d.ts +3 -0
- package/dist/features/blog/schemas/blog-form.js +1 -0
- package/dist/features/blog/schemas/firestore.d.ts +38 -1
- package/dist/features/blog/schemas/firestore.js +23 -0
- package/dist/features/blog/schemas/index.d.ts +6 -0
- package/dist/features/blog/schemas/index.js +2 -0
- package/dist/features/blog/types/index.d.ts +2 -0
- package/dist/features/cart/components/CartPriceBreakdown.d.ts +25 -1
- package/dist/features/cart/components/CartPriceBreakdown.js +29 -6
- package/dist/features/cart/components/PointsTenderPicker.d.ts +61 -0
- package/dist/features/cart/components/PointsTenderPicker.js +15 -0
- package/dist/features/cart/components/StoreAddonsPicker.js +2 -1
- package/dist/features/cart/components/index.d.ts +2 -0
- package/dist/features/cart/components/index.js +1 -0
- package/dist/features/cart/repository/cart.repository.d.ts +33 -0
- package/dist/features/cart/repository/cart.repository.js +47 -0
- package/dist/features/cart/schemas/firestore.d.ts +116 -0
- package/dist/features/contact/email.d.ts +27 -10
- package/dist/features/contact/email.js +20 -3
- package/dist/features/dashboard/components/DashboardHubView.d.ts +83 -0
- package/dist/features/dashboard/components/DashboardHubView.js +56 -0
- package/dist/features/dashboard/components/DashboardSectionsClient.d.ts +23 -0
- package/dist/features/dashboard/components/DashboardSectionsClient.js +66 -0
- package/dist/features/dispute-reasons/components/AdminDisputeReasonsView.d.ts +55 -0
- package/dist/features/dispute-reasons/components/AdminDisputeReasonsView.js +175 -0
- package/dist/features/dispute-reasons/repository/dispute-reasons.repository.d.ts +62 -0
- package/dist/features/dispute-reasons/repository/dispute-reasons.repository.js +108 -0
- package/dist/features/dispute-reasons/schemas/firestore.d.ts +62 -0
- package/dist/features/dispute-reasons/schemas/firestore.js +40 -0
- package/dist/features/events/components/EventSaleBanner.js +1 -1
- package/dist/features/faq/components/FAQAccordion.d.ts +13 -1
- package/dist/features/faq/components/FAQAccordion.js +29 -4
- package/dist/features/faq/components/FAQPageContent.js +2 -2
- package/dist/features/gateway-events/schemas/index.d.ts +2 -2
- package/dist/features/homepage/schemas/index.d.ts +8 -8
- package/dist/features/inventory/schemas/stock-reservation.d.ts +114 -0
- package/dist/features/inventory/schemas/stock-reservation.js +103 -0
- package/dist/features/invoicing/schemas/firestore.d.ts +112 -0
- package/dist/features/invoicing/schemas/firestore.js +45 -0
- package/dist/features/invoicing/utils/financial-year.d.ts +43 -0
- package/dist/features/invoicing/utils/financial-year.js +53 -0
- package/dist/features/jobs/actions/enqueue-job.js +18 -1
- package/dist/features/jobs/repository/jobs.repository.d.ts +62 -1
- package/dist/features/jobs/repository/jobs.repository.js +84 -1
- package/dist/features/jobs/schemas/firestore.d.ts +80 -0
- package/dist/features/jobs/schemas/firestore.js +37 -0
- package/dist/features/layout/AppLayoutShell.d.ts +9 -1
- package/dist/features/layout/AppLayoutShell.js +12 -4
- package/dist/features/layout/BottomActions.js +2 -1
- package/dist/features/layout/BottomNavbar.d.ts +10 -2
- package/dist/features/layout/SideActionDock.js +52 -2
- package/dist/features/layout/TitleBarLayout.js +13 -4
- package/dist/features/layout/TitleBarLayout.style.css +59 -0
- package/dist/features/layout/useCtaReveal.d.ts +16 -1
- package/dist/features/layout/useCtaReveal.js +17 -26
- package/dist/features/ledger/repository/journal.repository.d.ts +110 -0
- package/dist/features/ledger/repository/journal.repository.js +312 -0
- package/dist/features/ledger/schemas/expenses.d.ts +87 -0
- package/dist/features/ledger/schemas/expenses.js +27 -0
- package/dist/features/ledger/schemas/firestore.d.ts +183 -0
- package/dist/features/ledger/schemas/firestore.js +69 -0
- package/dist/features/lottery/schemas/zod.d.ts +6 -6
- package/dist/features/media/MediaImage.js +22 -1
- package/dist/features/media/upload/ImageUpload.js +1 -1
- package/dist/features/obligations/constants/policies.js +24 -1
- package/dist/features/orders/components/BalancePaymentPanel.d.ts +12 -0
- package/dist/features/orders/components/BalancePaymentPanel.js +94 -0
- package/dist/features/orders/components/OrderPaymentSummary.js +10 -1
- package/dist/features/orders/components/OrderProvenanceCard.d.ts +8 -0
- package/dist/features/orders/components/OrderProvenanceCard.js +185 -0
- package/dist/features/orders/components/RaiseDisputeForm.d.ts +14 -0
- package/dist/features/orders/components/RaiseDisputeForm.js +119 -0
- package/dist/features/orders/components/RefundRequestView.js +19 -1
- package/dist/features/orders/components/index.d.ts +4 -0
- package/dist/features/orders/components/index.js +2 -0
- package/dist/features/orders/constants/order-lane-tabs.d.ts +69 -0
- package/dist/features/orders/constants/order-lane-tabs.js +88 -0
- package/dist/features/orders/repository/orders.repository.d.ts +85 -1
- package/dist/features/orders/repository/orders.repository.js +205 -6
- package/dist/features/orders/schemas/balance.d.ts +40 -0
- package/dist/features/orders/schemas/balance.js +47 -0
- package/dist/features/orders/schemas/firestore.d.ts +398 -1
- package/dist/features/orders/schemas/firestore.js +43 -0
- package/dist/features/orders/schemas/index.d.ts +56 -8
- package/dist/features/orders/schemas/index.js +12 -0
- package/dist/features/orders/types/index.d.ts +47 -0
- package/dist/features/orders/utils/courier-block.d.ts +25 -0
- package/dist/features/orders/utils/courier-block.js +23 -0
- package/dist/features/payment-cases/schemas/firestore.d.ts +26 -1
- package/dist/features/payment-cases/schemas/firestore.js +1 -0
- package/dist/features/payments/repository/payout.repository.js +3 -2
- package/dist/features/payments/schemas/firestore.d.ts +92 -1
- package/dist/features/payments/schemas/firestore.js +23 -0
- package/dist/features/pricing/components/AdminPricingView.d.ts +13 -0
- package/dist/features/pricing/components/AdminPricingView.js +157 -0
- package/dist/features/products/components/PrizeDrawDetailPageView.js +2 -2
- package/dist/features/products/components/ProductDetailPageView.d.ts +17 -1
- package/dist/features/products/components/ProductDetailPageView.js +2 -2
- package/dist/features/products/schemas/firestore.d.ts +26 -1
- package/dist/features/products/schemas/firestore.js +2 -0
- package/dist/features/products/schemas/index.d.ts +2 -2
- package/dist/features/products/schemas/product-features.validators.d.ts +10 -10
- package/dist/features/promotions/actions/coupon-stacking.d.ts +30 -3
- package/dist/features/promotions/actions/coupon-stacking.js +21 -2
- package/dist/features/promotions/components/CouponCard.js +13 -0
- package/dist/features/promotions/constants/coupon-help.d.ts +2 -2
- package/dist/features/promotions/constants/coupon-help.js +9 -1
- package/dist/features/promotions/schemas/firestore.d.ts +24 -0
- package/dist/features/promotions/schemas/firestore.js +4 -0
- package/dist/features/promotions/types/index.d.ts +19 -1
- package/dist/features/reviews/repository/reviews.repository.d.ts +14 -0
- package/dist/features/reviews/repository/reviews.repository.js +16 -0
- package/dist/features/scams/components/ScamProfileView.js +2 -2
- package/dist/features/scams/components/ScamRegistryView.js +2 -2
- package/dist/features/scams/repository/scammer.repository.js +2 -1
- package/dist/features/scams/schemas/firestore.d.ts +2 -1
- package/dist/features/scams/schemas/firestore.js +2 -1
- package/dist/features/search/action-index/tab-entries.js +1 -1
- package/dist/features/seller/actions/offer-actions.js +56 -0
- package/dist/features/seller/actions/seller-actions.d.ts +1 -1
- package/dist/features/seller/actions/seller-actions.js +37 -3
- package/dist/features/seller/components/DispatchForm.d.ts +11 -0
- package/dist/features/seller/components/DispatchForm.js +190 -0
- package/dist/features/seller/components/SellerOrdersView.js +221 -27
- package/dist/features/seller/components/index.d.ts +1 -0
- package/dist/features/seller/components/index.js +1 -0
- package/dist/features/seller/hooks/useSellerListingData.js +25 -0
- package/dist/features/seller/repository/offer.repository.js +4 -3
- package/dist/features/seller/schemas/firestore.d.ts +23 -2
- package/dist/features/seller/schemas/firestore.js +3 -2
- package/dist/features/seller/schemas/index.d.ts +4 -4
- package/dist/features/seller/schemas/order-forms.d.ts +61 -4
- package/dist/features/seller/schemas/order-forms.js +41 -8
- package/dist/features/shipments/schemas/firestore.d.ts +25 -0
- package/dist/features/shipments/schemas/validation.d.ts +4 -4
- package/dist/features/shipping-boxes/repository/shipping-boxes.repository.d.ts +82 -0
- package/dist/features/shipping-boxes/repository/shipping-boxes.repository.js +145 -0
- package/dist/features/shipping-boxes/schemas/firestore.d.ts +80 -0
- package/dist/features/shipping-boxes/schemas/firestore.js +53 -0
- package/dist/features/store-extensions/schemas/report-create-form.d.ts +2 -2
- package/dist/features/store-extensions/schemas/shipping-config-form.d.ts +2 -2
- package/dist/features/stores/components/StoreOrdersGuideView.js +6 -1
- package/dist/features/stores/repository/store.repository.d.ts +18 -0
- package/dist/features/stores/repository/store.repository.js +27 -1
- package/dist/features/stores/schemas/firestore.d.ts +112 -0
- package/dist/features/stores/schemas/firestore.js +20 -0
- package/dist/features/stores/schemas/index.d.ts +6 -6
- package/dist/features/stores/types/index.d.ts +19 -0
- package/dist/features/support/repository/support.repository.js +72 -6
- package/dist/features/support/schemas/firestore.d.ts +17 -0
- package/dist/features/support/schemas/index.d.ts +8 -8
- package/dist/features/wishlist/hooks/useWishlistWithGuest.d.ts +1 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +33 -1
- package/dist/next/routing/route-map.d.ts +112 -0
- package/dist/next/routing/route-map.js +63 -0
- package/dist/providers/shipping-shiprocket/index.d.ts +27 -1
- package/dist/providers/shipping-shiprocket/index.js +84 -1
- package/dist/react/contexts/SessionContext.d.ts +17 -1
- package/dist/schemas/registry.d.ts +69 -34
- package/dist/schemas/sieve.d.ts +2 -2
- package/dist/security/pii-schemas.d.ts +1 -1
- package/dist/security/pii-schemas.js +45 -0
- package/dist/server-entry.d.ts +2 -2
- package/dist/server-entry.js +8 -1
- package/dist/server.d.ts +36 -1
- package/dist/server.js +183 -1
- package/dist/styles.css +412 -80
- package/dist/tailwind-utilities.css +1 -1
- package/dist/tokens/themes/default-dark.js +1 -0
- package/dist/tokens/themes/default-light.js +1 -0
- package/dist/tokens/themes/required.d.ts +1 -1
- package/dist/tokens/themes/required.js +1 -0
- package/dist/tokens/tokens.css +15 -0
- package/dist/ui/components/Button.d.ts +10 -1
- package/dist/ui/components/Button.js +25 -3
- package/dist/ui/components/Chart.d.ts +63 -0
- package/dist/ui/components/Chart.js +169 -0
- package/dist/ui/components/Chart.style.css +214 -0
- package/dist/ui/components/Disclaimer.d.ts +19 -0
- package/dist/ui/components/Disclaimer.js +83 -0
- package/dist/ui/components/OverflowRow.js +54 -2
- package/dist/ui/components/OverflowRow.style.css +38 -0
- package/dist/ui/components/RichTextEditor.js +99 -8
- package/dist/ui/components/chart-spec.d.ts +68 -0
- package/dist/ui/components/chart-spec.js +140 -0
- package/dist/ui/components/index.style.css +1 -0
- package/dist/ui/components/surface-tokens.d.ts +1 -1
- package/dist/ui/components/surface-tokens.js +9 -0
- package/dist/ui/components/tabs-overflow.js +64 -11
- package/dist/ui/components/toolbar-collapse.d.ts +13 -0
- package/dist/ui/components/toolbar-collapse.js +10 -1
- package/dist/ui/index.d.ts +8 -0
- package/dist/ui/index.js +9 -0
- package/dist/ui/rich-text/RichText.d.ts +10 -1
- package/dist/ui/rich-text/RichText.js +33 -2
- package/dist/ui/rich-text/RichText.style.css +83 -79
- package/dist/ui/rich-text/RichTextRenderer.d.ts +30 -1
- package/dist/ui/rich-text/RichTextRenderer.js +34 -2
- package/dist/ui/rich-text/chart-blocks.d.ts +62 -0
- package/dist/ui/rich-text/chart-blocks.js +87 -0
- package/package.json +1 -1
- package/scripts/seed-cli.mjs +1834 -1822
|
@@ -170,6 +170,7 @@ export declare const SCHEMAS: {
|
|
|
170
170
|
category: import("zod").ZodString;
|
|
171
171
|
tags: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
172
172
|
isFeatured: import("zod").ZodBoolean;
|
|
173
|
+
isPinned: import("zod").ZodBoolean;
|
|
173
174
|
status: import("zod").ZodEnum<["draft", "published", "archived"]>;
|
|
174
175
|
publishedAt: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodDate, import("zod").ZodString, import("zod").ZodObject<{
|
|
175
176
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
@@ -205,6 +206,7 @@ export declare const SCHEMAS: {
|
|
|
205
206
|
authorId: string;
|
|
206
207
|
authorName: string;
|
|
207
208
|
readTimeMinutes: number;
|
|
209
|
+
isPinned: boolean;
|
|
208
210
|
publishedAt?: string | Date | import("zod").objectOutputType<{
|
|
209
211
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
210
212
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -258,6 +260,7 @@ export declare const SCHEMAS: {
|
|
|
258
260
|
authorId: string;
|
|
259
261
|
authorName: string;
|
|
260
262
|
readTimeMinutes: number;
|
|
263
|
+
isPinned: boolean;
|
|
261
264
|
publishedAt?: string | Date | import("zod").objectInputType<{
|
|
262
265
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
263
266
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -816,16 +819,16 @@ export declare const SCHEMAS: {
|
|
|
816
819
|
opacity?: number | undefined;
|
|
817
820
|
subtitle?: string | undefined;
|
|
818
821
|
} | undefined;
|
|
822
|
+
settings?: {
|
|
823
|
+
height?: "medium" | "viewport" | "tall" | undefined;
|
|
824
|
+
autoplayDelayMs?: number | undefined;
|
|
825
|
+
} | undefined;
|
|
819
826
|
analytics?: {
|
|
820
827
|
views: number;
|
|
821
828
|
lastViewed?: string | Date | import("zod").objectOutputType<{
|
|
822
829
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
823
830
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
824
831
|
} | undefined;
|
|
825
|
-
settings?: {
|
|
826
|
-
height?: "medium" | "viewport" | "tall" | undefined;
|
|
827
|
-
autoplayDelayMs?: number | undefined;
|
|
828
|
-
} | undefined;
|
|
829
832
|
carouselId?: string | null | undefined;
|
|
830
833
|
}, {
|
|
831
834
|
id: string;
|
|
@@ -925,16 +928,16 @@ export declare const SCHEMAS: {
|
|
|
925
928
|
opacity?: number | undefined;
|
|
926
929
|
subtitle?: string | undefined;
|
|
927
930
|
} | undefined;
|
|
931
|
+
settings?: {
|
|
932
|
+
height?: "medium" | "viewport" | "tall" | undefined;
|
|
933
|
+
autoplayDelayMs?: number | undefined;
|
|
934
|
+
} | undefined;
|
|
928
935
|
analytics?: {
|
|
929
936
|
views: number;
|
|
930
937
|
lastViewed?: string | Date | import("zod").objectInputType<{
|
|
931
938
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
932
939
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
933
940
|
} | undefined;
|
|
934
|
-
settings?: {
|
|
935
|
-
height?: "medium" | "viewport" | "tall" | undefined;
|
|
936
|
-
autoplayDelayMs?: number | undefined;
|
|
937
|
-
} | undefined;
|
|
938
941
|
carouselId?: string | null | undefined;
|
|
939
942
|
}>;
|
|
940
943
|
readonly categories: import("zod").ZodObject<{
|
|
@@ -2895,6 +2898,15 @@ export declare const SCHEMAS: {
|
|
|
2895
2898
|
proofDocumentUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2896
2899
|
proofDocumentMimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2897
2900
|
overrideReason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2901
|
+
creditNoteNumber: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2902
|
+
creditNoteIssuedAt: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodDate, import("zod").ZodString, import("zod").ZodObject<{
|
|
2903
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
2904
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
2905
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
2906
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
2907
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
2908
|
+
}, import("zod").ZodTypeAny, "passthrough">>]>>;
|
|
2909
|
+
creditNoteStoragePath: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2898
2910
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2899
2911
|
type: "full" | "partial";
|
|
2900
2912
|
amount: number;
|
|
@@ -2905,8 +2917,8 @@ export declare const SCHEMAS: {
|
|
|
2905
2917
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
2906
2918
|
refundedBy: string;
|
|
2907
2919
|
status?: "failed" | "processed" | "reserved" | undefined;
|
|
2908
|
-
failureReason?: string | undefined;
|
|
2909
2920
|
gateway?: string | undefined;
|
|
2921
|
+
failureReason?: string | undefined;
|
|
2910
2922
|
itemIds?: string[] | undefined;
|
|
2911
2923
|
reasonCode?: string | undefined;
|
|
2912
2924
|
gatewayRefundId?: string | undefined;
|
|
@@ -2916,6 +2928,11 @@ export declare const SCHEMAS: {
|
|
|
2916
2928
|
proofDocumentUrl?: string | undefined;
|
|
2917
2929
|
proofDocumentMimeType?: string | undefined;
|
|
2918
2930
|
overrideReason?: string | undefined;
|
|
2931
|
+
creditNoteNumber?: string | undefined;
|
|
2932
|
+
creditNoteIssuedAt?: string | Date | import("zod").objectOutputType<{
|
|
2933
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
2934
|
+
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
2935
|
+
creditNoteStoragePath?: string | undefined;
|
|
2919
2936
|
}, {
|
|
2920
2937
|
type: "full" | "partial";
|
|
2921
2938
|
amount: number;
|
|
@@ -2926,8 +2943,8 @@ export declare const SCHEMAS: {
|
|
|
2926
2943
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
2927
2944
|
refundedBy: string;
|
|
2928
2945
|
status?: "failed" | "processed" | "reserved" | undefined;
|
|
2929
|
-
failureReason?: string | undefined;
|
|
2930
2946
|
gateway?: string | undefined;
|
|
2947
|
+
failureReason?: string | undefined;
|
|
2931
2948
|
itemIds?: string[] | undefined;
|
|
2932
2949
|
reasonCode?: string | undefined;
|
|
2933
2950
|
gatewayRefundId?: string | undefined;
|
|
@@ -2937,6 +2954,11 @@ export declare const SCHEMAS: {
|
|
|
2937
2954
|
proofDocumentUrl?: string | undefined;
|
|
2938
2955
|
proofDocumentMimeType?: string | undefined;
|
|
2939
2956
|
overrideReason?: string | undefined;
|
|
2957
|
+
creditNoteNumber?: string | undefined;
|
|
2958
|
+
creditNoteIssuedAt?: string | Date | import("zod").objectInputType<{
|
|
2959
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
2960
|
+
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
2961
|
+
creditNoteStoragePath?: string | undefined;
|
|
2940
2962
|
}>, "many">>;
|
|
2941
2963
|
contestable: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2942
2964
|
adminBypassBy: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -3042,6 +3064,7 @@ export declare const SCHEMAS: {
|
|
|
3042
3064
|
prizeRevealStatus?: "closed" | "open" | "pending" | "revealed" | undefined;
|
|
3043
3065
|
}[] | undefined;
|
|
3044
3066
|
bundleId?: string | undefined;
|
|
3067
|
+
orderType?: string | undefined;
|
|
3045
3068
|
prizeWon?: {
|
|
3046
3069
|
title: string;
|
|
3047
3070
|
images: string[];
|
|
@@ -3058,7 +3081,6 @@ export declare const SCHEMAS: {
|
|
|
3058
3081
|
bin: string;
|
|
3059
3082
|
} | undefined;
|
|
3060
3083
|
offerId?: string | undefined;
|
|
3061
|
-
orderType?: string | undefined;
|
|
3062
3084
|
isNonRefundable?: boolean | undefined;
|
|
3063
3085
|
imageUrls?: string[] | undefined;
|
|
3064
3086
|
refundFeeDeducted?: number | undefined;
|
|
@@ -3107,8 +3129,8 @@ export declare const SCHEMAS: {
|
|
|
3107
3129
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
3108
3130
|
refundedBy: string;
|
|
3109
3131
|
status?: "failed" | "processed" | "reserved" | undefined;
|
|
3110
|
-
failureReason?: string | undefined;
|
|
3111
3132
|
gateway?: string | undefined;
|
|
3133
|
+
failureReason?: string | undefined;
|
|
3112
3134
|
itemIds?: string[] | undefined;
|
|
3113
3135
|
reasonCode?: string | undefined;
|
|
3114
3136
|
gatewayRefundId?: string | undefined;
|
|
@@ -3118,6 +3140,11 @@ export declare const SCHEMAS: {
|
|
|
3118
3140
|
proofDocumentUrl?: string | undefined;
|
|
3119
3141
|
proofDocumentMimeType?: string | undefined;
|
|
3120
3142
|
overrideReason?: string | undefined;
|
|
3143
|
+
creditNoteNumber?: string | undefined;
|
|
3144
|
+
creditNoteIssuedAt?: string | Date | import("zod").objectOutputType<{
|
|
3145
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
3146
|
+
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
3147
|
+
creditNoteStoragePath?: string | undefined;
|
|
3121
3148
|
}[] | undefined;
|
|
3122
3149
|
contestable?: boolean | undefined;
|
|
3123
3150
|
adminBypassBy?: string | undefined;
|
|
@@ -3196,6 +3223,7 @@ export declare const SCHEMAS: {
|
|
|
3196
3223
|
prizeRevealStatus?: "closed" | "open" | "pending" | "revealed" | undefined;
|
|
3197
3224
|
}[] | undefined;
|
|
3198
3225
|
bundleId?: string | undefined;
|
|
3226
|
+
orderType?: string | undefined;
|
|
3199
3227
|
prizeWon?: {
|
|
3200
3228
|
title: string;
|
|
3201
3229
|
images: string[];
|
|
@@ -3212,7 +3240,6 @@ export declare const SCHEMAS: {
|
|
|
3212
3240
|
bin: string;
|
|
3213
3241
|
} | undefined;
|
|
3214
3242
|
offerId?: string | undefined;
|
|
3215
|
-
orderType?: string | undefined;
|
|
3216
3243
|
isNonRefundable?: boolean | undefined;
|
|
3217
3244
|
imageUrls?: string[] | undefined;
|
|
3218
3245
|
refundFeeDeducted?: number | undefined;
|
|
@@ -3261,8 +3288,8 @@ export declare const SCHEMAS: {
|
|
|
3261
3288
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
3262
3289
|
refundedBy: string;
|
|
3263
3290
|
status?: "failed" | "processed" | "reserved" | undefined;
|
|
3264
|
-
failureReason?: string | undefined;
|
|
3265
3291
|
gateway?: string | undefined;
|
|
3292
|
+
failureReason?: string | undefined;
|
|
3266
3293
|
itemIds?: string[] | undefined;
|
|
3267
3294
|
reasonCode?: string | undefined;
|
|
3268
3295
|
gatewayRefundId?: string | undefined;
|
|
@@ -3272,6 +3299,11 @@ export declare const SCHEMAS: {
|
|
|
3272
3299
|
proofDocumentUrl?: string | undefined;
|
|
3273
3300
|
proofDocumentMimeType?: string | undefined;
|
|
3274
3301
|
overrideReason?: string | undefined;
|
|
3302
|
+
creditNoteNumber?: string | undefined;
|
|
3303
|
+
creditNoteIssuedAt?: string | Date | import("zod").objectInputType<{
|
|
3304
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
3305
|
+
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
3306
|
+
creditNoteStoragePath?: string | undefined;
|
|
3275
3307
|
}[] | undefined;
|
|
3276
3308
|
contestable?: boolean | undefined;
|
|
3277
3309
|
adminBypassBy?: string | undefined;
|
|
@@ -4122,13 +4154,13 @@ export declare const SCHEMAS: {
|
|
|
4122
4154
|
totalReviews: import("zod").ZodNumber;
|
|
4123
4155
|
averageRating: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4124
4156
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4125
|
-
itemsSold: number;
|
|
4126
4157
|
totalProducts: number;
|
|
4158
|
+
itemsSold: number;
|
|
4127
4159
|
totalReviews: number;
|
|
4128
4160
|
averageRating?: number | undefined;
|
|
4129
4161
|
}, {
|
|
4130
|
-
itemsSold: number;
|
|
4131
4162
|
totalProducts: number;
|
|
4163
|
+
itemsSold: number;
|
|
4132
4164
|
totalReviews: number;
|
|
4133
4165
|
averageRating?: number | undefined;
|
|
4134
4166
|
}>>;
|
|
@@ -4267,8 +4299,8 @@ export declare const SCHEMAS: {
|
|
|
4267
4299
|
location?: string | undefined;
|
|
4268
4300
|
returnPolicy?: string | undefined;
|
|
4269
4301
|
stats?: {
|
|
4270
|
-
itemsSold: number;
|
|
4271
4302
|
totalProducts: number;
|
|
4303
|
+
itemsSold: number;
|
|
4272
4304
|
totalReviews: number;
|
|
4273
4305
|
averageRating?: number | undefined;
|
|
4274
4306
|
} | undefined;
|
|
@@ -4336,8 +4368,8 @@ export declare const SCHEMAS: {
|
|
|
4336
4368
|
location?: string | undefined;
|
|
4337
4369
|
returnPolicy?: string | undefined;
|
|
4338
4370
|
stats?: {
|
|
4339
|
-
itemsSold: number;
|
|
4340
4371
|
totalProducts: number;
|
|
4372
|
+
itemsSold: number;
|
|
4341
4373
|
totalReviews: number;
|
|
4342
4374
|
averageRating?: number | undefined;
|
|
4343
4375
|
} | undefined;
|
|
@@ -4492,7 +4524,7 @@ export declare const SCHEMAS: {
|
|
|
4492
4524
|
updatedAt: string | Date | import("zod").objectOutputType<{
|
|
4493
4525
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
4494
4526
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
4495
|
-
category: "general" | "
|
|
4527
|
+
category: "general" | "account" | "order_issue" | "billing_payment" | "listing_dispute" | "scam_report" | "refund_request" | "auction_dispute" | "store_change_request" | "order_modification_request" | "unban_request";
|
|
4496
4528
|
priority: "normal" | "high" | "low" | "urgent";
|
|
4497
4529
|
description: string;
|
|
4498
4530
|
userId: string;
|
|
@@ -4510,11 +4542,11 @@ export declare const SCHEMAS: {
|
|
|
4510
4542
|
attachments?: string[] | undefined;
|
|
4511
4543
|
}[];
|
|
4512
4544
|
orderId?: string | undefined;
|
|
4513
|
-
|
|
4514
|
-
resolvedAt?: string | Date | import("zod").objectOutputType<{
|
|
4545
|
+
closedAt?: string | Date | import("zod").objectOutputType<{
|
|
4515
4546
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
4516
4547
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
4517
|
-
|
|
4548
|
+
assignedTo?: string | undefined;
|
|
4549
|
+
resolvedAt?: string | Date | import("zod").objectOutputType<{
|
|
4518
4550
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
4519
4551
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
4520
4552
|
assignedToName?: string | undefined;
|
|
@@ -4535,7 +4567,7 @@ export declare const SCHEMAS: {
|
|
|
4535
4567
|
updatedAt: string | Date | import("zod").objectInputType<{
|
|
4536
4568
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
4537
4569
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
4538
|
-
category: "general" | "
|
|
4570
|
+
category: "general" | "account" | "order_issue" | "billing_payment" | "listing_dispute" | "scam_report" | "refund_request" | "auction_dispute" | "store_change_request" | "order_modification_request" | "unban_request";
|
|
4539
4571
|
priority: "normal" | "high" | "low" | "urgent";
|
|
4540
4572
|
description: string;
|
|
4541
4573
|
userId: string;
|
|
@@ -4553,11 +4585,11 @@ export declare const SCHEMAS: {
|
|
|
4553
4585
|
attachments?: string[] | undefined;
|
|
4554
4586
|
}[];
|
|
4555
4587
|
orderId?: string | undefined;
|
|
4556
|
-
|
|
4557
|
-
resolvedAt?: string | Date | import("zod").objectInputType<{
|
|
4588
|
+
closedAt?: string | Date | import("zod").objectInputType<{
|
|
4558
4589
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
4559
4590
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
4560
|
-
|
|
4591
|
+
assignedTo?: string | undefined;
|
|
4592
|
+
resolvedAt?: string | Date | import("zod").objectInputType<{
|
|
4561
4593
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
4562
4594
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
4563
4595
|
assignedToName?: string | undefined;
|
|
@@ -4862,6 +4894,7 @@ export declare const SCHEMAS: {
|
|
|
4862
4894
|
publishedAt: import("zod").ZodString;
|
|
4863
4895
|
authorName: import("zod").ZodString;
|
|
4864
4896
|
isFeatured: import("zod").ZodBoolean;
|
|
4897
|
+
isPinned: import("zod").ZodBoolean;
|
|
4865
4898
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4866
4899
|
status: "published" | "draft" | "archived";
|
|
4867
4900
|
title: string;
|
|
@@ -4875,6 +4908,7 @@ export declare const SCHEMAS: {
|
|
|
4875
4908
|
excerpt: string;
|
|
4876
4909
|
coverImage: string;
|
|
4877
4910
|
authorName: string;
|
|
4911
|
+
isPinned: boolean;
|
|
4878
4912
|
metaTitle: string;
|
|
4879
4913
|
metaDescription: string;
|
|
4880
4914
|
}, {
|
|
@@ -4890,6 +4924,7 @@ export declare const SCHEMAS: {
|
|
|
4890
4924
|
excerpt: string;
|
|
4891
4925
|
coverImage: string;
|
|
4892
4926
|
authorName: string;
|
|
4927
|
+
isPinned: boolean;
|
|
4893
4928
|
metaTitle: string;
|
|
4894
4929
|
metaDescription: string;
|
|
4895
4930
|
}>;
|
|
@@ -4997,7 +5032,7 @@ export declare const SCHEMAS: {
|
|
|
4997
5032
|
category: "shipping" | "seller" | "custom" | "condition" | "auction" | "platform" | "preorder";
|
|
4998
5033
|
isActive: boolean;
|
|
4999
5034
|
displayOrder: number;
|
|
5000
|
-
productTypes: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "
|
|
5035
|
+
productTypes: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "preorder" | "product")[];
|
|
5001
5036
|
storeId?: string | undefined;
|
|
5002
5037
|
description?: string | undefined;
|
|
5003
5038
|
iconColor?: string | undefined;
|
|
@@ -5008,7 +5043,7 @@ export declare const SCHEMAS: {
|
|
|
5008
5043
|
category: "shipping" | "seller" | "custom" | "condition" | "auction" | "platform" | "preorder";
|
|
5009
5044
|
isActive: boolean;
|
|
5010
5045
|
displayOrder: number;
|
|
5011
|
-
productTypes: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "
|
|
5046
|
+
productTypes: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "preorder" | "product")[];
|
|
5012
5047
|
storeId?: string | undefined;
|
|
5013
5048
|
description?: string | undefined;
|
|
5014
5049
|
iconColor?: string | undefined;
|
|
@@ -5019,7 +5054,7 @@ export declare const SCHEMAS: {
|
|
|
5019
5054
|
category: "shipping" | "seller" | "custom" | "condition" | "auction" | "platform" | "preorder";
|
|
5020
5055
|
isActive: boolean;
|
|
5021
5056
|
displayOrder: number;
|
|
5022
|
-
productTypes: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "
|
|
5057
|
+
productTypes: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "preorder" | "product")[];
|
|
5023
5058
|
storeId?: string | undefined;
|
|
5024
5059
|
description?: string | undefined;
|
|
5025
5060
|
iconColor?: string | undefined;
|
|
@@ -5030,7 +5065,7 @@ export declare const SCHEMAS: {
|
|
|
5030
5065
|
category: "shipping" | "seller" | "custom" | "condition" | "auction" | "platform" | "preorder";
|
|
5031
5066
|
isActive: boolean;
|
|
5032
5067
|
displayOrder: number;
|
|
5033
|
-
productTypes: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "
|
|
5068
|
+
productTypes: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "preorder" | "product")[];
|
|
5034
5069
|
storeId?: string | undefined;
|
|
5035
5070
|
description?: string | undefined;
|
|
5036
5071
|
iconColor?: string | undefined;
|
|
@@ -5341,14 +5376,14 @@ export declare const SCHEMAS: {
|
|
|
5341
5376
|
}, "strict", import("zod").ZodTypeAny, {
|
|
5342
5377
|
entityId: string;
|
|
5343
5378
|
entityType: import("..").ReportEntityType;
|
|
5344
|
-
detail: string;
|
|
5345
5379
|
reason: import("..").ReportReason;
|
|
5380
|
+
detail: string;
|
|
5346
5381
|
evidenceUrls?: string[] | undefined;
|
|
5347
5382
|
}, {
|
|
5348
5383
|
entityId: string;
|
|
5349
5384
|
entityType: import("..").ReportEntityType;
|
|
5350
|
-
detail: string;
|
|
5351
5385
|
reason: import("..").ReportReason;
|
|
5386
|
+
detail: string;
|
|
5352
5387
|
evidenceUrls?: string[] | undefined;
|
|
5353
5388
|
}>;
|
|
5354
5389
|
readonly itemRequest: import("zod").ZodObject<{
|
|
@@ -6254,13 +6289,13 @@ export declare const SCHEMAS: {
|
|
|
6254
6289
|
userPhone: import("zod").ZodUnion<[import("zod").ZodOptional<import("zod").ZodString>, import("zod").ZodLiteral<"">]>;
|
|
6255
6290
|
}, "strip", import("zod").ZodTypeAny, {
|
|
6256
6291
|
transactionId: string;
|
|
6257
|
-
sourceType: "
|
|
6292
|
+
sourceType: "product" | "event";
|
|
6258
6293
|
paymentTime: string;
|
|
6259
6294
|
purchasedItemNumber: number;
|
|
6260
6295
|
userPhone?: string | undefined;
|
|
6261
6296
|
}, {
|
|
6262
6297
|
transactionId: string;
|
|
6263
|
-
sourceType: "
|
|
6298
|
+
sourceType: "product" | "event";
|
|
6264
6299
|
paymentTime: string;
|
|
6265
6300
|
purchasedItemNumber: number;
|
|
6266
6301
|
userPhone?: string | undefined;
|
package/dist/schemas/sieve.d.ts
CHANGED
|
@@ -7,13 +7,13 @@ export declare const sieveGrammarSchema: z.ZodObject<{
|
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
8
|
page: number;
|
|
9
9
|
pageSize: number;
|
|
10
|
-
filters: string;
|
|
11
10
|
sorts: string;
|
|
11
|
+
filters: string;
|
|
12
12
|
}, {
|
|
13
13
|
page?: number | undefined;
|
|
14
14
|
pageSize?: number | undefined;
|
|
15
|
-
filters?: string | undefined;
|
|
16
15
|
sorts?: string | undefined;
|
|
16
|
+
filters?: string | undefined;
|
|
17
17
|
}>;
|
|
18
18
|
export type SieveGrammar = z.infer<typeof sieveGrammarSchema>;
|
|
19
19
|
export declare const sieveWhereOpSchema: z.ZodEnum<["==", "!=", "<", "<=", ">", ">=", "array-contains", "in", "not-in", "array-contains-any"]>;
|
|
@@ -29,7 +29,7 @@ export declare const USER_PII_INDEX_MAP: Record<string, string>;
|
|
|
29
29
|
/** PII fields in the addresses subcollection */
|
|
30
30
|
export declare const ADDRESS_PII_FIELDS: readonly ["fullName", "phone", "addressLine1", "addressLine2"];
|
|
31
31
|
/** PII fields in orders (denormalized buyer/seller data) */
|
|
32
|
-
export declare const ORDER_PII_FIELDS: readonly ["userName", "userEmail", "sellerEmail"];
|
|
32
|
+
export declare const ORDER_PII_FIELDS: readonly ["userName", "userEmail", "sellerEmail", "deliveryFullName", "deliveryPhone", "deliveryAddressLine1", "deliveryAddressLine2", "deliveryLandmark", "deliveryAmendments[].fullName", "deliveryAmendments[].phone", "deliveryAmendments[].addressLine1", "deliveryAmendments[].addressLine2", "deliveryAmendments[].landmark"];
|
|
33
33
|
/** PII fields in payouts */
|
|
34
34
|
export declare const PAYOUT_PII_FIELDS: readonly ["sellerEmail", "upiId"];
|
|
35
35
|
/** Blind-index mapping for queryable payout PII */
|
|
@@ -41,6 +41,51 @@ export const ORDER_PII_FIELDS = [
|
|
|
41
41
|
"userName",
|
|
42
42
|
"userEmail",
|
|
43
43
|
"sellerEmail",
|
|
44
|
+
/*
|
|
45
|
+
* ── The delivery snapshot (Part 14) ──────────────────────────────────────
|
|
46
|
+
*
|
|
47
|
+
* 🛑 **CORRECTED 2026-10-23.** These were first written as flat keys on the
|
|
48
|
+
* argument that "`encryptPiiFields` is a flat top-level loop that never
|
|
49
|
+
* descends" — CLAUDE.md's wording, and it is FALSE. Read the function: it
|
|
50
|
+
* handles dotted paths (`lastMessage.body`, already live above) AND
|
|
51
|
+
* `array[].key` via `encryptInArray`, in both directions.
|
|
52
|
+
*
|
|
53
|
+
* Flat keys stay, on a smaller and true argument: city / state / pincode /
|
|
54
|
+
* country must remain unencrypted and QUERYABLE, so a single
|
|
55
|
+
* `deliveryAddress` object would be half-encrypted — and a half-encrypted
|
|
56
|
+
* object is the shape nobody can reason about at a glance. Flat keys make
|
|
57
|
+
* each field's treatment visible in this list.
|
|
58
|
+
*
|
|
59
|
+
* What the encryptor does NOT do is infer. A field is covered only if it is
|
|
60
|
+
* NAMED, in the right notation — and `"fullName"` does not cover
|
|
61
|
+
* `deliveryAmendments[].fullName`. That is the real failure mode, and what
|
|
62
|
+
* `audit-snapshot-integrity` R1 checks.
|
|
63
|
+
*
|
|
64
|
+
* 🛑 `shippingAddress` is deliberately NOT added. It is legacy free text on
|
|
65
|
+
* existing rows; encrypting the field now would encrypt it on the next
|
|
66
|
+
* write of an old order while every other old row stays plaintext, giving
|
|
67
|
+
* one field two formats and no way to tell which a given row holds.
|
|
68
|
+
* Forward-only means the new fields carry the protection.
|
|
69
|
+
*
|
|
70
|
+
* city / state / pincode / country are absent on purpose — they decide tax
|
|
71
|
+
* and serviceability and must stay QUERYABLE.
|
|
72
|
+
*/
|
|
73
|
+
"deliveryFullName",
|
|
74
|
+
"deliveryPhone",
|
|
75
|
+
"deliveryAddressLine1",
|
|
76
|
+
"deliveryAddressLine2",
|
|
77
|
+
"deliveryLandmark",
|
|
78
|
+
/*
|
|
79
|
+
* The amendment array, in the `array[].key` notation `encryptInArray`
|
|
80
|
+
* implements. Declared HERE rather than encrypted by hand at the write
|
|
81
|
+
* site: the repository's write hook already runs this list, and a second
|
|
82
|
+
* mechanism doing the same job is the drift this codebase keeps paying for.
|
|
83
|
+
*/
|
|
84
|
+
"deliveryAmendments[].fullName",
|
|
85
|
+
"deliveryAmendments[].phone",
|
|
86
|
+
"deliveryAmendments[].addressLine1",
|
|
87
|
+
"deliveryAmendments[].addressLine2",
|
|
88
|
+
"deliveryAmendments[].landmark",
|
|
44
89
|
];
|
|
45
90
|
/** PII fields in payouts */
|
|
46
91
|
export const PAYOUT_PII_FIELDS = ["sellerEmail", "upiId"];
|
package/dist/server-entry.d.ts
CHANGED
|
@@ -68,8 +68,8 @@ export { renderScamOg, renderScamOgImage, type ScamOgData, getScammerForDetail,
|
|
|
68
68
|
export { getCategoryForDetail, listRootCategories, listFeaturedCategories, listMenuCategories, getCategoryTree, listSitemapCategories, CATEGORIES_PAGE_SIZE, CATEGORIES_ROOT_TIER, CATEGORIES_MAX_DEPTH, CATEGORIES_SITEMAP_LIMIT, CATEGORIES_FEATURED_LIMIT, CATEGORIES_MENU_LIMIT, } from "./_internal/server/features/categories/index";
|
|
69
69
|
export { getGroupedListingForDetail, getGroupedListingWithItems, listGroupedListings, listFeaturedGroupedListings, listSitemapGroupedListings, getGroupsForProduct, getGroupsWithItemsForProduct, GROUPED_LISTINGS_PAGE_SIZE, GROUPED_LISTINGS_FEATURED_LIMIT, GROUPED_LISTINGS_SITEMAP_LIMIT, buildGroupedListingMetadata, renderGroupedListingOg, type GroupedListingWithItems, type ListGroupedListingsParams, type SitemapGroupedListing, type GroupedListingMetadataOptions, } from "./_internal/server/features/grouped/index";
|
|
70
70
|
export { createCheckoutOrderAction, attachPaymentAction, verifyAndPlaceGatewayOrderAction, previewCheckoutPricing, resolveShippingCost, formatShippingAddress, CHECKOUT_DEFAULT_COMMISSIONS, CHECKOUT_PAYMENT_METHODS, type CreateCheckoutOrderInput, type VerifyAndPlaceGatewayOrderInput, type CheckoutOrderResult, type CheckoutPaymentMethod, type CheckoutPricingPreviewInput, type CheckoutPricingPreview, } from "./_internal/server/features/checkout/index";
|
|
71
|
-
export { unitPriceFor, lineTotalFor, sumGroupGst, computePreOrderDepositAmount, type GroupGstSummary, type GstRateSlice, } from "./_internal/shared/checkout/order-math";
|
|
72
|
-
export { computeGroupCouponDiscount, computeCartCouponDiscount, type GroupCouponDiscountResult, } from "./_internal/shared/checkout/coupon-discount";
|
|
71
|
+
export { unitPriceFor, lineTotalFor, sumGroupGst, computePreOrderDepositAmount, allocatePointsAcrossGroups, resolvePointsTender, type GroupGstSummary, type GstRateSlice, } from "./_internal/shared/checkout/order-math";
|
|
72
|
+
export { computeGroupCouponDiscount, computeCartCouponDiscount, type GroupCouponDiscountResult, type CartCouponDiscountResult, } from "./_internal/shared/checkout/coupon-discount";
|
|
73
73
|
export { refundCapacity, refundableBase, committedRefundTotal, platformFeeWithheld, wouldBeFullRefund, MONEY_EPSILON, type RefundCapacity, type RefundableOrderLike, } from "./_internal/shared/checkout/refundable-base";
|
|
74
74
|
export { processRefundAction, type ProcessRefundInput, } from "./_internal/server/features/refunds/actions";
|
|
75
75
|
export { getSublistingCategoryForDetail } from "./_internal/server/features/sublisting-categories/index";
|
package/dist/server-entry.js
CHANGED
|
@@ -106,7 +106,14 @@ export { createCheckoutOrderAction, attachPaymentAction, verifyAndPlaceGatewayOr
|
|
|
106
106
|
// GST entirely, so the buyer was shown the tax, charged without it, and the
|
|
107
107
|
// order recorded none — with the verify-side mismatch guard omitting it too, so
|
|
108
108
|
// the three were consistently wrong and the undercharge was undetectable.
|
|
109
|
-
|
|
109
|
+
// `allocatePointsAcrossGroups` is the FOURTH symbol exported here for the same
|
|
110
|
+
// reason as the three above it, and the pattern is now the point: every money
|
|
111
|
+
// rule that `/api/payment/create-order` needs has had to be exported after that
|
|
112
|
+
// route was found hand-rolling it or omitting it. The points tender is exported
|
|
113
|
+
// BEFORE the route can get it wrong rather than after — which is the only
|
|
114
|
+
// difference between this entry and the three defects recorded in the comment
|
|
115
|
+
// above (D37, D38, C0c defect 1).
|
|
116
|
+
export { unitPriceFor, lineTotalFor, sumGroupGst, computePreOrderDepositAmount, allocatePointsAcrossGroups, resolvePointsTender, } from "./_internal/shared/checkout/order-math.js";
|
|
110
117
|
/*
|
|
111
118
|
* The coupon discount, exported for the SAME reason `sumGroupGst` above was —
|
|
112
119
|
* and it is the third defect of that exact shape in this one route.
|
package/dist/server.d.ts
CHANGED
|
@@ -260,7 +260,7 @@ export { updateEvent } from "./features/events/server";
|
|
|
260
260
|
export { triggerEventRaffleAction, assignSpinPrizeAction, resolveEventIdAction, } from "./_internal/server/features/raffle/actions";
|
|
261
261
|
export { reasonToHttp, EVENT_DRAW_REASON, type EventDrawReason, type EventDrawHttpMapping, } from "./_internal/server/jobs/core/event-draw-reasons";
|
|
262
262
|
export { processRefundAction, type ProcessRefundInput, } from "./_internal/server/features/refunds/actions";
|
|
263
|
-
export { computeCheckoutFees, computePayoutDeduction, computeCodHandlingFee, computeGiftWrapFee, computeShipmentProtectionFee, computeSaleProtectionFee, } from "./_internal/shared/fees/calculator";
|
|
263
|
+
export { computeCheckoutFees, allocateCheckoutFees, computePayoutDeduction, computeCodHandlingFee, computeGiftWrapFee, computeShipmentProtectionFee, computeSaleProtectionFee, } from "./_internal/shared/fees/calculator";
|
|
264
264
|
export { searchPriceIndex, getPriceIndexBandsForIds, PRICE_INDEX_SEARCH_LIMIT, PRICE_INDEX_MIN_QUERY_LENGTH } from "./_internal/server/features/price-index/search";
|
|
265
265
|
export type { PriceIndexSearchResponse, PriceIndexSearchResult, PriceIndexSearchResultBand, } from "./_internal/server/features/price-index/search";
|
|
266
266
|
export { getPriceIndexMarketForIds } from "./_internal/server/features/price-index/market";
|
|
@@ -429,6 +429,8 @@ export { piiBlindIndex } from "./security/index";
|
|
|
429
429
|
export { piiIndicesFor } from "./security/index";
|
|
430
430
|
export { reserveUserSlug, userSlugBase, USER_SLUGS_COLLECTION } from "./features/auth/actions/user-slug";
|
|
431
431
|
export { resolveProfileUser } from "./features/auth/actions/profile-actions";
|
|
432
|
+
export { getBuyerActivityStats, getProfileStats, } from "./features/auth/actions/profile-actions";
|
|
433
|
+
export type { BuyerActivityStats } from "./features/auth/actions/profile-actions";
|
|
432
434
|
export { getPiiConfigError } from "./security/index";
|
|
433
435
|
export { encryptPayoutDetails } from "./security/index";
|
|
434
436
|
export { decryptPayoutDetails } from "./security/index";
|
|
@@ -573,6 +575,8 @@ export type { ActionIndexDocument } from "./features/search/action-index/reposit
|
|
|
573
575
|
export { REFUND_COPY } from "./_internal/shared/features/orders/refund-copy";
|
|
574
576
|
export { RETURN_REASON, FINAL_SALE_EXEMPT_REASONS, RETURN_REASON_LABEL, RETURN_REASON_GROUP_LABEL, isFinalSaleExempt, isReturnReason, selectableReturnReasons, } from "./_internal/shared/features/orders/return-reasons";
|
|
575
577
|
export type { ReturnReason } from "./_internal/shared/features/orders/return-reasons";
|
|
578
|
+
export { INTEGRATIONS, INTEGRATION_ORDER, readIntegrationStates, integrationPatch, allIntegrationsPatch, } from "./_internal/shared/features/admin/integrations";
|
|
579
|
+
export type { IntegrationId, IntegrationDescriptor, IntegrationState, IntegrationPatch, } from "./_internal/shared/features/admin/integrations";
|
|
576
580
|
export { draftToProductInput, productToDraft, } from "./features/seller/utils/product-draft-mapping";
|
|
577
581
|
export { RETURN_CUSTODY_STATES, RETURN_CUSTODY_COPY, isTerminalCustody, canAdvanceCustody, nextCustodyState, custodyOwner, isActionableBy, } from "./_internal/shared/features/returns/custody";
|
|
578
582
|
export type { ReturnCustodyState } from "./_internal/shared/features/returns/custody";
|
|
@@ -604,3 +608,34 @@ export type { FileGrievanceInput } from "./_internal/server/features/grievance";
|
|
|
604
608
|
export { GRIEVANCE_PERIODS } from "./features/support/schemas/firestore";
|
|
605
609
|
export { getRateableItemsAction, rateOrderItemAction, markOrderCompleteAction, } from "./_internal/server/features/order-completion";
|
|
606
610
|
export type { RateableOrderItem, RateOrderItemInput, } from "./_internal/server/features/order-completion";
|
|
611
|
+
export { allocateSeriesNumber, type AllocateSeriesNumberInput, type AllocateSeriesNumberResult, } from "./_internal/server/features/invoicing/allocate";
|
|
612
|
+
export { issueInvoiceForOrder, readStoredInvoice, storeRenderedInvoice, INVOICE_PREFIX_PATH, type InvoiceRenderer, type IssueInvoiceResult, } from "./_internal/server/features/invoicing/issue";
|
|
613
|
+
export { issueCreditNoteForRefund, CREDIT_NOTE_PREFIX_PATH, type CreditNoteRenderer, type IssueCreditNoteResult, } from "./_internal/server/features/invoicing/credit-note";
|
|
614
|
+
export { financialYearLabel, formatSeriesNumber, INVOICE_PREFIX, CREDIT_NOTE_PREFIX, } from "./features/invoicing/utils/financial-year";
|
|
615
|
+
export type { InvoiceCounterDocument, InvoiceAllocationDocument, InvoiceSeriesKind, } from "./features/invoicing/schemas/firestore";
|
|
616
|
+
export { buildGstr1Export, gstr1ToCsv, type Gstr1Export, type Gstr1Row, } from "./_internal/server/features/invoicing/gstr1";
|
|
617
|
+
export { quoteSharedPurchase, countDestinations, type SharedPurchaseRates, type SharedPurchaseQuote, type SharedPurchaseQuoteInput, } from "./_internal/shared/features/shipping/shared-purchase";
|
|
618
|
+
export { RATE_REGISTRY, RATE_TIER_ORDER, rateByPath, canEditRate, rejectRateChange, type RateDescriptor, type RateTier, type RateUnit, type RateChange, } from "./_internal/shared/features/pricing/rate-registry";
|
|
619
|
+
export { applyRateChange, RATE_CHANGE_LOG_MAX, type ApplyRateChangeInput, type ApplyRateChangeResult, } from "./_internal/server/features/pricing/actions";
|
|
620
|
+
export { SHARED_PURCHASE_MAX_MEMBERS, rejectCoordination, destinationIds, type CoordinationMember, type OfferCoordination, } from "./_internal/shared/features/offers/coordination";
|
|
621
|
+
export { assertOwnedAddresses } from "./_internal/server/features/offers/destinations";
|
|
622
|
+
export { checkDestinations, assertAllServiceable, planParcels, type DestinationCheck, type ParcelPlan, } from "./_internal/server/features/shipping/book-split";
|
|
623
|
+
export { snapshotDeliveryAddress, deliveryPartyFor, placeOfSupplyFrom, type DeliverySnapshot, type DeliveryParty, } from "./_internal/shared/features/orders/delivery-snapshot";
|
|
624
|
+
export { amendDeliveryAddress, revealAmendments, DELIVERY_AMENDMENT_MAX, type AmendDeliveryInput, } from "./_internal/server/features/orders/amend-delivery";
|
|
625
|
+
export { bookShipment, type BookShipmentInput, type BookShipmentResult, } from "./_internal/server/features/shipping/book";
|
|
626
|
+
export { journalRepository, JournalRepository, JOURNAL_PERIOD_SCAN_LIMIT } from "./features/ledger/repository/journal.repository";
|
|
627
|
+
export { assertBalanced, buildReversal, resolvePostingPeriod, periodOf, UnbalancedEntryError, BALANCE_TOLERANCE, type PostingInput, type BalancedPosting, } from "./_internal/shared/features/ledger/posting";
|
|
628
|
+
export { trialBalance, profitAndLoss, signedBalance, type TrialBalance, type ProfitAndLoss, type AccountTotals, } from "./_internal/shared/features/ledger/reports";
|
|
629
|
+
export { ACCOUNT, orderPlacedPosting, settlementPosting, payoutPosting, refundPosting, type OrderPostingInput, type SettlementPostingInput, type PayoutPostingInput, type RefundPostingInput, expensePosting, type ExpensePostingInput, } from "./_internal/shared/features/ledger/rules";
|
|
630
|
+
export { VENDORS_COLLECTION, EXPENSES_COLLECTION, EXPENSE_FIELDS, type VendorDocument, type ExpenseDocument, type ExpenseCategory, } from "./features/ledger/schemas/expenses";
|
|
631
|
+
export { BALANCE_WINDOW_DAYS, balanceDueOn, openBalanceCollection, submitBalanceProof, reviewBalanceProof, } from "./_internal/server/features/orders/balance";
|
|
632
|
+
export { reserveStock, releaseReservation, releaseReservationsForHolder, consumeReservation, expireDueReservations, activeReservationsForProduct, } from "./_internal/server/features/inventory/reservations";
|
|
633
|
+
export type { ReserveStockInput } from "./_internal/server/features/inventory/reservations";
|
|
634
|
+
export { RESERVATION_DEFAULT_TTL_HOURS, RESERVATION_MAX_TTL_HOURS, RESERVATION_HOLDER_KINDS, RESERVATION_STATUSES, STOCK_RESERVATION_COLLECTION, isReservationActive, } from "./features/inventory/schemas/stock-reservation";
|
|
635
|
+
export type { ReservationHolderKind, ReservationStatus, StockReservationDocument, } from "./features/inventory/schemas/stock-reservation";
|
|
636
|
+
export { assertCheckoutValueOtp } from "./_internal/server/features/checkout/value-otp-gate";
|
|
637
|
+
export type { CheckoutValueOtpGateInput } from "./_internal/server/features/checkout/value-otp-gate";
|
|
638
|
+
export { bookAdSlot, moderateAdCreative, resubmitAdCreative, cancelAdBooking, releaseAdSlot, liveBookingForPlacement, pendingAdBookings, adBookingsForAdvertiser, adSlotOffers, } from "./_internal/server/features/ads/booking";
|
|
639
|
+
export type { BookAdSlotInput, AdSlotOffer } from "./_internal/server/features/ads/booking";
|
|
640
|
+
export { AD_BOOKING_COLLECTION, AD_BOOKING_PAYMENT_STATES, AD_MODERATION_STATES, adBookingId, adPeriodOf, adPeriodStart, adPeriodEnd, isAdPeriod, isAdBookingLive, } from "./features/ads/schemas/firestore";
|
|
641
|
+
export type { AdBookingDocument, AdBookingCreative, AdBookingPaymentState, AdModerationState, AdPeriod, } from "./features/ads/schemas/firestore";
|