fn request_within( state: &AppState, block_id: &str, by: &str, via: &str, reason: &str, action: Action, window: Duration, ) -> PendingView