Built motion from commit 2b9af5da.|2.6.26
[motion2.git] / server / api / voiceMusicOnHold / index.js
index 6b0216b..c3035e9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc575=['post','create','addSound','update','delete','destroy','/:id/sounds/:id2','removeSound','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./voiceMusicOnHold.controller','isAuthenticated','get','/:id','show','/:id/sounds'];(function(_0x5a0fc2,_0x8ce4fb){var _0x4213f8=function(_0x352ab5){while(--_0x352ab5){_0x5a0fc2['push'](_0x5a0fc2['shift']());}};_0x4213f8(++_0x8ce4fb);}(_0xc575,0x1a7));var _0x5c57=function(_0x1d0343,_0x472470){_0x1d0343=_0x1d0343-0x0;var _0xeba613=_0xc575[_0x1d0343];return _0xeba613;};'use strict';var multer=require(_0x5c57('0x0'));var util=require(_0x5c57('0x1'));var path=require(_0x5c57('0x2'));var timeout=require(_0x5c57('0x3'));var express=require('express');var router=express[_0x5c57('0x4')]();var fs_extra=require(_0x5c57('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x5c57('0x6'));var config=require(_0x5c57('0x7'));var controller=require(_0x5c57('0x8'));router['get']('/',auth[_0x5c57('0x9')](),controller['index']);router[_0x5c57('0xa')](_0x5c57('0xb'),auth['isAuthenticated'](),controller[_0x5c57('0xc')]);router[_0x5c57('0xa')](_0x5c57('0xd'),auth[_0x5c57('0x9')](),controller['getSounds']);router[_0x5c57('0xe')]('/',auth[_0x5c57('0x9')](),controller[_0x5c57('0xf')]);router[_0x5c57('0xe')]('/:id/sounds',auth[_0x5c57('0x9')](),controller[_0x5c57('0x10')]);router['put'](_0x5c57('0xb'),auth[_0x5c57('0x9')](),controller[_0x5c57('0x11')]);router[_0x5c57('0x12')]('/:id',auth[_0x5c57('0x9')](),controller[_0x5c57('0x13')]);router[_0x5c57('0x12')](_0x5c57('0x14'),auth[_0x5c57('0x9')](),controller[_0x5c57('0x15')]);module[_0x5c57('0x16')]=router;
\ No newline at end of file
+var _0xa31f=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceMusicOnHold.controller','get','isAuthenticated','index','/:id','show','/:id/sounds','getSounds','create','post','addSound','put','update','delete','destroy','/:id/sounds/:id2','removeSound','exports','multer','util','connect-timeout'];(function(_0x179d49,_0x48303e){var _0x526708=function(_0x240c97){while(--_0x240c97){_0x179d49['push'](_0x179d49['shift']());}};_0x526708(++_0x48303e);}(_0xa31f,0x65));var _0xfa31=function(_0x4c60e6,_0x587d1e){_0x4c60e6=_0x4c60e6-0x0;var _0x25c447=_0xa31f[_0x4c60e6];return _0x25c447;};'use strict';var multer=require(_0xfa31('0x0'));var util=require(_0xfa31('0x1'));var path=require('path');var timeout=require(_0xfa31('0x2'));var express=require(_0xfa31('0x3'));var router=express[_0xfa31('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xfa31('0x5'));var interaction=require(_0xfa31('0x6'));var config=require(_0xfa31('0x7'));var controller=require(_0xfa31('0x8'));router[_0xfa31('0x9')]('/',auth[_0xfa31('0xa')](),controller[_0xfa31('0xb')]);router[_0xfa31('0x9')](_0xfa31('0xc'),auth[_0xfa31('0xa')](),controller[_0xfa31('0xd')]);router['get'](_0xfa31('0xe'),auth[_0xfa31('0xa')](),controller[_0xfa31('0xf')]);router['post']('/',auth[_0xfa31('0xa')](),controller[_0xfa31('0x10')]);router[_0xfa31('0x11')](_0xfa31('0xe'),auth[_0xfa31('0xa')](),controller[_0xfa31('0x12')]);router[_0xfa31('0x13')](_0xfa31('0xc'),auth[_0xfa31('0xa')](),controller[_0xfa31('0x14')]);router[_0xfa31('0x15')]('/:id',auth[_0xfa31('0xa')](),controller[_0xfa31('0x16')]);router[_0xfa31('0x15')](_0xfa31('0x17'),auth['isAuthenticated'](),controller[_0xfa31('0x18')]);module[_0xfa31('0x19')]=router;
\ No newline at end of file