Built motion from commit (unavailable).|2.5.28
[motion2.git] / server / api / team / index.js
index 9c567a0..012a6c2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdcaf=['update','delete','destroy','removeAgents','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','./team.controller','get','isAuthenticated','index','show','/:id/queues','getQueues','/:id/users','getAgents','post','create','addQueues','put','/:id'];(function(_0x2142fa,_0x1e9945){var _0x350983=function(_0x125657){while(--_0x125657){_0x2142fa['push'](_0x2142fa['shift']());}};_0x350983(++_0x1e9945);}(_0xdcaf,0x1e0));var _0xfdca=function(_0x3947c9,_0x4d6c97){_0x3947c9=_0x3947c9-0x0;var _0x2e7871=_0xdcaf[_0x3947c9];return _0x2e7871;};'use strict';var multer=require(_0xfdca('0x0'));var util=require(_0xfdca('0x1'));var path=require(_0xfdca('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xfdca('0x3')]();var auth=require(_0xfdca('0x4'));var interaction=require(_0xfdca('0x5'));var config=require('../../config/environment');var controller=require(_0xfdca('0x6'));router[_0xfdca('0x7')]('/',auth[_0xfdca('0x8')](),controller[_0xfdca('0x9')]);router[_0xfdca('0x7')]('/:id',auth[_0xfdca('0x8')](),controller[_0xfdca('0xa')]);router[_0xfdca('0x7')](_0xfdca('0xb'),auth[_0xfdca('0x8')](),controller[_0xfdca('0xc')]);router[_0xfdca('0x7')](_0xfdca('0xd'),auth[_0xfdca('0x8')](),controller[_0xfdca('0xe')]);router[_0xfdca('0xf')]('/',auth['isAuthenticated'](),controller[_0xfdca('0x10')]);router[_0xfdca('0xf')](_0xfdca('0xb'),auth[_0xfdca('0x8')](),controller[_0xfdca('0x11')]);router[_0xfdca('0xf')](_0xfdca('0xd'),auth[_0xfdca('0x8')](),controller['addAgents']);router[_0xfdca('0x12')](_0xfdca('0x13'),auth[_0xfdca('0x8')](),controller[_0xfdca('0x14')]);router[_0xfdca('0x15')](_0xfdca('0x13'),auth[_0xfdca('0x8')](),controller[_0xfdca('0x16')]);router['delete'](_0xfdca('0xb'),auth[_0xfdca('0x8')](),controller['removeQueues']);router[_0xfdca('0x15')]('/:id/users',auth[_0xfdca('0x8')](),controller[_0xfdca('0x17')]);module[_0xfdca('0x18')]=router;
\ No newline at end of file
+var _0x2f89=['put','update','delete','destroy','/:id/queues','removeQueues','removeAgents','exports','multer','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/:id','show','/:id/users','getAgents','post','isAuthenticated','create','addQueues','addAgents'];(function(_0x42f009,_0x5e27b1){var _0x22a1e0=function(_0x297993){while(--_0x297993){_0x42f009['push'](_0x42f009['shift']());}};_0x22a1e0(++_0x5e27b1);}(_0x2f89,0x158));var _0x92f8=function(_0x45e08a,_0xe4cd73){_0x45e08a=_0x45e08a-0x0;var _0x4d6a55=_0x2f89[_0x45e08a];return _0x4d6a55;};'use strict';var multer=require(_0x92f8('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x92f8('0x1'));var router=express['Router']();var fs_extra=require(_0x92f8('0x2'));var auth=require(_0x92f8('0x3'));var interaction=require(_0x92f8('0x4'));var config=require(_0x92f8('0x5'));var controller=require('./team.controller');router[_0x92f8('0x6')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x92f8('0x7'),auth['isAuthenticated'](),controller[_0x92f8('0x8')]);router[_0x92f8('0x6')]('/:id/queues',auth['isAuthenticated'](),controller['getQueues']);router[_0x92f8('0x6')](_0x92f8('0x9'),auth['isAuthenticated'](),controller[_0x92f8('0xa')]);router[_0x92f8('0xb')]('/',auth[_0x92f8('0xc')](),controller[_0x92f8('0xd')]);router[_0x92f8('0xb')]('/:id/queues',auth[_0x92f8('0xc')](),controller[_0x92f8('0xe')]);router[_0x92f8('0xb')]('/:id/users',auth[_0x92f8('0xc')](),controller[_0x92f8('0xf')]);router[_0x92f8('0x10')]('/:id',auth[_0x92f8('0xc')](),controller[_0x92f8('0x11')]);router[_0x92f8('0x12')](_0x92f8('0x7'),auth[_0x92f8('0xc')](),controller[_0x92f8('0x13')]);router[_0x92f8('0x12')](_0x92f8('0x14'),auth[_0x92f8('0xc')](),controller[_0x92f8('0x15')]);router['delete']('/:id/users',auth[_0x92f8('0xc')](),controller[_0x92f8('0x16')]);module[_0x92f8('0x17')]=router;
\ No newline at end of file