X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FmailQueue%2Findex.js;h=a6d4fda8eaa1c0444bb9591cf9bbd8d5c5331c25;hb=142b2b07c26fb6697bb0d2f2a4a8c0253173e8fe;hp=b99730ef36f8905b1d3927cfe613bafb1a28d828;hpb=5ce610d3f4c768865e05185aa062c8402f6dcea4;p=motion2.git diff --git a/server/api/mailQueue/index.js b/server/api/mailQueue/index.js index b99730e..a6d4fda 100644 --- a/server/api/mailQueue/index.js +++ b/server/api/mailQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1f8c=['/describe','describe','/:id','/:id/members','isAuthenticated','/:id/teams','getTeams','/:id/users','getAgents','post','addTeams','addAgents','put','update','delete','removeTeams','removeAgents','multer','util','path','express','../../components/interaction/service','get'];(function(_0x1ff12c,_0x40e32e){var _0x5163f3=function(_0x4c6a98){while(--_0x4c6a98){_0x1ff12c['push'](_0x1ff12c['shift']());}};_0x5163f3(++_0x40e32e);}(_0x1f8c,0x6d));var _0xc1f8=function(_0x5e7514,_0x30c2e1){_0x5e7514=_0x5e7514-0x0;var _0x12f472=_0x1f8c[_0x5e7514];return _0x12f472;};'use strict';var multer=require(_0xc1f8('0x0'));var util=require(_0xc1f8('0x1'));var path=require(_0xc1f8('0x2'));var timeout=require('connect-timeout');var express=require(_0xc1f8('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xc1f8('0x4'));var config=require('../../config/environment');var controller=require('./mailQueue.controller');router[_0xc1f8('0x5')]('/',auth['isAuthenticated'](),controller['index']);router[_0xc1f8('0x5')](_0xc1f8('0x6'),auth['isAuthenticated'](),controller[_0xc1f8('0x7')]);router[_0xc1f8('0x5')](_0xc1f8('0x8'),auth['isAuthenticated'](),controller['show']);router[_0xc1f8('0x5')](_0xc1f8('0x9'),auth[_0xc1f8('0xa')](),controller['getMembers']);router[_0xc1f8('0x5')](_0xc1f8('0xb'),auth[_0xc1f8('0xa')](),controller[_0xc1f8('0xc')]);router[_0xc1f8('0x5')](_0xc1f8('0xd'),auth['isAuthenticated'](),controller[_0xc1f8('0xe')]);router[_0xc1f8('0xf')]('/',auth['isAuthenticated'](),controller['create']);router[_0xc1f8('0xf')]('/:id/teams',auth[_0xc1f8('0xa')](),controller[_0xc1f8('0x10')]);router[_0xc1f8('0xf')](_0xc1f8('0xd'),auth[_0xc1f8('0xa')](),controller[_0xc1f8('0x11')]);router[_0xc1f8('0x12')](_0xc1f8('0x8'),auth[_0xc1f8('0xa')](),controller[_0xc1f8('0x13')]);router[_0xc1f8('0x14')](_0xc1f8('0x8'),auth[_0xc1f8('0xa')](),controller['destroy']);router[_0xc1f8('0x14')](_0xc1f8('0xb'),auth[_0xc1f8('0xa')](),controller[_0xc1f8('0x15')]);router[_0xc1f8('0x14')](_0xc1f8('0xd'),auth[_0xc1f8('0xa')](),controller[_0xc1f8('0x16')]);module['exports']=router; \ No newline at end of file +var _0x4b96=['util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./mailQueue.controller','isAuthenticated','index','get','/describe','/:id','show','/:id/members','getMembers','getTeams','/:id/users','getAgents','post','/:id/teams','addAgents','update','delete','destroy','removeTeams','exports'];(function(_0x3fe1ba,_0x1a33c5){var _0x5df1b4=function(_0x55d7c3){while(--_0x55d7c3){_0x3fe1ba['push'](_0x3fe1ba['shift']());}};_0x5df1b4(++_0x1a33c5);}(_0x4b96,0xfc));var _0x64b9=function(_0x569f4b,_0x3c4a23){_0x569f4b=_0x569f4b-0x0;var _0x598302=_0x4b96[_0x569f4b];return _0x598302;};'use strict';var multer=require('multer');var util=require(_0x64b9('0x0'));var path=require(_0x64b9('0x1'));var timeout=require(_0x64b9('0x2'));var express=require(_0x64b9('0x3'));var router=express[_0x64b9('0x4')]();var fs_extra=require(_0x64b9('0x5'));var auth=require(_0x64b9('0x6'));var interaction=require(_0x64b9('0x7'));var config=require('../../config/environment');var controller=require(_0x64b9('0x8'));router['get']('/',auth[_0x64b9('0x9')](),controller[_0x64b9('0xa')]);router[_0x64b9('0xb')](_0x64b9('0xc'),auth[_0x64b9('0x9')](),controller['describe']);router[_0x64b9('0xb')](_0x64b9('0xd'),auth[_0x64b9('0x9')](),controller[_0x64b9('0xe')]);router[_0x64b9('0xb')](_0x64b9('0xf'),auth[_0x64b9('0x9')](),controller[_0x64b9('0x10')]);router[_0x64b9('0xb')]('/:id/teams',auth[_0x64b9('0x9')](),controller[_0x64b9('0x11')]);router[_0x64b9('0xb')](_0x64b9('0x12'),auth[_0x64b9('0x9')](),controller[_0x64b9('0x13')]);router['post']('/',auth[_0x64b9('0x9')](),controller['create']);router[_0x64b9('0x14')](_0x64b9('0x15'),auth[_0x64b9('0x9')](),controller['addTeams']);router[_0x64b9('0x14')](_0x64b9('0x12'),auth[_0x64b9('0x9')](),controller[_0x64b9('0x16')]);router['put'](_0x64b9('0xd'),auth[_0x64b9('0x9')](),controller[_0x64b9('0x17')]);router[_0x64b9('0x18')](_0x64b9('0xd'),auth[_0x64b9('0x9')](),controller[_0x64b9('0x19')]);router[_0x64b9('0x18')]('/:id/teams',auth[_0x64b9('0x9')](),controller[_0x64b9('0x1a')]);router[_0x64b9('0x18')]('/:id/users',auth[_0x64b9('0x9')](),controller['removeAgents']);module[_0x64b9('0x1b')]=router; \ No newline at end of file