X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FvoicePrefix%2Findex.js;h=581eb3b4c5f0705261636d5b53dbdea5ebac34e9;hb=63de0c196865c5c3d79c791df925d2ec34a0ad56;hp=15e7d01ba671e834faf65a50d9bdb9747df3ceb2;hpb=262e7062005b3f571634c4983ecdb7eac829efe8;p=motion2.git diff --git a/server/api/voicePrefix/index.js b/server/api/voicePrefix/index.js index 15e7d01..581eb3b 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 _0xbe84=['get','describe','/:id','show','/:id/users','post','create','put','destroy','delete','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voicePrefix.controller','isAuthenticated'];(function(_0x3735c2,_0x2577a1){var _0x174c97=function(_0x318a80){while(--_0x318a80){_0x3735c2['push'](_0x3735c2['shift']());}};_0x174c97(++_0x2577a1);}(_0xbe84,0xdd));var _0x4be8=function(_0x4d8ed9,_0x2ae284){_0x4d8ed9=_0x4d8ed9-0x0;var _0x1e2140=_0xbe84[_0x4d8ed9];return _0x1e2140;};'use strict';var multer=require(_0x4be8('0x0'));var util=require(_0x4be8('0x1'));var path=require(_0x4be8('0x2'));var timeout=require('connect-timeout');var express=require(_0x4be8('0x3'));var router=express[_0x4be8('0x4')]();var auth=require(_0x4be8('0x5'));var interaction=require(_0x4be8('0x6'));var config=require(_0x4be8('0x7'));var controller=require(_0x4be8('0x8'));router['get']('/',auth[_0x4be8('0x9')](),controller['index']);router[_0x4be8('0xa')]('/describe',auth['isAuthenticated'](),controller[_0x4be8('0xb')]);router[_0x4be8('0xa')](_0x4be8('0xc'),auth[_0x4be8('0x9')](),controller[_0x4be8('0xd')]);router[_0x4be8('0xa')](_0x4be8('0xe'),auth[_0x4be8('0x9')](),controller['getAgents']);router[_0x4be8('0xf')]('/',auth[_0x4be8('0x9')](),controller[_0x4be8('0x10')]);router[_0x4be8('0xf')](_0x4be8('0xe'),auth['isAuthenticated'](),controller['addAgents']);router[_0x4be8('0x11')]('/:id',auth[_0x4be8('0x9')](),controller['update']);router['delete'](_0x4be8('0xc'),auth[_0x4be8('0x9')](),controller[_0x4be8('0x12')]);router[_0x4be8('0x13')](_0x4be8('0xe'),auth[_0x4be8('0x9')](),controller['removeAgents']);module[_0x4be8('0x14')]=router; \ No newline at end of file +var _0xe02b=['delete','/:id','destroy','removeAgents','exports','multer','util','path','connect-timeout','express','Router','../../config/environment','./voicePrefix.controller','isAuthenticated','index','get','describe','show','/:id/users','getAgents','post','create','update'];(function(_0x56b29a,_0x446611){var _0x26ba7d=function(_0x224cbe){while(--_0x224cbe){_0x56b29a['push'](_0x56b29a['shift']());}};_0x26ba7d(++_0x446611);}(_0xe02b,0xbd));var _0xbe02=function(_0x37ba5f,_0x20e99c){_0x37ba5f=_0x37ba5f-0x0;var _0x3bcce6=_0xe02b[_0x37ba5f];return _0x3bcce6;};'use strict';var multer=require(_0xbe02('0x0'));var util=require(_0xbe02('0x1'));var path=require(_0xbe02('0x2'));var timeout=require(_0xbe02('0x3'));var express=require(_0xbe02('0x4'));var router=express[_0xbe02('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xbe02('0x6'));var controller=require(_0xbe02('0x7'));router['get']('/',auth[_0xbe02('0x8')](),controller[_0xbe02('0x9')]);router[_0xbe02('0xa')]('/describe',auth[_0xbe02('0x8')](),controller[_0xbe02('0xb')]);router[_0xbe02('0xa')]('/:id',auth[_0xbe02('0x8')](),controller[_0xbe02('0xc')]);router[_0xbe02('0xa')](_0xbe02('0xd'),auth[_0xbe02('0x8')](),controller[_0xbe02('0xe')]);router[_0xbe02('0xf')]('/',auth[_0xbe02('0x8')](),controller[_0xbe02('0x10')]);router[_0xbe02('0xf')](_0xbe02('0xd'),auth['isAuthenticated'](),controller['addAgents']);router['put']('/:id',auth[_0xbe02('0x8')](),controller[_0xbe02('0x11')]);router[_0xbe02('0x12')](_0xbe02('0x13'),auth[_0xbe02('0x8')](),controller[_0xbe02('0x14')]);router[_0xbe02('0x12')]('/:id/users',auth[_0xbe02('0x8')](),controller[_0xbe02('0x15')]);module[_0xbe02('0x16')]=router; \ No newline at end of file