Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / mailAccount / index.js
index 9863967..b219e7a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5f41=['destroy','removeAgents','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/in_servers','getImap','/:id/out_servers','getSmtp','/:id/applications','getApplications','/:id/messages','getMessages','/:id/users','addDisposition','addAnswer','create','post','addImap','addSmtp','addInteraction','addApplications','send','addAgents','update','removeDispositions','delete','removeImap','removeSmtp'];(function(_0x382737,_0x4ca74f){var _0x52adc0=function(_0x867c6b){while(--_0x867c6b){_0x382737['push'](_0x382737['shift']());}};_0x52adc0(++_0x4ca74f);}(_0x5f41,0x1cf));var _0x15f4=function(_0x5c8da0,_0x5d2fd9){_0x5c8da0=_0x5c8da0-0x0;var _0xd2567f=_0x5f41[_0x5c8da0];return _0xd2567f;};'use strict';var multer=require(_0x15f4('0x0'));var util=require(_0x15f4('0x1'));var path=require(_0x15f4('0x2'));var timeout=require(_0x15f4('0x3'));var express=require(_0x15f4('0x4'));var router=express[_0x15f4('0x5')]();var fs_extra=require(_0x15f4('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x15f4('0x7'));var config=require(_0x15f4('0x8'));var controller=require('./mailAccount.controller');router[_0x15f4('0x9')]('/',auth[_0x15f4('0xa')](),controller[_0x15f4('0xb')]);router[_0x15f4('0x9')]('/describe',auth[_0x15f4('0xa')](),controller[_0x15f4('0xc')]);router[_0x15f4('0x9')](_0x15f4('0xd'),auth['isAuthenticated'](),controller[_0x15f4('0xe')]);router[_0x15f4('0x9')](_0x15f4('0xf'),auth[_0x15f4('0xa')](),controller[_0x15f4('0x10')]);router['get'](_0x15f4('0x11'),auth[_0x15f4('0xa')](),controller[_0x15f4('0x12')]);router['get'](_0x15f4('0x13'),auth[_0x15f4('0xa')](),controller[_0x15f4('0x14')]);router[_0x15f4('0x9')](_0x15f4('0x15'),auth[_0x15f4('0xa')](),controller[_0x15f4('0x16')]);router['get']('/:id/interactions',auth['isAuthenticated'](),controller['getInteractions']);router[_0x15f4('0x9')](_0x15f4('0x17'),auth[_0x15f4('0xa')](),controller[_0x15f4('0x18')]);router[_0x15f4('0x9')](_0x15f4('0x19'),auth[_0x15f4('0xa')](),controller[_0x15f4('0x1a')]);router[_0x15f4('0x9')]('/:id/verify',auth[_0x15f4('0xa')](),controller['verifySmtp']);router[_0x15f4('0x9')](_0x15f4('0x1b'),auth[_0x15f4('0xa')](),controller['getAgents']);router['post'](_0x15f4('0xf'),auth['isAuthenticated'](),controller[_0x15f4('0x1c')]);router['post']('/:id/canned_answers',auth[_0x15f4('0xa')](),controller[_0x15f4('0x1d')]);router['post']('/',auth[_0x15f4('0xa')](),controller[_0x15f4('0x1e')]);router[_0x15f4('0x1f')]('/:id/in_servers',auth[_0x15f4('0xa')](),controller[_0x15f4('0x20')]);router[_0x15f4('0x1f')]('/:id/out_servers',auth[_0x15f4('0xa')](),controller[_0x15f4('0x21')]);router['post']('/:id/interactions',auth[_0x15f4('0xa')](),controller[_0x15f4('0x22')]);router[_0x15f4('0x1f')](_0x15f4('0x17'),auth['isAuthenticated'](),controller[_0x15f4('0x23')]);router[_0x15f4('0x1f')]('/:id/send',auth['isAuthenticated'](),controller[_0x15f4('0x24')]);router[_0x15f4('0x1f')]('/:id/users',auth[_0x15f4('0xa')](),controller[_0x15f4('0x25')]);router['put'](_0x15f4('0xd'),auth['isAuthenticated'](),controller[_0x15f4('0x26')]);router['delete'](_0x15f4('0xf'),auth[_0x15f4('0xa')](),controller[_0x15f4('0x27')]);router[_0x15f4('0x28')](_0x15f4('0x11'),auth[_0x15f4('0xa')](),controller['removeAnswers']);router['delete'](_0x15f4('0x13'),auth['isAuthenticated'](),controller[_0x15f4('0x29')]);router[_0x15f4('0x28')](_0x15f4('0x15'),auth[_0x15f4('0xa')](),controller[_0x15f4('0x2a')]);router[_0x15f4('0x28')]('/:id',auth[_0x15f4('0xa')](),controller[_0x15f4('0x2b')]);router[_0x15f4('0x28')]('/:id/users',auth[_0x15f4('0xa')](),controller[_0x15f4('0x2c')]);module[_0x15f4('0x2d')]=router;
\ No newline at end of file
+var _0x718b=['getInteractions','getApplications','/:id/messages','getMessages','/:id/verify','verifySmtp','/:id/users','getAgents','post','/:id/dispositions','addDisposition','addAnswer','create','addImap','addInteraction','/:id/applications','addApplications','/:id/send','put','update','delete','removeDispositions','removeAnswers','removeImap','removeSmtp','removeAgents','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id','show','/:id/canned_answers','/:id/in_servers','getImap','/:id/out_servers','getSmtp','/:id/interactions'];(function(_0x196f45,_0x359fa4){var _0x54eb34=function(_0x4fced3){while(--_0x4fced3){_0x196f45['push'](_0x196f45['shift']());}};_0x54eb34(++_0x359fa4);}(_0x718b,0x100));var _0xb718=function(_0x184759,_0x1cc38a){_0x184759=_0x184759-0x0;var _0xf26d5f=_0x718b[_0x184759];return _0xf26d5f;};'use strict';var multer=require('multer');var util=require(_0xb718('0x0'));var path=require(_0xb718('0x1'));var timeout=require(_0xb718('0x2'));var express=require(_0xb718('0x3'));var router=express[_0xb718('0x4')]();var fs_extra=require(_0xb718('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xb718('0x6'));var config=require(_0xb718('0x7'));var controller=require('./mailAccount.controller');router[_0xb718('0x8')]('/',auth[_0xb718('0x9')](),controller[_0xb718('0xa')]);router['get']('/describe',auth[_0xb718('0x9')](),controller[_0xb718('0xb')]);router['get'](_0xb718('0xc'),auth[_0xb718('0x9')](),controller[_0xb718('0xd')]);router[_0xb718('0x8')]('/:id/dispositions',auth['isAuthenticated'](),controller['getDispositions']);router[_0xb718('0x8')](_0xb718('0xe'),auth[_0xb718('0x9')](),controller['getAnswers']);router[_0xb718('0x8')](_0xb718('0xf'),auth[_0xb718('0x9')](),controller[_0xb718('0x10')]);router[_0xb718('0x8')](_0xb718('0x11'),auth[_0xb718('0x9')](),controller[_0xb718('0x12')]);router[_0xb718('0x8')](_0xb718('0x13'),auth[_0xb718('0x9')](),controller[_0xb718('0x14')]);router[_0xb718('0x8')]('/:id/applications',auth[_0xb718('0x9')](),controller[_0xb718('0x15')]);router[_0xb718('0x8')](_0xb718('0x16'),auth[_0xb718('0x9')](),controller[_0xb718('0x17')]);router[_0xb718('0x8')](_0xb718('0x18'),auth[_0xb718('0x9')](),controller[_0xb718('0x19')]);router['get'](_0xb718('0x1a'),auth[_0xb718('0x9')](),controller[_0xb718('0x1b')]);router[_0xb718('0x1c')](_0xb718('0x1d'),auth[_0xb718('0x9')](),controller[_0xb718('0x1e')]);router['post'](_0xb718('0xe'),auth[_0xb718('0x9')](),controller[_0xb718('0x1f')]);router[_0xb718('0x1c')]('/',auth['isAuthenticated'](),controller[_0xb718('0x20')]);router[_0xb718('0x1c')](_0xb718('0xf'),auth['isAuthenticated'](),controller[_0xb718('0x21')]);router['post'](_0xb718('0x11'),auth[_0xb718('0x9')](),controller['addSmtp']);router[_0xb718('0x1c')]('/:id/interactions',auth[_0xb718('0x9')](),controller[_0xb718('0x22')]);router[_0xb718('0x1c')](_0xb718('0x23'),auth[_0xb718('0x9')](),controller[_0xb718('0x24')]);router[_0xb718('0x1c')](_0xb718('0x25'),auth[_0xb718('0x9')](),controller['send']);router['post'](_0xb718('0x1a'),auth[_0xb718('0x9')](),controller['addAgents']);router[_0xb718('0x26')](_0xb718('0xc'),auth[_0xb718('0x9')](),controller[_0xb718('0x27')]);router[_0xb718('0x28')]('/:id/dispositions',auth[_0xb718('0x9')](),controller[_0xb718('0x29')]);router[_0xb718('0x28')]('/:id/canned_answers',auth[_0xb718('0x9')](),controller[_0xb718('0x2a')]);router['delete'](_0xb718('0xf'),auth[_0xb718('0x9')](),controller[_0xb718('0x2b')]);router['delete']('/:id/out_servers',auth[_0xb718('0x9')](),controller[_0xb718('0x2c')]);router['delete'](_0xb718('0xc'),auth[_0xb718('0x9')](),controller['destroy']);router[_0xb718('0x28')](_0xb718('0x1a'),auth['isAuthenticated'](),controller[_0xb718('0x2d')]);module['exports']=router;
\ No newline at end of file