<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">

    <type name="Amasty\Gdpr\Model\Anonymization\Anonymizer">
        <plugin name="autogedal_remove_subscriber_gdpr_anonymize"
                type="Autogedal\RemoveSubscriber\Plugin\GdprAnonymizePlugin"/>
    </type>

    <type name="Magento\Customer\Api\CustomerRepositoryInterface">
        <plugin name="autogedal_remove_subscriber_customer_delete"
                type="Autogedal\RemoveSubscriber\Plugin\CustomerDeletePlugin"/>
    </type>

    <preference for="Autogedal\RemoveSubscriber\Api\TheMarketerUnsubscribeWebhookInterface"
                type="Autogedal\RemoveSubscriber\Model\TheMarketer\UnsubscribeWebhook"/>

</config>
