Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / voiceRecording / index.js
index 179e34f..eb017d8 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 _0x268e=['isAuthenticated','index','/describe','show','/:id/download','download','/:id/downloads','downloads','/:id/transcribe','post','runTranscribe','update','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./voiceRecording.controller','get'];(function(_0x23b4d2,_0xa0d574){var _0x178075=function(_0x9f1520){while(--_0x9f1520){_0x23b4d2['push'](_0x23b4d2['shift']());}};_0x178075(++_0xa0d574);}(_0x268e,0x1d0));var _0xe268=function(_0x136b44,_0x4589c8){_0x136b44=_0x136b44-0x0;var _0x574ddd=_0x268e[_0x136b44];return _0x574ddd;};'use strict';var multer=require(_0xe268('0x0'));var util=require(_0xe268('0x1'));var path=require(_0xe268('0x2'));var timeout=require(_0xe268('0x3'));var express=require(_0xe268('0x4'));var router=express[_0xe268('0x5')]();var fs_extra=require(_0xe268('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xe268('0x7'));var config=require(_0xe268('0x8'));var controller=require(_0xe268('0x9'));router[_0xe268('0xa')]('/',auth[_0xe268('0xb')](),controller[_0xe268('0xc')]);router['get'](_0xe268('0xd'),auth[_0xe268('0xb')](),controller['describe']);router['get']('/:id',auth[_0xe268('0xb')](),controller[_0xe268('0xe')]);router[_0xe268('0xa')](_0xe268('0xf'),auth['isAuthenticated'](),controller[_0xe268('0x10')]);router['get'](_0xe268('0x11'),controller[_0xe268('0x12')]);router[_0xe268('0xa')](_0xe268('0x13'),auth[_0xe268('0xb')](),controller['downloadTranscribe']);router[_0xe268('0x14')]('/',auth[_0xe268('0xb')](),controller['create']);router[_0xe268('0x14')](_0xe268('0x13'),auth[_0xe268('0xb')](),controller[_0xe268('0x15')]);router['put']('/:id',auth[_0xe268('0xb')](),controller[_0xe268('0x16')]);router[_0xe268('0x17')]('/:id',auth[_0xe268('0xb')](),controller[_0xe268('0x18')]);module['exports']=router;
\ No newline at end of file