Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / voiceRecording / index.js
index e37437c..938c337 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(_0x11b2da,_0x4ea9aa){var _0x14676f=function(_0x5946b6){while(--_0x5946b6){_0x11b2da['push'](_0x11b2da['shift']());}};_0x14676f(++_0x4ea9aa);}(_0xa9e0,0x123));var _0x0a9e=function(_0xbb091,_0x3fe7ee){_0xbb091=_0xbb091-0x0;var _0x467a04=_0xa9e0[_0xbb091];return _0x467a04;};'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 _0xb9b1=['util','connect-timeout','express','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/download','download','/:id/downloads','/:id/transcribe','create','post','update','delete','exports','multer'];(function(_0x34c30b,_0x83d8d6){var _0xb787ab=function(_0x2938a4){while(--_0x2938a4){_0x34c30b['push'](_0x34c30b['shift']());}};_0xb787ab(++_0x83d8d6);}(_0xb9b1,0x12a));var _0x1b9b=function(_0x584bdd,_0x40997c){_0x584bdd=_0x584bdd-0x0;var _0x5d5298=_0xb9b1[_0x584bdd];return _0x5d5298;};'use strict';var multer=require(_0x1b9b('0x0'));var util=require(_0x1b9b('0x1'));var path=require('path');var timeout=require(_0x1b9b('0x2'));var express=require(_0x1b9b('0x3'));var router=express[_0x1b9b('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x1b9b('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x1b9b('0x6'));var controller=require('./voiceRecording.controller');router[_0x1b9b('0x7')]('/',auth[_0x1b9b('0x8')](),controller[_0x1b9b('0x9')]);router['get'](_0x1b9b('0xa'),auth[_0x1b9b('0x8')](),controller[_0x1b9b('0xb')]);router[_0x1b9b('0x7')](_0x1b9b('0xc'),auth[_0x1b9b('0x8')](),controller[_0x1b9b('0xd')]);router['get'](_0x1b9b('0xe'),auth[_0x1b9b('0x8')](),controller[_0x1b9b('0xf')]);router[_0x1b9b('0x7')](_0x1b9b('0x10'),controller['downloads']);router[_0x1b9b('0x7')](_0x1b9b('0x11'),auth[_0x1b9b('0x8')](),controller['downloadTranscribe']);router['post']('/',auth[_0x1b9b('0x8')](),controller[_0x1b9b('0x12')]);router[_0x1b9b('0x13')](_0x1b9b('0x11'),auth['isAuthenticated'](),controller['runTranscribe']);router['put'](_0x1b9b('0xc'),auth[_0x1b9b('0x8')](),controller[_0x1b9b('0x14')]);router[_0x1b9b('0x15')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0x1b9b('0x16')]=router;
\ No newline at end of file