<?php
/**
 * @author 1902 Software
 * @copyright Copyright © 2023 1902 Software (https://1902software.com/magento/)
 * @package WriteTextAI_WriteTextAI
 */


declare(strict_types=1);

namespace WriteTextAI\WriteTextAI\Block\Adminhtml\CategoriesGrid;

use WriteTextAI\WriteTextAI\Model\UserFieldsSelectedManager;

class FullAutomationPrompt extends \WriteTextAI\WriteTextAI\Block\Adminhtml\Grid\FullAutomationPrompt
{
    /**
     * @var string
     */
    protected $_template = 'WriteTextAI_WriteTextAI::categoriesgrid/massactions/full_automation_prompt.phtml';

    /**
     * Get fields selected
     *
     * @return array
     */
    public function getFieldsSelected()
    {
        return $this->userFieldsSelected->getUserFieldsSelected(
            UserFieldsSelectedManager::ACTION_TYPE_BULK_FULL_AUTOMATION_FIELDS,
            'category',
            'grid'
        );
    }
}
