Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / mailQueue / index.js
index 03564b2..914195f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x18a5=['/:id/users','addAgents','put','/:id','update','delete','destroy','removeTeams','removeAgents','util','connect-timeout','express','../../components/interaction/service','../../config/environment','./mailQueue.controller','get','/describe','describe','isAuthenticated','show','/:id/members','getMembers','/:id/teams','getAgents','post','addTeams'];(function(_0x190546,_0x312be7){var _0x4125e5=function(_0x1eb257){while(--_0x1eb257){_0x190546['push'](_0x190546['shift']());}};_0x4125e5(++_0x312be7);}(_0x18a5,0x141));var _0x518a=function(_0x4f2009,_0x5bbe8a){_0x4f2009=_0x4f2009-0x0;var _0x2eaa59=_0x18a5[_0x4f2009];return _0x2eaa59;};'use strict';var multer=require('multer');var util=require(_0x518a('0x0'));var path=require('path');var timeout=require(_0x518a('0x1'));var express=require(_0x518a('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x518a('0x3'));var config=require(_0x518a('0x4'));var controller=require(_0x518a('0x5'));router[_0x518a('0x6')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x518a('0x7'),auth['isAuthenticated'](),controller[_0x518a('0x8')]);router[_0x518a('0x6')]('/:id',auth[_0x518a('0x9')](),controller[_0x518a('0xa')]);router[_0x518a('0x6')](_0x518a('0xb'),auth[_0x518a('0x9')](),controller[_0x518a('0xc')]);router[_0x518a('0x6')](_0x518a('0xd'),auth['isAuthenticated'](),controller['getTeams']);router[_0x518a('0x6')]('/:id/users',auth['isAuthenticated'](),controller[_0x518a('0xe')]);router[_0x518a('0xf')]('/',auth['isAuthenticated'](),controller['create']);router['post'](_0x518a('0xd'),auth[_0x518a('0x9')](),controller[_0x518a('0x10')]);router[_0x518a('0xf')](_0x518a('0x11'),auth[_0x518a('0x9')](),controller[_0x518a('0x12')]);router[_0x518a('0x13')](_0x518a('0x14'),auth[_0x518a('0x9')](),controller[_0x518a('0x15')]);router[_0x518a('0x16')](_0x518a('0x14'),auth[_0x518a('0x9')](),controller[_0x518a('0x17')]);router[_0x518a('0x16')]('/:id/teams',auth['isAuthenticated'](),controller[_0x518a('0x18')]);router['delete'](_0x518a('0x11'),auth['isAuthenticated'](),controller[_0x518a('0x19')]);module['exports']=router;
\ No newline at end of file
+var _0x22bb=['update','delete','destroy','removeTeams','/:id/users','removeAgents','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','get','isAuthenticated','index','/:id','show','/:id/members','getMembers','/:id/teams','getTeams','getAgents','post','addTeams','put'];(function(_0x1074d5,_0x31fc44){var _0x2f162c=function(_0x214107){while(--_0x214107){_0x1074d5['push'](_0x1074d5['shift']());}};_0x2f162c(++_0x31fc44);}(_0x22bb,0x19c));var _0xb22b=function(_0x15bc81,_0x4d4f77){_0x15bc81=_0x15bc81-0x0;var _0x59440e=_0x22bb[_0x15bc81];return _0x59440e;};'use strict';var multer=require(_0xb22b('0x0'));var util=require(_0xb22b('0x1'));var path=require(_0xb22b('0x2'));var timeout=require(_0xb22b('0x3'));var express=require(_0xb22b('0x4'));var router=express[_0xb22b('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xb22b('0x6'));var config=require('../../config/environment');var controller=require('./mailQueue.controller');router[_0xb22b('0x7')]('/',auth[_0xb22b('0x8')](),controller[_0xb22b('0x9')]);router[_0xb22b('0x7')]('/describe',auth[_0xb22b('0x8')](),controller['describe']);router[_0xb22b('0x7')](_0xb22b('0xa'),auth[_0xb22b('0x8')](),controller[_0xb22b('0xb')]);router[_0xb22b('0x7')](_0xb22b('0xc'),auth[_0xb22b('0x8')](),controller[_0xb22b('0xd')]);router[_0xb22b('0x7')](_0xb22b('0xe'),auth[_0xb22b('0x8')](),controller[_0xb22b('0xf')]);router['get']('/:id/users',auth[_0xb22b('0x8')](),controller[_0xb22b('0x10')]);router[_0xb22b('0x11')]('/',auth[_0xb22b('0x8')](),controller['create']);router[_0xb22b('0x11')]('/:id/teams',auth[_0xb22b('0x8')](),controller[_0xb22b('0x12')]);router[_0xb22b('0x11')]('/:id/users',auth[_0xb22b('0x8')](),controller['addAgents']);router[_0xb22b('0x13')]('/:id',auth['isAuthenticated'](),controller[_0xb22b('0x14')]);router[_0xb22b('0x15')]('/:id',auth['isAuthenticated'](),controller[_0xb22b('0x16')]);router[_0xb22b('0x15')](_0xb22b('0xe'),auth[_0xb22b('0x8')](),controller[_0xb22b('0x17')]);router[_0xb22b('0x15')](_0xb22b('0x18'),auth[_0xb22b('0x8')](),controller[_0xb22b('0x19')]);module[_0xb22b('0x1a')]=router;
\ No newline at end of file