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