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