<?php
/**
 * @package   Essentials YOOtheme Pro 2.2.16 build 0813.1608
 * @author    ZOOlanders https://www.zoolanders.com
 * @copyright Copyright (C) Joolanders, SL
 * @license   http://www.gnu.org/licenses/gpl.html GNU/GPL
 */

namespace ZOOlanders\YOOessentials\Form\Action\Mailchimp;

return [

    'routes' => [

        ['post', MailchimpController::LISTS_ENDPOINT, MailchimpController::class . '@lists'],
        ['post', MailchimpController::MERGE_FIELDS_ENDPOINT, MailchimpController::class . '@mergeFields'],
        ['post', MailchimpController::INTERESTS_ENDPOINT, MailchimpController::class . '@interests'],
        ['post', MailchimpController::MARKETING_PERMISSIONS_ENDPOINT, MailchimpController::class . '@marketingPermissions']

    ],

    'yooessentials-form-actions' => [
        MailchimpActionUpsertMember::class => __DIR__ . '/member-upsert.json',
        MailchimpActionRemoveMember::class => __DIR__ . '/member-remove.json'
    ]

];
