X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FvoiceAgentReport%2Findex.js;h=56b5ccaaf8d5db38dd39eec3ea2dd2489750c205;hb=868a31873a4f5d6a45b7a9cfef882f2e311d37fa;hp=53729c5e7c2b1aa1b6ff9e650463a129d9ba579f;hpb=08f6e0b86d261e0f7c3417afd107d7f774257198;p=motion2.git diff --git a/server/api/voiceAgentReport/index.js b/server/api/voiceAgentReport/index.js index 53729c5..56b5cca 100644 --- a/server/api/voiceAgentReport/index.js +++ b/server/api/voiceAgentReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc976=['delete','/:id','destroy','exports','multer','util','path','connect-timeout','express','Router','../../config/environment','isAuthenticated','index','get','/describe','show','post','create','update'];(function(_0x57396e,_0x46d2fb){var _0x23b309=function(_0x548ea4){while(--_0x548ea4){_0x57396e['push'](_0x57396e['shift']());}};_0x23b309(++_0x46d2fb);}(_0xc976,0x147));var _0x6c97=function(_0x139b98,_0x373e13){_0x139b98=_0x139b98-0x0;var _0x53aadc=_0xc976[_0x139b98];return _0x53aadc;};'use strict';var multer=require(_0x6c97('0x0'));var util=require(_0x6c97('0x1'));var path=require(_0x6c97('0x2'));var timeout=require(_0x6c97('0x3'));var express=require(_0x6c97('0x4'));var router=express[_0x6c97('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x6c97('0x6'));var controller=require('./voiceAgentReport.controller');router['get']('/',auth[_0x6c97('0x7')](),controller[_0x6c97('0x8')]);router[_0x6c97('0x9')](_0x6c97('0xa'),auth[_0x6c97('0x7')](),controller['describe']);router[_0x6c97('0x9')]('/:id',auth[_0x6c97('0x7')](),controller[_0x6c97('0xb')]);router[_0x6c97('0xc')]('/',auth['isAuthenticated'](),controller[_0x6c97('0xd')]);router['put']('/:id',auth[_0x6c97('0x7')](),controller[_0x6c97('0xe')]);router[_0x6c97('0xf')](_0x6c97('0x10'),auth[_0x6c97('0x7')](),controller[_0x6c97('0x11')]);module[_0x6c97('0x12')]=router; \ No newline at end of file +var _0x554f=['/describe','describe','/:id','show','post','put','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','./voiceAgentReport.controller','get','isAuthenticated','index'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0x554f,0x170));var _0xf554=function(_0x1443eb,_0x203408){_0x1443eb=_0x1443eb-0x0;var _0x2b8810=_0x554f[_0x1443eb];return _0x2b8810;};'use strict';var multer=require(_0xf554('0x0'));var util=require(_0xf554('0x1'));var path=require(_0xf554('0x2'));var timeout=require(_0xf554('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0xf554('0x4'));var interaction=require(_0xf554('0x5'));var config=require('../../config/environment');var controller=require(_0xf554('0x6'));router[_0xf554('0x7')]('/',auth[_0xf554('0x8')](),controller[_0xf554('0x9')]);router[_0xf554('0x7')](_0xf554('0xa'),auth[_0xf554('0x8')](),controller[_0xf554('0xb')]);router['get'](_0xf554('0xc'),auth['isAuthenticated'](),controller[_0xf554('0xd')]);router[_0xf554('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0xf554('0xf')](_0xf554('0xc'),auth[_0xf554('0x8')](),controller['update']);router['delete']('/:id',auth[_0xf554('0x8')](),controller[_0xf554('0x10')]);module[_0xf554('0x11')]=router; \ No newline at end of file