<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    
    <!-- start rutas api -->
    <preference for="Yeboyebo\IntegracionApp\Api\Integracion\GetCustomerInterface" type="Yeboyebo\IntegracionApp\Model\Integracion\GetCustomer"/>
    <preference for="Yeboyebo\IntegracionApp\Api\Integracion\SetCustomerAppTokenInterface" type="Yeboyebo\IntegracionApp\Model\Integracion\SetCustomerAppToken"/>
    <!-- end rutas api -->

    <!-- start datasource listado devices admin-->
    <type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
        <arguments>
            <argument name="collections" xsi:type="array">
                <item name="yeboyebo_integracionapp_devices_data_source" xsi:type="string">Yeboyebo\IntegracionApp\Model\Device\ResourceModel\Device\Grid\Collection</item>
            </argument>
        </arguments>
    </type>
    <!-- end datasource listado devices admin-->

    <!-- start datasource listado notificaciones admin-->
    <type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
        <arguments>
            <argument name="collections" xsi:type="array">
                <item name="yeboyebo_integracionapp_notificaciones_data_source" xsi:type="string">Yeboyebo\IntegracionApp\Model\Notificacion\ResourceModel\Notificacion\Grid\Collection</item>
            </argument>
        </arguments>
    </type>
    <!-- end datasource listado notificaciones admin-->


    <!-- start datasource listado notificaciones status admin-->
    <type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
        <arguments>
            <argument name="collections" xsi:type="array">
                <item name="yeboyebo_integracionapp_notificacionesstatus_data_source" xsi:type="string">Yeboyebo\IntegracionApp\Model\NotificacionStatus\ResourceModel\NotificacionStatus\Grid\Collection</item>
            </argument>
        </arguments>
    </type>
    <!-- end datasource listado notificaciones admin-->
    <preference for="Yeboyebo\IntegracionApp\Api\CustomerExistsInterface"   type="Yeboyebo\IntegracionApp\Model\CustomerExists"/>
</config>