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