<?php
/**
 * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
 *
 * @author Double Bastion LLC
 *
 * @license GNU AGPL version 3 or any later version
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
 *
 * You should have received a copy of the GNU Affero General Public
 * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

declare(strict_types=1);

return [
  'routes' => [
     // User views
     ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
     ['name' => 'author_api#receivesmstel', 'url' => '/api/recsmstel', 'verb' => 'POST'],
     ['name' => 'author_api#receivesmsnex', 'url' => '/api/recsmsnex', 'verb' => 'POST'],
     ['name' => 'author_api#receivesmstwil', 'url' => '/api/recsmstwil', 'verb' => 'POST'],
     ['name' => 'author_api#receivesmsflow', 'url' => '/api/recsmsflow', 'verb' => 'POST'],
     ['name' => 'author_api#recdeliveryreptel', 'url' => '/api/recdeliverytel', 'verb' => 'POST'],
     ['name' => 'author_api#recdeliveryrepnex', 'url' => '/api/recdeliverynex', 'verb' => 'POST'],
     ['name' => 'author_api#recdeliveryreptwil', 'url' => '/api/recdeliverytwil', 'verb' => 'POST'],
     ['name' => 'author_api#recdeliveryrepflow', 'url' => '/api/recdeliveryflow', 'verb' => 'POST'],
     ['name' => 'smsrelentless#cleantempdir', 'url' => '/user/cleantempdir', 'verb' => 'POST'],
     ['name' => 'smsrelentless#cleanmultrecdir', 'url' => '/user/cleanmultrecdir', 'verb' => 'POST'],
     ['name' => 'smsrelentless#getreceivedtable', 'url' => '/user/getreceivedtable', 'verb' => 'GET'],
     ['name' => 'smsrelentless#getreceivedtablefordel', 'url' => '/user/getreceivedtablefordel', 'verb' => 'GET'],
     ['name' => 'smsrelentless#getsenttable', 'url' => '/user/getsenttable', 'verb' => 'GET'],
     ['name' => 'smsrelentless#getsenttablefordel', 'url' => '/user/getsenttablefordel', 'verb' => 'GET'],
     ['name' => 'smsrelentless#getconversations', 'url' => '/user/getconversations', 'verb' => 'GET'],
     ['name' => 'smsrelentless#getgroupedtable', 'url' => '/user/getgroupedtable', 'verb' => 'GET'],
     ['name' => 'smsrelentless#getgroupedpernumber', 'url' => '/user/getgroupedpernumber', 'verb' => 'POST'],
     ['name' => 'smsrelentless#getgroupedforreply', 'url' => '/user/getgroupedforreply', 'verb' => 'POST'],
     ['name' => 'smsrelentless#getactivitytable', 'url' => '/user/getactivitytable', 'verb' => 'POST'],
     ['name' => 'smsrelentless#getindactivity', 'url' => '/user/getindactivity', 'verb' => 'POST'],
     ['name' => 'smsrelentless#removerecrows', 'url' => '/user/removerecrows', 'verb' => 'POST'],
     ['name' => 'smsrelentless#removesentrows', 'url' => '/user/removesentrows', 'verb' => 'POST'],
     ['name' => 'smsrelentless#saveoldrecrows', 'url' => '/user/saveoldrecrows', 'verb' => 'POST'],
     ['name' => 'smsrelentless#saveoldsentrows', 'url' => '/user/saveoldsentrows', 'verb' => 'POST'],
     ['name' => 'smsrelentless#getappdirectory', 'url' => '/user/getappdirectory', 'verb' => 'GET'],
     ['name' => 'smsrelentless#getbalancetel', 'url' => '/user/getbalancetel', 'verb' => 'POST'],
     ['name' => 'smsrelentless#getbalancenex', 'url' => '/user/getbalancenex', 'verb' => 'POST'],
     ['name' => 'smsrelentless#getbalancetwil', 'url' => '/user/getbalancetwil', 'verb' => 'POST'],
     ['name' => 'smsrelentless#getbalanceflow', 'url' => '/user/getbalanceflow', 'verb' => 'POST'],
     ['name' => 'smsrelentless#getsmsnumbers', 'url' => '/user/getsmsnumbers', 'verb' => 'POST'],
     ['name' => 'smsrelentless#refreshavailablenumbers', 'url' => '/user/refreshavailablenumbers', 'verb' => 'POST'],
     ['name' => 'smsrelentless#upload_numbers_file', 'url' => '/user/upload_numbers_file', 'verb' => 'POST'],
     ['name' => 'smsrelentless#uploadfile', 'url' => '/user/uploadfile', 'verb' => 'POST'],
     ['name' => 'smsrelentless#pickfile', 'url' => '/user/pickfile', 'verb' => 'POST'],
     ['name' => 'smsrelentless#removeupfile', 'url' => '/user/removeupfile', 'verb' => 'POST'],
     ['name' => 'smsrelentless#sendsmstel', 'url' => '/user/sendsmstel', 'verb' => 'POST'],
     ['name' => 'smsrelentless#sendsmsnex', 'url' => '/user/sendsmsnex', 'verb' => 'POST'],
     ['name' => 'smsrelentless#sendsmstwil', 'url' => '/user/sendsmstwil', 'verb' => 'POST'],
     ['name' => 'smsrelentless#sendsmsflow', 'url' => '/user/sendsmsflow', 'verb' => 'POST'],
     ['name' => 'smsrelentless#getmsgsperpgnewmsgarchnb', 'url' => '/user/getmsgsperpgnewmsgarchnb', 'verb' => 'GET'],
     ['name' => 'smsrelentless#getnewmsgindicator', 'url' => '/user/getnewmsgindicator', 'verb' => 'GET'],
     ['name' => 'smsrelentless#savedisplayname', 'url' => '/user/savedisplayname', 'verb' => 'POST'],
     ['name' => 'smsrelentless#saveconvdescription', 'url' => '/user/saveconvdescription', 'verb' => 'POST'],
     ['name' => 'smsrelentless#saveconvtag', 'url' => '/user/saveconvtag', 'verb' => 'POST'],
     ['name' => 'smsrelentless#saveconvflag', 'url' => '/user/saveconvflag', 'verb' => 'POST'],
     ['name' => 'smsrelentless#archiveconv', 'url' => '/user/archiveconv', 'verb' => 'POST'],
     ['name' => 'smsrelentless#unarchiveconv', 'url' => '/user/unarchiveconv', 'verb' => 'POST'],
     ['name' => 'smsrelentless#removeconvmsgs', 'url' => '/user/removeconvmsgs', 'verb' => 'POST'],
     ['name' => 'smsrelentless#getautoreplyconf', 'url' => '/user/getautoreplyconf', 'verb' => 'GET'],
     // Settings
     ['name' => 'smsrelentless#getadminornot', 'url' => '/user/getadminornot', 'verb' => 'GET'],
     ['name' => 'smsrelentless#getsettings', 'url' => '/user/getsettings', 'verb' => 'GET'],
     ['name' => 'smsrelentless#getadminsettings', 'url' => '/user/getadminsettings', 'verb' => 'GET'],
     ['name' => 'smsrelentless#updatesettings', 'url' => '/user/updatesettings', 'verb' => 'PUT'],
     ['name' => 'smsrelentless#updatepersadmnsettings', 'url' => '/user/updatepersadmnsettings', 'verb' => 'PUT'],
     ['name' => 'smsrelentless#updateadminsettings', 'url' => '/user/updateadminsettings', 'verb' => 'PUT'],
     ['name' => 'smsrelentless#updatenumberrestrictions', 'url' => '/user/updatenumberrestrictions', 'verb' => 'PUT'],
     ['name' => 'smsrelentless#updatekeysallowedusers', 'url' => '/user/updatekeysallowedusers', 'verb' => 'PUT'],
     ['name' => 'smsrelentless#updateautoreplies', 'url' => '/user/updateautoreplies', 'verb' => 'PUT'],
     ['name' => 'smsrelentless#removenumberrestrictions', 'url' => '/user/removenumberrestrictions', 'verb' => 'POST'],
     ['name' => 'smsrelentless#removeautoreplies', 'url' => '/user/removeautoreplies', 'verb' => 'POST'],
  ]
];

