X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FvoiceRecording%2Findex.js;h=f8c64d4829bd3a939c5413912c56c76a9d42a237;hb=784ff39bf52a5b7c5ee0b7b10d0e51f0257b5940;hp=261db73cc2e87007733a44f0ef2f99fcb8c0fc68;hpb=57a6ff3c12b2a7d89dd72175a408772e76ceab2b;p=motion2.git diff --git a/server/api/voiceRecording/index.js b/server/api/voiceRecording/index.js index 261db73..f8c64d4 100644 --- a/server/api/voiceRecording/index.js +++ b/server/api/voiceRecording/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3a24=['/:id/downloads','downloads','post','create','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../config/environment','./voiceRecording.controller','get','isAuthenticated','index','describe','/:id','/:id/download','download'];(function(_0x44ea17,_0x422059){var _0x1d8af1=function(_0x159a75){while(--_0x159a75){_0x44ea17['push'](_0x44ea17['shift']());}};_0x1d8af1(++_0x422059);}(_0x3a24,0x161));var _0x43a2=function(_0xbd08b4,_0x4790ed){_0xbd08b4=_0xbd08b4-0x0;var _0x314f1e=_0x3a24[_0xbd08b4];return _0x314f1e;};'use strict';var multer=require(_0x43a2('0x0'));var util=require(_0x43a2('0x1'));var path=require(_0x43a2('0x2'));var timeout=require(_0x43a2('0x3'));var express=require(_0x43a2('0x4'));var router=express[_0x43a2('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x43a2('0x6'));var controller=require(_0x43a2('0x7'));router[_0x43a2('0x8')]('/',auth[_0x43a2('0x9')](),controller[_0x43a2('0xa')]);router['get']('/describe',auth['isAuthenticated'](),controller[_0x43a2('0xb')]);router[_0x43a2('0x8')](_0x43a2('0xc'),auth['isAuthenticated'](),controller['show']);router['get'](_0x43a2('0xd'),auth['isAuthenticated'](),controller[_0x43a2('0xe')]);router[_0x43a2('0x8')](_0x43a2('0xf'),controller[_0x43a2('0x10')]);router[_0x43a2('0x11')]('/',auth[_0x43a2('0x9')](),controller[_0x43a2('0x12')]);router['put'](_0x43a2('0xc'),auth[_0x43a2('0x9')](),controller[_0x43a2('0x13')]);router[_0x43a2('0x14')](_0x43a2('0xc'),auth[_0x43a2('0x9')](),controller[_0x43a2('0x15')]);module[_0x43a2('0x16')]=router; \ No newline at end of file +var _0xd42f=['download','downloadTranscribe','post','/:id/transcribe','runTranscribe','put','delete','destroy','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceRecording.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/download'];(function(_0xb26415,_0x3ec47e){var _0x4ed5ec=function(_0x286221){while(--_0x286221){_0xb26415['push'](_0xb26415['shift']());}};_0x4ed5ec(++_0x3ec47e);}(_0xd42f,0x1e8));var _0xfd42=function(_0x154fde,_0x426954){_0x154fde=_0x154fde-0x0;var _0x3b8444=_0xd42f[_0x154fde];return _0x3b8444;};'use strict';var multer=require('multer');var util=require(_0xfd42('0x0'));var path=require(_0xfd42('0x1'));var timeout=require(_0xfd42('0x2'));var express=require(_0xfd42('0x3'));var router=express[_0xfd42('0x4')]();var auth=require(_0xfd42('0x5'));var interaction=require(_0xfd42('0x6'));var config=require(_0xfd42('0x7'));var controller=require(_0xfd42('0x8'));router[_0xfd42('0x9')]('/',auth[_0xfd42('0xa')](),controller['index']);router[_0xfd42('0x9')](_0xfd42('0xb'),auth[_0xfd42('0xa')](),controller[_0xfd42('0xc')]);router[_0xfd42('0x9')](_0xfd42('0xd'),auth[_0xfd42('0xa')](),controller[_0xfd42('0xe')]);router[_0xfd42('0x9')](_0xfd42('0xf'),auth[_0xfd42('0xa')](),controller[_0xfd42('0x10')]);router[_0xfd42('0x9')]('/:id/downloads',controller['downloads']);router[_0xfd42('0x9')]('/:id/transcribe',auth['isAuthenticated'](),controller[_0xfd42('0x11')]);router[_0xfd42('0x12')]('/',auth['isAuthenticated'](),controller['create']);router[_0xfd42('0x12')](_0xfd42('0x13'),auth[_0xfd42('0xa')](),controller[_0xfd42('0x14')]);router[_0xfd42('0x15')](_0xfd42('0xd'),auth[_0xfd42('0xa')](),controller['update']);router[_0xfd42('0x16')](_0xfd42('0xd'),auth['isAuthenticated'](),controller[_0xfd42('0x17')]);module['exports']=router; \ No newline at end of file