Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / voicePrefix / index.js
index 3960370..e207463 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf50b=['getTeams','post','create','addAgents','delete','removeAgents','removeTeams','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./voicePrefix.controller','get','isAuthenticated','index','/describe','/:id','/:id/users','getAgents','/:id/teams'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0xf50b,0xc8));var _0xbf50=function(_0x2abf3f,_0x2ebc04){_0x2abf3f=_0x2abf3f-0x0;var _0x57d20=_0xf50b[_0x2abf3f];return _0x57d20;};'use strict';var multer=require(_0xbf50('0x0'));var util=require(_0xbf50('0x1'));var path=require('path');var timeout=require(_0xbf50('0x2'));var express=require(_0xbf50('0x3'));var router=express[_0xbf50('0x4')]();var fs_extra=require(_0xbf50('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xbf50('0x6'));var config=require('../../config/environment');var controller=require(_0xbf50('0x7'));router[_0xbf50('0x8')]('/',auth[_0xbf50('0x9')](),controller[_0xbf50('0xa')]);router[_0xbf50('0x8')](_0xbf50('0xb'),auth[_0xbf50('0x9')](),controller['describe']);router[_0xbf50('0x8')](_0xbf50('0xc'),auth[_0xbf50('0x9')](),controller['show']);router['get'](_0xbf50('0xd'),auth[_0xbf50('0x9')](),controller[_0xbf50('0xe')]);router['get'](_0xbf50('0xf'),auth[_0xbf50('0x9')](),controller[_0xbf50('0x10')]);router[_0xbf50('0x11')]('/',auth[_0xbf50('0x9')](),controller[_0xbf50('0x12')]);router[_0xbf50('0x11')]('/:id/users',auth[_0xbf50('0x9')](),controller[_0xbf50('0x13')]);router[_0xbf50('0x11')](_0xbf50('0xf'),auth[_0xbf50('0x9')](),controller['addTeams']);router['put']('/:id',auth[_0xbf50('0x9')](),controller['update']);router[_0xbf50('0x14')](_0xbf50('0xc'),auth[_0xbf50('0x9')](),controller['destroy']);router[_0xbf50('0x14')]('/:id/users',auth[_0xbf50('0x9')](),controller[_0xbf50('0x15')]);router[_0xbf50('0x14')]('/:id/teams',auth[_0xbf50('0x9')](),controller[_0xbf50('0x16')]);module[_0xbf50('0x17')]=router;
\ No newline at end of file
+var _0x165d=['update','delete','destroy','removeAgents','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','index','get','describe','/:id','isAuthenticated','show','/:id/users','/:id/teams','post','create','addTeams'];(function(_0x553647,_0xca2dac){var _0x4082fb=function(_0x14061f){while(--_0x14061f){_0x553647['push'](_0x553647['shift']());}};_0x4082fb(++_0xca2dac);}(_0x165d,0x14a));var _0xd165=function(_0x53e646,_0x124cd4){_0x53e646=_0x53e646-0x0;var _0x8963c=_0x165d[_0x53e646];return _0x8963c;};'use strict';var multer=require(_0xd165('0x0'));var util=require(_0xd165('0x1'));var path=require(_0xd165('0x2'));var timeout=require(_0xd165('0x3'));var express=require(_0xd165('0x4'));var router=express[_0xd165('0x5')]();var fs_extra=require(_0xd165('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xd165('0x7'));var config=require(_0xd165('0x8'));var controller=require('./voicePrefix.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xd165('0x9')]);router[_0xd165('0xa')]('/describe',auth['isAuthenticated'](),controller[_0xd165('0xb')]);router[_0xd165('0xa')](_0xd165('0xc'),auth[_0xd165('0xd')](),controller[_0xd165('0xe')]);router[_0xd165('0xa')](_0xd165('0xf'),auth[_0xd165('0xd')](),controller['getAgents']);router[_0xd165('0xa')](_0xd165('0x10'),auth[_0xd165('0xd')](),controller['getTeams']);router[_0xd165('0x11')]('/',auth['isAuthenticated'](),controller[_0xd165('0x12')]);router[_0xd165('0x11')](_0xd165('0xf'),auth[_0xd165('0xd')](),controller['addAgents']);router['post'](_0xd165('0x10'),auth[_0xd165('0xd')](),controller[_0xd165('0x13')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0xd165('0x14')]);router[_0xd165('0x15')]('/:id',auth[_0xd165('0xd')](),controller[_0xd165('0x16')]);router['delete']('/:id/users',auth[_0xd165('0xd')](),controller[_0xd165('0x17')]);router['delete']('/:id/teams',auth['isAuthenticated'](),controller['removeTeams']);module[_0xd165('0x18')]=router;
\ No newline at end of file