Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / voiceRecording / index.js
index c3f8f7b..938c337 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x386a=['/:id/transcribe','downloadTranscribe','post','create','runTranscribe','put','update','delete','destroy','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id','show','/:id/download','download'];(function(_0x2e8c7e,_0x28648a){var _0x48fded=function(_0x55b9c5){while(--_0x55b9c5){_0x2e8c7e['push'](_0x2e8c7e['shift']());}};_0x48fded(++_0x28648a);}(_0x386a,0x71));var _0xa386=function(_0x4fd071,_0x51de2d){_0x4fd071=_0x4fd071-0x0;var _0x13bc05=_0x386a[_0x4fd071];return _0x13bc05;};'use strict';var multer=require(_0xa386('0x0'));var util=require(_0xa386('0x1'));var path=require(_0xa386('0x2'));var timeout=require(_0xa386('0x3'));var express=require('express');var router=express[_0xa386('0x4')]();var auth=require(_0xa386('0x5'));var interaction=require(_0xa386('0x6'));var config=require(_0xa386('0x7'));var controller=require('./voiceRecording.controller');router['get']('/',auth[_0xa386('0x8')](),controller[_0xa386('0x9')]);router[_0xa386('0xa')](_0xa386('0xb'),auth[_0xa386('0x8')](),controller[_0xa386('0xc')]);router[_0xa386('0xa')](_0xa386('0xd'),auth['isAuthenticated'](),controller[_0xa386('0xe')]);router[_0xa386('0xa')](_0xa386('0xf'),auth[_0xa386('0x8')](),controller[_0xa386('0x10')]);router[_0xa386('0xa')]('/:id/downloads',controller['downloads']);router[_0xa386('0xa')](_0xa386('0x11'),auth[_0xa386('0x8')](),controller[_0xa386('0x12')]);router[_0xa386('0x13')]('/',auth[_0xa386('0x8')](),controller[_0xa386('0x14')]);router[_0xa386('0x13')](_0xa386('0x11'),auth['isAuthenticated'](),controller[_0xa386('0x15')]);router[_0xa386('0x16')](_0xa386('0xd'),auth[_0xa386('0x8')](),controller[_0xa386('0x17')]);router[_0xa386('0x18')](_0xa386('0xd'),auth[_0xa386('0x8')](),controller[_0xa386('0x19')]);module['exports']=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