Add Event to api types

This file wasn't correctly gofmt'd.