X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FvoicePrefix%2Findex.js;h=5ea9b297594082e8c4199f309ad9606fa0d1249b;hb=9de5174448f6124e143d4b68967b102fec513aee;hp=9f07ad4fbdc6bfbfbca0bf68fcecfde7f8e501a3;hpb=8e2eddd7ebca3d533fed92df8556303e2e510136;p=motion2.git diff --git a/server/api/voicePrefix/index.js b/server/api/voicePrefix/index.js index 9f07ad4..5ea9b29 100644 --- a/server/api/voicePrefix/index.js +++ b/server/api/voicePrefix/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xceee=['post','create','addAgents','/:id/teams','put','/:id','update','delete','destroy','removeAgents','removeTeams','exports','multer','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id/users'];(function(_0x11efa4,_0x53b156){var _0x38955e=function(_0xb710f5){while(--_0xb710f5){_0x11efa4['push'](_0x11efa4['shift']());}};_0x38955e(++_0x53b156);}(_0xceee,0xbb));var _0xecee=function(_0xcbe794,_0x5292b7){_0xcbe794=_0xcbe794-0x0;var _0x23237f=_0xceee[_0xcbe794];return _0x23237f;};'use strict';var multer=require(_0xecee('0x0'));var util=require(_0xecee('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xecee('0x2'));var router=express[_0xecee('0x3')]();var fs_extra=require(_0xecee('0x4'));var auth=require(_0xecee('0x5'));var interaction=require(_0xecee('0x6'));var config=require(_0xecee('0x7'));var controller=require('./voicePrefix.controller');router[_0xecee('0x8')]('/',auth[_0xecee('0x9')](),controller[_0xecee('0xa')]);router[_0xecee('0x8')]('/describe',auth['isAuthenticated'](),controller[_0xecee('0xb')]);router[_0xecee('0x8')]('/:id',auth[_0xecee('0x9')](),controller['show']);router['get'](_0xecee('0xc'),auth[_0xecee('0x9')](),controller['getAgents']);router['get']('/:id/teams',auth[_0xecee('0x9')](),controller['getTeams']);router[_0xecee('0xd')]('/',auth['isAuthenticated'](),controller[_0xecee('0xe')]);router[_0xecee('0xd')](_0xecee('0xc'),auth[_0xecee('0x9')](),controller[_0xecee('0xf')]);router[_0xecee('0xd')](_0xecee('0x10'),auth[_0xecee('0x9')](),controller['addTeams']);router[_0xecee('0x11')](_0xecee('0x12'),auth[_0xecee('0x9')](),controller[_0xecee('0x13')]);router[_0xecee('0x14')]('/:id',auth[_0xecee('0x9')](),controller[_0xecee('0x15')]);router[_0xecee('0x14')](_0xecee('0xc'),auth[_0xecee('0x9')](),controller[_0xecee('0x16')]);router[_0xecee('0x14')](_0xecee('0x10'),auth[_0xecee('0x9')](),controller[_0xecee('0x17')]);module[_0xecee('0x18')]=router; \ No newline at end of file +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