TS-2823: Change names of TSEvent and TSError in mgmt API