Built motion from commit b5413ace.|2.6.9
[motion2.git] / server / api / voiceRecording / index.js
index f483bb0..9ba0981 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x313a=['util','connect-timeout','express','Router','fs-extra','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id','show','/:id/download','/:id/downloads','/:id/transcribe','downloadTranscribe','post','runTranscribe','put','update','delete','destroy','exports'];(function(_0x38a244,_0x48006f){var _0x3b0237=function(_0x2b0456){while(--_0x2b0456){_0x38a244['push'](_0x38a244['shift']());}};_0x3b0237(++_0x48006f);}(_0x313a,0xd8));var _0xa313=function(_0xf0bcac,_0x531755){_0xf0bcac=_0xf0bcac-0x0;var _0x4e4c65=_0x313a[_0xf0bcac];return _0x4e4c65;};'use strict';var multer=require('multer');var util=require(_0xa313('0x0'));var path=require('path');var timeout=require(_0xa313('0x1'));var express=require(_0xa313('0x2'));var router=express[_0xa313('0x3')]();var fs_extra=require(_0xa313('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xa313('0x5'));var controller=require('./voiceRecording.controller');router['get']('/',auth[_0xa313('0x6')](),controller[_0xa313('0x7')]);router[_0xa313('0x8')](_0xa313('0x9'),auth[_0xa313('0x6')](),controller[_0xa313('0xa')]);router['get'](_0xa313('0xb'),auth[_0xa313('0x6')](),controller[_0xa313('0xc')]);router['get'](_0xa313('0xd'),auth['isAuthenticated'](),controller['download']);router[_0xa313('0x8')](_0xa313('0xe'),controller['downloads']);router['get'](_0xa313('0xf'),auth['isAuthenticated'](),controller[_0xa313('0x10')]);router[_0xa313('0x11')]('/',auth[_0xa313('0x6')](),controller['create']);router[_0xa313('0x11')](_0xa313('0xf'),auth[_0xa313('0x6')](),controller[_0xa313('0x12')]);router[_0xa313('0x13')](_0xa313('0xb'),auth['isAuthenticated'](),controller[_0xa313('0x14')]);router[_0xa313('0x15')](_0xa313('0xb'),auth[_0xa313('0x6')](),controller[_0xa313('0x16')]);module[_0xa313('0x17')]=router;
\ No newline at end of file
+var _0xff16=['downloadTranscribe','post','create','runTranscribe','put','exports','multer','util','connect-timeout','express','fs-extra','../../config/environment','./voiceRecording.controller','get','isAuthenticated','index','describe','/:id','show','download','/:id/downloads','/:id/transcribe'];(function(_0x8036e9,_0xb2a199){var _0x34a8eb=function(_0xa35740){while(--_0xa35740){_0x8036e9['push'](_0x8036e9['shift']());}};_0x34a8eb(++_0xb2a199);}(_0xff16,0x1be));var _0x6ff1=function(_0x380fd3,_0x46cafb){_0x380fd3=_0x380fd3-0x0;var _0x276675=_0xff16[_0x380fd3];return _0x276675;};'use strict';var multer=require(_0x6ff1('0x0'));var util=require(_0x6ff1('0x1'));var path=require('path');var timeout=require(_0x6ff1('0x2'));var express=require(_0x6ff1('0x3'));var router=express['Router']();var fs_extra=require(_0x6ff1('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x6ff1('0x5'));var controller=require(_0x6ff1('0x6'));router[_0x6ff1('0x7')]('/',auth[_0x6ff1('0x8')](),controller[_0x6ff1('0x9')]);router['get']('/describe',auth['isAuthenticated'](),controller[_0x6ff1('0xa')]);router['get'](_0x6ff1('0xb'),auth[_0x6ff1('0x8')](),controller[_0x6ff1('0xc')]);router['get']('/:id/download',auth[_0x6ff1('0x8')](),controller[_0x6ff1('0xd')]);router[_0x6ff1('0x7')](_0x6ff1('0xe'),controller['downloads']);router[_0x6ff1('0x7')](_0x6ff1('0xf'),auth[_0x6ff1('0x8')](),controller[_0x6ff1('0x10')]);router[_0x6ff1('0x11')]('/',auth['isAuthenticated'](),controller[_0x6ff1('0x12')]);router['post'](_0x6ff1('0xf'),auth[_0x6ff1('0x8')](),controller[_0x6ff1('0x13')]);router[_0x6ff1('0x14')](_0x6ff1('0xb'),auth[_0x6ff1('0x8')](),controller['update']);router['delete'](_0x6ff1('0xb'),auth['isAuthenticated'](),controller['destroy']);module[_0x6ff1('0x15')]=router;
\ No newline at end of file