Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / mailQueue / index.js
index a94615c..f46ef81 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x536e=['destroy','removeTeams','removeAgents','util','path','express','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','/:id','show','/:id/members','getMembers','/:id/teams','/:id/users','getAgents','create','post','addAgents','put','update','delete'];(function(_0x52c226,_0x3ed8d6){var _0x1ce305=function(_0xfe978a){while(--_0xfe978a){_0x52c226['push'](_0x52c226['shift']());}};_0x1ce305(++_0x3ed8d6);}(_0x536e,0xdb));var _0xe536=function(_0x1be871,_0x19b9e9){_0x1be871=_0x1be871-0x0;var _0x440d08=_0x536e[_0x1be871];return _0x440d08;};'use strict';var multer=require('multer');var util=require(_0xe536('0x0'));var path=require(_0xe536('0x1'));var timeout=require('connect-timeout');var express=require(_0xe536('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xe536('0x3'));var config=require(_0xe536('0x4'));var controller=require('./mailQueue.controller');router[_0xe536('0x5')]('/',auth[_0xe536('0x6')](),controller['index']);router[_0xe536('0x5')](_0xe536('0x7'),auth[_0xe536('0x6')](),controller['describe']);router['get'](_0xe536('0x8'),auth[_0xe536('0x6')](),controller[_0xe536('0x9')]);router[_0xe536('0x5')](_0xe536('0xa'),auth['isAuthenticated'](),controller[_0xe536('0xb')]);router[_0xe536('0x5')](_0xe536('0xc'),auth[_0xe536('0x6')](),controller['getTeams']);router[_0xe536('0x5')](_0xe536('0xd'),auth[_0xe536('0x6')](),controller[_0xe536('0xe')]);router['post']('/',auth[_0xe536('0x6')](),controller[_0xe536('0xf')]);router['post'](_0xe536('0xc'),auth[_0xe536('0x6')](),controller['addTeams']);router[_0xe536('0x10')](_0xe536('0xd'),auth[_0xe536('0x6')](),controller[_0xe536('0x11')]);router[_0xe536('0x12')](_0xe536('0x8'),auth[_0xe536('0x6')](),controller[_0xe536('0x13')]);router[_0xe536('0x14')]('/:id',auth[_0xe536('0x6')](),controller[_0xe536('0x15')]);router['delete'](_0xe536('0xc'),auth['isAuthenticated'](),controller[_0xe536('0x16')]);router['delete'](_0xe536('0xd'),auth[_0xe536('0x6')](),controller[_0xe536('0x17')]);module['exports']=router;
\ No newline at end of file
+var _0x80c8=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','./mailQueue.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/teams','getTeams','/:id/users','getAgents','post','create','put','update','destroy','delete','removeTeams','removeAgents','exports','path','connect-timeout','express'];(function(_0x4cc03b,_0x299f1c){var _0xf0358c=function(_0x3d0da8){while(--_0x3d0da8){_0x4cc03b['push'](_0x4cc03b['shift']());}};_0xf0358c(++_0x299f1c);}(_0x80c8,0x89));var _0x880c=function(_0x393ee2,_0x54c354){_0x393ee2=_0x393ee2-0x0;var _0x462e07=_0x80c8[_0x393ee2];return _0x462e07;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x880c('0x0'));var timeout=require(_0x880c('0x1'));var express=require(_0x880c('0x2'));var router=express[_0x880c('0x3')]();var fs_extra=require(_0x880c('0x4'));var auth=require(_0x880c('0x5'));var interaction=require(_0x880c('0x6'));var config=require('../../config/environment');var controller=require(_0x880c('0x7'));router[_0x880c('0x8')]('/',auth[_0x880c('0x9')](),controller[_0x880c('0xa')]);router[_0x880c('0x8')](_0x880c('0xb'),auth[_0x880c('0x9')](),controller[_0x880c('0xc')]);router[_0x880c('0x8')](_0x880c('0xd'),auth['isAuthenticated'](),controller[_0x880c('0xe')]);router['get']('/:id/members',auth[_0x880c('0x9')](),controller['getMembers']);router[_0x880c('0x8')](_0x880c('0xf'),auth[_0x880c('0x9')](),controller[_0x880c('0x10')]);router[_0x880c('0x8')](_0x880c('0x11'),auth[_0x880c('0x9')](),controller[_0x880c('0x12')]);router[_0x880c('0x13')]('/',auth[_0x880c('0x9')](),controller[_0x880c('0x14')]);router[_0x880c('0x13')]('/:id/teams',auth[_0x880c('0x9')](),controller['addTeams']);router[_0x880c('0x13')](_0x880c('0x11'),auth[_0x880c('0x9')](),controller['addAgents']);router[_0x880c('0x15')](_0x880c('0xd'),auth['isAuthenticated'](),controller[_0x880c('0x16')]);router['delete'](_0x880c('0xd'),auth[_0x880c('0x9')](),controller[_0x880c('0x17')]);router[_0x880c('0x18')]('/:id/teams',auth[_0x880c('0x9')](),controller[_0x880c('0x19')]);router['delete'](_0x880c('0x11'),auth[_0x880c('0x9')](),controller[_0x880c('0x1a')]);module[_0x880c('0x1b')]=router;
\ No newline at end of file