Built motion from commit 1ea47bf4.|2.6.34
[motion2.git] / server / api / mailQueue / index.js
index b8bd093..913033f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9682=['destroy','removeTeams','removeAgents','exports','multer','util','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','./mailQueue.controller','get','isAuthenticated','index','describe','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','post','create','addTeams','addAgents','put','/:id','delete'];(function(_0x6131cd,_0x4c26a1){var _0x47e916=function(_0x1f2bce){while(--_0x1f2bce){_0x6131cd['push'](_0x6131cd['shift']());}};_0x47e916(++_0x4c26a1);}(_0x9682,0x109));var _0x2968=function(_0x167cc1,_0x56ef5a){_0x167cc1=_0x167cc1-0x0;var _0x10bc4b=_0x9682[_0x167cc1];return _0x10bc4b;};'use strict';var multer=require(_0x2968('0x0'));var util=require(_0x2968('0x1'));var path=require('path');var timeout=require(_0x2968('0x2'));var express=require(_0x2968('0x3'));var router=express['Router']();var fs_extra=require(_0x2968('0x4'));var auth=require(_0x2968('0x5'));var interaction=require(_0x2968('0x6'));var config=require('../../config/environment');var controller=require(_0x2968('0x7'));router[_0x2968('0x8')]('/',auth[_0x2968('0x9')](),controller[_0x2968('0xa')]);router[_0x2968('0x8')]('/describe',auth[_0x2968('0x9')](),controller[_0x2968('0xb')]);router[_0x2968('0x8')]('/:id',auth[_0x2968('0x9')](),controller[_0x2968('0xc')]);router[_0x2968('0x8')](_0x2968('0xd'),auth[_0x2968('0x9')](),controller[_0x2968('0xe')]);router['get'](_0x2968('0xf'),auth[_0x2968('0x9')](),controller[_0x2968('0x10')]);router[_0x2968('0x8')](_0x2968('0x11'),auth[_0x2968('0x9')](),controller['getAgents']);router[_0x2968('0x12')]('/',auth['isAuthenticated'](),controller[_0x2968('0x13')]);router[_0x2968('0x12')](_0x2968('0xf'),auth[_0x2968('0x9')](),controller[_0x2968('0x14')]);router['post'](_0x2968('0x11'),auth['isAuthenticated'](),controller[_0x2968('0x15')]);router[_0x2968('0x16')](_0x2968('0x17'),auth[_0x2968('0x9')](),controller['update']);router[_0x2968('0x18')]('/:id',auth[_0x2968('0x9')](),controller[_0x2968('0x19')]);router[_0x2968('0x18')](_0x2968('0xf'),auth[_0x2968('0x9')](),controller[_0x2968('0x1a')]);router[_0x2968('0x18')](_0x2968('0x11'),auth['isAuthenticated'](),controller[_0x2968('0x1b')]);module[_0x2968('0x1c')]=router;
\ No newline at end of file
+var _0x4f61=['addAgents','put','update','delete','destroy','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','isAuthenticated','get','describe','/:id','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','create','addTeams'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x4f61,0xef));var _0x14f6=function(_0x23150c,_0x4197bd){_0x23150c=_0x23150c-0x0;var _0x4a655b=_0x4f61[_0x23150c];return _0x4a655b;};'use strict';var multer=require(_0x14f6('0x0'));var util=require(_0x14f6('0x1'));var path=require(_0x14f6('0x2'));var timeout=require('connect-timeout');var express=require(_0x14f6('0x3'));var router=express[_0x14f6('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x14f6('0x5'));var interaction=require(_0x14f6('0x6'));var config=require('../../config/environment');var controller=require('./mailQueue.controller');router['get']('/',auth[_0x14f6('0x7')](),controller['index']);router[_0x14f6('0x8')]('/describe',auth[_0x14f6('0x7')](),controller[_0x14f6('0x9')]);router[_0x14f6('0x8')](_0x14f6('0xa'),auth['isAuthenticated'](),controller[_0x14f6('0xb')]);router['get'](_0x14f6('0xc'),auth[_0x14f6('0x7')](),controller[_0x14f6('0xd')]);router[_0x14f6('0x8')](_0x14f6('0xe'),auth[_0x14f6('0x7')](),controller[_0x14f6('0xf')]);router[_0x14f6('0x8')](_0x14f6('0x10'),auth[_0x14f6('0x7')](),controller[_0x14f6('0x11')]);router[_0x14f6('0x12')]('/',auth[_0x14f6('0x7')](),controller[_0x14f6('0x13')]);router['post']('/:id/teams',auth[_0x14f6('0x7')](),controller[_0x14f6('0x14')]);router['post'](_0x14f6('0x10'),auth[_0x14f6('0x7')](),controller[_0x14f6('0x15')]);router[_0x14f6('0x16')](_0x14f6('0xa'),auth['isAuthenticated'](),controller[_0x14f6('0x17')]);router[_0x14f6('0x18')]('/:id',auth[_0x14f6('0x7')](),controller[_0x14f6('0x19')]);router[_0x14f6('0x18')]('/:id/teams',auth['isAuthenticated'](),controller['removeTeams']);router[_0x14f6('0x18')](_0x14f6('0x10'),auth[_0x14f6('0x7')](),controller['removeAgents']);module['exports']=router;
\ No newline at end of file