X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FopenchannelQueue%2Findex.js;h=48047e03988c8ec16bc0cebc4361e2a1f3237d0d;hb=7e2a86485d5b091066011cf58fcba785923a5ac5;hp=7e17dd475efedd36c1a8b21189b2ff62d7aab278;hpb=de6f27d8824ffb29cbf937050a12378469af9a53;p=motion2.git diff --git a/server/api/openchannelQueue/index.js b/server/api/openchannelQueue/index.js index 7e17dd4..48047e0 100644 --- a/server/api/openchannelQueue/index.js +++ b/server/api/openchannelQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4300=['show','/:id/members','/:id/teams','getTeams','/:id/users','getAgents','create','post','addTeams','addAgents','put','removeTeams','delete','exports','multer','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelQueue.controller','isAuthenticated','get','describe','/:id'];(function(_0x5afcdf,_0x164d88){var _0x108b15=function(_0x476015){while(--_0x476015){_0x5afcdf['push'](_0x5afcdf['shift']());}};_0x108b15(++_0x164d88);}(_0x4300,0x1a6));var _0x0430=function(_0x1e5ddd,_0x531b8b){_0x1e5ddd=_0x1e5ddd-0x0;var _0x10075f=_0x4300[_0x1e5ddd];return _0x10075f;};'use strict';var multer=require(_0x0430('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0430('0x1')]();var auth=require(_0x0430('0x2'));var interaction=require(_0x0430('0x3'));var config=require(_0x0430('0x4'));var controller=require(_0x0430('0x5'));router['get']('/',auth[_0x0430('0x6')](),controller['index']);router[_0x0430('0x7')]('/describe',auth[_0x0430('0x6')](),controller[_0x0430('0x8')]);router[_0x0430('0x7')](_0x0430('0x9'),auth[_0x0430('0x6')](),controller[_0x0430('0xa')]);router[_0x0430('0x7')](_0x0430('0xb'),auth[_0x0430('0x6')](),controller['getMembers']);router[_0x0430('0x7')](_0x0430('0xc'),auth[_0x0430('0x6')](),controller[_0x0430('0xd')]);router[_0x0430('0x7')](_0x0430('0xe'),auth[_0x0430('0x6')](),controller[_0x0430('0xf')]);router['post']('/',auth['isAuthenticated'](),controller[_0x0430('0x10')]);router[_0x0430('0x11')](_0x0430('0xc'),auth[_0x0430('0x6')](),controller[_0x0430('0x12')]);router[_0x0430('0x11')](_0x0430('0xe'),auth['isAuthenticated'](),controller[_0x0430('0x13')]);router[_0x0430('0x14')](_0x0430('0x9'),auth[_0x0430('0x6')](),controller['update']);router['delete']('/:id',auth[_0x0430('0x6')](),controller['destroy']);router['delete'](_0x0430('0xc'),auth[_0x0430('0x6')](),controller[_0x0430('0x15')]);router[_0x0430('0x16')](_0x0430('0xe'),auth['isAuthenticated'](),controller['removeAgents']);module[_0x0430('0x17')]=router; \ No newline at end of file +var _0xf776=['post','create','addTeams','/:id/users','/:id','delete','destroy','removeTeams','removeAgents','exports','multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/describe','isAuthenticated','show','/:id/members','getMembers','/:id/teams','getTeams','getAgents'];(function(_0x1928c9,_0x13a6d1){var _0x51b5fb=function(_0x24cf70){while(--_0x24cf70){_0x1928c9['push'](_0x1928c9['shift']());}};_0x51b5fb(++_0x13a6d1);}(_0xf776,0x169));var _0x6f77=function(_0x12360a,_0x47206d){_0x12360a=_0x12360a-0x0;var _0x4c5721=_0xf776[_0x12360a];return _0x4c5721;};'use strict';var multer=require(_0x6f77('0x0'));var util=require('util');var path=require(_0x6f77('0x1'));var timeout=require(_0x6f77('0x2'));var express=require('express');var router=express[_0x6f77('0x3')]();var auth=require(_0x6f77('0x4'));var interaction=require(_0x6f77('0x5'));var config=require(_0x6f77('0x6'));var controller=require('./openchannelQueue.controller');router[_0x6f77('0x7')]('/',auth['isAuthenticated'](),controller[_0x6f77('0x8')]);router[_0x6f77('0x7')](_0x6f77('0x9'),auth[_0x6f77('0xa')](),controller['describe']);router[_0x6f77('0x7')]('/:id',auth[_0x6f77('0xa')](),controller[_0x6f77('0xb')]);router[_0x6f77('0x7')](_0x6f77('0xc'),auth['isAuthenticated'](),controller[_0x6f77('0xd')]);router[_0x6f77('0x7')](_0x6f77('0xe'),auth[_0x6f77('0xa')](),controller[_0x6f77('0xf')]);router[_0x6f77('0x7')]('/:id/users',auth[_0x6f77('0xa')](),controller[_0x6f77('0x10')]);router[_0x6f77('0x11')]('/',auth[_0x6f77('0xa')](),controller[_0x6f77('0x12')]);router[_0x6f77('0x11')](_0x6f77('0xe'),auth[_0x6f77('0xa')](),controller[_0x6f77('0x13')]);router[_0x6f77('0x11')](_0x6f77('0x14'),auth[_0x6f77('0xa')](),controller['addAgents']);router['put'](_0x6f77('0x15'),auth[_0x6f77('0xa')](),controller['update']);router[_0x6f77('0x16')]('/:id',auth[_0x6f77('0xa')](),controller[_0x6f77('0x17')]);router['delete']('/:id/teams',auth[_0x6f77('0xa')](),controller[_0x6f77('0x18')]);router[_0x6f77('0x16')](_0x6f77('0x14'),auth[_0x6f77('0xa')](),controller[_0x6f77('0x19')]);module[_0x6f77('0x1a')]=router; \ No newline at end of file