Built motion from commit e0fa946e.|2.6.5
[motion2.git] / server / api / voicePrefix / index.js
index 3960370..464bd91 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 _0x1e6c=['Router','fs-extra','../../config/environment','./voicePrefix.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/users','/:id/teams','getTeams','create','post','addAgents','put','update','delete','destroy','removeAgents','multer','path','connect-timeout','express'];(function(_0x40e442,_0x3f5f5e){var _0x1e3687=function(_0x12a70d){while(--_0x12a70d){_0x40e442['push'](_0x40e442['shift']());}};_0x1e3687(++_0x3f5f5e);}(_0x1e6c,0x11a));var _0xc1e6=function(_0x23ac30,_0x2a1d00){_0x23ac30=_0x23ac30-0x0;var _0x208fec=_0x1e6c[_0x23ac30];return _0x208fec;};'use strict';var multer=require(_0xc1e6('0x0'));var util=require('util');var path=require(_0xc1e6('0x1'));var timeout=require(_0xc1e6('0x2'));var express=require(_0xc1e6('0x3'));var router=express[_0xc1e6('0x4')]();var fs_extra=require(_0xc1e6('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xc1e6('0x6'));var controller=require(_0xc1e6('0x7'));router[_0xc1e6('0x8')]('/',auth[_0xc1e6('0x9')](),controller[_0xc1e6('0xa')]);router[_0xc1e6('0x8')](_0xc1e6('0xb'),auth['isAuthenticated'](),controller[_0xc1e6('0xc')]);router['get'](_0xc1e6('0xd'),auth['isAuthenticated'](),controller[_0xc1e6('0xe')]);router[_0xc1e6('0x8')](_0xc1e6('0xf'),auth[_0xc1e6('0x9')](),controller['getAgents']);router['get'](_0xc1e6('0x10'),auth[_0xc1e6('0x9')](),controller[_0xc1e6('0x11')]);router['post']('/',auth[_0xc1e6('0x9')](),controller[_0xc1e6('0x12')]);router[_0xc1e6('0x13')](_0xc1e6('0xf'),auth[_0xc1e6('0x9')](),controller[_0xc1e6('0x14')]);router[_0xc1e6('0x13')](_0xc1e6('0x10'),auth[_0xc1e6('0x9')](),controller['addTeams']);router[_0xc1e6('0x15')](_0xc1e6('0xd'),auth[_0xc1e6('0x9')](),controller[_0xc1e6('0x16')]);router[_0xc1e6('0x17')](_0xc1e6('0xd'),auth[_0xc1e6('0x9')](),controller[_0xc1e6('0x18')]);router[_0xc1e6('0x17')](_0xc1e6('0xf'),auth['isAuthenticated'](),controller[_0xc1e6('0x19')]);router[_0xc1e6('0x17')](_0xc1e6('0x10'),auth[_0xc1e6('0x9')](),controller['removeTeams']);module['exports']=router;
\ No newline at end of file