Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / openchannelQueue / index.js
index 216b9b9..5c3e1fc 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa93e=['get','isAuthenticated','index','/describe','/:id/members','getMembers','getTeams','/:id/users','getAgents','/:id/teams','addTeams','post','put','update','delete','/:id','destroy','removeTeams','exports','path','connect-timeout','Router','../../components/interaction/service'];(function(_0x5b9637,_0x54f9f0){var _0x182d42=function(_0x123637){while(--_0x123637){_0x5b9637['push'](_0x5b9637['shift']());}};_0x182d42(++_0x54f9f0);}(_0xa93e,0x1df));var _0xea93=function(_0x4dcba5,_0x4b1d67){_0x4dcba5=_0x4dcba5-0x0;var _0x7ac37d=_0xa93e[_0x4dcba5];return _0x7ac37d;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xea93('0x0'));var timeout=require(_0xea93('0x1'));var express=require('express');var router=express[_0xea93('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0xea93('0x3'));var config=require('../../config/environment');var controller=require('./openchannelQueue.controller');router[_0xea93('0x4')]('/',auth[_0xea93('0x5')](),controller[_0xea93('0x6')]);router[_0xea93('0x4')](_0xea93('0x7'),auth[_0xea93('0x5')](),controller['describe']);router[_0xea93('0x4')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0xea93('0x4')](_0xea93('0x8'),auth['isAuthenticated'](),controller[_0xea93('0x9')]);router[_0xea93('0x4')]('/:id/teams',auth[_0xea93('0x5')](),controller[_0xea93('0xa')]);router[_0xea93('0x4')](_0xea93('0xb'),auth[_0xea93('0x5')](),controller[_0xea93('0xc')]);router['post']('/',auth[_0xea93('0x5')](),controller['create']);router['post'](_0xea93('0xd'),auth[_0xea93('0x5')](),controller[_0xea93('0xe')]);router[_0xea93('0xf')](_0xea93('0xb'),auth[_0xea93('0x5')](),controller['addAgents']);router[_0xea93('0x10')]('/:id',auth[_0xea93('0x5')](),controller[_0xea93('0x11')]);router[_0xea93('0x12')](_0xea93('0x13'),auth[_0xea93('0x5')](),controller[_0xea93('0x14')]);router[_0xea93('0x12')](_0xea93('0xd'),auth[_0xea93('0x5')](),controller[_0xea93('0x15')]);router[_0xea93('0x12')](_0xea93('0xb'),auth[_0xea93('0x5')](),controller['removeAgents']);module[_0xea93('0x16')]=router;
\ No newline at end of file
+var _0x65ff=['getMembers','getTeams','/:id/users','getAgents','create','post','/:id/teams','addAgents','put','/:id','update','delete','removeTeams','removeAgents','exports','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','./openchannelQueue.controller','get','isAuthenticated','index','describe','show','/:id/members'];(function(_0x234569,_0x2ef824){var _0x319eea=function(_0x5f2189){while(--_0x5f2189){_0x234569['push'](_0x234569['shift']());}};_0x319eea(++_0x2ef824);}(_0x65ff,0x197));var _0xf65f=function(_0x1b92a6,_0x14444b){_0x1b92a6=_0x1b92a6-0x0;var _0x24be5b=_0x65ff[_0x1b92a6];return _0x24be5b;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xf65f('0x0'));var timeout=require(_0xf65f('0x1'));var express=require(_0xf65f('0x2'));var router=express['Router']();var fs_extra=require(_0xf65f('0x3'));var auth=require(_0xf65f('0x4'));var interaction=require(_0xf65f('0x5'));var config=require('../../config/environment');var controller=require(_0xf65f('0x6'));router[_0xf65f('0x7')]('/',auth[_0xf65f('0x8')](),controller[_0xf65f('0x9')]);router[_0xf65f('0x7')]('/describe',auth[_0xf65f('0x8')](),controller[_0xf65f('0xa')]);router[_0xf65f('0x7')]('/:id',auth[_0xf65f('0x8')](),controller[_0xf65f('0xb')]);router[_0xf65f('0x7')](_0xf65f('0xc'),auth['isAuthenticated'](),controller[_0xf65f('0xd')]);router['get']('/:id/teams',auth[_0xf65f('0x8')](),controller[_0xf65f('0xe')]);router[_0xf65f('0x7')](_0xf65f('0xf'),auth[_0xf65f('0x8')](),controller[_0xf65f('0x10')]);router['post']('/',auth[_0xf65f('0x8')](),controller[_0xf65f('0x11')]);router[_0xf65f('0x12')](_0xf65f('0x13'),auth[_0xf65f('0x8')](),controller['addTeams']);router[_0xf65f('0x12')](_0xf65f('0xf'),auth[_0xf65f('0x8')](),controller[_0xf65f('0x14')]);router[_0xf65f('0x15')](_0xf65f('0x16'),auth['isAuthenticated'](),controller[_0xf65f('0x17')]);router[_0xf65f('0x18')](_0xf65f('0x16'),auth['isAuthenticated'](),controller['destroy']);router[_0xf65f('0x18')](_0xf65f('0x13'),auth[_0xf65f('0x8')](),controller[_0xf65f('0x19')]);router[_0xf65f('0x18')](_0xf65f('0xf'),auth[_0xf65f('0x8')](),controller[_0xf65f('0x1a')]);module[_0xf65f('0x1b')]=router;
\ No newline at end of file