Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / voiceMusicOnHold / index.js
index df6ec77..b9120b7 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 _0x0be9=['get','isAuthenticated','index','/:id','show','/:id/sounds','getSounds','post','addSound','put','update','delete','destroy','removeSound','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./voiceMusicOnHold.controller'];(function(_0x51818c,_0x53d965){var _0x102e5d=function(_0x5b277c){while(--_0x5b277c){_0x51818c['push'](_0x51818c['shift']());}};_0x102e5d(++_0x53d965);}(_0x0be9,0x1ef));var _0x90be=function(_0x3f564d,_0xd06b0d){_0x3f564d=_0x3f564d-0x0;var _0x105ac1=_0x0be9[_0x3f564d];return _0x105ac1;};'use strict';var multer=require(_0x90be('0x0'));var util=require(_0x90be('0x1'));var path=require(_0x90be('0x2'));var timeout=require(_0x90be('0x3'));var express=require(_0x90be('0x4'));var router=express[_0x90be('0x5')]();var fs_extra=require(_0x90be('0x6'));var auth=require(_0x90be('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x90be('0x8'));router[_0x90be('0x9')]('/',auth[_0x90be('0xa')](),controller[_0x90be('0xb')]);router[_0x90be('0x9')](_0x90be('0xc'),auth['isAuthenticated'](),controller[_0x90be('0xd')]);router[_0x90be('0x9')](_0x90be('0xe'),auth[_0x90be('0xa')](),controller[_0x90be('0xf')]);router['post']('/',auth[_0x90be('0xa')](),controller['create']);router[_0x90be('0x10')](_0x90be('0xe'),auth['isAuthenticated'](),controller[_0x90be('0x11')]);router[_0x90be('0x12')](_0x90be('0xc'),auth[_0x90be('0xa')](),controller[_0x90be('0x13')]);router[_0x90be('0x14')](_0x90be('0xc'),auth[_0x90be('0xa')](),controller[_0x90be('0x15')]);router['delete']('/:id/sounds/:id2',auth['isAuthenticated'](),controller[_0x90be('0x16')]);module[_0x90be('0x17')]=router;
\ No newline at end of file