New endpoint: GET /api/analytics/v2/brand/:name/intelligence Returns comprehensive brand analytics payload including: - Performance snapshot (active SKUs, revenue, stores, market share) - Alerts (lost stores, delisted SKUs, competitor takeovers) - SKU performance (velocity, status, stock levels) - Retail footprint (penetration by region, whitespace opportunities) - Competitive landscape (price positioning, head-to-head comparisons) - Inventory health (days of stock, risk levels, overstock alerts) - Promotion effectiveness (baseline vs promo velocity, lift, ROI) Supports time windows (7d/30d/90d), state filtering, and category filtering. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
534 B
TypeScript
15 lines
534 B
TypeScript
/**
|
|
* Analytics Engine - Service Exports
|
|
*
|
|
* Central export point for all analytics services.
|
|
*/
|
|
|
|
export * from './types';
|
|
|
|
export { PriceAnalyticsService } from './PriceAnalyticsService';
|
|
export { BrandPenetrationService } from './BrandPenetrationService';
|
|
export { CategoryAnalyticsService } from './CategoryAnalyticsService';
|
|
export { StoreAnalyticsService } from './StoreAnalyticsService';
|
|
export { StateAnalyticsService } from './StateAnalyticsService';
|
|
export { BrandIntelligenceService } from './BrandIntelligenceService';
|