Built motion from commit f7863d46.|2.5.41
[motion2.git] / server / api / user / index.js
index ce80284..97be1d6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbe74=['removeOpenchannelInteractions','removeWhatsappInteractions','removeFaxAccounts','removeMailAccounts','removeOpenchannelAccounts','removeChatWebsites','removeWhatsappAccounts','removeApiKey','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./user.controller','get','isAuthenticated','describe','/whoami','whoami','/:id','show','/:id/avatar','/:id/contacts','getContacts','/:id/queues','getQueues','/:id/queues_rt','/:id/groups','getGroups','/:id/recordings','getRecordings','/:id/screen_recordings','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','getTeams','/:id/lists','getLists','/:id/agents','getAgents','/:id/prefixes','/:id/mail_accounts','getMailAccounts','/:id/sms_accounts','getSmsAccounts','/:id/chat_websites','getChatWebsites','/:id/whatsapp_accounts','/:id/square_projects','/:id/scheduled_calls','getScheduledCalls','/:id/api_key','post','addContacts','create','/create_many','bulkCreate','addQueues','join','root','server/files/images/','format','%s-%s','now','originalname','file','addAvatar','login','/:id/logout','/:id/pause','pause','unpause','addTeams','/:id/chat_interactions','addChatInteractions','/:id/fax_interactions','/:id/sms_interactions','addSmsInteractions','/:id/openchannel_interactions','addOpenchannelInteractions','/:id/whatsapp_interactions','/:id/fax_accounts','addFaxAccounts','addMailAccounts','/:id/openchannel_accounts','addSmsAccounts','addChatWebsites','addSquareProjects','createApiKey','put','/:id/password','changePassword','delete','removeQueues','removeTeams','destroy','removeChatInteractions','/:id/mail_interactions','removeFaxInteractions','removeSmsInteractions'];(function(_0x5ecc63,_0x110d0d){var _0x56e65f=function(_0x138202){while(--_0x138202){_0x5ecc63['push'](_0x5ecc63['shift']());}};_0x56e65f(++_0x110d0d);}(_0xbe74,0x162));var _0x4be7=function(_0x313c96,_0x3cee6e){_0x313c96=_0x313c96-0x0;var _0x522f53=_0xbe74[_0x313c96];return _0x522f53;};'use strict';var multer=require(_0x4be7('0x0'));var util=require(_0x4be7('0x1'));var path=require(_0x4be7('0x2'));var timeout=require(_0x4be7('0x3'));var express=require(_0x4be7('0x4'));var router=express[_0x4be7('0x5')]();var auth=require(_0x4be7('0x6'));var interaction=require(_0x4be7('0x7'));var config=require(_0x4be7('0x8'));var controller=require(_0x4be7('0x9'));router[_0x4be7('0xa')]('/',auth[_0x4be7('0xb')](),controller['index']);router[_0x4be7('0xa')]('/describe',auth['isAuthenticated'](),controller[_0x4be7('0xc')]);router[_0x4be7('0xa')](_0x4be7('0xd'),auth[_0x4be7('0xb')](),controller[_0x4be7('0xe')]);router[_0x4be7('0xa')](_0x4be7('0xf'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x10')]);router[_0x4be7('0xa')](_0x4be7('0x11'),controller['getAvatar']);router['get'](_0x4be7('0x12'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x13')]);router[_0x4be7('0xa')](_0x4be7('0x14'),auth['isAuthenticated'](),controller[_0x4be7('0x15')]);router['get'](_0x4be7('0x16'),auth[_0x4be7('0xb')](),controller['getVoiceQueuesRt']);router['get'](_0x4be7('0x17'),auth['isAuthenticated'](),controller[_0x4be7('0x18')]);router['get'](_0x4be7('0x19'),auth['isAuthenticated'](),controller[_0x4be7('0x1a')]);router[_0x4be7('0xa')](_0x4be7('0x1b'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x1c')]);router[_0x4be7('0xa')](_0x4be7('0x1d'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x1e')]);router[_0x4be7('0xa')](_0x4be7('0x1f'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x20')]);router[_0x4be7('0xa')](_0x4be7('0x21'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x22')]);router[_0x4be7('0xa')](_0x4be7('0x23'),auth[_0x4be7('0xb')](),controller['getSmsInteractions']);router['get'](_0x4be7('0x24'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x25')]);router[_0x4be7('0xa')](_0x4be7('0x26'),auth['isAuthenticated'](),controller[_0x4be7('0x27')]);router['get'](_0x4be7('0x28'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x29')]);router[_0x4be7('0xa')](_0x4be7('0x2a'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x2b')]);router[_0x4be7('0xa')](_0x4be7('0x2c'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x2d')]);router[_0x4be7('0xa')](_0x4be7('0x2e'),auth[_0x4be7('0xb')](),controller['getVoicePrefixes']);router[_0x4be7('0xa')]('/:id/fax_accounts',auth[_0x4be7('0xb')](),controller['getFaxAccounts']);router[_0x4be7('0xa')](_0x4be7('0x2f'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x30')]);router[_0x4be7('0xa')]('/:id/openchannel_accounts',auth[_0x4be7('0xb')](),controller['getOpenchannelAccounts']);router[_0x4be7('0xa')](_0x4be7('0x31'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x32')]);router[_0x4be7('0xa')](_0x4be7('0x33'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x34')]);router[_0x4be7('0xa')](_0x4be7('0x35'),auth[_0x4be7('0xb')](),controller['getWhatsappAccounts']);router[_0x4be7('0xa')](_0x4be7('0x36'),auth[_0x4be7('0xb')](),controller['getSquareProjects']);router[_0x4be7('0xa')](_0x4be7('0x37'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x38')]);router[_0x4be7('0xa')](_0x4be7('0x39'),auth['isAuthenticated'](),controller['getApiKey']);router[_0x4be7('0x3a')]('/:id/contacts',auth[_0x4be7('0xb')](),controller[_0x4be7('0x3b')]);router[_0x4be7('0x3a')]('/',auth[_0x4be7('0xb')](),controller[_0x4be7('0x3c')]);router['post'](_0x4be7('0x3d'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x3e')]);router[_0x4be7('0x3a')]('/:id/queues',auth[_0x4be7('0xb')](),controller[_0x4be7('0x3f')]);var upload=multer({'storage':multer['diskStorage']({'destination':function(_0x18217b,_0x2baa48,_0x425474){_0x425474(null,path[_0x4be7('0x40')](config[_0x4be7('0x41')],_0x4be7('0x42')));},'filename':function(_0x558db5,_0x571ea7,_0x2a071c){_0x2a071c(null,util[_0x4be7('0x43')](_0x4be7('0x44'),Date[_0x4be7('0x45')](),_0x571ea7[_0x4be7('0x46')]));}})});router['post']('/:id/avatar',upload['single'](_0x4be7('0x47')),controller[_0x4be7('0x48')]);router[_0x4be7('0x3a')]('/:id/login',auth[_0x4be7('0xb')](),controller[_0x4be7('0x49')]);router[_0x4be7('0x3a')](_0x4be7('0x4a'),auth[_0x4be7('0xb')](),controller['logout']);router[_0x4be7('0x3a')](_0x4be7('0x4b'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x4c')]);router[_0x4be7('0x3a')]('/:id/unpause',auth[_0x4be7('0xb')](),controller[_0x4be7('0x4d')]);router[_0x4be7('0x3a')](_0x4be7('0x28'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x4e')]);router[_0x4be7('0x3a')](_0x4be7('0x4f'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x50')]);router[_0x4be7('0x3a')]('/:id/mail_interactions',auth[_0x4be7('0xb')](),controller['addMailInteractions']);router['post'](_0x4be7('0x51'),auth[_0x4be7('0xb')](),controller['addFaxInteractions']);router[_0x4be7('0x3a')](_0x4be7('0x52'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x53')]);router[_0x4be7('0x3a')](_0x4be7('0x54'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x55')]);router[_0x4be7('0x3a')](_0x4be7('0x56'),auth[_0x4be7('0xb')](),controller['addWhatsappInteractions']);router[_0x4be7('0x3a')](_0x4be7('0x57'),auth['isAuthenticated'](),controller[_0x4be7('0x58')]);router[_0x4be7('0x3a')]('/:id/mail_accounts',auth[_0x4be7('0xb')](),controller[_0x4be7('0x59')]);router['post'](_0x4be7('0x5a'),auth[_0x4be7('0xb')](),controller['addOpenchannelAccounts']);router['post'](_0x4be7('0x31'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x5b')]);router[_0x4be7('0x3a')](_0x4be7('0x33'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x5c')]);router['post'](_0x4be7('0x35'),auth[_0x4be7('0xb')](),controller['addWhatsappAccounts']);router[_0x4be7('0x3a')](_0x4be7('0x36'),auth['isAuthenticated'](),controller[_0x4be7('0x5d')]);router['post'](_0x4be7('0x39'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x5e')]);router[_0x4be7('0x5f')](_0x4be7('0xf'),auth[_0x4be7('0xb')](),controller['update']);router[_0x4be7('0x5f')](_0x4be7('0x60'),auth['isAuthenticated'](),controller[_0x4be7('0x61')]);router[_0x4be7('0x62')](_0x4be7('0x14'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x63')]);router[_0x4be7('0x62')](_0x4be7('0x28'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x64')]);router[_0x4be7('0x62')](_0x4be7('0xf'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x65')]);router[_0x4be7('0x62')]('/:id/chat_interactions',auth[_0x4be7('0xb')](),controller[_0x4be7('0x66')]);router[_0x4be7('0x62')](_0x4be7('0x67'),auth[_0x4be7('0xb')](),controller['removeMailInteractions']);router[_0x4be7('0x62')](_0x4be7('0x51'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x68')]);router['delete']('/:id/sms_interactions',auth[_0x4be7('0xb')](),controller[_0x4be7('0x69')]);router[_0x4be7('0x62')](_0x4be7('0x54'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x6a')]);router[_0x4be7('0x62')](_0x4be7('0x56'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x6b')]);router[_0x4be7('0x62')]('/:id/fax_accounts',auth[_0x4be7('0xb')](),controller[_0x4be7('0x6c')]);router[_0x4be7('0x62')](_0x4be7('0x2f'),auth['isAuthenticated'](),controller[_0x4be7('0x6d')]);router[_0x4be7('0x62')](_0x4be7('0x5a'),auth['isAuthenticated'](),controller[_0x4be7('0x6e')]);router[_0x4be7('0x62')](_0x4be7('0x31'),auth[_0x4be7('0xb')](),controller['removeSmsAccounts']);router[_0x4be7('0x62')](_0x4be7('0x33'),auth[_0x4be7('0xb')](),controller[_0x4be7('0x6f')]);router['delete']('/:id/whatsapp_accounts',auth[_0x4be7('0xb')](),controller[_0x4be7('0x70')]);router[_0x4be7('0x62')]('/:id/square_projects',auth[_0x4be7('0xb')](),controller['removeSquareProjects']);router[_0x4be7('0x62')]('/:id/api_key',auth['isAuthenticated'](),controller[_0x4be7('0x71')]);module[_0x4be7('0x72')]=router;
\ No newline at end of file
+var _0x0eec=['removeTeams','removeChatInteractions','removeMailInteractions','removeFaxInteractions','removeOpenchannelInteractions','removeWhatsappInteractions','removeFaxAccounts','removeOpenchannelAccounts','removeSmsAccounts','removeChatWebsites','removeWhatsappAccounts','removeSquareProjects','removeApiKey','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./user.controller','get','isAuthenticated','describe','/whoami','whoami','/presence','getPresence','/:id','/:id/avatar','/:id/open_tabs','/:id/contacts','getContacts','/:id/queues','/: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','getSmsInteractions','/:id/fax/interactions','getFaxInteractions','getTeams','/:id/lists','getLists','getAgents','/:id/prefixes','getVoicePrefixes','/:id/fax_accounts','getFaxAccounts','/:id/mail_accounts','getMailAccounts','/:id/openchannel_accounts','getOpenchannelAccounts','/:id/sms_accounts','getSmsAccounts','/:id/chat_websites','getChatWebsites','/:id/whatsapp_accounts','getWhatsappAccounts','getSquareProjects','/:id/scheduled_calls','getScheduledCalls','/:id/api_key','getApiKey','addContacts','post','create','bulkCreate','diskStorage','root','format','%s-%s','now','originalname','single','file','addAvatar','/:id/login','login','/:id/logout','/:id/pause','pause','unpause','addTeams','/:id/chat_interactions','/:id/mail_interactions','addMailInteractions','/:id/fax_interactions','/:id/sms_interactions','addSmsInteractions','/:id/openchannel_interactions','/:id/whatsapp_interactions','addFaxAccounts','addMailAccounts','addOpenchannelAccounts','addChatWebsites','addWhatsappAccounts','/:id/square_projects','addSquareProjects','createApiKey','put','update','/:id/password','changePassword','delete','removeQueues','/:id/teams'];(function(_0x5eba7b,_0x303bd6){var _0x2e5f83=function(_0x31f01b){while(--_0x31f01b){_0x5eba7b['push'](_0x5eba7b['shift']());}};_0x2e5f83(++_0x303bd6);}(_0x0eec,0x81));var _0xc0ee=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x0eec[_0x321bb2];return _0x9c12ed;};'use strict';var multer=require('multer');var util=require(_0xc0ee('0x0'));var path=require(_0xc0ee('0x1'));var timeout=require(_0xc0ee('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xc0ee('0x3'));var interaction=require(_0xc0ee('0x4'));var config=require(_0xc0ee('0x5'));var controller=require(_0xc0ee('0x6'));router[_0xc0ee('0x7')]('/',auth[_0xc0ee('0x8')](),controller['index']);router[_0xc0ee('0x7')]('/describe',auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x9')]);router[_0xc0ee('0x7')](_0xc0ee('0xa'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0xb')]);router[_0xc0ee('0x7')](_0xc0ee('0xc'),auth['isAuthenticated'](),controller[_0xc0ee('0xd')]);router[_0xc0ee('0x7')](_0xc0ee('0xe'),auth[_0xc0ee('0x8')](),controller['show']);router[_0xc0ee('0x7')](_0xc0ee('0xf'),controller['getAvatar']);router['get'](_0xc0ee('0x10'),auth[_0xc0ee('0x8')](),controller['getOpenTabs']);router[_0xc0ee('0x7')](_0xc0ee('0x11'),auth['isAuthenticated'](),controller[_0xc0ee('0x12')]);router[_0xc0ee('0x7')](_0xc0ee('0x13'),auth[_0xc0ee('0x8')](),controller['getQueues']);router[_0xc0ee('0x7')](_0xc0ee('0x14'),auth['isAuthenticated'](),controller[_0xc0ee('0x15')]);router[_0xc0ee('0x7')](_0xc0ee('0x16'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x17')]);router[_0xc0ee('0x7')](_0xc0ee('0x18'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x19')]);router[_0xc0ee('0x7')]('/:id/screen_recordings',auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x1a')]);router[_0xc0ee('0x7')](_0xc0ee('0x1b'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x1c')]);router[_0xc0ee('0x7')](_0xc0ee('0x1d'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x1e')]);router[_0xc0ee('0x7')](_0xc0ee('0x1f'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x20')]);router[_0xc0ee('0x7')](_0xc0ee('0x21'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x22')]);router[_0xc0ee('0x7')](_0xc0ee('0x23'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x24')]);router[_0xc0ee('0x7')]('/:id/whatsapp/interactions',auth['isAuthenticated'](),controller['getWhatsappInteractions']);router[_0xc0ee('0x7')]('/:id/teams',auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x25')]);router[_0xc0ee('0x7')](_0xc0ee('0x26'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x27')]);router[_0xc0ee('0x7')]('/:id/agents',auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x28')]);router[_0xc0ee('0x7')](_0xc0ee('0x29'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x2a')]);router['get'](_0xc0ee('0x2b'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x2c')]);router[_0xc0ee('0x7')](_0xc0ee('0x2d'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x2e')]);router[_0xc0ee('0x7')](_0xc0ee('0x2f'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x30')]);router[_0xc0ee('0x7')](_0xc0ee('0x31'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x32')]);router['get'](_0xc0ee('0x33'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x34')]);router[_0xc0ee('0x7')](_0xc0ee('0x35'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x36')]);router['get']('/:id/square_projects',auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x37')]);router[_0xc0ee('0x7')](_0xc0ee('0x38'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x39')]);router[_0xc0ee('0x7')](_0xc0ee('0x3a'),auth['isAuthenticated'](),controller[_0xc0ee('0x3b')]);router['post'](_0xc0ee('0x11'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x3c')]);router[_0xc0ee('0x3d')]('/',auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x3e')]);router['post']('/create_many',auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x3f')]);router['post'](_0xc0ee('0x13'),auth[_0xc0ee('0x8')](),controller['addQueues']);var upload=multer({'storage':multer[_0xc0ee('0x40')]({'destination':function(_0x5d7682,_0x3e2430,_0x171da2){_0x171da2(null,path['join'](config[_0xc0ee('0x41')],'server/files/images/'));},'filename':function(_0x42d7aa,_0x399762,_0x1b3936){_0x1b3936(null,util[_0xc0ee('0x42')](_0xc0ee('0x43'),Date[_0xc0ee('0x44')](),_0x399762[_0xc0ee('0x45')]));}})});router[_0xc0ee('0x3d')](_0xc0ee('0xf'),upload[_0xc0ee('0x46')](_0xc0ee('0x47')),controller[_0xc0ee('0x48')]);router[_0xc0ee('0x3d')](_0xc0ee('0x49'),auth['isAuthenticated'](),controller[_0xc0ee('0x4a')]);router[_0xc0ee('0x3d')](_0xc0ee('0x4b'),auth[_0xc0ee('0x8')](),controller['logout']);router['post'](_0xc0ee('0x4c'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x4d')]);router[_0xc0ee('0x3d')]('/:id/unpause',auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x4e')]);router[_0xc0ee('0x3d')]('/:id/teams',auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x4f')]);router[_0xc0ee('0x3d')](_0xc0ee('0x50'),auth[_0xc0ee('0x8')](),controller['addChatInteractions']);router[_0xc0ee('0x3d')](_0xc0ee('0x51'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x52')]);router[_0xc0ee('0x3d')](_0xc0ee('0x53'),auth[_0xc0ee('0x8')](),controller['addFaxInteractions']);router[_0xc0ee('0x3d')](_0xc0ee('0x54'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x55')]);router[_0xc0ee('0x3d')](_0xc0ee('0x56'),auth[_0xc0ee('0x8')](),controller['addOpenchannelInteractions']);router[_0xc0ee('0x3d')](_0xc0ee('0x57'),auth[_0xc0ee('0x8')](),controller['addWhatsappInteractions']);router[_0xc0ee('0x3d')](_0xc0ee('0x2b'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x58')]);router[_0xc0ee('0x3d')]('/:id/mail_accounts',auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x59')]);router[_0xc0ee('0x3d')](_0xc0ee('0x2f'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x5a')]);router[_0xc0ee('0x3d')]('/:id/sms_accounts',auth[_0xc0ee('0x8')](),controller['addSmsAccounts']);router[_0xc0ee('0x3d')](_0xc0ee('0x33'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x5b')]);router[_0xc0ee('0x3d')](_0xc0ee('0x35'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x5c')]);router[_0xc0ee('0x3d')](_0xc0ee('0x5d'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x5e')]);router['post']('/:id/api_key',auth['isAuthenticated'](),controller[_0xc0ee('0x5f')]);router[_0xc0ee('0x60')](_0xc0ee('0xe'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x61')]);router['put'](_0xc0ee('0x62'),auth['isAuthenticated'](),controller[_0xc0ee('0x63')]);router[_0xc0ee('0x64')](_0xc0ee('0x13'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x65')]);router[_0xc0ee('0x64')](_0xc0ee('0x66'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x67')]);router[_0xc0ee('0x64')](_0xc0ee('0xe'),auth['isAuthenticated'](),controller['destroy']);router[_0xc0ee('0x64')](_0xc0ee('0x50'),auth['isAuthenticated'](),controller[_0xc0ee('0x68')]);router[_0xc0ee('0x64')](_0xc0ee('0x51'),auth['isAuthenticated'](),controller[_0xc0ee('0x69')]);router[_0xc0ee('0x64')](_0xc0ee('0x53'),auth['isAuthenticated'](),controller[_0xc0ee('0x6a')]);router[_0xc0ee('0x64')](_0xc0ee('0x54'),auth['isAuthenticated'](),controller['removeSmsInteractions']);router['delete'](_0xc0ee('0x56'),auth['isAuthenticated'](),controller[_0xc0ee('0x6b')]);router['delete'](_0xc0ee('0x57'),auth['isAuthenticated'](),controller[_0xc0ee('0x6c')]);router['delete'](_0xc0ee('0x2b'),auth['isAuthenticated'](),controller[_0xc0ee('0x6d')]);router[_0xc0ee('0x64')](_0xc0ee('0x2d'),auth[_0xc0ee('0x8')](),controller['removeMailAccounts']);router['delete'](_0xc0ee('0x2f'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x6e')]);router[_0xc0ee('0x64')](_0xc0ee('0x31'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x6f')]);router['delete'](_0xc0ee('0x33'),auth['isAuthenticated'](),controller[_0xc0ee('0x70')]);router[_0xc0ee('0x64')](_0xc0ee('0x35'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x71')]);router[_0xc0ee('0x64')](_0xc0ee('0x5d'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x72')]);router[_0xc0ee('0x64')](_0xc0ee('0x3a'),auth[_0xc0ee('0x8')](),controller[_0xc0ee('0x73')]);module['exports']=router;
\ No newline at end of file