"""
Base dictionary with triggmine api urls
Function check type of request data and return required event url
"""


def get_event_url(event_name):
    api_events = dict(Cart='api/events/cart',
                      History='api/events/history',
                      Login='api/events/prospect/login',
                      Logout='api/events/prospect/logout',
                      Navigation='api/events/navigation',
                      Order='api/events/order',
                      Registration='api/events/prospect/registration',
                      Diagnostic='control/api/plugin/onDiagnosticInformationUpdated')

    return api_events[event_name]


6d9d1b599d0493aaece3e72f3183f6d410d8f2eb
<mask token>

<mask token>


def get_event_url(event_name):
    api_events = dict(Cart='api/events/cart', History='api/events/history',
        Login='api/events/prospect/login', Logout=
        'api/events/prospect/logout', Navigation='api/events/navigation',
        Order='api/events/order', Registration=
        'api/events/prospect/registration', Diagnostic=
        'control/api/plugin/onDiagnosticInformationUpdated')
    return api_events[event_name]

"""
Base dictionary with triggmine api urls
Function check type of request data and return required event url
"""


def get_event_url(event_name):
    api_events = dict(Cart='api/events/cart',
                      History='api/events/history',
                      Login='api/events/prospect/login',
                      Logout='api/events/prospect/logout',
                      Navigation='api/events/navigation',
                      Order='api/events/order',
                      Registration='api/events/prospect/registration',
                      Diagnostic='control/api/plugin/onDiagnosticInformationUpdated')

    return api_events[event_name]

