Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / api / voiceRecording / index.js
index ed9adc6..179e34f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x567a=['../../config/environment','./voiceRecording.controller','get','isAuthenticated','index','show','download','downloads','post','create','/:id','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x3e2708,_0x29ea9c){var _0x1ad64a=function(_0xa38717){while(--_0xa38717){_0x3e2708['push'](_0x3e2708['shift']());}};_0x1ad64a(++_0x29ea9c);}(_0x567a,0xbe));var _0xa567=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x567a[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xa567('0x0'));var util=require(_0xa567('0x1'));var path=require(_0xa567('0x2'));var timeout=require(_0xa567('0x3'));var express=require(_0xa567('0x4'));var router=express[_0xa567('0x5')]();var auth=require(_0xa567('0x6'));var interaction=require(_0xa567('0x7'));var config=require(_0xa567('0x8'));var controller=require(_0xa567('0x9'));router[_0xa567('0xa')]('/',auth[_0xa567('0xb')](),controller[_0xa567('0xc')]);router[_0xa567('0xa')]('/describe',auth['isAuthenticated'](),controller['describe']);router['get']('/:id',auth[_0xa567('0xb')](),controller[_0xa567('0xd')]);router['get']('/:id/download',auth[_0xa567('0xb')](),controller[_0xa567('0xe')]);router[_0xa567('0xa')]('/:id/downloads',controller[_0xa567('0xf')]);router[_0xa567('0x10')]('/',auth[_0xa567('0xb')](),controller[_0xa567('0x11')]);router['put'](_0xa567('0x12'),auth[_0xa567('0xb')](),controller['update']);router[_0xa567('0x13')](_0xa567('0x12'),auth[_0xa567('0xb')](),controller[_0xa567('0x14')]);module[_0xa567('0x15')]=router;
\ No newline at end of file
+var _0x0f0f=['/:id/downloads','downloadTranscribe','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','describe','/:id','/:id/download','download'];(function(_0x364154,_0x399863){var _0x413d88=function(_0xfca2c5){while(--_0xfca2c5){_0x364154['push'](_0x364154['shift']());}};_0x413d88(++_0x399863);}(_0x0f0f,0x105));var _0xf0f0=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x0f0f[_0x20a584];return _0x4b41a8;};'use strict';var multer=require(_0xf0f0('0x0'));var util=require(_0xf0f0('0x1'));var path=require(_0xf0f0('0x2'));var timeout=require(_0xf0f0('0x3'));var express=require(_0xf0f0('0x4'));var router=express[_0xf0f0('0x5')]();var auth=require(_0xf0f0('0x6'));var interaction=require(_0xf0f0('0x7'));var config=require('../../config/environment');var controller=require('./voiceRecording.controller');router[_0xf0f0('0x8')]('/',auth[_0xf0f0('0x9')](),controller[_0xf0f0('0xa')]);router[_0xf0f0('0x8')]('/describe',auth[_0xf0f0('0x9')](),controller[_0xf0f0('0xb')]);router[_0xf0f0('0x8')](_0xf0f0('0xc'),auth[_0xf0f0('0x9')](),controller['show']);router['get'](_0xf0f0('0xd'),auth[_0xf0f0('0x9')](),controller[_0xf0f0('0xe')]);router[_0xf0f0('0x8')](_0xf0f0('0xf'),controller['downloads']);router[_0xf0f0('0x8')]('/:id/transcribe',auth[_0xf0f0('0x9')](),controller[_0xf0f0('0x10')]);router['post']('/',auth[_0xf0f0('0x9')](),controller[_0xf0f0('0x11')]);router['post']('/:id/transcribe',auth['isAuthenticated'](),controller['runTranscribe']);router[_0xf0f0('0x12')](_0xf0f0('0xc'),auth[_0xf0f0('0x9')](),controller[_0xf0f0('0x13')]);router[_0xf0f0('0x14')](_0xf0f0('0xc'),auth['isAuthenticated'](),controller[_0xf0f0('0x15')]);module[_0xf0f0('0x16')]=router;
\ No newline at end of file