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