feat(hail-recon): Hail Recon integration — storm intel panel, hail history, auto storm mode, address monitoring
This commit is contained in:
@@ -3025,6 +3025,59 @@ const DISPATCH_LEADS_INITIAL = [
|
||||
},
|
||||
];
|
||||
|
||||
// ─── Hail Recon mock data ────────────────────────────────────────────────────
|
||||
// Simulates ImpactDatesForLatLong responses, keyed by leadId.
|
||||
// hailSize in inches. Each event = one hail storm hit on that property.
|
||||
export const MOCK_HAIL_HISTORY = {
|
||||
'LD-1001': [
|
||||
{ date: '2026-04-28', hailSize: 2.00, stormId: 'TX-2026-0428' },
|
||||
{ date: '2026-01-14', hailSize: 1.50, stormId: 'TX-2026-0114' },
|
||||
{ date: '2025-09-03', hailSize: 1.00, stormId: 'TX-2025-0903' },
|
||||
],
|
||||
'LD-1002': [
|
||||
{ date: '2026-04-28', hailSize: 1.75, stormId: 'TX-2026-0428' },
|
||||
{ date: '2025-11-22', hailSize: 1.25, stormId: 'TX-2025-1122' },
|
||||
],
|
||||
'LD-1003': [
|
||||
{ date: '2026-03-18', hailSize: 2.25, stormId: 'TX-2026-0318' },
|
||||
{ date: '2025-07-09', hailSize: 1.50, stormId: 'TX-2025-0709' },
|
||||
{ date: '2025-02-14', hailSize: 0.75, stormId: 'TX-2025-0214' },
|
||||
],
|
||||
'LD-1004': [
|
||||
{ date: '2026-03-18', hailSize: 1.50, stormId: 'TX-2026-0318' },
|
||||
],
|
||||
'LD-1005': [
|
||||
{ date: '2026-04-28', hailSize: 1.75, stormId: 'TX-2026-0428' },
|
||||
{ date: '2026-01-14', hailSize: 1.25, stormId: 'TX-2026-0114' },
|
||||
],
|
||||
'LD-1006': [
|
||||
{ date: '2026-04-28', hailSize: 2.00, stormId: 'TX-2026-0428' },
|
||||
{ date: '2026-03-18', hailSize: 1.75, stormId: 'TX-2026-0318' },
|
||||
{ date: '2025-10-05', hailSize: 1.25, stormId: 'TX-2025-1005' },
|
||||
{ date: '2025-06-17', hailSize: 1.00, stormId: 'TX-2025-0617' },
|
||||
],
|
||||
'LD-1007': [
|
||||
{ date: '2025-08-21', hailSize: 1.00, stormId: 'TX-2025-0821' },
|
||||
],
|
||||
'LD-1008': [],
|
||||
'LD-1009': [
|
||||
{ date: '2026-04-28', hailSize: 2.50, stormId: 'TX-2026-0428' },
|
||||
{ date: '2026-01-14', hailSize: 1.75, stormId: 'TX-2026-0114' },
|
||||
{ date: '2025-09-03', hailSize: 1.50, stormId: 'TX-2025-0903' },
|
||||
{ date: '2025-04-11', hailSize: 1.25, stormId: 'TX-2025-0411' },
|
||||
],
|
||||
'LD-1010': [
|
||||
{ date: '2026-04-28', hailSize: 1.50, stormId: 'TX-2026-0428' },
|
||||
{ date: '2025-12-30', hailSize: 1.00, stormId: 'TX-2025-1230' },
|
||||
],
|
||||
'LD-1011': [
|
||||
{ date: '2026-04-28', hailSize: 2.25, stormId: 'TX-2026-0428' },
|
||||
{ date: '2026-03-18', hailSize: 2.00, stormId: 'TX-2026-0318' },
|
||||
{ date: '2025-11-22', hailSize: 1.50, stormId: 'TX-2025-1122' },
|
||||
],
|
||||
'LD-1012': [],
|
||||
};
|
||||
|
||||
// Pre-baked AI recommendations keyed by lead ID — no algorithm needed, just convincing data.
|
||||
// Each rep entry: repId, score, slotStart/End, factors (0-100 each), reasons[], stormReasons[], routePath[[lat,lng]]
|
||||
export const DISPATCH_RECOMMENDATIONS = {
|
||||
|
||||
Reference in New Issue
Block a user