Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / api / voiceRecording / index.js
index a862b1a..459bcb5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x62fe=['../../config/environment','get','isAuthenticated','index','/describe','/:id','/:id/download','download','downloads','/:id/transcribe','post','create','runTranscribe','put','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x52e17d,_0x427654){var _0x7c51f=function(_0x1283a5){while(--_0x1283a5){_0x52e17d['push'](_0x52e17d['shift']());}};_0x7c51f(++_0x427654);}(_0x62fe,0x7a));var _0xe62f=function(_0x6ce405,_0x44515f){_0x6ce405=_0x6ce405-0x0;var _0x35f0e9=_0x62fe[_0x6ce405];return _0x35f0e9;};'use strict';var multer=require(_0xe62f('0x0'));var util=require(_0xe62f('0x1'));var path=require(_0xe62f('0x2'));var timeout=require('connect-timeout');var express=require(_0xe62f('0x3'));var router=express[_0xe62f('0x4')]();var fs_extra=require(_0xe62f('0x5'));var auth=require(_0xe62f('0x6'));var interaction=require(_0xe62f('0x7'));var config=require(_0xe62f('0x8'));var controller=require('./voiceRecording.controller');router[_0xe62f('0x9')]('/',auth[_0xe62f('0xa')](),controller[_0xe62f('0xb')]);router[_0xe62f('0x9')](_0xe62f('0xc'),auth[_0xe62f('0xa')](),controller['describe']);router['get'](_0xe62f('0xd'),auth[_0xe62f('0xa')](),controller['show']);router[_0xe62f('0x9')](_0xe62f('0xe'),auth[_0xe62f('0xa')](),controller[_0xe62f('0xf')]);router[_0xe62f('0x9')]('/:id/downloads',controller[_0xe62f('0x10')]);router['get'](_0xe62f('0x11'),auth[_0xe62f('0xa')](),controller['downloadTranscribe']);router[_0xe62f('0x12')]('/',auth['isAuthenticated'](),controller[_0xe62f('0x13')]);router[_0xe62f('0x12')]('/:id/transcribe',auth['isAuthenticated'](),controller[_0xe62f('0x14')]);router[_0xe62f('0x15')]('/:id',auth[_0xe62f('0xa')](),controller[_0xe62f('0x16')]);router[_0xe62f('0x17')](_0xe62f('0xd'),auth[_0xe62f('0xa')](),controller[_0xe62f('0x18')]);module[_0xe62f('0x19')]=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