Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / voiceRecording / index.js
index 8fd2088..cd64ed6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa9e0=['isAuthenticated','/describe','/:id','/:id/download','download','/:id/downloads','downloadTranscribe','post','create','/:id/transcribe','runTranscribe','put','update','delete','exports','multer','util','path','Router','../../components/interaction/service','../../config/environment','./voiceRecording.controller','get'];(function(_0x28bcbc,_0x30ec21){var _0x3a814e=function(_0x175dc0){while(--_0x175dc0){_0x28bcbc['push'](_0x28bcbc['shift']());}};_0x3a814e(++_0x30ec21);}(_0xa9e0,0x123));var _0x0a9e=function(_0x4c7fb5,_0x2548ef){_0x4c7fb5=_0x4c7fb5-0x0;var _0x2e10ac=_0xa9e0[_0x4c7fb5];return _0x2e10ac;};'use strict';var multer=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var path=require(_0x0a9e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0a9e('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x0a9e('0x4'));var config=require(_0x0a9e('0x5'));var controller=require(_0x0a9e('0x6'));router[_0x0a9e('0x7')]('/',auth[_0x0a9e('0x8')](),controller['index']);router[_0x0a9e('0x7')](_0x0a9e('0x9'),auth[_0x0a9e('0x8')](),controller['describe']);router['get'](_0x0a9e('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x0a9e('0x7')](_0x0a9e('0xb'),auth[_0x0a9e('0x8')](),controller[_0x0a9e('0xc')]);router[_0x0a9e('0x7')](_0x0a9e('0xd'),controller['downloads']);router['get']('/:id/transcribe',auth['isAuthenticated'](),controller[_0x0a9e('0xe')]);router[_0x0a9e('0xf')]('/',auth[_0x0a9e('0x8')](),controller[_0x0a9e('0x10')]);router[_0x0a9e('0xf')](_0x0a9e('0x11'),auth['isAuthenticated'](),controller[_0x0a9e('0x12')]);router[_0x0a9e('0x13')](_0x0a9e('0xa'),auth[_0x0a9e('0x8')](),controller[_0x0a9e('0x14')]);router[_0x0a9e('0x15')]('/:id',auth[_0x0a9e('0x8')](),controller['destroy']);module[_0x0a9e('0x16')]=router;
\ No newline at end of file
+var _0x52b7=['create','put','/:id','delete','destroy','exports','multer','util','path','connect-timeout','../../config/environment','./voiceRecording.controller','get','isAuthenticated','index','/describe','describe','show','/:id/download','download','/:id/downloads','downloads','/:id/transcribe','downloadTranscribe','post'];(function(_0x1798a6,_0x5a3643){var _0x9bca9=function(_0x4e8c05){while(--_0x4e8c05){_0x1798a6['push'](_0x1798a6['shift']());}};_0x9bca9(++_0x5a3643);}(_0x52b7,0x164));var _0x752b=function(_0x41e96,_0x4c9b00){_0x41e96=_0x41e96-0x0;var _0x2f16cf=_0x52b7[_0x41e96];return _0x2f16cf;};'use strict';var multer=require(_0x752b('0x0'));var util=require(_0x752b('0x1'));var path=require(_0x752b('0x2'));var timeout=require(_0x752b('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x752b('0x4'));var controller=require(_0x752b('0x5'));router[_0x752b('0x6')]('/',auth[_0x752b('0x7')](),controller[_0x752b('0x8')]);router[_0x752b('0x6')](_0x752b('0x9'),auth[_0x752b('0x7')](),controller[_0x752b('0xa')]);router[_0x752b('0x6')]('/:id',auth[_0x752b('0x7')](),controller[_0x752b('0xb')]);router[_0x752b('0x6')](_0x752b('0xc'),auth[_0x752b('0x7')](),controller[_0x752b('0xd')]);router[_0x752b('0x6')](_0x752b('0xe'),controller[_0x752b('0xf')]);router[_0x752b('0x6')](_0x752b('0x10'),auth[_0x752b('0x7')](),controller[_0x752b('0x11')]);router[_0x752b('0x12')]('/',auth[_0x752b('0x7')](),controller[_0x752b('0x13')]);router['post']('/:id/transcribe',auth[_0x752b('0x7')](),controller['runTranscribe']);router[_0x752b('0x14')](_0x752b('0x15'),auth[_0x752b('0x7')](),controller['update']);router[_0x752b('0x16')](_0x752b('0x15'),auth[_0x752b('0x7')](),controller[_0x752b('0x17')]);module[_0x752b('0x18')]=router;
\ No newline at end of file