Built motion from commit b5413ace.|2.6.9
[motion2.git] / server / api / user / index.js
index 40e47e4..fa2869f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe18f=['/:id/fax_accounts','addMailAccounts','addOpenchannelAccounts','addSmsAccounts','addChatWebsites','addWhatsappAccounts','addSquareProjects','/:id/api_key','createApiKey','put','/:id/password','changePassword','delete','removeTeams','removeChatInteractions','removeFaxInteractions','removeOpenchannelInteractions','removeFaxAccounts','removeMailAccounts','removeSmsAccounts','removeChatWebsites','removeWhatsappAccounts','removeSquareProjects','removeApiKey','multer','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/describe','isAuthenticated','describe','whoami','/:id','show','getAvatar','/:id/contacts','getContacts','getQueues','/:id/queues_rt','/:id/groups','getGroups','/:id/recordings','getRecordings','/:id/openchannel/interactions','getOpenchannelInteractions','/:id/mail/interactions','/:id/sms/interactions','getSmsInteractions','/:id/fax/interactions','getFaxInteractions','/:id/whatsapp/interactions','getWhatsappInteractions','/:id/teams','getTeams','getLists','getFaxAccounts','/:id/mail_accounts','getMailAccounts','getOpenchannelAccounts','/:id/sms_accounts','getSmsAccounts','/:id/chat_websites','getChatWebsites','/:id/whatsapp_accounts','/:id/square_projects','/:id/scheduled_calls','getScheduledCalls','getApiKey','post','addContacts','create','/create_many','bulkCreate','/:id/queues','server/files/images/','format','%s-%s','now','originalname','/:id/avatar','single','file','addAvatar','/:id/login','/:id/logout','logout','/:id/pause','pause','unpause','addTeams','addChatInteractions','/:id/mail_interactions','addMailInteractions','/:id/sms_interactions','addSmsInteractions','/:id/openchannel_interactions','/:id/whatsapp_interactions'];(function(_0x2247ab,_0x3f4162){var _0x430062=function(_0x591dd7){while(--_0x591dd7){_0x2247ab['push'](_0x2247ab['shift']());}};_0x430062(++_0x3f4162);}(_0xe18f,0x14d));var _0xfe18=function(_0x2fd818,_0x204f43){_0x2fd818=_0x2fd818-0x0;var _0x2cf4d6=_0xe18f[_0x2fd818];return _0x2cf4d6;};'use strict';var multer=require(_0xfe18('0x0'));var util=require(_0xfe18('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xfe18('0x2'));var router=express[_0xfe18('0x3')]();var fs_extra=require(_0xfe18('0x4'));var auth=require(_0xfe18('0x5'));var interaction=require(_0xfe18('0x6'));var config=require(_0xfe18('0x7'));var controller=require('./user.controller');router[_0xfe18('0x8')]('/',auth['isAuthenticated'](),controller[_0xfe18('0x9')]);router[_0xfe18('0x8')](_0xfe18('0xa'),auth[_0xfe18('0xb')](),controller[_0xfe18('0xc')]);router[_0xfe18('0x8')]('/whoami',auth[_0xfe18('0xb')](),controller[_0xfe18('0xd')]);router['get']('/presence',auth[_0xfe18('0xb')](),controller['getPresence']);router['get'](_0xfe18('0xe'),auth[_0xfe18('0xb')](),controller[_0xfe18('0xf')]);router[_0xfe18('0x8')]('/:id/avatar',controller[_0xfe18('0x10')]);router['get']('/:id/open_tabs',auth[_0xfe18('0xb')](),controller['getOpenTabs']);router[_0xfe18('0x8')](_0xfe18('0x11'),auth['isAuthenticated'](),controller[_0xfe18('0x12')]);router[_0xfe18('0x8')]('/:id/queues',auth[_0xfe18('0xb')](),controller[_0xfe18('0x13')]);router[_0xfe18('0x8')](_0xfe18('0x14'),auth[_0xfe18('0xb')](),controller['getVoiceQueuesRt']);router['get'](_0xfe18('0x15'),auth['isAuthenticated'](),controller[_0xfe18('0x16')]);router[_0xfe18('0x8')](_0xfe18('0x17'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x18')]);router['get']('/:id/screen_recordings',auth[_0xfe18('0xb')](),controller['getScreenRecordings']);router[_0xfe18('0x8')]('/:id/chat/interactions',auth[_0xfe18('0xb')](),controller['getChatInteractions']);router[_0xfe18('0x8')](_0xfe18('0x19'),auth['isAuthenticated'](),controller[_0xfe18('0x1a')]);router[_0xfe18('0x8')](_0xfe18('0x1b'),auth['isAuthenticated'](),controller['getMailInteractions']);router[_0xfe18('0x8')](_0xfe18('0x1c'),auth['isAuthenticated'](),controller[_0xfe18('0x1d')]);router['get'](_0xfe18('0x1e'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x1f')]);router[_0xfe18('0x8')](_0xfe18('0x20'),auth['isAuthenticated'](),controller[_0xfe18('0x21')]);router[_0xfe18('0x8')](_0xfe18('0x22'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x23')]);router[_0xfe18('0x8')]('/:id/lists',auth[_0xfe18('0xb')](),controller[_0xfe18('0x24')]);router[_0xfe18('0x8')]('/:id/agents',auth[_0xfe18('0xb')](),controller['getAgents']);router[_0xfe18('0x8')]('/:id/prefixes',auth[_0xfe18('0xb')](),controller['getVoicePrefixes']);router['get']('/:id/fax_accounts',auth[_0xfe18('0xb')](),controller[_0xfe18('0x25')]);router['get'](_0xfe18('0x26'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x27')]);router['get']('/:id/openchannel_accounts',auth['isAuthenticated'](),controller[_0xfe18('0x28')]);router[_0xfe18('0x8')](_0xfe18('0x29'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x2a')]);router[_0xfe18('0x8')](_0xfe18('0x2b'),auth['isAuthenticated'](),controller[_0xfe18('0x2c')]);router[_0xfe18('0x8')](_0xfe18('0x2d'),auth[_0xfe18('0xb')](),controller['getWhatsappAccounts']);router[_0xfe18('0x8')](_0xfe18('0x2e'),auth[_0xfe18('0xb')](),controller['getSquareProjects']);router[_0xfe18('0x8')](_0xfe18('0x2f'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x30')]);router[_0xfe18('0x8')]('/:id/api_key',auth[_0xfe18('0xb')](),controller[_0xfe18('0x31')]);router[_0xfe18('0x32')](_0xfe18('0x11'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x33')]);router['post']('/',auth[_0xfe18('0xb')](),controller[_0xfe18('0x34')]);router[_0xfe18('0x32')](_0xfe18('0x35'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x36')]);router['post'](_0xfe18('0x37'),auth[_0xfe18('0xb')](),controller['addQueues']);var upload=multer({'storage':multer['diskStorage']({'destination':function(_0x39847e,_0x24edfc,_0x13e1e9){_0x13e1e9(null,path['join'](config['root'],_0xfe18('0x38')));},'filename':function(_0x19169f,_0x42c38c,_0x39d2fb){_0x39d2fb(null,util[_0xfe18('0x39')](_0xfe18('0x3a'),Date[_0xfe18('0x3b')](),_0x42c38c[_0xfe18('0x3c')]));}})});router['post'](_0xfe18('0x3d'),upload[_0xfe18('0x3e')](_0xfe18('0x3f')),controller[_0xfe18('0x40')]);router[_0xfe18('0x32')](_0xfe18('0x41'),auth[_0xfe18('0xb')](),controller['login']);router[_0xfe18('0x32')](_0xfe18('0x42'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x43')]);router['post'](_0xfe18('0x44'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x45')]);router[_0xfe18('0x32')]('/:id/unpause',auth['isAuthenticated'](),controller[_0xfe18('0x46')]);router[_0xfe18('0x32')](_0xfe18('0x22'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x47')]);router[_0xfe18('0x32')]('/:id/chat_interactions',auth['isAuthenticated'](),controller[_0xfe18('0x48')]);router[_0xfe18('0x32')](_0xfe18('0x49'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x4a')]);router[_0xfe18('0x32')]('/:id/fax_interactions',auth['isAuthenticated'](),controller['addFaxInteractions']);router[_0xfe18('0x32')](_0xfe18('0x4b'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x4c')]);router['post'](_0xfe18('0x4d'),auth[_0xfe18('0xb')](),controller['addOpenchannelInteractions']);router['post'](_0xfe18('0x4e'),auth[_0xfe18('0xb')](),controller['addWhatsappInteractions']);router[_0xfe18('0x32')](_0xfe18('0x4f'),auth[_0xfe18('0xb')](),controller['addFaxAccounts']);router[_0xfe18('0x32')](_0xfe18('0x26'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x50')]);router[_0xfe18('0x32')]('/:id/openchannel_accounts',auth[_0xfe18('0xb')](),controller[_0xfe18('0x51')]);router[_0xfe18('0x32')](_0xfe18('0x29'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x52')]);router[_0xfe18('0x32')](_0xfe18('0x2b'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x53')]);router['post'](_0xfe18('0x2d'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x54')]);router[_0xfe18('0x32')](_0xfe18('0x2e'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x55')]);router[_0xfe18('0x32')](_0xfe18('0x56'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x57')]);router[_0xfe18('0x58')]('/:id',auth[_0xfe18('0xb')](),controller['update']);router['put'](_0xfe18('0x59'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x5a')]);router[_0xfe18('0x5b')]('/:id/queues',auth[_0xfe18('0xb')](),controller['removeQueues']);router['delete'](_0xfe18('0x22'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x5c')]);router[_0xfe18('0x5b')](_0xfe18('0xe'),auth[_0xfe18('0xb')](),controller['destroy']);router[_0xfe18('0x5b')]('/:id/chat_interactions',auth['isAuthenticated'](),controller[_0xfe18('0x5d')]);router[_0xfe18('0x5b')](_0xfe18('0x49'),auth[_0xfe18('0xb')](),controller['removeMailInteractions']);router[_0xfe18('0x5b')]('/:id/fax_interactions',auth[_0xfe18('0xb')](),controller[_0xfe18('0x5e')]);router[_0xfe18('0x5b')]('/:id/sms_interactions',auth[_0xfe18('0xb')](),controller['removeSmsInteractions']);router[_0xfe18('0x5b')](_0xfe18('0x4d'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x5f')]);router[_0xfe18('0x5b')](_0xfe18('0x4e'),auth[_0xfe18('0xb')](),controller['removeWhatsappInteractions']);router[_0xfe18('0x5b')](_0xfe18('0x4f'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x60')]);router[_0xfe18('0x5b')](_0xfe18('0x26'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x61')]);router[_0xfe18('0x5b')]('/:id/openchannel_accounts',auth['isAuthenticated'](),controller['removeOpenchannelAccounts']);router[_0xfe18('0x5b')]('/:id/sms_accounts',auth[_0xfe18('0xb')](),controller[_0xfe18('0x62')]);router[_0xfe18('0x5b')](_0xfe18('0x2b'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x63')]);router[_0xfe18('0x5b')](_0xfe18('0x2d'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x64')]);router[_0xfe18('0x5b')](_0xfe18('0x2e'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x65')]);router[_0xfe18('0x5b')](_0xfe18('0x56'),auth[_0xfe18('0xb')](),controller[_0xfe18('0x66')]);module['exports']=router;
\ No newline at end of file
+var _0xa30e=['/:id/api_key','post','addContacts','create','/create_many','bulkCreate','addQueues','diskStorage','join','root','server/files/images/','%s-%s','now','single','addAvatar','/:id/login','login','/:id/logout','/:id/pause','pause','unpause','/:id/teams','addTeams','/:id/chat_interactions','addChatInteractions','/:id/mail_interactions','/:id/fax_interactions','addFaxInteractions','/:id/sms_interactions','addSmsInteractions','/:id/openchannel_interactions','addOpenchannelInteractions','/:id/whatsapp_interactions','addWhatsappInteractions','addOpenchannelAccounts','/:id/sms_accounts','addSmsAccounts','/:id/chat_websites','addChatWebsites','addWhatsappAccounts','update','/:id/password','changePassword','delete','removeQueues','destroy','removeChatInteractions','removeFaxInteractions','removeOpenchannelInteractions','removeWhatsappInteractions','removeFaxAccounts','removeMailAccounts','removeChatWebsites','removeApiKey','exports','multer','util','path','connect-timeout','express','Router','../../config/environment','./user.controller','get','index','/describe','isAuthenticated','describe','/whoami','whoami','/presence','/:id','show','/:id/avatar','getAvatar','/:id/open_tabs','getOpenTabs','/:id/contacts','/:id/queues','/:id/queues_rt','getVoiceQueuesRt','/:id/groups','getGroups','/:id/recordings','getRecordings','/:id/screen_recordings','getScreenRecordings','/:id/chat/interactions','getChatInteractions','/:id/openchannel/interactions','/:id/sms/interactions','getSmsInteractions','getFaxInteractions','/:id/whatsapp/interactions','getWhatsappInteractions','getTeams','/:id/lists','getLists','/:id/agents','/:id/prefixes','getVoicePrefixes','/:id/fax_accounts','/:id/mail_accounts','getMailAccounts','/:id/openchannel_accounts','getOpenchannelAccounts','getSmsAccounts','getChatWebsites','/:id/whatsapp_accounts','getWhatsappAccounts','/:id/scheduled_calls','getScheduledCalls'];(function(_0x3e9ef3,_0x21a7e4){var _0x333748=function(_0x3e7c45){while(--_0x3e7c45){_0x3e9ef3['push'](_0x3e9ef3['shift']());}};_0x333748(++_0x21a7e4);}(_0xa30e,0x117));var _0xea30=function(_0xea1570,_0x2f7856){_0xea1570=_0xea1570-0x0;var _0x579e74=_0xa30e[_0xea1570];return _0x579e74;};'use strict';var multer=require(_0xea30('0x0'));var util=require(_0xea30('0x1'));var path=require(_0xea30('0x2'));var timeout=require(_0xea30('0x3'));var express=require(_0xea30('0x4'));var router=express[_0xea30('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xea30('0x6'));var controller=require(_0xea30('0x7'));router[_0xea30('0x8')]('/',auth['isAuthenticated'](),controller[_0xea30('0x9')]);router[_0xea30('0x8')](_0xea30('0xa'),auth[_0xea30('0xb')](),controller[_0xea30('0xc')]);router[_0xea30('0x8')](_0xea30('0xd'),auth[_0xea30('0xb')](),controller[_0xea30('0xe')]);router[_0xea30('0x8')](_0xea30('0xf'),auth[_0xea30('0xb')](),controller['getPresence']);router['get'](_0xea30('0x10'),auth[_0xea30('0xb')](),controller[_0xea30('0x11')]);router[_0xea30('0x8')](_0xea30('0x12'),controller[_0xea30('0x13')]);router[_0xea30('0x8')](_0xea30('0x14'),auth[_0xea30('0xb')](),controller[_0xea30('0x15')]);router[_0xea30('0x8')](_0xea30('0x16'),auth[_0xea30('0xb')](),controller['getContacts']);router[_0xea30('0x8')](_0xea30('0x17'),auth[_0xea30('0xb')](),controller['getQueues']);router[_0xea30('0x8')](_0xea30('0x18'),auth[_0xea30('0xb')](),controller[_0xea30('0x19')]);router[_0xea30('0x8')](_0xea30('0x1a'),auth[_0xea30('0xb')](),controller[_0xea30('0x1b')]);router[_0xea30('0x8')](_0xea30('0x1c'),auth[_0xea30('0xb')](),controller[_0xea30('0x1d')]);router[_0xea30('0x8')](_0xea30('0x1e'),auth['isAuthenticated'](),controller[_0xea30('0x1f')]);router[_0xea30('0x8')](_0xea30('0x20'),auth[_0xea30('0xb')](),controller[_0xea30('0x21')]);router[_0xea30('0x8')](_0xea30('0x22'),auth[_0xea30('0xb')](),controller['getOpenchannelInteractions']);router[_0xea30('0x8')]('/:id/mail/interactions',auth['isAuthenticated'](),controller['getMailInteractions']);router[_0xea30('0x8')](_0xea30('0x23'),auth[_0xea30('0xb')](),controller[_0xea30('0x24')]);router[_0xea30('0x8')]('/:id/fax/interactions',auth[_0xea30('0xb')](),controller[_0xea30('0x25')]);router[_0xea30('0x8')](_0xea30('0x26'),auth[_0xea30('0xb')](),controller[_0xea30('0x27')]);router[_0xea30('0x8')]('/:id/teams',auth['isAuthenticated'](),controller[_0xea30('0x28')]);router[_0xea30('0x8')](_0xea30('0x29'),auth['isAuthenticated'](),controller[_0xea30('0x2a')]);router[_0xea30('0x8')](_0xea30('0x2b'),auth[_0xea30('0xb')](),controller['getAgents']);router['get'](_0xea30('0x2c'),auth[_0xea30('0xb')](),controller[_0xea30('0x2d')]);router[_0xea30('0x8')](_0xea30('0x2e'),auth[_0xea30('0xb')](),controller['getFaxAccounts']);router[_0xea30('0x8')](_0xea30('0x2f'),auth[_0xea30('0xb')](),controller[_0xea30('0x30')]);router[_0xea30('0x8')](_0xea30('0x31'),auth[_0xea30('0xb')](),controller[_0xea30('0x32')]);router[_0xea30('0x8')]('/:id/sms_accounts',auth['isAuthenticated'](),controller[_0xea30('0x33')]);router[_0xea30('0x8')]('/:id/chat_websites',auth['isAuthenticated'](),controller[_0xea30('0x34')]);router[_0xea30('0x8')](_0xea30('0x35'),auth[_0xea30('0xb')](),controller[_0xea30('0x36')]);router['get'](_0xea30('0x37'),auth[_0xea30('0xb')](),controller[_0xea30('0x38')]);router[_0xea30('0x8')](_0xea30('0x39'),auth['isAuthenticated'](),controller['getApiKey']);router[_0xea30('0x3a')](_0xea30('0x16'),auth[_0xea30('0xb')](),controller[_0xea30('0x3b')]);router[_0xea30('0x3a')]('/',auth[_0xea30('0xb')](),controller[_0xea30('0x3c')]);router[_0xea30('0x3a')](_0xea30('0x3d'),auth[_0xea30('0xb')](),controller[_0xea30('0x3e')]);router[_0xea30('0x3a')]('/:id/queues',auth[_0xea30('0xb')](),controller[_0xea30('0x3f')]);var upload=multer({'storage':multer[_0xea30('0x40')]({'destination':function(_0x496309,_0x5795c6,_0x3c17f7){_0x3c17f7(null,path[_0xea30('0x41')](config[_0xea30('0x42')],_0xea30('0x43')));},'filename':function(_0x2f7d17,_0x42586b,_0x54ff7d){_0x54ff7d(null,util['format'](_0xea30('0x44'),Date[_0xea30('0x45')](),_0x42586b['originalname']));}})});router[_0xea30('0x3a')](_0xea30('0x12'),upload[_0xea30('0x46')]('file'),controller[_0xea30('0x47')]);router[_0xea30('0x3a')](_0xea30('0x48'),auth[_0xea30('0xb')](),controller[_0xea30('0x49')]);router[_0xea30('0x3a')](_0xea30('0x4a'),auth[_0xea30('0xb')](),controller['logout']);router[_0xea30('0x3a')](_0xea30('0x4b'),auth[_0xea30('0xb')](),controller[_0xea30('0x4c')]);router['post']('/:id/unpause',auth[_0xea30('0xb')](),controller[_0xea30('0x4d')]);router['post'](_0xea30('0x4e'),auth[_0xea30('0xb')](),controller[_0xea30('0x4f')]);router[_0xea30('0x3a')](_0xea30('0x50'),auth[_0xea30('0xb')](),controller[_0xea30('0x51')]);router[_0xea30('0x3a')](_0xea30('0x52'),auth['isAuthenticated'](),controller['addMailInteractions']);router[_0xea30('0x3a')](_0xea30('0x53'),auth['isAuthenticated'](),controller[_0xea30('0x54')]);router[_0xea30('0x3a')](_0xea30('0x55'),auth[_0xea30('0xb')](),controller[_0xea30('0x56')]);router[_0xea30('0x3a')](_0xea30('0x57'),auth[_0xea30('0xb')](),controller[_0xea30('0x58')]);router[_0xea30('0x3a')](_0xea30('0x59'),auth[_0xea30('0xb')](),controller[_0xea30('0x5a')]);router[_0xea30('0x3a')]('/:id/fax_accounts',auth[_0xea30('0xb')](),controller['addFaxAccounts']);router['post'](_0xea30('0x2f'),auth['isAuthenticated'](),controller['addMailAccounts']);router[_0xea30('0x3a')]('/:id/openchannel_accounts',auth[_0xea30('0xb')](),controller[_0xea30('0x5b')]);router[_0xea30('0x3a')](_0xea30('0x5c'),auth['isAuthenticated'](),controller[_0xea30('0x5d')]);router[_0xea30('0x3a')](_0xea30('0x5e'),auth[_0xea30('0xb')](),controller[_0xea30('0x5f')]);router[_0xea30('0x3a')](_0xea30('0x35'),auth[_0xea30('0xb')](),controller[_0xea30('0x60')]);router[_0xea30('0x3a')](_0xea30('0x39'),auth[_0xea30('0xb')](),controller['createApiKey']);router['put'](_0xea30('0x10'),auth[_0xea30('0xb')](),controller[_0xea30('0x61')]);router['put'](_0xea30('0x62'),auth[_0xea30('0xb')](),controller[_0xea30('0x63')]);router[_0xea30('0x64')](_0xea30('0x17'),auth[_0xea30('0xb')](),controller[_0xea30('0x65')]);router[_0xea30('0x64')](_0xea30('0x4e'),auth[_0xea30('0xb')](),controller['removeTeams']);router[_0xea30('0x64')]('/:id',auth[_0xea30('0xb')](),controller[_0xea30('0x66')]);router['delete'](_0xea30('0x50'),auth[_0xea30('0xb')](),controller[_0xea30('0x67')]);router['delete'](_0xea30('0x52'),auth[_0xea30('0xb')](),controller['removeMailInteractions']);router[_0xea30('0x64')](_0xea30('0x53'),auth[_0xea30('0xb')](),controller[_0xea30('0x68')]);router['delete'](_0xea30('0x55'),auth[_0xea30('0xb')](),controller['removeSmsInteractions']);router['delete']('/:id/openchannel_interactions',auth[_0xea30('0xb')](),controller[_0xea30('0x69')]);router['delete'](_0xea30('0x59'),auth[_0xea30('0xb')](),controller[_0xea30('0x6a')]);router['delete'](_0xea30('0x2e'),auth[_0xea30('0xb')](),controller[_0xea30('0x6b')]);router[_0xea30('0x64')]('/:id/mail_accounts',auth['isAuthenticated'](),controller[_0xea30('0x6c')]);router['delete'](_0xea30('0x31'),auth[_0xea30('0xb')](),controller['removeOpenchannelAccounts']);router[_0xea30('0x64')](_0xea30('0x5c'),auth[_0xea30('0xb')](),controller['removeSmsAccounts']);router[_0xea30('0x64')](_0xea30('0x5e'),auth[_0xea30('0xb')](),controller[_0xea30('0x6d')]);router[_0xea30('0x64')]('/:id/whatsapp_accounts',auth[_0xea30('0xb')](),controller['removeWhatsappAccounts']);router[_0xea30('0x64')](_0xea30('0x39'),auth['isAuthenticated'](),controller[_0xea30('0x6e')]);module[_0xea30('0x6f')]=router;
\ No newline at end of file