Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / team / index.js
index fa82fe9..b2634fe 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1fce=['util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','get','/:id','show','isAuthenticated','getAgents','post','create','addQueues','/:id/users','addAgents','put','update','delete','destroy','removeQueues','removeAgents','exports','multer'];(function(_0x44ab8c,_0x185623){var _0x360567=function(_0x751c63){while(--_0x751c63){_0x44ab8c['push'](_0x44ab8c['shift']());}};_0x360567(++_0x185623);}(_0x1fce,0xcf));var _0xe1fc=function(_0xf51c06,_0x388e5b){_0xf51c06=_0xf51c06-0x0;var _0x1d5420=_0x1fce[_0xf51c06];return _0x1d5420;};'use strict';var multer=require(_0xe1fc('0x0'));var util=require(_0xe1fc('0x1'));var path=require(_0xe1fc('0x2'));var timeout=require(_0xe1fc('0x3'));var express=require(_0xe1fc('0x4'));var router=express[_0xe1fc('0x5')]();var fs_extra=require(_0xe1fc('0x6'));var auth=require(_0xe1fc('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0xe1fc('0x8'));var controller=require('./team.controller');router[_0xe1fc('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0xe1fc('0x9')](_0xe1fc('0xa'),auth['isAuthenticated'](),controller[_0xe1fc('0xb')]);router[_0xe1fc('0x9')]('/:id/queues',auth[_0xe1fc('0xc')](),controller['getQueues']);router['get']('/:id/users',auth[_0xe1fc('0xc')](),controller[_0xe1fc('0xd')]);router[_0xe1fc('0xe')]('/',auth[_0xe1fc('0xc')](),controller[_0xe1fc('0xf')]);router[_0xe1fc('0xe')]('/:id/queues',auth[_0xe1fc('0xc')](),controller[_0xe1fc('0x10')]);router['post'](_0xe1fc('0x11'),auth[_0xe1fc('0xc')](),controller[_0xe1fc('0x12')]);router[_0xe1fc('0x13')](_0xe1fc('0xa'),auth[_0xe1fc('0xc')](),controller[_0xe1fc('0x14')]);router[_0xe1fc('0x15')](_0xe1fc('0xa'),auth[_0xe1fc('0xc')](),controller[_0xe1fc('0x16')]);router[_0xe1fc('0x15')]('/:id/queues',auth['isAuthenticated'](),controller[_0xe1fc('0x17')]);router[_0xe1fc('0x15')](_0xe1fc('0x11'),auth[_0xe1fc('0xc')](),controller[_0xe1fc('0x18')]);module[_0xe1fc('0x19')]=router;
\ No newline at end of file
+var _0x0ab8=['path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','/:id/users','getAgents','create','addQueues','post','addAgents','put','update','destroy','removeQueues','delete','removeAgents','exports','multer','util'];(function(_0x136a01,_0x3e0f10){var _0x39ccee=function(_0x1fa530){while(--_0x1fa530){_0x136a01['push'](_0x136a01['shift']());}};_0x39ccee(++_0x3e0f10);}(_0x0ab8,0x19e));var _0x80ab=function(_0x22da8f,_0x28c918){_0x22da8f=_0x22da8f-0x0;var _0x3506b8=_0x0ab8[_0x22da8f];return _0x3506b8;};'use strict';var multer=require(_0x80ab('0x0'));var util=require(_0x80ab('0x1'));var path=require(_0x80ab('0x2'));var timeout=require('connect-timeout');var express=require(_0x80ab('0x3'));var router=express[_0x80ab('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x80ab('0x5'));var interaction=require(_0x80ab('0x6'));var config=require(_0x80ab('0x7'));var controller=require('./team.controller');router[_0x80ab('0x8')]('/',auth[_0x80ab('0x9')](),controller[_0x80ab('0xa')]);router[_0x80ab('0x8')](_0x80ab('0xb'),auth[_0x80ab('0x9')](),controller[_0x80ab('0xc')]);router[_0x80ab('0x8')]('/:id/queues',auth[_0x80ab('0x9')](),controller['getQueues']);router[_0x80ab('0x8')](_0x80ab('0xd'),auth[_0x80ab('0x9')](),controller[_0x80ab('0xe')]);router['post']('/',auth[_0x80ab('0x9')](),controller[_0x80ab('0xf')]);router['post']('/:id/queues',auth[_0x80ab('0x9')](),controller[_0x80ab('0x10')]);router[_0x80ab('0x11')](_0x80ab('0xd'),auth[_0x80ab('0x9')](),controller[_0x80ab('0x12')]);router[_0x80ab('0x13')](_0x80ab('0xb'),auth[_0x80ab('0x9')](),controller[_0x80ab('0x14')]);router['delete'](_0x80ab('0xb'),auth[_0x80ab('0x9')](),controller[_0x80ab('0x15')]);router['delete']('/:id/queues',auth[_0x80ab('0x9')](),controller[_0x80ab('0x16')]);router[_0x80ab('0x17')](_0x80ab('0xd'),auth[_0x80ab('0x9')](),controller[_0x80ab('0x18')]);module[_0x80ab('0x19')]=router;
\ No newline at end of file