Built motion from commit 449495f6.|2.6.27
[motion2.git] / server / api / voicePrefix / index.js
index cea207a..cce1447 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x83f1=['express','../../components/auth/service','../../components/interaction/service','../../config/environment','./voicePrefix.controller','get','index','/describe','describe','/:id','isAuthenticated','show','/:id/users','getAgents','/:id/teams','getTeams','post','create','addTeams','put','update','destroy','removeAgents','removeTeams','exports','multer','util','path','connect-timeout'];(function(_0x26f866,_0x1900bc){var _0x1abef3=function(_0x3217de){while(--_0x3217de){_0x26f866['push'](_0x26f866['shift']());}};_0x1abef3(++_0x1900bc);}(_0x83f1,0x1cc));var _0x183f=function(_0x305c70,_0x3da947){_0x305c70=_0x305c70-0x0;var _0x52cdc8=_0x83f1[_0x305c70];return _0x52cdc8;};'use strict';var multer=require(_0x183f('0x0'));var util=require(_0x183f('0x1'));var path=require(_0x183f('0x2'));var timeout=require(_0x183f('0x3'));var express=require(_0x183f('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x183f('0x5'));var interaction=require(_0x183f('0x6'));var config=require(_0x183f('0x7'));var controller=require(_0x183f('0x8'));router[_0x183f('0x9')]('/',auth['isAuthenticated'](),controller[_0x183f('0xa')]);router[_0x183f('0x9')](_0x183f('0xb'),auth['isAuthenticated'](),controller[_0x183f('0xc')]);router['get'](_0x183f('0xd'),auth[_0x183f('0xe')](),controller[_0x183f('0xf')]);router[_0x183f('0x9')](_0x183f('0x10'),auth[_0x183f('0xe')](),controller[_0x183f('0x11')]);router['get'](_0x183f('0x12'),auth[_0x183f('0xe')](),controller[_0x183f('0x13')]);router[_0x183f('0x14')]('/',auth[_0x183f('0xe')](),controller[_0x183f('0x15')]);router[_0x183f('0x14')]('/:id/users',auth[_0x183f('0xe')](),controller['addAgents']);router['post'](_0x183f('0x12'),auth[_0x183f('0xe')](),controller[_0x183f('0x16')]);router[_0x183f('0x17')](_0x183f('0xd'),auth['isAuthenticated'](),controller[_0x183f('0x18')]);router['delete'](_0x183f('0xd'),auth[_0x183f('0xe')](),controller[_0x183f('0x19')]);router['delete'](_0x183f('0x10'),auth[_0x183f('0xe')](),controller[_0x183f('0x1a')]);router['delete'](_0x183f('0x12'),auth[_0x183f('0xe')](),controller[_0x183f('0x1b')]);module[_0x183f('0x1c')]=router;
\ No newline at end of file
+var _0xa5c0=['/:id','show','getAgents','/:id/teams','getTeams','create','post','/:id/users','addAgents','addTeams','put','update','destroy','removeAgents','delete','removeTeams','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','index','isAuthenticated','describe','get'];(function(_0xd13a88,_0x3c5269){var _0x1c993c=function(_0x245af5){while(--_0x245af5){_0xd13a88['push'](_0xd13a88['shift']());}};_0x1c993c(++_0x3c5269);}(_0xa5c0,0xbf));var _0x0a5c=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xa5c0[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x0a5c('0x0'));var util=require(_0x0a5c('0x1'));var path=require(_0x0a5c('0x2'));var timeout=require('connect-timeout');var express=require(_0x0a5c('0x3'));var router=express[_0x0a5c('0x4')]();var fs_extra=require(_0x0a5c('0x5'));var auth=require(_0x0a5c('0x6'));var interaction=require(_0x0a5c('0x7'));var config=require('../../config/environment');var controller=require('./voicePrefix.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x0a5c('0x8')]);router['get']('/describe',auth[_0x0a5c('0x9')](),controller[_0x0a5c('0xa')]);router[_0x0a5c('0xb')](_0x0a5c('0xc'),auth[_0x0a5c('0x9')](),controller[_0x0a5c('0xd')]);router[_0x0a5c('0xb')]('/:id/users',auth[_0x0a5c('0x9')](),controller[_0x0a5c('0xe')]);router['get'](_0x0a5c('0xf'),auth[_0x0a5c('0x9')](),controller[_0x0a5c('0x10')]);router['post']('/',auth['isAuthenticated'](),controller[_0x0a5c('0x11')]);router[_0x0a5c('0x12')](_0x0a5c('0x13'),auth[_0x0a5c('0x9')](),controller[_0x0a5c('0x14')]);router[_0x0a5c('0x12')](_0x0a5c('0xf'),auth[_0x0a5c('0x9')](),controller[_0x0a5c('0x15')]);router[_0x0a5c('0x16')](_0x0a5c('0xc'),auth[_0x0a5c('0x9')](),controller[_0x0a5c('0x17')]);router['delete']('/:id',auth[_0x0a5c('0x9')](),controller[_0x0a5c('0x18')]);router['delete']('/:id/users',auth['isAuthenticated'](),controller[_0x0a5c('0x19')]);router[_0x0a5c('0x1a')](_0x0a5c('0xf'),auth[_0x0a5c('0x9')](),controller[_0x0a5c('0x1b')]);module[_0x0a5c('0x1c')]=router;
\ No newline at end of file