feat: MailJet list handling with DOI, webhook receiver and API endpoint
addresses #869cut134
This commit is contained in:
1 parent
df7885ca1c
commit
e4ef2f7adc
46 files changed
+3389
-322
No files matched your search
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Message;
|
||||
|
||||
final class MailjetNewsletterEventMessage
|
||||
{
|
||||
public const string EVENT_UNSUBSCRIBE = 'unsub';
|
||||
|
||||
/**
|
||||
* @param array<string, mixed> $payload
|
||||
*/
|
||||
public function __construct(
|
||||
public readonly string $email,
|
||||
public readonly int $mailjetListId,
|
||||
public readonly string $event,
|
||||
public readonly ?\DateTimeImmutable $eventAt = null,
|
||||
public readonly array $payload = [],
|
||||
) {
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user