Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / voiceMusicOnHold / index.js
index 397647f..726ac16 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x88a3=['index','show','/:id/sounds','post','create','addSound','put','/:id','update','delete','destroy','/:id/sounds/:id2','removeSound','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./voiceMusicOnHold.controller','get','isAuthenticated'];(function(_0x22957a,_0x398c57){var _0x44ff76=function(_0x144fe8){while(--_0x144fe8){_0x22957a['push'](_0x22957a['shift']());}};_0x44ff76(++_0x398c57);}(_0x88a3,0x108));var _0x388a=function(_0x79b649,_0x2115b3){_0x79b649=_0x79b649-0x0;var _0x1af9b1=_0x88a3[_0x79b649];return _0x1af9b1;};'use strict';var multer=require(_0x388a('0x0'));var util=require(_0x388a('0x1'));var path=require(_0x388a('0x2'));var timeout=require(_0x388a('0x3'));var express=require(_0x388a('0x4'));var router=express[_0x388a('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x388a('0x6'));var interaction=require(_0x388a('0x7'));var config=require('../../config/environment');var controller=require(_0x388a('0x8'));router[_0x388a('0x9')]('/',auth[_0x388a('0xa')](),controller[_0x388a('0xb')]);router[_0x388a('0x9')]('/:id',auth['isAuthenticated'](),controller[_0x388a('0xc')]);router[_0x388a('0x9')](_0x388a('0xd'),auth[_0x388a('0xa')](),controller['getSounds']);router[_0x388a('0xe')]('/',auth[_0x388a('0xa')](),controller[_0x388a('0xf')]);router[_0x388a('0xe')]('/:id/sounds',auth[_0x388a('0xa')](),controller[_0x388a('0x10')]);router[_0x388a('0x11')](_0x388a('0x12'),auth[_0x388a('0xa')](),controller[_0x388a('0x13')]);router[_0x388a('0x14')](_0x388a('0x12'),auth[_0x388a('0xa')](),controller[_0x388a('0x15')]);router[_0x388a('0x14')](_0x388a('0x16'),auth[_0x388a('0xa')](),controller[_0x388a('0x17')]);module[_0x388a('0x18')]=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