Implement a basic object-oriented parking lot system. Design Python classes to support parking and unparking vehicles, tracking available spots by vehicle type, and issuing a ticket when a vehicle is parked. The function should process a list of operations and return the outputs of query operations.
def process_parking_lot(levels, spots_per_level, operations):