Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / api / voiceRecording / index.js
index b4fb1e7..318b45c 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 _0xc6cf=['/describe','describe','/:id','show','/:id/download','download','/:id/downloads','downloads','/:id/transcribe','post','create','runTranscribe','put','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','index'];(function(_0x5f37b7,_0xa3ac83){var _0xaf9e0=function(_0xb544f1){while(--_0xb544f1){_0x5f37b7['push'](_0x5f37b7['shift']());}};_0xaf9e0(++_0xa3ac83);}(_0xc6cf,0x7b));var _0xfc6c=function(_0x11f227,_0x398379){_0x11f227=_0x11f227-0x0;var _0x13a6a3=_0xc6cf[_0x11f227];return _0x13a6a3;};'use strict';var multer=require(_0xfc6c('0x0'));var util=require(_0xfc6c('0x1'));var path=require(_0xfc6c('0x2'));var timeout=require(_0xfc6c('0x3'));var express=require(_0xfc6c('0x4'));var router=express[_0xfc6c('0x5')]();var fs_extra=require(_0xfc6c('0x6'));var auth=require(_0xfc6c('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0xfc6c('0x8'));var controller=require('./voiceRecording.controller');router[_0xfc6c('0x9')]('/',auth[_0xfc6c('0xa')](),controller[_0xfc6c('0xb')]);router[_0xfc6c('0x9')](_0xfc6c('0xc'),auth[_0xfc6c('0xa')](),controller[_0xfc6c('0xd')]);router[_0xfc6c('0x9')](_0xfc6c('0xe'),auth[_0xfc6c('0xa')](),controller[_0xfc6c('0xf')]);router[_0xfc6c('0x9')](_0xfc6c('0x10'),auth[_0xfc6c('0xa')](),controller[_0xfc6c('0x11')]);router[_0xfc6c('0x9')](_0xfc6c('0x12'),controller[_0xfc6c('0x13')]);router[_0xfc6c('0x9')](_0xfc6c('0x14'),auth[_0xfc6c('0xa')](),controller['downloadTranscribe']);router[_0xfc6c('0x15')]('/',auth[_0xfc6c('0xa')](),controller[_0xfc6c('0x16')]);router[_0xfc6c('0x15')](_0xfc6c('0x14'),auth['isAuthenticated'](),controller[_0xfc6c('0x17')]);router[_0xfc6c('0x18')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0xfc6c('0x19')]('/:id',auth[_0xfc6c('0xa')](),controller[_0xfc6c('0x1a')]);module['exports']=router;
\ No newline at end of file