Built motion from commit c738b9ac.|2.6.25
[motion2.git] / server / api / mailQueue / index.js
index 6cf5486..8b80252 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4026=['addTeams','addAgents','put','update','destroy','delete','removeTeams','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','/:id','/:id/members','getMembers','/:id/teams','/:id/users','getAgents','post','create'];(function(_0x4eba1b,_0xfd7e19){var _0x1a8b0d=function(_0x22f344){while(--_0x22f344){_0x4eba1b['push'](_0x4eba1b['shift']());}};_0x1a8b0d(++_0xfd7e19);}(_0x4026,0x14b));var _0x6402=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x4026[_0x2dafbe];return _0x58a45a;};'use strict';var multer=require(_0x6402('0x0'));var util=require('util');var path=require(_0x6402('0x1'));var timeout=require(_0x6402('0x2'));var express=require(_0x6402('0x3'));var router=express[_0x6402('0x4')]();var auth=require(_0x6402('0x5'));var interaction=require(_0x6402('0x6'));var config=require(_0x6402('0x7'));var controller=require('./mailQueue.controller');router['get']('/',auth[_0x6402('0x8')](),controller[_0x6402('0x9')]);router[_0x6402('0xa')](_0x6402('0xb'),auth[_0x6402('0x8')](),controller['describe']);router['get'](_0x6402('0xc'),auth[_0x6402('0x8')](),controller['show']);router[_0x6402('0xa')](_0x6402('0xd'),auth[_0x6402('0x8')](),controller[_0x6402('0xe')]);router['get'](_0x6402('0xf'),auth[_0x6402('0x8')](),controller['getTeams']);router[_0x6402('0xa')](_0x6402('0x10'),auth[_0x6402('0x8')](),controller[_0x6402('0x11')]);router[_0x6402('0x12')]('/',auth[_0x6402('0x8')](),controller[_0x6402('0x13')]);router[_0x6402('0x12')](_0x6402('0xf'),auth[_0x6402('0x8')](),controller[_0x6402('0x14')]);router[_0x6402('0x12')](_0x6402('0x10'),auth[_0x6402('0x8')](),controller[_0x6402('0x15')]);router[_0x6402('0x16')](_0x6402('0xc'),auth[_0x6402('0x8')](),controller[_0x6402('0x17')]);router['delete'](_0x6402('0xc'),auth[_0x6402('0x8')](),controller[_0x6402('0x18')]);router[_0x6402('0x19')](_0x6402('0xf'),auth['isAuthenticated'](),controller[_0x6402('0x1a')]);router[_0x6402('0x19')]('/:id/users',auth[_0x6402('0x8')](),controller['removeAgents']);module['exports']=router;
\ No newline at end of file
+var _0x2457=['post','/:id/teams','addTeams','addAgents','put','update','delete','destroy','exports','util','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','describe','/:id','/:id/members','getMembers','getTeams','/:id/users','getAgents','create'];(function(_0x1d87fc,_0x1e5321){var _0x492b56=function(_0x4c6b16){while(--_0x4c6b16){_0x1d87fc['push'](_0x1d87fc['shift']());}};_0x492b56(++_0x1e5321);}(_0x2457,0x167));var _0x7245=function(_0x165bbb,_0x53bee0){_0x165bbb=_0x165bbb-0x0;var _0x505833=_0x2457[_0x165bbb];return _0x505833;};'use strict';var multer=require('multer');var util=require(_0x7245('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x7245('0x1')]();var fs_extra=require(_0x7245('0x2'));var auth=require(_0x7245('0x3'));var interaction=require(_0x7245('0x4'));var config=require(_0x7245('0x5'));var controller=require('./mailQueue.controller');router[_0x7245('0x6')]('/',auth[_0x7245('0x7')](),controller['index']);router[_0x7245('0x6')]('/describe',auth[_0x7245('0x7')](),controller[_0x7245('0x8')]);router['get'](_0x7245('0x9'),auth[_0x7245('0x7')](),controller['show']);router[_0x7245('0x6')](_0x7245('0xa'),auth[_0x7245('0x7')](),controller[_0x7245('0xb')]);router[_0x7245('0x6')]('/:id/teams',auth[_0x7245('0x7')](),controller[_0x7245('0xc')]);router[_0x7245('0x6')](_0x7245('0xd'),auth['isAuthenticated'](),controller[_0x7245('0xe')]);router['post']('/',auth[_0x7245('0x7')](),controller[_0x7245('0xf')]);router[_0x7245('0x10')](_0x7245('0x11'),auth[_0x7245('0x7')](),controller[_0x7245('0x12')]);router[_0x7245('0x10')](_0x7245('0xd'),auth[_0x7245('0x7')](),controller[_0x7245('0x13')]);router[_0x7245('0x14')](_0x7245('0x9'),auth['isAuthenticated'](),controller[_0x7245('0x15')]);router[_0x7245('0x16')](_0x7245('0x9'),auth['isAuthenticated'](),controller[_0x7245('0x17')]);router[_0x7245('0x16')](_0x7245('0x11'),auth['isAuthenticated'](),controller['removeTeams']);router['delete'](_0x7245('0xd'),auth['isAuthenticated'](),controller['removeAgents']);module[_0x7245('0x18')]=router;
\ No newline at end of file