Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / faxQueue / index.js
index 788f308..fd92a77 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf40b=['index','get','/describe','/:id','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','addTeams','addAgents','put','update','delete','destroy','removeTeams','removeAgents','exports','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxQueue.controller','isAuthenticated'];(function(_0x618414,_0x1a7a60){var _0x21c19a=function(_0x507b17){while(--_0x507b17){_0x618414['push'](_0x618414['shift']());}};_0x21c19a(++_0x1a7a60);}(_0xf40b,0xb0));var _0xbf40=function(_0x222c9f,_0x515cd0){_0x222c9f=_0x222c9f-0x0;var _0x3e74b5=_0xf40b[_0x222c9f];return _0x3e74b5;};'use strict';var multer=require('multer');var util=require(_0xbf40('0x0'));var path=require(_0xbf40('0x1'));var timeout=require(_0xbf40('0x2'));var express=require(_0xbf40('0x3'));var router=express['Router']();var fs_extra=require(_0xbf40('0x4'));var auth=require(_0xbf40('0x5'));var interaction=require(_0xbf40('0x6'));var config=require(_0xbf40('0x7'));var controller=require(_0xbf40('0x8'));router['get']('/',auth[_0xbf40('0x9')](),controller[_0xbf40('0xa')]);router[_0xbf40('0xb')](_0xbf40('0xc'),auth[_0xbf40('0x9')](),controller['describe']);router[_0xbf40('0xb')](_0xbf40('0xd'),auth[_0xbf40('0x9')](),controller[_0xbf40('0xe')]);router[_0xbf40('0xb')](_0xbf40('0xf'),auth[_0xbf40('0x9')](),controller[_0xbf40('0x10')]);router['get'](_0xbf40('0x11'),auth[_0xbf40('0x9')](),controller[_0xbf40('0x12')]);router[_0xbf40('0xb')](_0xbf40('0x13'),auth[_0xbf40('0x9')](),controller[_0xbf40('0x14')]);router[_0xbf40('0x15')]('/',auth['isAuthenticated'](),controller['create']);router[_0xbf40('0x15')](_0xbf40('0x11'),auth[_0xbf40('0x9')](),controller[_0xbf40('0x16')]);router['post'](_0xbf40('0x13'),auth[_0xbf40('0x9')](),controller[_0xbf40('0x17')]);router[_0xbf40('0x18')](_0xbf40('0xd'),auth[_0xbf40('0x9')](),controller[_0xbf40('0x19')]);router[_0xbf40('0x1a')]('/:id',auth[_0xbf40('0x9')](),controller[_0xbf40('0x1b')]);router[_0xbf40('0x1a')](_0xbf40('0x11'),auth[_0xbf40('0x9')](),controller[_0xbf40('0x1c')]);router[_0xbf40('0x1a')](_0xbf40('0x13'),auth['isAuthenticated'](),controller[_0xbf40('0x1d')]);module[_0xbf40('0x1e')]=router;
\ No newline at end of file
+var _0xc359=['isAuthenticated','describe','/:id','show','/:id/members','/:id/users','post','create','/:id/teams','addTeams','addAgents','put','update','delete','destroy','removeTeams','exports','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment','get'];(function(_0xef66ed,_0x1a5239){var _0xa14f66=function(_0x458541){while(--_0x458541){_0xef66ed['push'](_0xef66ed['shift']());}};_0xa14f66(++_0x1a5239);}(_0xc359,0x1d9));var _0x9c35=function(_0x315b61,_0x4bb11e){_0x315b61=_0x315b61-0x0;var _0x3521e8=_0xc359[_0x315b61];return _0x3521e8;};'use strict';var multer=require('multer');var util=require(_0x9c35('0x0'));var path=require('path');var timeout=require(_0x9c35('0x1'));var express=require(_0x9c35('0x2'));var router=express[_0x9c35('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x9c35('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x9c35('0x5'));var controller=require('./faxQueue.controller');router[_0x9c35('0x6')]('/',auth['isAuthenticated'](),controller['index']);router['get']('/describe',auth[_0x9c35('0x7')](),controller[_0x9c35('0x8')]);router[_0x9c35('0x6')](_0x9c35('0x9'),auth[_0x9c35('0x7')](),controller[_0x9c35('0xa')]);router['get'](_0x9c35('0xb'),auth[_0x9c35('0x7')](),controller['getMembers']);router['get']('/:id/teams',auth[_0x9c35('0x7')](),controller['getTeams']);router[_0x9c35('0x6')](_0x9c35('0xc'),auth[_0x9c35('0x7')](),controller['getAgents']);router[_0x9c35('0xd')]('/',auth[_0x9c35('0x7')](),controller[_0x9c35('0xe')]);router[_0x9c35('0xd')](_0x9c35('0xf'),auth['isAuthenticated'](),controller[_0x9c35('0x10')]);router[_0x9c35('0xd')](_0x9c35('0xc'),auth[_0x9c35('0x7')](),controller[_0x9c35('0x11')]);router[_0x9c35('0x12')](_0x9c35('0x9'),auth[_0x9c35('0x7')](),controller[_0x9c35('0x13')]);router[_0x9c35('0x14')](_0x9c35('0x9'),auth[_0x9c35('0x7')](),controller[_0x9c35('0x15')]);router[_0x9c35('0x14')](_0x9c35('0xf'),auth['isAuthenticated'](),controller[_0x9c35('0x16')]);router[_0x9c35('0x14')](_0x9c35('0xc'),auth[_0x9c35('0x7')](),controller['removeAgents']);module[_0x9c35('0x17')]=router;
\ No newline at end of file