Built motion from commit (unavailable).|2.5.30
[motion2.git] / server / api / team / index.js
index 292dd0e..cd03b4a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbc56=['destroy','removeQueues','removeAgents','exports','connect-timeout','../../components/auth/service','../../components/interaction/service','./team.controller','get','index','/:id','isAuthenticated','show','/:id/queues','getQueues','/:id/users','getAgents','post','create','addQueues','addAgents','put','update','delete'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xbc56,0x19c));var _0x6bc5=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xbc56[_0xa464c9];return _0x3d73c4;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x6bc5('0x0'));var express=require('express');var router=express['Router']();var auth=require(_0x6bc5('0x1'));var interaction=require(_0x6bc5('0x2'));var config=require('../../config/environment');var controller=require(_0x6bc5('0x3'));router[_0x6bc5('0x4')]('/',auth['isAuthenticated'](),controller[_0x6bc5('0x5')]);router[_0x6bc5('0x4')](_0x6bc5('0x6'),auth[_0x6bc5('0x7')](),controller[_0x6bc5('0x8')]);router[_0x6bc5('0x4')](_0x6bc5('0x9'),auth[_0x6bc5('0x7')](),controller[_0x6bc5('0xa')]);router[_0x6bc5('0x4')](_0x6bc5('0xb'),auth['isAuthenticated'](),controller[_0x6bc5('0xc')]);router[_0x6bc5('0xd')]('/',auth[_0x6bc5('0x7')](),controller[_0x6bc5('0xe')]);router[_0x6bc5('0xd')](_0x6bc5('0x9'),auth['isAuthenticated'](),controller[_0x6bc5('0xf')]);router['post']('/:id/users',auth['isAuthenticated'](),controller[_0x6bc5('0x10')]);router[_0x6bc5('0x11')]('/:id',auth[_0x6bc5('0x7')](),controller[_0x6bc5('0x12')]);router[_0x6bc5('0x13')]('/:id',auth[_0x6bc5('0x7')](),controller[_0x6bc5('0x14')]);router[_0x6bc5('0x13')](_0x6bc5('0x9'),auth['isAuthenticated'](),controller[_0x6bc5('0x15')]);router['delete'](_0x6bc5('0xb'),auth[_0x6bc5('0x7')](),controller[_0x6bc5('0x16')]);module[_0x6bc5('0x17')]=router;
\ No newline at end of file
+var _0x494f=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./team.controller','get','isAuthenticated','index','getAgents','post','/:id/queues','addQueues','/:id/users','addAgents','/:id','update','destroy','delete','removeQueues','removeAgents','exports','multer','util','path','connect-timeout','express'];(function(_0x8dc04d,_0xaa7559){var _0x2f5f28=function(_0xdd2d1d){while(--_0xdd2d1d){_0x8dc04d['push'](_0x8dc04d['shift']());}};_0x2f5f28(++_0xaa7559);}(_0x494f,0x67));var _0xf494=function(_0x373dee,_0x1a8c45){_0x373dee=_0x373dee-0x0;var _0x46798f=_0x494f[_0x373dee];return _0x46798f;};'use strict';var multer=require(_0xf494('0x0'));var util=require(_0xf494('0x1'));var path=require(_0xf494('0x2'));var timeout=require(_0xf494('0x3'));var express=require(_0xf494('0x4'));var router=express[_0xf494('0x5')]();var fs_extra=require(_0xf494('0x6'));var auth=require(_0xf494('0x7'));var interaction=require(_0xf494('0x8'));var config=require(_0xf494('0x9'));var controller=require(_0xf494('0xa'));router[_0xf494('0xb')]('/',auth[_0xf494('0xc')](),controller[_0xf494('0xd')]);router[_0xf494('0xb')]('/:id',auth['isAuthenticated'](),controller['show']);router['get']('/:id/queues',auth[_0xf494('0xc')](),controller['getQueues']);router[_0xf494('0xb')]('/:id/users',auth[_0xf494('0xc')](),controller[_0xf494('0xe')]);router[_0xf494('0xf')]('/',auth['isAuthenticated'](),controller['create']);router['post'](_0xf494('0x10'),auth['isAuthenticated'](),controller[_0xf494('0x11')]);router['post'](_0xf494('0x12'),auth[_0xf494('0xc')](),controller[_0xf494('0x13')]);router['put'](_0xf494('0x14'),auth[_0xf494('0xc')](),controller[_0xf494('0x15')]);router['delete'](_0xf494('0x14'),auth[_0xf494('0xc')](),controller[_0xf494('0x16')]);router[_0xf494('0x17')](_0xf494('0x10'),auth[_0xf494('0xc')](),controller[_0xf494('0x18')]);router[_0xf494('0x17')](_0xf494('0x12'),auth['isAuthenticated'](),controller[_0xf494('0x19')]);module[_0xf494('0x1a')]=router;
\ No newline at end of file