Built motion from commit (unavailable).|2.5.5
[motion2.git] / server / api / team / index.js
index dde7760..292dd0e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4261=['get','/:id/queues','/:id/users','getAgents','post','addQueues','addAgents','put','update','delete','removeQueues','removeAgents','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./team.controller','isAuthenticated','index','/:id','show'];(function(_0x21e696,_0x4a67b0){var _0x2c5b3f=function(_0x450162){while(--_0x450162){_0x21e696['push'](_0x21e696['shift']());}};_0x2c5b3f(++_0x4a67b0);}(_0x4261,0x1ad));var _0x1426=function(_0x220dbb,_0x99328d){_0x220dbb=_0x220dbb-0x0;var _0x2b77de=_0x4261[_0x220dbb];return _0x2b77de;};'use strict';var multer=require('multer');var util=require(_0x1426('0x0'));var path=require(_0x1426('0x1'));var timeout=require(_0x1426('0x2'));var express=require(_0x1426('0x3'));var router=express[_0x1426('0x4')]();var auth=require(_0x1426('0x5'));var interaction=require(_0x1426('0x6'));var config=require(_0x1426('0x7'));var controller=require(_0x1426('0x8'));router['get']('/',auth[_0x1426('0x9')](),controller[_0x1426('0xa')]);router['get'](_0x1426('0xb'),auth[_0x1426('0x9')](),controller[_0x1426('0xc')]);router[_0x1426('0xd')](_0x1426('0xe'),auth[_0x1426('0x9')](),controller['getQueues']);router['get'](_0x1426('0xf'),auth[_0x1426('0x9')](),controller[_0x1426('0x10')]);router[_0x1426('0x11')]('/',auth[_0x1426('0x9')](),controller['create']);router[_0x1426('0x11')](_0x1426('0xe'),auth[_0x1426('0x9')](),controller[_0x1426('0x12')]);router[_0x1426('0x11')](_0x1426('0xf'),auth['isAuthenticated'](),controller[_0x1426('0x13')]);router[_0x1426('0x14')](_0x1426('0xb'),auth[_0x1426('0x9')](),controller[_0x1426('0x15')]);router[_0x1426('0x16')](_0x1426('0xb'),auth['isAuthenticated'](),controller['destroy']);router[_0x1426('0x16')](_0x1426('0xe'),auth[_0x1426('0x9')](),controller[_0x1426('0x17')]);router['delete'](_0x1426('0xf'),auth['isAuthenticated'](),controller[_0x1426('0x18')]);module[_0x1426('0x19')]=router;
\ No newline at end of file
+var _0xbc56=['destroy','removeQueues','removeAgents','exports','connect-timeout','../../components/auth/service','../../components/interaction/service','./team.controller','get','index','/:id','isAuthenticated','show','/:id/queues','getQueues','/:id/users','getAgents','post','create','addQueues','addAgents','put','update','delete'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xbc56,0x19c));var _0x6bc5=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xbc56[_0xa464c9];return _0x3d73c4;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x6bc5('0x0'));var express=require('express');var router=express['Router']();var auth=require(_0x6bc5('0x1'));var interaction=require(_0x6bc5('0x2'));var config=require('../../config/environment');var controller=require(_0x6bc5('0x3'));router[_0x6bc5('0x4')]('/',auth['isAuthenticated'](),controller[_0x6bc5('0x5')]);router[_0x6bc5('0x4')](_0x6bc5('0x6'),auth[_0x6bc5('0x7')](),controller[_0x6bc5('0x8')]);router[_0x6bc5('0x4')](_0x6bc5('0x9'),auth[_0x6bc5('0x7')](),controller[_0x6bc5('0xa')]);router[_0x6bc5('0x4')](_0x6bc5('0xb'),auth['isAuthenticated'](),controller[_0x6bc5('0xc')]);router[_0x6bc5('0xd')]('/',auth[_0x6bc5('0x7')](),controller[_0x6bc5('0xe')]);router[_0x6bc5('0xd')](_0x6bc5('0x9'),auth['isAuthenticated'](),controller[_0x6bc5('0xf')]);router['post']('/:id/users',auth['isAuthenticated'](),controller[_0x6bc5('0x10')]);router[_0x6bc5('0x11')]('/:id',auth[_0x6bc5('0x7')](),controller[_0x6bc5('0x12')]);router[_0x6bc5('0x13')]('/:id',auth[_0x6bc5('0x7')](),controller[_0x6bc5('0x14')]);router[_0x6bc5('0x13')](_0x6bc5('0x9'),auth['isAuthenticated'](),controller[_0x6bc5('0x15')]);router['delete'](_0x6bc5('0xb'),auth[_0x6bc5('0x7')](),controller[_0x6bc5('0x16')]);module[_0x6bc5('0x17')]=router;
\ No newline at end of file