Built motion from commit (unavailable).|2.5.11
[motion2.git] / server / api / chatQueue / index.js
index fe1dc91..80232f0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x62c3=['getMembers','/:id/teams','getTeams','/:id/users','create','post','addTeams','addAgents','put','update','delete','removeTeams','removeAgents','exports','multer','path','../../components/interaction/service','../../config/environment','./chatQueue.controller','get','index','isAuthenticated','describe','/:id','show','/:id/members'];(function(_0x3ce7f3,_0x520831){var _0x5b5cd7=function(_0x1e8c22){while(--_0x1e8c22){_0x3ce7f3['push'](_0x3ce7f3['shift']());}};_0x5b5cd7(++_0x520831);}(_0x62c3,0xc4));var _0x362c=function(_0x1a0daa,_0x2a4634){_0x1a0daa=_0x1a0daa-0x0;var _0x1dbe15=_0x62c3[_0x1a0daa];return _0x1dbe15;};'use strict';var multer=require(_0x362c('0x0'));var util=require('util');var path=require(_0x362c('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x362c('0x2'));var config=require(_0x362c('0x3'));var controller=require(_0x362c('0x4'));router[_0x362c('0x5')]('/',auth['isAuthenticated'](),controller[_0x362c('0x6')]);router['get']('/describe',auth[_0x362c('0x7')](),controller[_0x362c('0x8')]);router['get'](_0x362c('0x9'),auth[_0x362c('0x7')](),controller[_0x362c('0xa')]);router['get'](_0x362c('0xb'),auth[_0x362c('0x7')](),controller[_0x362c('0xc')]);router['get'](_0x362c('0xd'),auth['isAuthenticated'](),controller[_0x362c('0xe')]);router[_0x362c('0x5')](_0x362c('0xf'),auth[_0x362c('0x7')](),controller['getAgents']);router['post']('/',auth[_0x362c('0x7')](),controller[_0x362c('0x10')]);router[_0x362c('0x11')](_0x362c('0xd'),auth['isAuthenticated'](),controller[_0x362c('0x12')]);router[_0x362c('0x11')]('/:id/users',auth[_0x362c('0x7')](),controller[_0x362c('0x13')]);router[_0x362c('0x14')](_0x362c('0x9'),auth[_0x362c('0x7')](),controller[_0x362c('0x15')]);router[_0x362c('0x16')](_0x362c('0x9'),auth[_0x362c('0x7')](),controller['destroy']);router[_0x362c('0x16')](_0x362c('0xd'),auth['isAuthenticated'](),controller[_0x362c('0x17')]);router[_0x362c('0x16')](_0x362c('0xf'),auth[_0x362c('0x7')](),controller[_0x362c('0x18')]);module[_0x362c('0x19')]=router;
\ No newline at end of file
+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