Built motion from commit 5ba5b610.|2.5.33
[motion2.git] / server / api / voiceMusicOnHold / index.js
index eefe738..c10f5bf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x066a=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','getSounds','post','create','/:id/sounds','addSound','put','update','delete','/:id','destroy','/:id/sounds/:id2','removeSound','exports','multer','util','path','connect-timeout','express'];(function(_0x1ca7c4,_0x1436c8){var _0x5399c7=function(_0x3fb321){while(--_0x3fb321){_0x1ca7c4['push'](_0x1ca7c4['shift']());}};_0x5399c7(++_0x1436c8);}(_0x066a,0x1cf));var _0xa066=function(_0x499a2c,_0x4a2471){_0x499a2c=_0x499a2c-0x0;var _0x1c6bf9=_0x066a[_0x499a2c];return _0x1c6bf9;};'use strict';var multer=require(_0xa066('0x0'));var util=require(_0xa066('0x1'));var path=require(_0xa066('0x2'));var timeout=require(_0xa066('0x3'));var express=require(_0xa066('0x4'));var router=express[_0xa066('0x5')]();var fs_extra=require(_0xa066('0x6'));var auth=require(_0xa066('0x7'));var interaction=require(_0xa066('0x8'));var config=require(_0xa066('0x9'));var controller=require('./voiceMusicOnHold.controller');router[_0xa066('0xa')]('/',auth[_0xa066('0xb')](),controller[_0xa066('0xc')]);router[_0xa066('0xa')]('/:id',auth[_0xa066('0xb')](),controller['show']);router[_0xa066('0xa')]('/:id/sounds',auth['isAuthenticated'](),controller[_0xa066('0xd')]);router[_0xa066('0xe')]('/',auth[_0xa066('0xb')](),controller[_0xa066('0xf')]);router[_0xa066('0xe')](_0xa066('0x10'),auth[_0xa066('0xb')](),controller[_0xa066('0x11')]);router[_0xa066('0x12')]('/:id',auth[_0xa066('0xb')](),controller[_0xa066('0x13')]);router[_0xa066('0x14')](_0xa066('0x15'),auth[_0xa066('0xb')](),controller[_0xa066('0x16')]);router['delete'](_0xa066('0x17'),auth[_0xa066('0xb')](),controller[_0xa066('0x18')]);module[_0xa066('0x19')]=router;
\ No newline at end of file
+var _0x25c3=['show','post','create','put','delete','destroy','/:id/sounds/:id2','removeSound','exports','connect-timeout','express','fs-extra','../../config/environment','./voiceMusicOnHold.controller','get','index','/:id','isAuthenticated'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x25c3,0xbd));var _0x325c=function(_0x20178b,_0x274963){_0x20178b=_0x20178b-0x0;var _0x4c9b24=_0x25c3[_0x20178b];return _0x4c9b24;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x325c('0x0'));var express=require(_0x325c('0x1'));var router=express['Router']();var fs_extra=require(_0x325c('0x2'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x325c('0x3'));var controller=require(_0x325c('0x4'));router[_0x325c('0x5')]('/',auth['isAuthenticated'](),controller[_0x325c('0x6')]);router[_0x325c('0x5')](_0x325c('0x7'),auth[_0x325c('0x8')](),controller[_0x325c('0x9')]);router[_0x325c('0x5')]('/:id/sounds',auth['isAuthenticated'](),controller['getSounds']);router[_0x325c('0xa')]('/',auth['isAuthenticated'](),controller[_0x325c('0xb')]);router[_0x325c('0xa')]('/:id/sounds',auth[_0x325c('0x8')](),controller['addSound']);router[_0x325c('0xc')](_0x325c('0x7'),auth['isAuthenticated'](),controller['update']);router[_0x325c('0xd')]('/:id',auth[_0x325c('0x8')](),controller[_0x325c('0xe')]);router['delete'](_0x325c('0xf'),auth[_0x325c('0x8')](),controller[_0x325c('0x10')]);module[_0x325c('0x11')]=router;
\ No newline at end of file