States of the Nuki with enum instead of number

I’m using the Web-API and all the states and actions are showed with a number. This makes it hard to know what the status of my door/nuki is, and I just want to get the status of my door-lock for my own program. I can’t find what the numbers mean, and have to search them al by myself now by trial and error. Strings (enums) would be much more efficient in my oppinion. If there is a site with a legend for all the numbers, please let me know!

Basic states and actions can be found here in the Web API documentation.

For all API endpoints data fields are also documentet in the Swagger Interface.
Just select an enpoint (e.g.!/Smartlock/get) and switch from Example Value to Model: