<?php
declare(strict_types=1);

return [
    ['GET',  '/notifications/templates',              'Notifications\Controllers\NotificationController@templates',   ['auth'], 'sms.view_log'],
    ['POST', '/notifications/templates/{id}',         'Notifications\Controllers\NotificationController@updateTemplate', ['auth'], 'sms.edit_templates'],
    ['GET',  '/notifications/log',                    'Notifications\Controllers\NotificationController@log',         ['auth'], 'sms.view_log'],
    ['GET',  '/notifications/send',                   'Notifications\Controllers\NotificationController@sendForm',    ['auth'], 'sms.send_single'],
    ['POST', '/notifications/send',                   'Notifications\Controllers\NotificationController@send',        ['auth'], 'sms.send_single'],
    ['POST', '/notifications/send-bulk',              'Notifications\Controllers\NotificationController@sendBulk',    ['auth'], 'sms.send_bulk'],
];