<?php

declare(strict_types=1);

namespace ImovelZapAi\Publishing\Connectors\GroupOlx\Application\Actions;

use ImovelZapAi\Publishing\Connectors\GroupOlx\Infrastructure\Jobs\GenerateVrsyncFeedJob;

/**
 * Enfileira geração do feed VRSync — nunca executa na request HTTP.
 */
final class QueueGenerateVrsyncFeedAction
{
    public function execute(string $tenantId, ?int $triggeredBy = null): void
    {
        GenerateVrsyncFeedJob::dispatch($tenantId, $triggeredBy);
    }
}
