Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / openchannelQueue / index.js
index 5886891..6e02a63 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfd50=['path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','describe','show','/:id/members','getMembers','getTeams','/:id/users','getAgents','post','create','addTeams','addAgents','put','/:id','update','delete','destroy','removeTeams','exports','util'];(function(_0x13e741,_0x5d3c24){var _0x3f8bb3=function(_0x4440a0){while(--_0x4440a0){_0x13e741['push'](_0x13e741['shift']());}};_0x3f8bb3(++_0x5d3c24);}(_0xfd50,0x178));var _0x0fd5=function(_0x1f9f37,_0x18776e){_0x1f9f37=_0x1f9f37-0x0;var _0x21c080=_0xfd50[_0x1f9f37];return _0x21c080;};'use strict';var multer=require('multer');var util=require(_0x0fd5('0x0'));var path=require(_0x0fd5('0x1'));var timeout=require(_0x0fd5('0x2'));var express=require(_0x0fd5('0x3'));var router=express[_0x0fd5('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x0fd5('0x5'));var config=require(_0x0fd5('0x6'));var controller=require('./openchannelQueue.controller');router['get']('/',auth[_0x0fd5('0x7')](),controller[_0x0fd5('0x8')]);router[_0x0fd5('0x9')](_0x0fd5('0xa'),auth['isAuthenticated'](),controller[_0x0fd5('0xb')]);router[_0x0fd5('0x9')]('/:id',auth[_0x0fd5('0x7')](),controller[_0x0fd5('0xc')]);router[_0x0fd5('0x9')](_0x0fd5('0xd'),auth[_0x0fd5('0x7')](),controller[_0x0fd5('0xe')]);router[_0x0fd5('0x9')]('/:id/teams',auth[_0x0fd5('0x7')](),controller[_0x0fd5('0xf')]);router['get'](_0x0fd5('0x10'),auth[_0x0fd5('0x7')](),controller[_0x0fd5('0x11')]);router[_0x0fd5('0x12')]('/',auth[_0x0fd5('0x7')](),controller[_0x0fd5('0x13')]);router[_0x0fd5('0x12')]('/:id/teams',auth['isAuthenticated'](),controller[_0x0fd5('0x14')]);router['post'](_0x0fd5('0x10'),auth[_0x0fd5('0x7')](),controller[_0x0fd5('0x15')]);router[_0x0fd5('0x16')](_0x0fd5('0x17'),auth['isAuthenticated'](),controller[_0x0fd5('0x18')]);router[_0x0fd5('0x19')](_0x0fd5('0x17'),auth[_0x0fd5('0x7')](),controller[_0x0fd5('0x1a')]);router[_0x0fd5('0x19')]('/:id/teams',auth[_0x0fd5('0x7')](),controller[_0x0fd5('0x1b')]);router[_0x0fd5('0x19')](_0x0fd5('0x10'),auth[_0x0fd5('0x7')](),controller['removeAgents']);module[_0x0fd5('0x1c')]=router;
\ No newline at end of file
+var _0x4072=['delete','destroy','removeTeams','removeAgents','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/members','/:id/teams','getAgents','create','post','/:id/users','addAgents'];(function(_0x334e1f,_0x2cbaf4){var _0x233534=function(_0x1e55e8){while(--_0x1e55e8){_0x334e1f['push'](_0x334e1f['shift']());}};_0x233534(++_0x2cbaf4);}(_0x4072,0x86));var _0x2407=function(_0x5bd948,_0x478409){_0x5bd948=_0x5bd948-0x0;var _0x52771a=_0x4072[_0x5bd948];return _0x52771a;};'use strict';var multer=require(_0x2407('0x0'));var util=require(_0x2407('0x1'));var path=require('path');var timeout=require(_0x2407('0x2'));var express=require(_0x2407('0x3'));var router=express[_0x2407('0x4')]();var fs_extra=require(_0x2407('0x5'));var auth=require(_0x2407('0x6'));var interaction=require(_0x2407('0x7'));var config=require('../../config/environment');var controller=require('./openchannelQueue.controller');router[_0x2407('0x8')]('/',auth[_0x2407('0x9')](),controller[_0x2407('0xa')]);router['get'](_0x2407('0xb'),auth['isAuthenticated'](),controller[_0x2407('0xc')]);router['get'](_0x2407('0xd'),auth[_0x2407('0x9')](),controller[_0x2407('0xe')]);router[_0x2407('0x8')](_0x2407('0xf'),auth[_0x2407('0x9')](),controller['getMembers']);router[_0x2407('0x8')](_0x2407('0x10'),auth['isAuthenticated'](),controller['getTeams']);router[_0x2407('0x8')]('/:id/users',auth[_0x2407('0x9')](),controller[_0x2407('0x11')]);router['post']('/',auth[_0x2407('0x9')](),controller[_0x2407('0x12')]);router[_0x2407('0x13')](_0x2407('0x10'),auth[_0x2407('0x9')](),controller['addTeams']);router[_0x2407('0x13')](_0x2407('0x14'),auth[_0x2407('0x9')](),controller[_0x2407('0x15')]);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0x2407('0x16')](_0x2407('0xd'),auth['isAuthenticated'](),controller[_0x2407('0x17')]);router[_0x2407('0x16')](_0x2407('0x10'),auth[_0x2407('0x9')](),controller[_0x2407('0x18')]);router[_0x2407('0x16')](_0x2407('0x14'),auth[_0x2407('0x9')](),controller[_0x2407('0x19')]);module['exports']=router;
\ No newline at end of file