Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / voiceMusicOnHold / index.js
index df6ec77..726ac16 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf4c0=['util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./voiceMusicOnHold.controller','get','isAuthenticated','index','/:id','show','/:id/sounds','getSounds','post','create','addSound','update','delete','destroy','/:id/sounds/:id2','exports','multer'];(function(_0x1368bd,_0x47d8e9){var _0x5d9906=function(_0x502c2c){while(--_0x502c2c){_0x1368bd['push'](_0x1368bd['shift']());}};_0x5d9906(++_0x47d8e9);}(_0xf4c0,0x113));var _0x0f4c=function(_0x47b3d5,_0x3abe1c){_0x47b3d5=_0x47b3d5-0x0;var _0x47b8b2=_0xf4c0[_0x47b3d5];return _0x47b8b2;};'use strict';var multer=require(_0x0f4c('0x0'));var util=require(_0x0f4c('0x1'));var path=require('path');var timeout=require(_0x0f4c('0x2'));var express=require(_0x0f4c('0x3'));var router=express[_0x0f4c('0x4')]();var fs_extra=require(_0x0f4c('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x0f4c('0x6'));var config=require('../../config/environment');var controller=require(_0x0f4c('0x7'));router[_0x0f4c('0x8')]('/',auth[_0x0f4c('0x9')](),controller[_0x0f4c('0xa')]);router[_0x0f4c('0x8')](_0x0f4c('0xb'),auth[_0x0f4c('0x9')](),controller[_0x0f4c('0xc')]);router[_0x0f4c('0x8')](_0x0f4c('0xd'),auth[_0x0f4c('0x9')](),controller[_0x0f4c('0xe')]);router[_0x0f4c('0xf')]('/',auth['isAuthenticated'](),controller[_0x0f4c('0x10')]);router[_0x0f4c('0xf')]('/:id/sounds',auth[_0x0f4c('0x9')](),controller[_0x0f4c('0x11')]);router['put'](_0x0f4c('0xb'),auth['isAuthenticated'](),controller[_0x0f4c('0x12')]);router[_0x0f4c('0x13')](_0x0f4c('0xb'),auth[_0x0f4c('0x9')](),controller[_0x0f4c('0x14')]);router[_0x0f4c('0x13')](_0x0f4c('0x15'),auth[_0x0f4c('0x9')](),controller['removeSound']);module[_0x0f4c('0x16')]=router;
\ No newline at end of file
+var _0x7057=['express','fs-extra','../../components/auth/service','../../config/environment','./voiceMusicOnHold.controller','get','isAuthenticated','index','/:id','show','/:id/sounds','getSounds','post','create','addSound','put','update','delete','destroy','removeSound','exports','multer','util','path','connect-timeout'];(function(_0x56c9cd,_0x305ab0){var _0x13bed1=function(_0x4a0ed0){while(--_0x4a0ed0){_0x56c9cd['push'](_0x56c9cd['shift']());}};_0x13bed1(++_0x305ab0);}(_0x7057,0x92));var _0x7705=function(_0x35af23,_0x9190f6){_0x35af23=_0x35af23-0x0;var _0x340506=_0x7057[_0x35af23];return _0x340506;};'use strict';var multer=require(_0x7705('0x0'));var util=require(_0x7705('0x1'));var path=require(_0x7705('0x2'));var timeout=require(_0x7705('0x3'));var express=require(_0x7705('0x4'));var router=express['Router']();var fs_extra=require(_0x7705('0x5'));var auth=require(_0x7705('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x7705('0x7'));var controller=require(_0x7705('0x8'));router[_0x7705('0x9')]('/',auth[_0x7705('0xa')](),controller[_0x7705('0xb')]);router[_0x7705('0x9')](_0x7705('0xc'),auth['isAuthenticated'](),controller[_0x7705('0xd')]);router[_0x7705('0x9')](_0x7705('0xe'),auth[_0x7705('0xa')](),controller[_0x7705('0xf')]);router[_0x7705('0x10')]('/',auth[_0x7705('0xa')](),controller[_0x7705('0x11')]);router['post'](_0x7705('0xe'),auth['isAuthenticated'](),controller[_0x7705('0x12')]);router[_0x7705('0x13')](_0x7705('0xc'),auth['isAuthenticated'](),controller[_0x7705('0x14')]);router[_0x7705('0x15')](_0x7705('0xc'),auth[_0x7705('0xa')](),controller[_0x7705('0x16')]);router['delete']('/:id/sounds/:id2',auth['isAuthenticated'](),controller[_0x7705('0x17')]);module[_0x7705('0x18')]=router;
\ No newline at end of file