Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / api / voiceMusicOnHold / index.js
index 57293bc..b30de7f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfc98=['../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id','show','/:id/sounds','getSounds','create','post','addSound','update','delete','destroy','/:id/sounds/:id2','removeSound','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service'];(function(_0x79cd47,_0x16102d){var _0x3b9484=function(_0x23db95){while(--_0x23db95){_0x79cd47['push'](_0x79cd47['shift']());}};_0x3b9484(++_0x16102d);}(_0xfc98,0xf3));var _0x8fc9=function(_0x36884e,_0x48008f){_0x36884e=_0x36884e-0x0;var _0x1cc367=_0xfc98[_0x36884e];return _0x1cc367;};'use strict';var multer=require(_0x8fc9('0x0'));var util=require(_0x8fc9('0x1'));var path=require(_0x8fc9('0x2'));var timeout=require(_0x8fc9('0x3'));var express=require(_0x8fc9('0x4'));var router=express['Router']();var fs_extra=require(_0x8fc9('0x5'));var auth=require(_0x8fc9('0x6'));var interaction=require(_0x8fc9('0x7'));var config=require(_0x8fc9('0x8'));var controller=require('./voiceMusicOnHold.controller');router['get']('/',auth[_0x8fc9('0x9')](),controller[_0x8fc9('0xa')]);router[_0x8fc9('0xb')](_0x8fc9('0xc'),auth['isAuthenticated'](),controller[_0x8fc9('0xd')]);router[_0x8fc9('0xb')](_0x8fc9('0xe'),auth['isAuthenticated'](),controller[_0x8fc9('0xf')]);router['post']('/',auth[_0x8fc9('0x9')](),controller[_0x8fc9('0x10')]);router[_0x8fc9('0x11')](_0x8fc9('0xe'),auth['isAuthenticated'](),controller[_0x8fc9('0x12')]);router['put'](_0x8fc9('0xc'),auth['isAuthenticated'](),controller[_0x8fc9('0x13')]);router[_0x8fc9('0x14')](_0x8fc9('0xc'),auth['isAuthenticated'](),controller[_0x8fc9('0x15')]);router[_0x8fc9('0x14')](_0x8fc9('0x16'),auth[_0x8fc9('0x9')](),controller[_0x8fc9('0x17')]);module[_0x8fc9('0x18')]=router;
\ No newline at end of file
+var _0xd197=['get','isAuthenticated','index','/:id','show','getSounds','create','put','update','delete','removeSound','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./voiceMusicOnHold.controller'];(function(_0xf819b8,_0x26c6d0){var _0x3de293=function(_0xb80faa){while(--_0xb80faa){_0xf819b8['push'](_0xf819b8['shift']());}};_0x3de293(++_0x26c6d0);}(_0xd197,0x140));var _0x7d19=function(_0x302b2b,_0x55674c){_0x302b2b=_0x302b2b-0x0;var _0xf4cda2=_0xd197[_0x302b2b];return _0xf4cda2;};'use strict';var multer=require(_0x7d19('0x0'));var util=require(_0x7d19('0x1'));var path=require(_0x7d19('0x2'));var timeout=require(_0x7d19('0x3'));var express=require(_0x7d19('0x4'));var router=express[_0x7d19('0x5')]();var fs_extra=require(_0x7d19('0x6'));var auth=require(_0x7d19('0x7'));var interaction=require(_0x7d19('0x8'));var config=require('../../config/environment');var controller=require(_0x7d19('0x9'));router[_0x7d19('0xa')]('/',auth[_0x7d19('0xb')](),controller[_0x7d19('0xc')]);router[_0x7d19('0xa')](_0x7d19('0xd'),auth['isAuthenticated'](),controller[_0x7d19('0xe')]);router['get']('/:id/sounds',auth[_0x7d19('0xb')](),controller[_0x7d19('0xf')]);router['post']('/',auth[_0x7d19('0xb')](),controller[_0x7d19('0x10')]);router['post']('/:id/sounds',auth[_0x7d19('0xb')](),controller['addSound']);router[_0x7d19('0x11')]('/:id',auth[_0x7d19('0xb')](),controller[_0x7d19('0x12')]);router['delete'](_0x7d19('0xd'),auth[_0x7d19('0xb')](),controller['destroy']);router[_0x7d19('0x13')]('/:id/sounds/:id2',auth[_0x7d19('0xb')](),controller[_0x7d19('0x14')]);module[_0x7d19('0x15')]=router;
\ No newline at end of file