Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / mailAccount / index.js
index 9bfb9ea..400d43e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2676=['/:id/interactions','/:id/messages','getMessages','getAgents','post','addDisposition','/:id/canned_answers','create','addImap','addSmtp','addInteraction','addApplications','/:id/send','send','delete','removeDispositions','removeAnswers','removeSmtp','/:id','destroy','/:id/users','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','get','/describe','describe','/:id/dispositions','getDispositions','/:id/in_servers','getImap','/:id/out_servers','getSmtp'];(function(_0x355e7b,_0x204080){var _0x424d38=function(_0x3ff0f4){while(--_0x3ff0f4){_0x355e7b['push'](_0x355e7b['shift']());}};_0x424d38(++_0x204080);}(_0x2676,0x187));var _0x6267=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0x2676[_0x17d9e3];return _0x14192d;};'use strict';var multer=require(_0x6267('0x0'));var util=require(_0x6267('0x1'));var path=require(_0x6267('0x2'));var timeout=require(_0x6267('0x3'));var express=require(_0x6267('0x4'));var router=express[_0x6267('0x5')]();var auth=require(_0x6267('0x6'));var interaction=require(_0x6267('0x7'));var config=require(_0x6267('0x8'));var controller=require('./mailAccount.controller');router['get']('/',auth[_0x6267('0x9')](),controller['index']);router[_0x6267('0xa')](_0x6267('0xb'),auth[_0x6267('0x9')](),controller[_0x6267('0xc')]);router[_0x6267('0xa')]('/:id',auth[_0x6267('0x9')](),controller['show']);router['get'](_0x6267('0xd'),auth[_0x6267('0x9')](),controller[_0x6267('0xe')]);router[_0x6267('0xa')]('/:id/canned_answers',auth[_0x6267('0x9')](),controller['getAnswers']);router['get'](_0x6267('0xf'),auth['isAuthenticated'](),controller[_0x6267('0x10')]);router[_0x6267('0xa')](_0x6267('0x11'),auth[_0x6267('0x9')](),controller[_0x6267('0x12')]);router['get'](_0x6267('0x13'),auth[_0x6267('0x9')](),controller['getInteractions']);router['get']('/:id/applications',auth[_0x6267('0x9')](),controller['getApplications']);router[_0x6267('0xa')](_0x6267('0x14'),auth[_0x6267('0x9')](),controller[_0x6267('0x15')]);router['get']('/:id/verify',auth[_0x6267('0x9')](),controller['verifySmtp']);router['get']('/:id/users',auth[_0x6267('0x9')](),controller[_0x6267('0x16')]);router[_0x6267('0x17')](_0x6267('0xd'),auth[_0x6267('0x9')](),controller[_0x6267('0x18')]);router['post'](_0x6267('0x19'),auth[_0x6267('0x9')](),controller['addAnswer']);router['post']('/',auth[_0x6267('0x9')](),controller[_0x6267('0x1a')]);router[_0x6267('0x17')](_0x6267('0xf'),auth[_0x6267('0x9')](),controller[_0x6267('0x1b')]);router[_0x6267('0x17')](_0x6267('0x11'),auth[_0x6267('0x9')](),controller[_0x6267('0x1c')]);router[_0x6267('0x17')](_0x6267('0x13'),auth[_0x6267('0x9')](),controller[_0x6267('0x1d')]);router[_0x6267('0x17')]('/:id/applications',auth[_0x6267('0x9')](),controller[_0x6267('0x1e')]);router[_0x6267('0x17')](_0x6267('0x1f'),auth[_0x6267('0x9')](),controller[_0x6267('0x20')]);router[_0x6267('0x17')]('/:id/users',auth[_0x6267('0x9')](),controller['addAgents']);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0x6267('0x21')]('/:id/dispositions',auth[_0x6267('0x9')](),controller[_0x6267('0x22')]);router[_0x6267('0x21')](_0x6267('0x19'),auth['isAuthenticated'](),controller[_0x6267('0x23')]);router[_0x6267('0x21')](_0x6267('0xf'),auth[_0x6267('0x9')](),controller['removeImap']);router[_0x6267('0x21')]('/:id/out_servers',auth[_0x6267('0x9')](),controller[_0x6267('0x24')]);router[_0x6267('0x21')](_0x6267('0x25'),auth[_0x6267('0x9')](),controller[_0x6267('0x26')]);router['delete'](_0x6267('0x27'),auth['isAuthenticated'](),controller['removeAgents']);module[_0x6267('0x28')]=router;
\ No newline at end of file
+var _0x76a0=['addSmtp','/:id/interactions','addInteraction','addApplications','/:id/send','send','addAgents','put','update','delete','removeDispositions','removeImap','removeSmtp','destroy','exports','multer','util','path','express','./mailAccount.controller','isAuthenticated','/describe','describe','get','/:id','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','getImap','/:id/out_servers','getSmtp','/:id/applications','/:id/messages','getMessages','/:id/verify','verifySmtp','/:id/users','getAgents','post','addDisposition','addAnswer','/:id/in_servers','addImap'];(function(_0x398375,_0x533617){var _0x1ae54c=function(_0x5c1ced){while(--_0x5c1ced){_0x398375['push'](_0x398375['shift']());}};_0x1ae54c(++_0x533617);}(_0x76a0,0xbf));var _0x076a=function(_0x3d2fe5,_0x2f9c71){_0x3d2fe5=_0x3d2fe5-0x0;var _0x48de9d=_0x76a0[_0x3d2fe5];return _0x48de9d;};'use strict';var multer=require(_0x076a('0x0'));var util=require(_0x076a('0x1'));var path=require(_0x076a('0x2'));var timeout=require('connect-timeout');var express=require(_0x076a('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x076a('0x4'));router['get']('/',auth[_0x076a('0x5')](),controller['index']);router['get'](_0x076a('0x6'),auth['isAuthenticated'](),controller[_0x076a('0x7')]);router[_0x076a('0x8')](_0x076a('0x9'),auth[_0x076a('0x5')](),controller['show']);router[_0x076a('0x8')](_0x076a('0xa'),auth[_0x076a('0x5')](),controller[_0x076a('0xb')]);router[_0x076a('0x8')](_0x076a('0xc'),auth[_0x076a('0x5')](),controller[_0x076a('0xd')]);router[_0x076a('0x8')]('/:id/in_servers',auth[_0x076a('0x5')](),controller[_0x076a('0xe')]);router['get'](_0x076a('0xf'),auth[_0x076a('0x5')](),controller[_0x076a('0x10')]);router[_0x076a('0x8')]('/:id/interactions',auth[_0x076a('0x5')](),controller['getInteractions']);router[_0x076a('0x8')](_0x076a('0x11'),auth[_0x076a('0x5')](),controller['getApplications']);router[_0x076a('0x8')](_0x076a('0x12'),auth['isAuthenticated'](),controller[_0x076a('0x13')]);router[_0x076a('0x8')](_0x076a('0x14'),auth[_0x076a('0x5')](),controller[_0x076a('0x15')]);router[_0x076a('0x8')](_0x076a('0x16'),auth['isAuthenticated'](),controller[_0x076a('0x17')]);router[_0x076a('0x18')](_0x076a('0xa'),auth[_0x076a('0x5')](),controller[_0x076a('0x19')]);router[_0x076a('0x18')](_0x076a('0xc'),auth[_0x076a('0x5')](),controller[_0x076a('0x1a')]);router[_0x076a('0x18')]('/',auth[_0x076a('0x5')](),controller['create']);router[_0x076a('0x18')](_0x076a('0x1b'),auth['isAuthenticated'](),controller[_0x076a('0x1c')]);router[_0x076a('0x18')](_0x076a('0xf'),auth[_0x076a('0x5')](),controller[_0x076a('0x1d')]);router['post'](_0x076a('0x1e'),auth['isAuthenticated'](),controller[_0x076a('0x1f')]);router[_0x076a('0x18')](_0x076a('0x11'),auth[_0x076a('0x5')](),controller[_0x076a('0x20')]);router['post'](_0x076a('0x21'),auth[_0x076a('0x5')](),controller[_0x076a('0x22')]);router[_0x076a('0x18')](_0x076a('0x16'),auth[_0x076a('0x5')](),controller[_0x076a('0x23')]);router[_0x076a('0x24')](_0x076a('0x9'),auth[_0x076a('0x5')](),controller[_0x076a('0x25')]);router[_0x076a('0x26')](_0x076a('0xa'),auth[_0x076a('0x5')](),controller[_0x076a('0x27')]);router[_0x076a('0x26')]('/:id/canned_answers',auth[_0x076a('0x5')](),controller['removeAnswers']);router[_0x076a('0x26')](_0x076a('0x1b'),auth[_0x076a('0x5')](),controller[_0x076a('0x28')]);router[_0x076a('0x26')]('/:id/out_servers',auth[_0x076a('0x5')](),controller[_0x076a('0x29')]);router[_0x076a('0x26')]('/:id',auth[_0x076a('0x5')](),controller[_0x076a('0x2a')]);router[_0x076a('0x26')](_0x076a('0x16'),auth[_0x076a('0x5')](),controller['removeAgents']);module[_0x076a('0x2b')]=router;
\ No newline at end of file