Built motion from commit (unavailable).|2.5.5
[motion2.git] / server / api / team / index.js
index d0757dc..292dd0e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3b2c=['post','update','destroy','delete','removeQueues','removeAgents','exports','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./team.controller','get','isAuthenticated','index','/:id','show','/:id/queues','/:id/users','getAgents','create'];(function(_0x19e966,_0x55d008){var _0x24e3d6=function(_0x4d2d7f){while(--_0x4d2d7f){_0x19e966['push'](_0x19e966['shift']());}};_0x24e3d6(++_0x55d008);}(_0x3b2c,0x127));var _0xc3b2=function(_0x3e7c04,_0x860d26){_0x3e7c04=_0x3e7c04-0x0;var _0x39994a=_0x3b2c[_0x3e7c04];return _0x39994a;};'use strict';var multer=require('multer');var util=require(_0xc3b2('0x0'));var path=require(_0xc3b2('0x1'));var timeout=require(_0xc3b2('0x2'));var express=require('express');var router=express[_0xc3b2('0x3')]();var auth=require(_0xc3b2('0x4'));var interaction=require(_0xc3b2('0x5'));var config=require(_0xc3b2('0x6'));var controller=require(_0xc3b2('0x7'));router[_0xc3b2('0x8')]('/',auth[_0xc3b2('0x9')](),controller[_0xc3b2('0xa')]);router[_0xc3b2('0x8')](_0xc3b2('0xb'),auth[_0xc3b2('0x9')](),controller[_0xc3b2('0xc')]);router[_0xc3b2('0x8')](_0xc3b2('0xd'),auth['isAuthenticated'](),controller['getQueues']);router[_0xc3b2('0x8')](_0xc3b2('0xe'),auth[_0xc3b2('0x9')](),controller[_0xc3b2('0xf')]);router['post']('/',auth[_0xc3b2('0x9')](),controller[_0xc3b2('0x10')]);router[_0xc3b2('0x11')]('/:id/queues',auth[_0xc3b2('0x9')](),controller['addQueues']);router['post'](_0xc3b2('0xe'),auth[_0xc3b2('0x9')](),controller['addAgents']);router['put'](_0xc3b2('0xb'),auth['isAuthenticated'](),controller[_0xc3b2('0x12')]);router['delete'](_0xc3b2('0xb'),auth[_0xc3b2('0x9')](),controller[_0xc3b2('0x13')]);router[_0xc3b2('0x14')]('/:id/queues',auth[_0xc3b2('0x9')](),controller[_0xc3b2('0x15')]);router['delete'](_0xc3b2('0xe'),auth['isAuthenticated'](),controller[_0xc3b2('0x16')]);module[_0xc3b2('0x17')]=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