<?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="catalog_product_save_before">
        <observer name="shenobis_product_push_capture_categories"
                  instance="Shenobis\ProductPushNotification\Observer\CaptureProductCategories"/>
    </event>
    <event name="catalog_product_save_after">
        <observer name="shenobis_product_push_product_categories_changed"
                  instance="Shenobis\ProductPushNotification\Observer\ProductCategoriesChanged"/>
    </event>
    <event name="cataloginventory_stock_item_save_after">
        <observer name="shenobis_product_push_stock_item_saved"
                  instance="Shenobis\ProductPushNotification\Observer\StockItemSaved"/>
    </event>
</config>
