added enum flag constants into api