Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / chatQueue / index.js
index 80232f0..3000444 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9ed9=['multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','index','get','/describe','isAuthenticated','describe','/:id','show','/:id/members','/:id/teams','getAgents','create','post','addTeams','/:id/users','put','delete','destroy','removeTeams'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x9ed9,0x15e));var _0x99ed=function(_0x56107e,_0x2bdce4){_0x56107e=_0x56107e-0x0;var _0x2f1322=_0x9ed9[_0x56107e];return _0x2f1322;};'use strict';var multer=require(_0x99ed('0x0'));var util=require(_0x99ed('0x1'));var path=require(_0x99ed('0x2'));var timeout=require('connect-timeout');var express=require(_0x99ed('0x3'));var router=express[_0x99ed('0x4')]();var auth=require(_0x99ed('0x5'));var interaction=require(_0x99ed('0x6'));var config=require('../../config/environment');var controller=require('./chatQueue.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x99ed('0x7')]);router[_0x99ed('0x8')](_0x99ed('0x9'),auth[_0x99ed('0xa')](),controller[_0x99ed('0xb')]);router[_0x99ed('0x8')](_0x99ed('0xc'),auth[_0x99ed('0xa')](),controller[_0x99ed('0xd')]);router[_0x99ed('0x8')](_0x99ed('0xe'),auth[_0x99ed('0xa')](),controller['getMembers']);router['get'](_0x99ed('0xf'),auth[_0x99ed('0xa')](),controller['getTeams']);router['get']('/:id/users',auth[_0x99ed('0xa')](),controller[_0x99ed('0x10')]);router['post']('/',auth['isAuthenticated'](),controller[_0x99ed('0x11')]);router[_0x99ed('0x12')]('/:id/teams',auth['isAuthenticated'](),controller[_0x99ed('0x13')]);router[_0x99ed('0x12')](_0x99ed('0x14'),auth['isAuthenticated'](),controller['addAgents']);router[_0x99ed('0x15')](_0x99ed('0xc'),auth[_0x99ed('0xa')](),controller['update']);router[_0x99ed('0x16')](_0x99ed('0xc'),auth[_0x99ed('0xa')](),controller[_0x99ed('0x17')]);router['delete']('/:id/teams',auth[_0x99ed('0xa')](),controller[_0x99ed('0x18')]);router['delete'](_0x99ed('0x14'),auth[_0x99ed('0xa')](),controller['removeAgents']);module['exports']=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