Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / team / index.js
index 1a2d6d7..50ba3a9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8c1f=['put','update','destroy','removeQueues','removeAgents','exports','multer','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./team.controller','get','isAuthenticated','/:id','/:id/queues','getQueues','/:id/users','getAgents','create','post','addQueues'];(function(_0x261e29,_0x10fffd){var _0x25ef43=function(_0x21b8e7){while(--_0x21b8e7){_0x261e29['push'](_0x261e29['shift']());}};_0x25ef43(++_0x10fffd);}(_0x8c1f,0x156));var _0xf8c1=function(_0x3b04b5,_0x2ced47){_0x3b04b5=_0x3b04b5-0x0;var _0x3ca09e=_0x8c1f[_0x3b04b5];return _0x3ca09e;};'use strict';var multer=require(_0xf8c1('0x0'));var util=require('util');var path=require(_0xf8c1('0x1'));var timeout=require(_0xf8c1('0x2'));var express=require(_0xf8c1('0x3'));var router=express['Router']();var auth=require(_0xf8c1('0x4'));var interaction=require(_0xf8c1('0x5'));var config=require(_0xf8c1('0x6'));var controller=require(_0xf8c1('0x7'));router[_0xf8c1('0x8')]('/',auth[_0xf8c1('0x9')](),controller['index']);router[_0xf8c1('0x8')](_0xf8c1('0xa'),auth[_0xf8c1('0x9')](),controller['show']);router[_0xf8c1('0x8')](_0xf8c1('0xb'),auth['isAuthenticated'](),controller[_0xf8c1('0xc')]);router[_0xf8c1('0x8')](_0xf8c1('0xd'),auth[_0xf8c1('0x9')](),controller[_0xf8c1('0xe')]);router['post']('/',auth[_0xf8c1('0x9')](),controller[_0xf8c1('0xf')]);router[_0xf8c1('0x10')]('/:id/queues',auth['isAuthenticated'](),controller[_0xf8c1('0x11')]);router[_0xf8c1('0x10')](_0xf8c1('0xd'),auth[_0xf8c1('0x9')](),controller['addAgents']);router[_0xf8c1('0x12')](_0xf8c1('0xa'),auth[_0xf8c1('0x9')](),controller[_0xf8c1('0x13')]);router['delete']('/:id',auth[_0xf8c1('0x9')](),controller[_0xf8c1('0x14')]);router['delete']('/:id/queues',auth['isAuthenticated'](),controller[_0xf8c1('0x15')]);router['delete'](_0xf8c1('0xd'),auth[_0xf8c1('0x9')](),controller[_0xf8c1('0x16')]);module[_0xf8c1('0x17')]=router;
\ No newline at end of file
+var _0x25fe=['../../components/auth/service','../../components/interaction/service','../../config/environment','./team.controller','get','isAuthenticated','index','show','/:id/queues','getQueues','getAgents','post','create','addQueues','/:id/users','addAgents','/:id','destroy','removeQueues','delete','removeAgents','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x47bc5e,_0x6fc500){var _0x323a59=function(_0x32df89){while(--_0x32df89){_0x47bc5e['push'](_0x47bc5e['shift']());}};_0x323a59(++_0x6fc500);}(_0x25fe,0x12e));var _0xe25f=function(_0x413b4d,_0xa3459c){_0x413b4d=_0x413b4d-0x0;var _0x8b810a=_0x25fe[_0x413b4d];return _0x8b810a;};'use strict';var multer=require(_0xe25f('0x0'));var util=require(_0xe25f('0x1'));var path=require(_0xe25f('0x2'));var timeout=require(_0xe25f('0x3'));var express=require(_0xe25f('0x4'));var router=express[_0xe25f('0x5')]();var auth=require(_0xe25f('0x6'));var interaction=require(_0xe25f('0x7'));var config=require(_0xe25f('0x8'));var controller=require(_0xe25f('0x9'));router[_0xe25f('0xa')]('/',auth[_0xe25f('0xb')](),controller[_0xe25f('0xc')]);router[_0xe25f('0xa')]('/:id',auth[_0xe25f('0xb')](),controller[_0xe25f('0xd')]);router[_0xe25f('0xa')](_0xe25f('0xe'),auth[_0xe25f('0xb')](),controller[_0xe25f('0xf')]);router[_0xe25f('0xa')]('/:id/users',auth[_0xe25f('0xb')](),controller[_0xe25f('0x10')]);router[_0xe25f('0x11')]('/',auth[_0xe25f('0xb')](),controller[_0xe25f('0x12')]);router[_0xe25f('0x11')]('/:id/queues',auth[_0xe25f('0xb')](),controller[_0xe25f('0x13')]);router['post'](_0xe25f('0x14'),auth[_0xe25f('0xb')](),controller[_0xe25f('0x15')]);router['put'](_0xe25f('0x16'),auth[_0xe25f('0xb')](),controller['update']);router['delete'](_0xe25f('0x16'),auth[_0xe25f('0xb')](),controller[_0xe25f('0x17')]);router['delete'](_0xe25f('0xe'),auth[_0xe25f('0xb')](),controller[_0xe25f('0x18')]);router[_0xe25f('0x19')]('/:id/users',auth['isAuthenticated'](),controller[_0xe25f('0x1a')]);module[_0xe25f('0x1b')]=router;
\ No newline at end of file