X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FmailQueue%2Findex.js;h=a6d4fda8eaa1c0444bb9591cf9bbd8d5c5331c25;hb=142b2b07c26fb6697bb0d2f2a4a8c0253173e8fe;hp=1a68bb8e2fd23e4a47da269cdb415900d9734f7a;hpb=b9d8fb89c04e2712a06e4d6666f975c8e677d46a;p=motion2.git diff --git a/server/api/mailQueue/index.js b/server/api/mailQueue/index.js index 1a68bb8..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 _0xf64b=['show','/:id/members','/:id/teams','getTeams','/:id/users','getAgents','create','post','addTeams','put','update','destroy','removeTeams','delete','removeAgents','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id'];(function(_0x37f132,_0x56298f){var _0x321e9b=function(_0x4f7f4c){while(--_0x4f7f4c){_0x37f132['push'](_0x37f132['shift']());}};_0x321e9b(++_0x56298f);}(_0xf64b,0x1d1));var _0xbf64=function(_0x285824,_0x3da647){_0x285824=_0x285824-0x0;var _0x311d7e=_0xf64b[_0x285824];return _0x311d7e;};'use strict';var multer=require(_0xbf64('0x0'));var util=require(_0xbf64('0x1'));var path=require(_0xbf64('0x2'));var timeout=require(_0xbf64('0x3'));var express=require('express');var router=express[_0xbf64('0x4')]();var fs_extra=require(_0xbf64('0x5'));var auth=require(_0xbf64('0x6'));var interaction=require(_0xbf64('0x7'));var config=require(_0xbf64('0x8'));var controller=require('./mailQueue.controller');router[_0xbf64('0x9')]('/',auth[_0xbf64('0xa')](),controller[_0xbf64('0xb')]);router['get'](_0xbf64('0xc'),auth[_0xbf64('0xa')](),controller[_0xbf64('0xd')]);router[_0xbf64('0x9')](_0xbf64('0xe'),auth[_0xbf64('0xa')](),controller[_0xbf64('0xf')]);router['get'](_0xbf64('0x10'),auth[_0xbf64('0xa')](),controller['getMembers']);router[_0xbf64('0x9')](_0xbf64('0x11'),auth[_0xbf64('0xa')](),controller[_0xbf64('0x12')]);router[_0xbf64('0x9')](_0xbf64('0x13'),auth[_0xbf64('0xa')](),controller[_0xbf64('0x14')]);router['post']('/',auth[_0xbf64('0xa')](),controller[_0xbf64('0x15')]);router[_0xbf64('0x16')](_0xbf64('0x11'),auth[_0xbf64('0xa')](),controller[_0xbf64('0x17')]);router[_0xbf64('0x16')]('/:id/users',auth[_0xbf64('0xa')](),controller['addAgents']);router[_0xbf64('0x18')](_0xbf64('0xe'),auth[_0xbf64('0xa')](),controller[_0xbf64('0x19')]);router['delete'](_0xbf64('0xe'),auth[_0xbf64('0xa')](),controller[_0xbf64('0x1a')]);router['delete'](_0xbf64('0x11'),auth[_0xbf64('0xa')](),controller[_0xbf64('0x1b')]);router[_0xbf64('0x1c')]('/:id/users',auth['isAuthenticated'](),controller[_0xbf64('0x1d')]);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