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