Built motion from commit (unavailable).|2.5.16
[motion2.git] / server / api / voiceMusicOnHold / index.js
index 85689fe..5b07b9e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x48b8=['path','express','../../components/auth/service','../../config/environment','./voiceMusicOnHold.controller','get','isAuthenticated','index','show','post','addSound','put','/:id','destroy','delete','exports','multer','util'];(function(_0x450b4b,_0x595523){var _0x477553=function(_0x1d60ae){while(--_0x1d60ae){_0x450b4b['push'](_0x450b4b['shift']());}};_0x477553(++_0x595523);}(_0x48b8,0x130));var _0x848b=function(_0x2284cf,_0x39f245){_0x2284cf=_0x2284cf-0x0;var _0x3b174b=_0x48b8[_0x2284cf];return _0x3b174b;};'use strict';var multer=require(_0x848b('0x0'));var util=require(_0x848b('0x1'));var path=require(_0x848b('0x2'));var timeout=require('connect-timeout');var express=require(_0x848b('0x3'));var router=express['Router']();var auth=require(_0x848b('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x848b('0x5'));var controller=require(_0x848b('0x6'));router[_0x848b('0x7')]('/',auth[_0x848b('0x8')](),controller[_0x848b('0x9')]);router[_0x848b('0x7')]('/:id',auth[_0x848b('0x8')](),controller[_0x848b('0xa')]);router[_0x848b('0x7')]('/:id/sounds',auth[_0x848b('0x8')](),controller['getSounds']);router[_0x848b('0xb')]('/',auth[_0x848b('0x8')](),controller['create']);router[_0x848b('0xb')]('/:id/sounds',auth[_0x848b('0x8')](),controller[_0x848b('0xc')]);router[_0x848b('0xd')](_0x848b('0xe'),auth[_0x848b('0x8')](),controller['update']);router['delete'](_0x848b('0xe'),auth['isAuthenticated'](),controller[_0x848b('0xf')]);router[_0x848b('0x10')]('/:id/sounds/:id2',auth[_0x848b('0x8')](),controller['removeSound']);module[_0x848b('0x11')]=router;
\ No newline at end of file
+var _0x24c3=['index','show','/:id/sounds','getSounds','post','addSound','put','update','/:id','destroy','delete','/:id/sounds/:id2','removeSound','exports','multer','util','connect-timeout','Router','../../components/auth/service','../../config/environment','./voiceMusicOnHold.controller','get','isAuthenticated'];(function(_0x458edc,_0x9baf98){var _0x44af29=function(_0x41929c){while(--_0x41929c){_0x458edc['push'](_0x458edc['shift']());}};_0x44af29(++_0x9baf98);}(_0x24c3,0x139));var _0x324c=function(_0x2fcfae,_0x1049c9){_0x2fcfae=_0x2fcfae-0x0;var _0x7704ce=_0x24c3[_0x2fcfae];return _0x7704ce;};'use strict';var multer=require(_0x324c('0x0'));var util=require(_0x324c('0x1'));var path=require('path');var timeout=require(_0x324c('0x2'));var express=require('express');var router=express[_0x324c('0x3')]();var auth=require(_0x324c('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x324c('0x5'));var controller=require(_0x324c('0x6'));router[_0x324c('0x7')]('/',auth[_0x324c('0x8')](),controller[_0x324c('0x9')]);router[_0x324c('0x7')]('/:id',auth['isAuthenticated'](),controller[_0x324c('0xa')]);router[_0x324c('0x7')](_0x324c('0xb'),auth[_0x324c('0x8')](),controller[_0x324c('0xc')]);router['post']('/',auth[_0x324c('0x8')](),controller['create']);router[_0x324c('0xd')](_0x324c('0xb'),auth[_0x324c('0x8')](),controller[_0x324c('0xe')]);router[_0x324c('0xf')]('/:id',auth[_0x324c('0x8')](),controller[_0x324c('0x10')]);router['delete'](_0x324c('0x11'),auth['isAuthenticated'](),controller[_0x324c('0x12')]);router[_0x324c('0x13')](_0x324c('0x14'),auth[_0x324c('0x8')](),controller[_0x324c('0x15')]);module[_0x324c('0x16')]=router;
\ No newline at end of file