Built motion from commit 9d7072cc.|2.5.39
[motion2.git] / server / api / voiceRecording / index.js
index 261db73..6827074 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3a24=['/:id/downloads','downloads','post','create','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../config/environment','./voiceRecording.controller','get','isAuthenticated','index','describe','/:id','/:id/download','download'];(function(_0x44ea17,_0x422059){var _0x1d8af1=function(_0x159a75){while(--_0x159a75){_0x44ea17['push'](_0x44ea17['shift']());}};_0x1d8af1(++_0x422059);}(_0x3a24,0x161));var _0x43a2=function(_0xbd08b4,_0x4790ed){_0xbd08b4=_0xbd08b4-0x0;var _0x314f1e=_0x3a24[_0xbd08b4];return _0x314f1e;};'use strict';var multer=require(_0x43a2('0x0'));var util=require(_0x43a2('0x1'));var path=require(_0x43a2('0x2'));var timeout=require(_0x43a2('0x3'));var express=require(_0x43a2('0x4'));var router=express[_0x43a2('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x43a2('0x6'));var controller=require(_0x43a2('0x7'));router[_0x43a2('0x8')]('/',auth[_0x43a2('0x9')](),controller[_0x43a2('0xa')]);router['get']('/describe',auth['isAuthenticated'](),controller[_0x43a2('0xb')]);router[_0x43a2('0x8')](_0x43a2('0xc'),auth['isAuthenticated'](),controller['show']);router['get'](_0x43a2('0xd'),auth['isAuthenticated'](),controller[_0x43a2('0xe')]);router[_0x43a2('0x8')](_0x43a2('0xf'),controller[_0x43a2('0x10')]);router[_0x43a2('0x11')]('/',auth[_0x43a2('0x9')](),controller[_0x43a2('0x12')]);router['put'](_0x43a2('0xc'),auth[_0x43a2('0x9')](),controller[_0x43a2('0x13')]);router[_0x43a2('0x14')](_0x43a2('0xc'),auth[_0x43a2('0x9')](),controller[_0x43a2('0x15')]);module[_0x43a2('0x16')]=router;
\ No newline at end of file
+var _0xa5ea=['runTranscribe','update','delete','exports','multer','util','express','../../components/auth/service','../../components/interaction/service','./voiceRecording.controller','get','index','isAuthenticated','describe','/:id','show','/:id/download','downloads','/:id/transcribe','post','create'];(function(_0x410144,_0x34fb98){var _0x3e3281=function(_0x41a4e6){while(--_0x41a4e6){_0x410144['push'](_0x410144['shift']());}};_0x3e3281(++_0x34fb98);}(_0xa5ea,0x1a8));var _0xaa5e=function(_0x327ec4,_0x33913b){_0x327ec4=_0x327ec4-0x0;var _0x4536bf=_0xa5ea[_0x327ec4];return _0x4536bf;};'use strict';var multer=require(_0xaa5e('0x0'));var util=require(_0xaa5e('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xaa5e('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xaa5e('0x3'));var interaction=require(_0xaa5e('0x4'));var config=require('../../config/environment');var controller=require(_0xaa5e('0x5'));router[_0xaa5e('0x6')]('/',auth['isAuthenticated'](),controller[_0xaa5e('0x7')]);router[_0xaa5e('0x6')]('/describe',auth[_0xaa5e('0x8')](),controller[_0xaa5e('0x9')]);router['get'](_0xaa5e('0xa'),auth[_0xaa5e('0x8')](),controller[_0xaa5e('0xb')]);router[_0xaa5e('0x6')](_0xaa5e('0xc'),auth[_0xaa5e('0x8')](),controller['download']);router[_0xaa5e('0x6')]('/:id/downloads',controller[_0xaa5e('0xd')]);router['get'](_0xaa5e('0xe'),auth[_0xaa5e('0x8')](),controller['downloadTranscribe']);router[_0xaa5e('0xf')]('/',auth['isAuthenticated'](),controller[_0xaa5e('0x10')]);router[_0xaa5e('0xf')](_0xaa5e('0xe'),auth[_0xaa5e('0x8')](),controller[_0xaa5e('0x11')]);router['put'](_0xaa5e('0xa'),auth['isAuthenticated'](),controller[_0xaa5e('0x12')]);router[_0xaa5e('0x13')](_0xaa5e('0xa'),auth['isAuthenticated'](),controller['destroy']);module[_0xaa5e('0x14')]=router;
\ No newline at end of file