Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / chatQueue / index.js
index 6ddeffa..3610c33 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc7ca=['Router','../../config/environment','./chatQueue.controller','get','isAuthenticated','index','/describe','describe','/:id','show','getMembers','/:id/teams','/:id/users','post','create','addTeams','addAgents','update','delete','exports','multer','util','connect-timeout','express'];(function(_0x52e0ee,_0x52f7c1){var _0x32534c=function(_0x535d65){while(--_0x535d65){_0x52e0ee['push'](_0x52e0ee['shift']());}};_0x32534c(++_0x52f7c1);}(_0xc7ca,0x17c));var _0xac7c=function(_0x2dab0d,_0x36de0d){_0x2dab0d=_0x2dab0d-0x0;var _0x44f0fc=_0xc7ca[_0x2dab0d];return _0x44f0fc;};'use strict';var multer=require(_0xac7c('0x0'));var util=require(_0xac7c('0x1'));var path=require('path');var timeout=require(_0xac7c('0x2'));var express=require(_0xac7c('0x3'));var router=express[_0xac7c('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xac7c('0x5'));var controller=require(_0xac7c('0x6'));router[_0xac7c('0x7')]('/',auth[_0xac7c('0x8')](),controller[_0xac7c('0x9')]);router['get'](_0xac7c('0xa'),auth[_0xac7c('0x8')](),controller[_0xac7c('0xb')]);router[_0xac7c('0x7')](_0xac7c('0xc'),auth[_0xac7c('0x8')](),controller[_0xac7c('0xd')]);router['get']('/:id/members',auth[_0xac7c('0x8')](),controller[_0xac7c('0xe')]);router[_0xac7c('0x7')](_0xac7c('0xf'),auth['isAuthenticated'](),controller['getTeams']);router['get'](_0xac7c('0x10'),auth[_0xac7c('0x8')](),controller['getAgents']);router[_0xac7c('0x11')]('/',auth[_0xac7c('0x8')](),controller[_0xac7c('0x12')]);router[_0xac7c('0x11')](_0xac7c('0xf'),auth['isAuthenticated'](),controller[_0xac7c('0x13')]);router['post'](_0xac7c('0x10'),auth[_0xac7c('0x8')](),controller[_0xac7c('0x14')]);router['put'](_0xac7c('0xc'),auth['isAuthenticated'](),controller[_0xac7c('0x15')]);router[_0xac7c('0x16')](_0xac7c('0xc'),auth['isAuthenticated'](),controller['destroy']);router[_0xac7c('0x16')]('/:id/teams',auth['isAuthenticated'](),controller['removeTeams']);router[_0xac7c('0x16')]('/:id/users',auth[_0xac7c('0x8')](),controller['removeAgents']);module[_0xac7c('0x17')]=router;
\ No newline at end of file
+var _0x55ca=['post','addAgents','update','delete','destroy','removeTeams','removeAgents','exports','multer','util','Router','fs-extra','../../components/interaction/service','../../config/environment','./chatQueue.controller','get','isAuthenticated','index','describe','/:id','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','addTeams'];(function(_0x2810e4,_0x528e9e){var _0x17d891=function(_0x174b60){while(--_0x174b60){_0x2810e4['push'](_0x2810e4['shift']());}};_0x17d891(++_0x528e9e);}(_0x55ca,0x126));var _0xa55c=function(_0x7e918f,_0x48cf10){_0x7e918f=_0x7e918f-0x0;var _0x5b35ab=_0x55ca[_0x7e918f];return _0x5b35ab;};'use strict';var multer=require(_0xa55c('0x0'));var util=require(_0xa55c('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xa55c('0x2')]();var fs_extra=require(_0xa55c('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xa55c('0x4'));var config=require(_0xa55c('0x5'));var controller=require(_0xa55c('0x6'));router[_0xa55c('0x7')]('/',auth[_0xa55c('0x8')](),controller[_0xa55c('0x9')]);router[_0xa55c('0x7')]('/describe',auth[_0xa55c('0x8')](),controller[_0xa55c('0xa')]);router['get'](_0xa55c('0xb'),auth[_0xa55c('0x8')](),controller['show']);router['get'](_0xa55c('0xc'),auth[_0xa55c('0x8')](),controller[_0xa55c('0xd')]);router[_0xa55c('0x7')](_0xa55c('0xe'),auth[_0xa55c('0x8')](),controller[_0xa55c('0xf')]);router[_0xa55c('0x7')](_0xa55c('0x10'),auth[_0xa55c('0x8')](),controller['getAgents']);router['post']('/',auth[_0xa55c('0x8')](),controller['create']);router['post']('/:id/teams',auth[_0xa55c('0x8')](),controller[_0xa55c('0x11')]);router[_0xa55c('0x12')](_0xa55c('0x10'),auth[_0xa55c('0x8')](),controller[_0xa55c('0x13')]);router['put'](_0xa55c('0xb'),auth[_0xa55c('0x8')](),controller[_0xa55c('0x14')]);router[_0xa55c('0x15')](_0xa55c('0xb'),auth[_0xa55c('0x8')](),controller[_0xa55c('0x16')]);router[_0xa55c('0x15')](_0xa55c('0xe'),auth['isAuthenticated'](),controller[_0xa55c('0x17')]);router[_0xa55c('0x15')](_0xa55c('0x10'),auth[_0xa55c('0x8')](),controller[_0xa55c('0x18')]);module[_0xa55c('0x19')]=router;
\ No newline at end of file