Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / chatQueue / index.js
index f47beeb..3000444 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4055=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','describe','/:id','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','getAgents','create','post','addTeams','addAgents','put','update','delete','destroy','removeAgents','exports','util','path','connect-timeout','express'];(function(_0x4ce048,_0x27a6fd){var _0x4c6524=function(_0x3319e8){while(--_0x3319e8){_0x4ce048['push'](_0x4ce048['shift']());}};_0x4c6524(++_0x27a6fd);}(_0x4055,0xc7));var _0x5405=function(_0x312931,_0x22e92b){_0x312931=_0x312931-0x0;var _0xdf26e5=_0x4055[_0x312931];return _0xdf26e5;};'use strict';var multer=require('multer');var util=require(_0x5405('0x0'));var path=require(_0x5405('0x1'));var timeout=require(_0x5405('0x2'));var express=require(_0x5405('0x3'));var router=express[_0x5405('0x4')]();var auth=require(_0x5405('0x5'));var interaction=require(_0x5405('0x6'));var config=require(_0x5405('0x7'));var controller=require('./chatQueue.controller');router[_0x5405('0x8')]('/',auth[_0x5405('0x9')](),controller['index']);router[_0x5405('0x8')]('/describe',auth[_0x5405('0x9')](),controller[_0x5405('0xa')]);router[_0x5405('0x8')](_0x5405('0xb'),auth[_0x5405('0x9')](),controller[_0x5405('0xc')]);router[_0x5405('0x8')](_0x5405('0xd'),auth['isAuthenticated'](),controller[_0x5405('0xe')]);router[_0x5405('0x8')](_0x5405('0xf'),auth[_0x5405('0x9')](),controller[_0x5405('0x10')]);router['get'](_0x5405('0x11'),auth['isAuthenticated'](),controller[_0x5405('0x12')]);router['post']('/',auth[_0x5405('0x9')](),controller[_0x5405('0x13')]);router[_0x5405('0x14')](_0x5405('0xf'),auth[_0x5405('0x9')](),controller[_0x5405('0x15')]);router[_0x5405('0x14')](_0x5405('0x11'),auth[_0x5405('0x9')](),controller[_0x5405('0x16')]);router[_0x5405('0x17')](_0x5405('0xb'),auth[_0x5405('0x9')](),controller[_0x5405('0x18')]);router[_0x5405('0x19')](_0x5405('0xb'),auth['isAuthenticated'](),controller[_0x5405('0x1a')]);router[_0x5405('0x19')]('/:id/teams',auth['isAuthenticated'](),controller['removeTeams']);router[_0x5405('0x19')](_0x5405('0x11'),auth[_0x5405('0x9')](),controller[_0x5405('0x1b')]);module[_0x5405('0x1c')]=router;
\ No newline at end of file
+var _0x7217=['../../config/environment','./chatQueue.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','post','addTeams','update','delete','destroy','removeTeams','removeAgents','exports','multer','path','connect-timeout','express','Router','fs-extra'];(function(_0x377449,_0x3335f2){var _0x1d0d0d=function(_0x2f03df){while(--_0x2f03df){_0x377449['push'](_0x377449['shift']());}};_0x1d0d0d(++_0x3335f2);}(_0x7217,0x19e));var _0x7721=function(_0xa1e3e3,_0x29fe0e){_0xa1e3e3=_0xa1e3e3-0x0;var _0xc980e9=_0x7217[_0xa1e3e3];return _0xc980e9;};'use strict';var multer=require(_0x7721('0x0'));var util=require('util');var path=require(_0x7721('0x1'));var timeout=require(_0x7721('0x2'));var express=require(_0x7721('0x3'));var router=express[_0x7721('0x4')]();var fs_extra=require(_0x7721('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x7721('0x6'));var controller=require(_0x7721('0x7'));router[_0x7721('0x8')]('/',auth[_0x7721('0x9')](),controller[_0x7721('0xa')]);router[_0x7721('0x8')](_0x7721('0xb'),auth[_0x7721('0x9')](),controller[_0x7721('0xc')]);router[_0x7721('0x8')](_0x7721('0xd'),auth[_0x7721('0x9')](),controller[_0x7721('0xe')]);router[_0x7721('0x8')](_0x7721('0xf'),auth['isAuthenticated'](),controller[_0x7721('0x10')]);router[_0x7721('0x8')](_0x7721('0x11'),auth[_0x7721('0x9')](),controller[_0x7721('0x12')]);router[_0x7721('0x8')](_0x7721('0x13'),auth[_0x7721('0x9')](),controller['getAgents']);router[_0x7721('0x14')]('/',auth[_0x7721('0x9')](),controller['create']);router[_0x7721('0x14')](_0x7721('0x11'),auth[_0x7721('0x9')](),controller[_0x7721('0x15')]);router['post'](_0x7721('0x13'),auth[_0x7721('0x9')](),controller['addAgents']);router['put']('/:id',auth[_0x7721('0x9')](),controller[_0x7721('0x16')]);router[_0x7721('0x17')](_0x7721('0xd'),auth['isAuthenticated'](),controller[_0x7721('0x18')]);router['delete'](_0x7721('0x11'),auth['isAuthenticated'](),controller[_0x7721('0x19')]);router[_0x7721('0x17')](_0x7721('0x13'),auth[_0x7721('0x9')](),controller[_0x7721('0x1a')]);module[_0x7721('0x1b')]=router;
\ No newline at end of file