getFlights and object types