Skip to content

KAZOO Support Channels

This documentation is curated by 2600Hz as part of the KAZOO open source project. Join our community forums here for peer support. Only features in the docs.2600hz.com/supported space are included as part of our 2600Hz Support Services plan.

monster.util.dataFlags#

The monster.util.dataFlags object contains different methods used to easily access and change flags set by Monster on data objects.

This methods knows where the flag are stored and will get/add/delete the values for the developer. It is useful because the object where we store flags has changed a lot in the past, so we want to abstract it to make sure we use the same keys everywhere. As of today, we store flags in a markers object and add an additional monster namespace to make sure this is OUR object that other people won't update.

If it was decided to change the name "markers" to "uiFlags" for example, we could easily just change the helpers, and the UI would set and get the flags properly (in addition to running a script on the database to update the existing values).

Methods#