#include <maps/wikimap/mapspro/services/autocart/pipeline/libs/toloka/include/states.h>

#include <maps/libs/enum_io/include/enum_io.h>

using namespace std::string_view_literals;

namespace maps::wiki::autocart::pipeline {

namespace {

constexpr enum_io::Representations<TolokaState> STATE_STRINGS{
    {TolokaState::Yes, "yes"sv},
    {TolokaState::No, "no"sv},
    {TolokaState::Unknown, "unknown"sv},
    {TolokaState::NotLoaded, "not-loaded"sv},
};

} // namespace

DEFINE_ENUM_IO(TolokaState, STATE_STRINGS);

} // namespace maps::wiki::autocart::pipeline
