X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FvoiceRecording%2Findex.js;h=19549a6a498d8953dd1522eb2eb0a10ba64d357f;hb=8de30684771e4539598fcfa869d5f97a2efb140f;hp=6fbf28409e1d8b0831450d7d9fcacaec5f1c0a9f;hpb=1562546be7bf64ba323d0927837b2b20dc380166;p=motion2.git diff --git a/server/api/voiceRecording/index.js b/server/api/voiceRecording/index.js index 6fbf284..19549a6 100644 --- a/server/api/voiceRecording/index.js +++ b/server/api/voiceRecording/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfab5=['isAuthenticated','index','/describe','describe','/:id','show','download','downloads','/:id/transcribe','downloadTranscribe','create','destroy','multer','path','express','fs-extra','../../components/auth/service','get'];(function(_0x41930d,_0x478ed3){var _0x455ade=function(_0x24cb07){while(--_0x24cb07){_0x41930d['push'](_0x41930d['shift']());}};_0x455ade(++_0x478ed3);}(_0xfab5,0x78));var _0x5fab=function(_0x5a452e,_0x355a90){_0x5a452e=_0x5a452e-0x0;var _0x2c4c43=_0xfab5[_0x5a452e];return _0x2c4c43;};'use strict';var multer=require(_0x5fab('0x0'));var util=require('util');var path=require(_0x5fab('0x1'));var timeout=require('connect-timeout');var express=require(_0x5fab('0x2'));var router=express['Router']();var fs_extra=require(_0x5fab('0x3'));var auth=require(_0x5fab('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./voiceRecording.controller');router[_0x5fab('0x5')]('/',auth[_0x5fab('0x6')](),controller[_0x5fab('0x7')]);router[_0x5fab('0x5')](_0x5fab('0x8'),auth['isAuthenticated'](),controller[_0x5fab('0x9')]);router['get'](_0x5fab('0xa'),auth[_0x5fab('0x6')](),controller[_0x5fab('0xb')]);router[_0x5fab('0x5')]('/:id/download',auth[_0x5fab('0x6')](),controller[_0x5fab('0xc')]);router[_0x5fab('0x5')]('/:id/downloads',controller[_0x5fab('0xd')]);router['get'](_0x5fab('0xe'),auth[_0x5fab('0x6')](),controller[_0x5fab('0xf')]);router['post']('/',auth[_0x5fab('0x6')](),controller[_0x5fab('0x10')]);router['post']('/:id/transcribe',auth['isAuthenticated'](),controller['runTranscribe']);router['put']('/:id',auth[_0x5fab('0x6')](),controller['update']);router['delete'](_0x5fab('0xa'),auth['isAuthenticated'](),controller[_0x5fab('0x11')]);module['exports']=router; \ No newline at end of file +var _0x890e=['./voiceRecording.controller','get','isAuthenticated','index','describe','show','/:id/download','/:id/downloads','/:id/transcribe','downloadTranscribe','create','post','runTranscribe','put','/:id','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x82129b,_0x484ae9){var _0x2ae5dc=function(_0x299e34){while(--_0x299e34){_0x82129b['push'](_0x82129b['shift']());}};_0x2ae5dc(++_0x484ae9);}(_0x890e,0xb4));var _0xe890=function(_0x1e1268,_0x3f7692){_0x1e1268=_0x1e1268-0x0;var _0x53c294=_0x890e[_0x1e1268];return _0x53c294;};'use strict';var multer=require(_0xe890('0x0'));var util=require(_0xe890('0x1'));var path=require(_0xe890('0x2'));var timeout=require(_0xe890('0x3'));var express=require(_0xe890('0x4'));var router=express[_0xe890('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xe890('0x6'));var interaction=require(_0xe890('0x7'));var config=require(_0xe890('0x8'));var controller=require(_0xe890('0x9'));router[_0xe890('0xa')]('/',auth[_0xe890('0xb')](),controller[_0xe890('0xc')]);router[_0xe890('0xa')]('/describe',auth['isAuthenticated'](),controller[_0xe890('0xd')]);router[_0xe890('0xa')]('/:id',auth[_0xe890('0xb')](),controller[_0xe890('0xe')]);router[_0xe890('0xa')](_0xe890('0xf'),auth[_0xe890('0xb')](),controller['download']);router[_0xe890('0xa')](_0xe890('0x10'),controller['downloads']);router['get'](_0xe890('0x11'),auth[_0xe890('0xb')](),controller[_0xe890('0x12')]);router['post']('/',auth[_0xe890('0xb')](),controller[_0xe890('0x13')]);router[_0xe890('0x14')]('/:id/transcribe',auth[_0xe890('0xb')](),controller[_0xe890('0x15')]);router[_0xe890('0x16')](_0xe890('0x17'),auth[_0xe890('0xb')](),controller[_0xe890('0x18')]);router[_0xe890('0x19')](_0xe890('0x17'),auth[_0xe890('0xb')](),controller['destroy']);module[_0xe890('0x1a')]=router; \ No newline at end of file