Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / voicePrefix / index.js
index 5ea9b29..2ea5dbf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x847f=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/describe','describe','show','/:id/teams','post','create','/:id/users','addAgents','addTeams','put','/:id','update','destroy','removeAgents','removeTeams','exports','multer','util','path','express'];(function(_0x4cf86e,_0x2856df){var _0x31bfe0=function(_0x5e1648){while(--_0x5e1648){_0x4cf86e['push'](_0x4cf86e['shift']());}};_0x31bfe0(++_0x2856df);}(_0x847f,0x182));var _0xf847=function(_0x1c2051,_0x4cb6b9){_0x1c2051=_0x1c2051-0x0;var _0x2b58a0=_0x847f[_0x1c2051];return _0x2b58a0;};'use strict';var multer=require(_0xf847('0x0'));var util=require(_0xf847('0x1'));var path=require(_0xf847('0x2'));var timeout=require('connect-timeout');var express=require(_0xf847('0x3'));var router=express[_0xf847('0x4')]();var fs_extra=require(_0xf847('0x5'));var auth=require(_0xf847('0x6'));var interaction=require(_0xf847('0x7'));var config=require('../../config/environment');var controller=require('./voicePrefix.controller');router[_0xf847('0x8')]('/',auth[_0xf847('0x9')](),controller['index']);router['get'](_0xf847('0xa'),auth[_0xf847('0x9')](),controller[_0xf847('0xb')]);router[_0xf847('0x8')]('/:id',auth[_0xf847('0x9')](),controller[_0xf847('0xc')]);router[_0xf847('0x8')]('/:id/users',auth[_0xf847('0x9')](),controller['getAgents']);router[_0xf847('0x8')](_0xf847('0xd'),auth[_0xf847('0x9')](),controller['getTeams']);router[_0xf847('0xe')]('/',auth['isAuthenticated'](),controller[_0xf847('0xf')]);router[_0xf847('0xe')](_0xf847('0x10'),auth[_0xf847('0x9')](),controller[_0xf847('0x11')]);router[_0xf847('0xe')](_0xf847('0xd'),auth[_0xf847('0x9')](),controller[_0xf847('0x12')]);router[_0xf847('0x13')](_0xf847('0x14'),auth[_0xf847('0x9')](),controller[_0xf847('0x15')]);router['delete'](_0xf847('0x14'),auth[_0xf847('0x9')](),controller[_0xf847('0x16')]);router['delete']('/:id/users',auth[_0xf847('0x9')](),controller[_0xf847('0x17')]);router['delete'](_0xf847('0xd'),auth[_0xf847('0x9')](),controller[_0xf847('0x18')]);module[_0xf847('0x19')]=router;
\ No newline at end of file
+var _0x8524=['destroy','removeAgents','removeTeams','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voicePrefix.controller','isAuthenticated','index','get','/describe','describe','/:id','show','/:id/users','getAgents','/:id/teams','post','create','addAgents','addTeams','put','update','delete'];(function(_0x100e9a,_0x2e257e){var _0x31571e=function(_0x420046){while(--_0x420046){_0x100e9a['push'](_0x100e9a['shift']());}};_0x31571e(++_0x2e257e);}(_0x8524,0x1d4));var _0x4852=function(_0xb172c3,_0x4b3756){_0xb172c3=_0xb172c3-0x0;var _0x16d5c9=_0x8524[_0xb172c3];return _0x16d5c9;};'use strict';var multer=require(_0x4852('0x0'));var util=require(_0x4852('0x1'));var path=require(_0x4852('0x2'));var timeout=require(_0x4852('0x3'));var express=require(_0x4852('0x4'));var router=express[_0x4852('0x5')]();var fs_extra=require(_0x4852('0x6'));var auth=require(_0x4852('0x7'));var interaction=require(_0x4852('0x8'));var config=require(_0x4852('0x9'));var controller=require(_0x4852('0xa'));router['get']('/',auth[_0x4852('0xb')](),controller[_0x4852('0xc')]);router[_0x4852('0xd')](_0x4852('0xe'),auth[_0x4852('0xb')](),controller[_0x4852('0xf')]);router['get'](_0x4852('0x10'),auth[_0x4852('0xb')](),controller[_0x4852('0x11')]);router[_0x4852('0xd')](_0x4852('0x12'),auth[_0x4852('0xb')](),controller[_0x4852('0x13')]);router[_0x4852('0xd')](_0x4852('0x14'),auth['isAuthenticated'](),controller['getTeams']);router[_0x4852('0x15')]('/',auth[_0x4852('0xb')](),controller[_0x4852('0x16')]);router[_0x4852('0x15')](_0x4852('0x12'),auth['isAuthenticated'](),controller[_0x4852('0x17')]);router['post'](_0x4852('0x14'),auth['isAuthenticated'](),controller[_0x4852('0x18')]);router[_0x4852('0x19')](_0x4852('0x10'),auth[_0x4852('0xb')](),controller[_0x4852('0x1a')]);router[_0x4852('0x1b')](_0x4852('0x10'),auth[_0x4852('0xb')](),controller[_0x4852('0x1c')]);router[_0x4852('0x1b')](_0x4852('0x12'),auth[_0x4852('0xb')](),controller[_0x4852('0x1d')]);router[_0x4852('0x1b')](_0x4852('0x14'),auth[_0x4852('0xb')](),controller[_0x4852('0x1e')]);module['exports']=router;
\ No newline at end of file