<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
    <event name="sales_order_save_after">
        <observer name="orderStatusChanged" instance="Benhauer\Salesmanago\Observer\Adminhtml\Events\OrderStatusChanged"/>
    </event>
    <event name="backend_auth_user_login_success">
        <observer name="setNotifications" instance="Benhauer\Salesmanago\Observer\Adminhtml\Notifications"/>
    </event>
    <event name="admin_system_config_changed_section_salesmanago_account_settings">
        <observer name="custom_admin_system_config_changed_section_salesmanago_account_settings" instance="Benhauer\Salesmanago\Observer\Adminhtml\Config"/>
        <observer name="custom_admin_system_config_changed_section_salesmanago_account_settings_account_configuration_changed" instance="Benhauer\Salesmanago\Observer\Adminhtml\ReportingModuleConfigurationChanged"/>
    </event>
    <event name="admin_system_config_changed_section_salesmanago_platform_settings">
        <observer name="custom_admin_system_config_changed_section_salesmanago_platform_settings_platform_configuration_changed" instance="Benhauer\Salesmanago\Observer\Adminhtml\ReportingModuleConfigurationChanged"/>
    </event>
</config>
