Adds GET /hub/inbound, GET /hub/bookings (both new), and extends the existing GET /hub/batches with optional from/to (YYYY-MM-DD, inclusive) query params, backing the Hub Console's date-range picker on the Pickup Requests, Receive Parcels, and Dispatch & Transfer pages. Reuses the same range-parsing helper (renamed from parseHubDashboardRange to parseHubDateRange) added for GET /hub/dashboard, defaulting to today when omitted. The existing live endpoints (/inbound/today, /bookings/unassigned) are untouched. GET /hub/bookings also surfaces each booking's assignment status, mapped to a small vocabulary (pending/assigned/picked_up/delivered/cancelled) via the new hubBookingDisplayStatus, plus milername when assigned. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
15 KiB
15 KiB