<?xml version="1.0"?>
<!--
/**
* @author Amasty Team
* @copyright Copyright (c) 2022 Amasty (https://www.amasty.com)
* @package Special Promotions Base for Magento 2
*/-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd">
    <extension_attributes for="Magento\SalesRule\Api\Data\RuleInterface">
        <attribute code="amrules" type="Amasty\Rules\Api\Data\RuleInterface"/>
    </extension_attributes>
    <extension_attributes for="Magento\Quote\Api\Data\TotalsInterface">
        <attribute code="amrule_discount_breakdown" type="Amasty\Rules\Api\Data\DiscountBreakdownLineInterface[]"/>
    </extension_attributes>
</config>