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