Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / voiceMusicOnHold / index.js
index c08687a..57293bc 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6ec0=['addSound','put','update','delete','exports','util','path','express','Router','../../components/interaction/service','../../config/environment','./voiceMusicOnHold.controller','get','isAuthenticated','index','/:id','/:id/sounds','getSounds','post','create'];(function(_0x5d4e01,_0xf80214){var _0x45f871=function(_0x510b48){while(--_0x510b48){_0x5d4e01['push'](_0x5d4e01['shift']());}};_0x45f871(++_0xf80214);}(_0x6ec0,0x91));var _0x06ec=function(_0x554db4,_0x4cbe7b){_0x554db4=_0x554db4-0x0;var _0x6b1dd1=_0x6ec0[_0x554db4];return _0x6b1dd1;};'use strict';var multer=require('multer');var util=require(_0x06ec('0x0'));var path=require(_0x06ec('0x1'));var timeout=require('connect-timeout');var express=require(_0x06ec('0x2'));var router=express[_0x06ec('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x06ec('0x4'));var config=require(_0x06ec('0x5'));var controller=require(_0x06ec('0x6'));router[_0x06ec('0x7')]('/',auth[_0x06ec('0x8')](),controller[_0x06ec('0x9')]);router['get'](_0x06ec('0xa'),auth[_0x06ec('0x8')](),controller['show']);router[_0x06ec('0x7')](_0x06ec('0xb'),auth[_0x06ec('0x8')](),controller[_0x06ec('0xc')]);router[_0x06ec('0xd')]('/',auth[_0x06ec('0x8')](),controller[_0x06ec('0xe')]);router[_0x06ec('0xd')](_0x06ec('0xb'),auth['isAuthenticated'](),controller[_0x06ec('0xf')]);router[_0x06ec('0x10')](_0x06ec('0xa'),auth['isAuthenticated'](),controller[_0x06ec('0x11')]);router[_0x06ec('0x12')]('/:id',auth[_0x06ec('0x8')](),controller['destroy']);router[_0x06ec('0x12')]('/:id/sounds/:id2',auth[_0x06ec('0x8')](),controller['removeSound']);module[_0x06ec('0x13')]=router;
\ No newline at end of file
+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