<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <preference for="LivePrawn\CustomerRewards\Api\CustomerProfileRepositoryInterface"
                type="LivePrawn\CustomerRewards\Model\CustomerProfileRepository"/>
    <preference for="LivePrawn\CustomerRewards\Api\Data\CustomerProfileInterface"
                type="LivePrawn\CustomerRewards\Model\CustomerProfile"/>
    <preference for="LivePrawn\CustomerRewards\Api\RewardLedgerRepositoryInterface"
                type="LivePrawn\CustomerRewards\Model\RewardLedgerRepository"/>
    <preference for="LivePrawn\CustomerRewards\Api\Data\RewardLedgerInterface"
                type="LivePrawn\CustomerRewards\Model\RewardLedger"/>
    <preference for="LivePrawn\CustomerRewards\Api\ReferralRepositoryInterface"
                type="LivePrawn\CustomerRewards\Model\ReferralRepository"/>
    <preference for="LivePrawn\CustomerRewards\Api\Data\ReferralInterface"
                type="LivePrawn\CustomerRewards\Model\Referral"/>
    <preference for="LivePrawn\CustomerRewards\Api\RestaurantAssignmentRepositoryInterface"
                type="LivePrawn\CustomerRewards\Model\RestaurantAssignmentRepository"/>
    <preference for="LivePrawn\CustomerRewards\Api\Data\RestaurantAssignmentInterface"
                type="LivePrawn\CustomerRewards\Model\RestaurantAssignment"/>
    <preference for="LivePrawn\CustomerRewards\Api\RestaurantCommissionRepositoryInterface"
                type="LivePrawn\CustomerRewards\Model\RestaurantCommissionRepository"/>
    <preference for="LivePrawn\CustomerRewards\Api\Data\RestaurantCommissionInterface"
                type="LivePrawn\CustomerRewards\Model\RestaurantCommission"/>
    <type name="Magento\Framework\Console\CommandList">
        <arguments>
            <argument name="commands" xsi:type="array">
                <item name="liveprawn_rewards_verify_calculations"
                      xsi:type="object">LivePrawn\CustomerRewards\Console\Command\VerifyRewardCalculations</item>
            </argument>
        </arguments>
    </type>
</config>
