genesys: Convert weakly typed enums to strongly typed enums
This PR has the following benefits:
-
it reduces the chance of accidental errors as weakly typed enums can be converted to the underlying type implicitly.
-
the development speed is increased because code completion is better.