Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / voiceRecording / index.js
index b4fb1e7..4f7db18 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5fde=['downloadTranscribe','post','create','update','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','get','isAuthenticated','index','describe','/:id','show','/:id/download','download','downloads'];(function(_0x4c8a8f,_0x997ef){var _0x404500=function(_0x1c6072){while(--_0x1c6072){_0x4c8a8f['push'](_0x4c8a8f['shift']());}};_0x404500(++_0x997ef);}(_0x5fde,0x1e9));var _0xe5fd=function(_0x38fe15,_0x51a182){_0x38fe15=_0x38fe15-0x0;var _0x28ed8a=_0x5fde[_0x38fe15];return _0x28ed8a;};'use strict';var multer=require(_0xe5fd('0x0'));var util=require(_0xe5fd('0x1'));var path=require(_0xe5fd('0x2'));var timeout=require(_0xe5fd('0x3'));var express=require(_0xe5fd('0x4'));var router=express[_0xe5fd('0x5')]();var fs_extra=require(_0xe5fd('0x6'));var auth=require(_0xe5fd('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./voiceRecording.controller');router[_0xe5fd('0x8')]('/',auth[_0xe5fd('0x9')](),controller[_0xe5fd('0xa')]);router[_0xe5fd('0x8')]('/describe',auth[_0xe5fd('0x9')](),controller[_0xe5fd('0xb')]);router[_0xe5fd('0x8')](_0xe5fd('0xc'),auth[_0xe5fd('0x9')](),controller[_0xe5fd('0xd')]);router[_0xe5fd('0x8')](_0xe5fd('0xe'),auth[_0xe5fd('0x9')](),controller[_0xe5fd('0xf')]);router[_0xe5fd('0x8')]('/:id/downloads',controller[_0xe5fd('0x10')]);router[_0xe5fd('0x8')]('/:id/transcribe',auth[_0xe5fd('0x9')](),controller[_0xe5fd('0x11')]);router[_0xe5fd('0x12')]('/',auth[_0xe5fd('0x9')](),controller[_0xe5fd('0x13')]);router[_0xe5fd('0x12')]('/:id/transcribe',auth['isAuthenticated'](),controller['runTranscribe']);router['put'](_0xe5fd('0xc'),auth['isAuthenticated'](),controller[_0xe5fd('0x14')]);router['delete']('/:id',auth[_0xe5fd('0x9')](),controller[_0xe5fd('0x15')]);module['exports']=router;
\ No newline at end of file
+var _0x66bd=['./voiceRecording.controller','get','isAuthenticated','index','describe','show','/:id/downloads','downloads','downloadTranscribe','create','post','/:id/transcribe','put','/:id','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x3a916d,_0x21280c){var _0x194d62=function(_0x4afbc7){while(--_0x4afbc7){_0x3a916d['push'](_0x3a916d['shift']());}};_0x194d62(++_0x21280c);}(_0x66bd,0x149));var _0xd66b=function(_0x56d591,_0x3191a3){_0x56d591=_0x56d591-0x0;var _0x4bf0ff=_0x66bd[_0x56d591];return _0x4bf0ff;};'use strict';var multer=require(_0xd66b('0x0'));var util=require(_0xd66b('0x1'));var path=require(_0xd66b('0x2'));var timeout=require(_0xd66b('0x3'));var express=require(_0xd66b('0x4'));var router=express['Router']();var fs_extra=require(_0xd66b('0x5'));var auth=require(_0xd66b('0x6'));var interaction=require(_0xd66b('0x7'));var config=require(_0xd66b('0x8'));var controller=require(_0xd66b('0x9'));router[_0xd66b('0xa')]('/',auth[_0xd66b('0xb')](),controller[_0xd66b('0xc')]);router[_0xd66b('0xa')]('/describe',auth[_0xd66b('0xb')](),controller[_0xd66b('0xd')]);router[_0xd66b('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xd66b('0xe')]);router[_0xd66b('0xa')]('/:id/download',auth[_0xd66b('0xb')](),controller['download']);router[_0xd66b('0xa')](_0xd66b('0xf'),controller[_0xd66b('0x10')]);router['get']('/:id/transcribe',auth[_0xd66b('0xb')](),controller[_0xd66b('0x11')]);router['post']('/',auth[_0xd66b('0xb')](),controller[_0xd66b('0x12')]);router[_0xd66b('0x13')](_0xd66b('0x14'),auth[_0xd66b('0xb')](),controller['runTranscribe']);router[_0xd66b('0x15')](_0xd66b('0x16'),auth[_0xd66b('0xb')](),controller['update']);router[_0xd66b('0x17')]('/:id',auth[_0xd66b('0xb')](),controller[_0xd66b('0x18')]);module[_0xd66b('0x19')]=router;
\ No newline at end of file