Built motion from commit (unavailable).|2.5.29
[motion2.git] / server / api / voiceRecording / index.js
index 19906e9..3e12987 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe7a3=['Router','../../components/auth/service','../../components/interaction/service','./voiceRecording.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/download','downloadTranscribe','post','create','runTranscribe','put','delete','destroy','multer','path','connect-timeout','express'];(function(_0x555480,_0x320fdf){var _0x1f4390=function(_0x27604a){while(--_0x27604a){_0x555480['push'](_0x555480['shift']());}};_0x1f4390(++_0x320fdf);}(_0xe7a3,0x6a));var _0x3e7a=function(_0x3eedf6,_0x243a6a){_0x3eedf6=_0x3eedf6-0x0;var _0x28f7bb=_0xe7a3[_0x3eedf6];return _0x28f7bb;};'use strict';var multer=require(_0x3e7a('0x0'));var util=require('util');var path=require(_0x3e7a('0x1'));var timeout=require(_0x3e7a('0x2'));var express=require(_0x3e7a('0x3'));var router=express[_0x3e7a('0x4')]();var auth=require(_0x3e7a('0x5'));var interaction=require(_0x3e7a('0x6'));var config=require('../../config/environment');var controller=require(_0x3e7a('0x7'));router[_0x3e7a('0x8')]('/',auth[_0x3e7a('0x9')](),controller['index']);router[_0x3e7a('0x8')](_0x3e7a('0xa'),auth[_0x3e7a('0x9')](),controller[_0x3e7a('0xb')]);router['get'](_0x3e7a('0xc'),auth[_0x3e7a('0x9')](),controller[_0x3e7a('0xd')]);router['get'](_0x3e7a('0xe'),auth[_0x3e7a('0x9')](),controller['download']);router[_0x3e7a('0x8')]('/:id/downloads',controller['downloads']);router['get']('/:id/transcribe',auth[_0x3e7a('0x9')](),controller[_0x3e7a('0xf')]);router[_0x3e7a('0x10')]('/',auth[_0x3e7a('0x9')](),controller[_0x3e7a('0x11')]);router[_0x3e7a('0x10')]('/:id/transcribe',auth[_0x3e7a('0x9')](),controller[_0x3e7a('0x12')]);router[_0x3e7a('0x13')](_0x3e7a('0xc'),auth['isAuthenticated'](),controller['update']);router[_0x3e7a('0x14')](_0x3e7a('0xc'),auth['isAuthenticated'](),controller[_0x3e7a('0x15')]);module['exports']=router;
\ No newline at end of file
+var _0x3fa5=['/:id/transcribe','downloadTranscribe','post','create','put','update','delete','/:id','exports','multer','util','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id/download','download','/:id/downloads','downloads'];(function(_0x3902b8,_0x4b013a){var _0x345127=function(_0x333616){while(--_0x333616){_0x3902b8['push'](_0x3902b8['shift']());}};_0x345127(++_0x4b013a);}(_0x3fa5,0xea));var _0x53fa=function(_0x47969c,_0x5c88b5){_0x47969c=_0x47969c-0x0;var _0x2b218d=_0x3fa5[_0x47969c];return _0x2b218d;};'use strict';var multer=require(_0x53fa('0x0'));var util=require(_0x53fa('0x1'));var path=require('path');var timeout=require(_0x53fa('0x2'));var express=require(_0x53fa('0x3'));var router=express['Router']();var fs_extra=require(_0x53fa('0x4'));var auth=require(_0x53fa('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x53fa('0x6'));var controller=require('./voiceRecording.controller');router[_0x53fa('0x7')]('/',auth[_0x53fa('0x8')](),controller[_0x53fa('0x9')]);router[_0x53fa('0x7')](_0x53fa('0xa'),auth[_0x53fa('0x8')](),controller[_0x53fa('0xb')]);router[_0x53fa('0x7')]('/:id',auth[_0x53fa('0x8')](),controller['show']);router['get'](_0x53fa('0xc'),auth[_0x53fa('0x8')](),controller[_0x53fa('0xd')]);router[_0x53fa('0x7')](_0x53fa('0xe'),controller[_0x53fa('0xf')]);router[_0x53fa('0x7')](_0x53fa('0x10'),auth['isAuthenticated'](),controller[_0x53fa('0x11')]);router[_0x53fa('0x12')]('/',auth[_0x53fa('0x8')](),controller[_0x53fa('0x13')]);router['post'](_0x53fa('0x10'),auth[_0x53fa('0x8')](),controller['runTranscribe']);router[_0x53fa('0x14')]('/:id',auth[_0x53fa('0x8')](),controller[_0x53fa('0x15')]);router[_0x53fa('0x16')](_0x53fa('0x17'),auth[_0x53fa('0x8')](),controller['destroy']);module[_0x53fa('0x18')]=router;
\ No newline at end of file