<?php
// @generated by build-free-packages.mjs — DO NOT EDIT.
/**
 * Campaign Monitor Package Definition
 *
 * @package Sequensy\Integrations\CampaignMonitor
 * @since 1.0.0
 */

declare(strict_types=1);

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

use Sequensy\Integrations\CampaignMonitor\CampaignMonitorApi;

return array(
	'actions'     => array(
		require __DIR__ . '/actions/add-subscriber.php',
		require __DIR__ . '/actions/remove-subscriber.php',
		require __DIR__ . '/actions/update-subscriber.php',
	),
	'triggers'    => array(),
	'api_factory' => function ( array $credentials ): CampaignMonitorApi {
		return new CampaignMonitorApi( $credentials['api_key'], $credentials['client_id'] );
	},
);
