<?php

namespace App\Framework\Smartlinks\Commands;

use App\Framework\Smartlinks\TokenAction;
use App\Framework\Smartlinks\TokenConfig;

final readonly class GenerateSmartlinkCommand
{
    public function __construct(
        public TokenAction $action,
        public array $payload,
        public ?TokenConfig $config = null,
        public ?string $baseUrl = null,
        public ?string $createdByIp = null,
        public ?string $userAgent = null
    ) {}
}

