feat: MailJet list handling with DOI, webhook receiver and API endpoint

addresses #869cut134
This commit is contained in:
Björn Fromme
2026-04-29 09:51:57 +02:00
parent df7885ca1c
commit e4ef2f7adc
46 changed files with 3389 additions and 322 deletions
@@ -0,0 +1,35 @@
<?php
declare(strict_types=1);
namespace App\Exception;
class NewsletterListNotAllowedException extends \InvalidArgumentException
{
/**
* @param list<int> $listIds
* @param list<int> $unknownListIds
*/
public function __construct(
private readonly array $listIds,
private readonly array $unknownListIds,
) {
parent::__construct('One or more Mailjet list IDs are not allowed.');
}
/**
* @return list<int>
*/
public function getListIds(): array
{
return $this->listIds;
}
/**
* @return list<int>
*/
public function getUnknownListIds(): array
{
return $this->unknownListIds;
}
}