<?php

use Bastion\Handlers\AutocompleteHandler;
use Bastion\Handlers\DictionariesHandler;
use Bastion\Handlers\FormsHandler;
use Bastion\Handlers\LogsHandler;
use Bastion\Handlers\SendMessageHandler;
use Bastion\Handlers\SettingsHandler;
use Bastion\Handlers\StatsHandler;
use Bastion\Handlers\TelegramCustomersHandler;
use Bastion\Handlers\TelegramHandler;

return [
    'configureBotToken' => [SettingsHandler::class, 'configureBotToken'],
    'getAutocompleteCategories' => [AutocompleteHandler::class, 'getCategories'],
    'getAutocompleteCategoriesFlat' => [AutocompleteHandler::class, 'getCategoriesFlat'],
    'getCategories' => [DictionariesHandler::class, 'getCategories'],
    'getCategoriesById' => [AutocompleteHandler::class, 'getCategoriesById'],
    'getChatId' => [TelegramHandler::class, 'getChatId'],
    'getDashboardStats' => [StatsHandler::class, 'getDashboardStats'],
    'getFormByAlias' => [FormsHandler::class, 'getFormByAlias'],
    'getLogs' => [LogsHandler::class, 'getLogs'],
    'getProductsById' => [AutocompleteHandler::class, 'getProductsById'],
    'getSettingsForm' => [SettingsHandler::class, 'getSettingsForm'],
    'getTelegramCustomers' => [TelegramCustomersHandler::class, 'getCustomers'],
    'resetCache' => [SettingsHandler::class, 'resetCache'],
    'saveSettingsForm' => [SettingsHandler::class, 'saveSettingsForm'],
    'sendMessageToCustomer' => [SendMessageHandler::class, 'sendMessage'],
    'testTgMessage' => [TelegramHandler::class, 'testTgMessage'],
    'tgGetMe' => [TelegramHandler::class, 'tgGetMe'],
];
