Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / api / voiceRecording / index.js
index dec8550..459bcb5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x37ff=['isAuthenticated','index','/describe','describe','get','/:id','/:id/download','downloads','downloadTranscribe','post','create','/:id/transcribe','runTranscribe','put','update','delete','exports','Router','fs-extra','../../components/interaction/service','./voiceRecording.controller'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x37ff,0x1ca));var _0xf37f=function(_0x38987f,_0xc79720){_0x38987f=_0x38987f-0x0;var _0x4cb697=_0x37ff[_0x38987f];return _0x4cb697;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xf37f('0x0')]();var fs_extra=require(_0xf37f('0x1'));var auth=require('../../components/auth/service');var interaction=require(_0xf37f('0x2'));var config=require('../../config/environment');var controller=require(_0xf37f('0x3'));router['get']('/',auth[_0xf37f('0x4')](),controller[_0xf37f('0x5')]);router['get'](_0xf37f('0x6'),auth['isAuthenticated'](),controller[_0xf37f('0x7')]);router[_0xf37f('0x8')](_0xf37f('0x9'),auth[_0xf37f('0x4')](),controller['show']);router[_0xf37f('0x8')](_0xf37f('0xa'),auth[_0xf37f('0x4')](),controller['download']);router[_0xf37f('0x8')]('/:id/downloads',controller[_0xf37f('0xb')]);router[_0xf37f('0x8')]('/:id/transcribe',auth['isAuthenticated'](),controller[_0xf37f('0xc')]);router[_0xf37f('0xd')]('/',auth[_0xf37f('0x4')](),controller[_0xf37f('0xe')]);router[_0xf37f('0xd')](_0xf37f('0xf'),auth[_0xf37f('0x4')](),controller[_0xf37f('0x10')]);router[_0xf37f('0x11')](_0xf37f('0x9'),auth['isAuthenticated'](),controller[_0xf37f('0x12')]);router[_0xf37f('0x13')](_0xf37f('0x9'),auth[_0xf37f('0x4')](),controller['destroy']);module[_0xf37f('0x14')]=router;
\ No newline at end of file
+var _0x4db0=['download','downloads','/:id/transcribe','downloadTranscribe','post','create','runTranscribe','put','update','multer','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceRecording.controller','isAuthenticated','index','/describe','describe','get','/:id','show','/:id/download'];(function(_0x45fba4,_0x5ce82a){var _0x3e85fe=function(_0x449d48){while(--_0x449d48){_0x45fba4['push'](_0x45fba4['shift']());}};_0x3e85fe(++_0x5ce82a);}(_0x4db0,0x175));var _0x04db=function(_0x132d9e,_0x4a0839){_0x132d9e=_0x132d9e-0x0;var _0x40b733=_0x4db0[_0x132d9e];return _0x40b733;};'use strict';var multer=require(_0x04db('0x0'));var util=require(_0x04db('0x1'));var path=require(_0x04db('0x2'));var timeout=require(_0x04db('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x04db('0x4'));var auth=require(_0x04db('0x5'));var interaction=require(_0x04db('0x6'));var config=require(_0x04db('0x7'));var controller=require(_0x04db('0x8'));router['get']('/',auth[_0x04db('0x9')](),controller[_0x04db('0xa')]);router['get'](_0x04db('0xb'),auth['isAuthenticated'](),controller[_0x04db('0xc')]);router[_0x04db('0xd')](_0x04db('0xe'),auth['isAuthenticated'](),controller[_0x04db('0xf')]);router['get'](_0x04db('0x10'),auth[_0x04db('0x9')](),controller[_0x04db('0x11')]);router['get']('/:id/downloads',controller[_0x04db('0x12')]);router[_0x04db('0xd')](_0x04db('0x13'),auth[_0x04db('0x9')](),controller[_0x04db('0x14')]);router[_0x04db('0x15')]('/',auth['isAuthenticated'](),controller[_0x04db('0x16')]);router['post'](_0x04db('0x13'),auth[_0x04db('0x9')](),controller[_0x04db('0x17')]);router[_0x04db('0x18')](_0x04db('0xe'),auth[_0x04db('0x9')](),controller[_0x04db('0x19')]);router['delete'](_0x04db('0xe'),auth[_0x04db('0x9')](),controller['destroy']);module['exports']=router;
\ No newline at end of file