validated()); return AdminAgentStatsResource::make($this->stats->stats($from, $to, $request->validated('account_type', 'all'))); } }