PlannedCapacity
The local read model of warehouse-planning's published CapacityPlans (ADR 0031). Written only by the Kafka consumer; this API only reads it. Present only when the deployment enables the integration (PLANNED_CAPACITY_CONSUMER_GROUP).
List a site's planned capacity windows
Reads order-management's LOCAL read model of warehouse-planning's CapacityPlans for one site (ADR 0031): a PLANNED statement about a future window — the demand the planned capacity cannot process in it (`shortage`, in orders) — mirrored from the CloudEvents warehouse-planning publishes on `warehouse.warehouse-planning.events`. It is not live execution state and is never refreshed by calling warehouse-planning. Windows of every `status` are listed (a `DRAFT` is visible here but never influences an order; a `SUPERSEDED` plan was replaced by a newer one of the same window, names it in `supersededBy` and never influences an order again, ADR 0052; only a `PUBLISHED` plan with `shortage > 0` annotates orders — see `capacityConstraint` on the Order schema). Windows that ended before `from` are omitted. This route exists only when the integration is enabled; otherwise it is a 404.