X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FvoicePrefix%2Findex.js;h=4a549423b67c863e505742980ba3800d51b3e867;hb=30647e0599beaeefd7f4697661375cd56f1291ec;hp=159f2c9218930f7060c819697790ab12ddf588c2;hpb=54b4ff96e83f911255a158fd7e32a0e84ec4b7d0;p=motion2.git diff --git a/server/api/voicePrefix/index.js b/server/api/voicePrefix/index.js index 159f2c9..4a54942 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 _0xdac2=['index','/describe','describe','/:id','show','/:id/users','post','create','addAgents','put','delete','removeAgents','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0x133277,_0xb1d6b2){var _0x5b4a22=function(_0x484c26){while(--_0x484c26){_0x133277['push'](_0x133277['shift']());}};_0x5b4a22(++_0xb1d6b2);}(_0xdac2,0x69));var _0x2dac=function(_0x20e7e3,_0x1529be){_0x20e7e3=_0x20e7e3-0x0;var _0x14b9de=_0xdac2[_0x20e7e3];return _0x14b9de;};'use strict';var multer=require(_0x2dac('0x0'));var util=require(_0x2dac('0x1'));var path=require('path');var timeout=require(_0x2dac('0x2'));var express=require(_0x2dac('0x3'));var router=express[_0x2dac('0x4')]();var fs_extra=require(_0x2dac('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x2dac('0x6'));var config=require(_0x2dac('0x7'));var controller=require('./voicePrefix.controller');router[_0x2dac('0x8')]('/',auth[_0x2dac('0x9')](),controller[_0x2dac('0xa')]);router[_0x2dac('0x8')](_0x2dac('0xb'),auth['isAuthenticated'](),controller[_0x2dac('0xc')]);router[_0x2dac('0x8')](_0x2dac('0xd'),auth[_0x2dac('0x9')](),controller[_0x2dac('0xe')]);router[_0x2dac('0x8')](_0x2dac('0xf'),auth[_0x2dac('0x9')](),controller['getAgents']);router[_0x2dac('0x10')]('/',auth[_0x2dac('0x9')](),controller[_0x2dac('0x11')]);router[_0x2dac('0x10')](_0x2dac('0xf'),auth[_0x2dac('0x9')](),controller[_0x2dac('0x12')]);router[_0x2dac('0x13')](_0x2dac('0xd'),auth[_0x2dac('0x9')](),controller['update']);router[_0x2dac('0x14')]('/:id',auth[_0x2dac('0x9')](),controller['destroy']);router['delete'](_0x2dac('0xf'),auth[_0x2dac('0x9')](),controller[_0x2dac('0x15')]);module[_0x2dac('0x16')]=router; \ No newline at end of file +var _0xb40e=['../../components/interaction/service','../../config/environment','./voicePrefix.controller','get','isAuthenticated','index','/describe','describe','/:id','getAgents','post','create','/:id/users','addAgents','put','update','delete','destroy','removeAgents','exports','multer','path','connect-timeout','express','fs-extra','../../components/auth/service'];(function(_0x4b2436,_0x452299){var _0x4f5ab2=function(_0x5c6679){while(--_0x5c6679){_0x4b2436['push'](_0x4b2436['shift']());}};_0x4f5ab2(++_0x452299);}(_0xb40e,0xca));var _0xeb40=function(_0x1fd675,_0x165dfe){_0x1fd675=_0x1fd675-0x0;var _0x16b554=_0xb40e[_0x1fd675];return _0x16b554;};'use strict';var multer=require(_0xeb40('0x0'));var util=require('util');var path=require(_0xeb40('0x1'));var timeout=require(_0xeb40('0x2'));var express=require(_0xeb40('0x3'));var router=express['Router']();var fs_extra=require(_0xeb40('0x4'));var auth=require(_0xeb40('0x5'));var interaction=require(_0xeb40('0x6'));var config=require(_0xeb40('0x7'));var controller=require(_0xeb40('0x8'));router[_0xeb40('0x9')]('/',auth[_0xeb40('0xa')](),controller[_0xeb40('0xb')]);router['get'](_0xeb40('0xc'),auth['isAuthenticated'](),controller[_0xeb40('0xd')]);router['get'](_0xeb40('0xe'),auth[_0xeb40('0xa')](),controller['show']);router[_0xeb40('0x9')]('/:id/users',auth[_0xeb40('0xa')](),controller[_0xeb40('0xf')]);router[_0xeb40('0x10')]('/',auth['isAuthenticated'](),controller[_0xeb40('0x11')]);router[_0xeb40('0x10')](_0xeb40('0x12'),auth[_0xeb40('0xa')](),controller[_0xeb40('0x13')]);router[_0xeb40('0x14')](_0xeb40('0xe'),auth[_0xeb40('0xa')](),controller[_0xeb40('0x15')]);router[_0xeb40('0x16')](_0xeb40('0xe'),auth[_0xeb40('0xa')](),controller[_0xeb40('0x17')]);router[_0xeb40('0x16')](_0xeb40('0x12'),auth[_0xeb40('0xa')](),controller[_0xeb40('0x18')]);module[_0xeb40('0x19')]=router; \ No newline at end of file