Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / voiceRecording / index.js
index 179e34f..19549a6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0x890e=['./voiceRecording.controller','get','isAuthenticated','index','describe','show','/:id/download','/:id/downloads','/:id/transcribe','downloadTranscribe','create','post','runTranscribe','put','/:id','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x82129b,_0x484ae9){var _0x2ae5dc=function(_0x299e34){while(--_0x299e34){_0x82129b['push'](_0x82129b['shift']());}};_0x2ae5dc(++_0x484ae9);}(_0x890e,0xb4));var _0xe890=function(_0x1e1268,_0x3f7692){_0x1e1268=_0x1e1268-0x0;var _0x53c294=_0x890e[_0x1e1268];return _0x53c294;};'use strict';var multer=require(_0xe890('0x0'));var util=require(_0xe890('0x1'));var path=require(_0xe890('0x2'));var timeout=require(_0xe890('0x3'));var express=require(_0xe890('0x4'));var router=express[_0xe890('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xe890('0x6'));var interaction=require(_0xe890('0x7'));var config=require(_0xe890('0x8'));var controller=require(_0xe890('0x9'));router[_0xe890('0xa')]('/',auth[_0xe890('0xb')](),controller[_0xe890('0xc')]);router[_0xe890('0xa')]('/describe',auth['isAuthenticated'](),controller[_0xe890('0xd')]);router[_0xe890('0xa')]('/:id',auth[_0xe890('0xb')](),controller[_0xe890('0xe')]);router[_0xe890('0xa')](_0xe890('0xf'),auth[_0xe890('0xb')](),controller['download']);router[_0xe890('0xa')](_0xe890('0x10'),controller['downloads']);router['get'](_0xe890('0x11'),auth[_0xe890('0xb')](),controller[_0xe890('0x12')]);router['post']('/',auth[_0xe890('0xb')](),controller[_0xe890('0x13')]);router[_0xe890('0x14')]('/:id/transcribe',auth[_0xe890('0xb')](),controller[_0xe890('0x15')]);router[_0xe890('0x16')](_0xe890('0x17'),auth[_0xe890('0xb')](),controller[_0xe890('0x18')]);router[_0xe890('0x19')](_0xe890('0x17'),auth[_0xe890('0xb')](),controller['destroy']);module[_0xe890('0x1a')]=router;
\ No newline at end of file