Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / mailQueue / index.js
index 89e4277..fd50eea 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9f2b=['util','path','connect-timeout','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','/describe','describe','/:id','show','/:id/teams','getTeams','/:id/users','getAgents','post','create','addTeams','addAgents','update','delete','destroy','removeTeams','removeAgents','exports'];(function(_0x5596af,_0x5b1499){var _0x50bb9f=function(_0x3c0c04){while(--_0x3c0c04){_0x5596af['push'](_0x5596af['shift']());}};_0x50bb9f(++_0x5b1499);}(_0x9f2b,0x1ba));var _0xb9f2=function(_0x32f1e9,_0x3638e7){_0x32f1e9=_0x32f1e9-0x0;var _0x3ac892=_0x9f2b[_0x32f1e9];return _0x3ac892;};'use strict';var multer=require('multer');var util=require(_0xb9f2('0x0'));var path=require(_0xb9f2('0x1'));var timeout=require(_0xb9f2('0x2'));var express=require('express');var router=express[_0xb9f2('0x3')]();var auth=require(_0xb9f2('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xb9f2('0x5'));var controller=require('./mailQueue.controller');router[_0xb9f2('0x6')]('/',auth[_0xb9f2('0x7')](),controller['index']);router['get'](_0xb9f2('0x8'),auth[_0xb9f2('0x7')](),controller[_0xb9f2('0x9')]);router['get'](_0xb9f2('0xa'),auth[_0xb9f2('0x7')](),controller[_0xb9f2('0xb')]);router['get']('/:id/members',auth[_0xb9f2('0x7')](),controller['getMembers']);router[_0xb9f2('0x6')](_0xb9f2('0xc'),auth[_0xb9f2('0x7')](),controller[_0xb9f2('0xd')]);router[_0xb9f2('0x6')](_0xb9f2('0xe'),auth[_0xb9f2('0x7')](),controller[_0xb9f2('0xf')]);router[_0xb9f2('0x10')]('/',auth[_0xb9f2('0x7')](),controller[_0xb9f2('0x11')]);router[_0xb9f2('0x10')]('/:id/teams',auth[_0xb9f2('0x7')](),controller[_0xb9f2('0x12')]);router['post']('/:id/users',auth['isAuthenticated'](),controller[_0xb9f2('0x13')]);router['put']('/:id',auth[_0xb9f2('0x7')](),controller[_0xb9f2('0x14')]);router[_0xb9f2('0x15')](_0xb9f2('0xa'),auth['isAuthenticated'](),controller[_0xb9f2('0x16')]);router[_0xb9f2('0x15')](_0xb9f2('0xc'),auth[_0xb9f2('0x7')](),controller[_0xb9f2('0x17')]);router[_0xb9f2('0x15')](_0xb9f2('0xe'),auth[_0xb9f2('0x7')](),controller[_0xb9f2('0x18')]);module[_0xb9f2('0x19')]=router;
\ No newline at end of file
+var _0x0a53=['exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','./mailQueue.controller','get','isAuthenticated','index','/describe','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','create','addAgents','put','update','delete','/:id','removeAgents'];(function(_0x186d30,_0x477feb){var _0x3fc43c=function(_0x23c5ca){while(--_0x23c5ca){_0x186d30['push'](_0x186d30['shift']());}};_0x3fc43c(++_0x477feb);}(_0x0a53,0xd9));var _0x30a5=function(_0x3a4f18,_0x1af741){_0x3a4f18=_0x3a4f18-0x0;var _0x4c20fc=_0x0a53[_0x3a4f18];return _0x4c20fc;};'use strict';var multer=require(_0x30a5('0x0'));var util=require(_0x30a5('0x1'));var path=require(_0x30a5('0x2'));var timeout=require(_0x30a5('0x3'));var express=require(_0x30a5('0x4'));var router=express['Router']();var auth=require(_0x30a5('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x30a5('0x6'));var controller=require(_0x30a5('0x7'));router[_0x30a5('0x8')]('/',auth[_0x30a5('0x9')](),controller[_0x30a5('0xa')]);router['get'](_0x30a5('0xb'),auth[_0x30a5('0x9')](),controller['describe']);router[_0x30a5('0x8')]('/:id',auth[_0x30a5('0x9')](),controller['show']);router[_0x30a5('0x8')](_0x30a5('0xc'),auth['isAuthenticated'](),controller[_0x30a5('0xd')]);router[_0x30a5('0x8')](_0x30a5('0xe'),auth[_0x30a5('0x9')](),controller[_0x30a5('0xf')]);router[_0x30a5('0x8')](_0x30a5('0x10'),auth[_0x30a5('0x9')](),controller[_0x30a5('0x11')]);router[_0x30a5('0x12')]('/',auth['isAuthenticated'](),controller[_0x30a5('0x13')]);router['post']('/:id/teams',auth[_0x30a5('0x9')](),controller['addTeams']);router[_0x30a5('0x12')](_0x30a5('0x10'),auth[_0x30a5('0x9')](),controller[_0x30a5('0x14')]);router[_0x30a5('0x15')]('/:id',auth[_0x30a5('0x9')](),controller[_0x30a5('0x16')]);router[_0x30a5('0x17')](_0x30a5('0x18'),auth[_0x30a5('0x9')](),controller['destroy']);router[_0x30a5('0x17')](_0x30a5('0xe'),auth[_0x30a5('0x9')](),controller['removeTeams']);router[_0x30a5('0x17')](_0x30a5('0x10'),auth['isAuthenticated'](),controller[_0x30a5('0x19')]);module[_0x30a5('0x1a')]=router;
\ No newline at end of file