Built motion from commit 863c3375.|2.6.28
[motion2.git] / server / api / voicePrefix / index.js
index b67534f..4e40a42 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x294b=['update','delete','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./voicePrefix.controller','get','isAuthenticated','index','show','/:id/teams','getTeams','post','create','/:id/users','put','/:id'];(function(_0x40911a,_0x55ec99){var _0x27e8e3=function(_0x2ba910){while(--_0x2ba910){_0x40911a['push'](_0x40911a['shift']());}};_0x27e8e3(++_0x55ec99);}(_0x294b,0xea));var _0xb294=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x294b[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xb294('0x0'));var util=require('util');var path=require(_0xb294('0x1'));var timeout=require(_0xb294('0x2'));var express=require(_0xb294('0x3'));var router=express[_0xb294('0x4')]();var fs_extra=require(_0xb294('0x5'));var auth=require(_0xb294('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xb294('0x7'));router[_0xb294('0x8')]('/',auth[_0xb294('0x9')](),controller[_0xb294('0xa')]);router[_0xb294('0x8')]('/describe',auth[_0xb294('0x9')](),controller['describe']);router['get']('/:id',auth[_0xb294('0x9')](),controller[_0xb294('0xb')]);router[_0xb294('0x8')]('/:id/users',auth['isAuthenticated'](),controller['getAgents']);router[_0xb294('0x8')](_0xb294('0xc'),auth[_0xb294('0x9')](),controller[_0xb294('0xd')]);router[_0xb294('0xe')]('/',auth[_0xb294('0x9')](),controller[_0xb294('0xf')]);router[_0xb294('0xe')](_0xb294('0x10'),auth[_0xb294('0x9')](),controller['addAgents']);router['post'](_0xb294('0xc'),auth['isAuthenticated'](),controller['addTeams']);router[_0xb294('0x11')](_0xb294('0x12'),auth[_0xb294('0x9')](),controller[_0xb294('0x13')]);router[_0xb294('0x14')](_0xb294('0x12'),auth[_0xb294('0x9')](),controller[_0xb294('0x15')]);router[_0xb294('0x14')](_0xb294('0x10'),auth[_0xb294('0x9')](),controller['removeAgents']);router[_0xb294('0x14')](_0xb294('0xc'),auth['isAuthenticated'](),controller['removeTeams']);module[_0xb294('0x16')]=router;
\ No newline at end of file
+var _0xa4fa=['express','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','index','describe','/:id','show','getTeams','post','create','/:id/users','put','update','delete','destroy','/:id/teams','removeTeams','exports','multer','connect-timeout'];(function(_0x29a39c,_0x2f1bd1){var _0x30ed68=function(_0x751436){while(--_0x751436){_0x29a39c['push'](_0x29a39c['shift']());}};_0x30ed68(++_0x2f1bd1);}(_0xa4fa,0x1ca));var _0xaa4f=function(_0x2dfb2c,_0x4b944b){_0x2dfb2c=_0x2dfb2c-0x0;var _0x4cc9f0=_0xa4fa[_0x2dfb2c];return _0x4cc9f0;};'use strict';var multer=require(_0xaa4f('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xaa4f('0x1'));var express=require(_0xaa4f('0x2'));var router=express['Router']();var fs_extra=require(_0xaa4f('0x3'));var auth=require(_0xaa4f('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xaa4f('0x5'));var controller=require('./voicePrefix.controller');router[_0xaa4f('0x6')]('/',auth[_0xaa4f('0x7')](),controller[_0xaa4f('0x8')]);router[_0xaa4f('0x6')]('/describe',auth['isAuthenticated'](),controller[_0xaa4f('0x9')]);router[_0xaa4f('0x6')](_0xaa4f('0xa'),auth[_0xaa4f('0x7')](),controller[_0xaa4f('0xb')]);router[_0xaa4f('0x6')]('/:id/users',auth['isAuthenticated'](),controller['getAgents']);router[_0xaa4f('0x6')]('/:id/teams',auth[_0xaa4f('0x7')](),controller[_0xaa4f('0xc')]);router[_0xaa4f('0xd')]('/',auth[_0xaa4f('0x7')](),controller[_0xaa4f('0xe')]);router['post'](_0xaa4f('0xf'),auth['isAuthenticated'](),controller['addAgents']);router[_0xaa4f('0xd')]('/:id/teams',auth[_0xaa4f('0x7')](),controller['addTeams']);router[_0xaa4f('0x10')](_0xaa4f('0xa'),auth[_0xaa4f('0x7')](),controller[_0xaa4f('0x11')]);router[_0xaa4f('0x12')]('/:id',auth['isAuthenticated'](),controller[_0xaa4f('0x13')]);router[_0xaa4f('0x12')](_0xaa4f('0xf'),auth[_0xaa4f('0x7')](),controller['removeAgents']);router[_0xaa4f('0x12')](_0xaa4f('0x14'),auth[_0xaa4f('0x7')](),controller[_0xaa4f('0x15')]);module[_0xaa4f('0x16')]=router;
\ No newline at end of file