/** * Barrel re-export for the wholesale action set. * * Source modules live next to this file: * - orders.ts — order CRUD + dashboard stats * - customers.ts — wholesale customer CRUD * - products.ts — wholesale product CRUD * - settings.ts — wholesale_settings + public read * - deposits.ts — deposit recording + bulk actions * - notifications.ts — email/SMS notification queue * - webhooks.ts — outbound webhook settings + dispatch * - scope.ts — internal brand-scoping helpers (NOT re-exported here) * - types.ts — shared type definitions * * Existing imports of `@/actions/wholesale` keep working. New code should * import directly from the focused modules to keep the dependency graph * tight. */ export type { WholesaleOrder, WholesaleCustomer, WholesaleProduct, NotificationRecipient, WholesaleSettings, WholesaleDashboardStats, WholesaleNotification, WebhookSettings, } from "./types"; export { getWholesaleOrders, getWholesalePickupOrders, getWholesaleDashboardStats, markWholesaleOrderFulfilled, updateWholesaleOrderStatus, deleteWholesaleOrder, } from "./orders"; export { getWholesaleCustomers, saveWholesaleCustomer, deleteWholesaleCustomer, } from "./customers"; export { getWholesaleProducts, saveWholesaleProduct, deleteWholesaleProduct, } from "./products"; export { getWholesaleSettings, getWholesaleSettingsPublic, saveWholesaleSettings, } from "./settings"; export { recordWholesaleDeposit, bulkFulfillWholesaleOrders, bulkRecordWholesaleDeposit, } from "./deposits"; export { getWholesaleNotificationStats, getWholesalePendingNotifications, markWholesaleNotificationSent, enqueueWholesaleNotification, } from "./notifications"; export { getWebhookSettings, saveWebhookSettings, enqueueWholesaleWebhook, getRecentWebhookActivity, } from "./webhooks";