Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / api / voiceMusicOnHold / index.js
index 8ece379..fc8072b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb2db=['get','index','/:id','isAuthenticated','show','/:id/sounds','getSounds','post','addSound','put','update','delete','destroy','/:id/sounds/:id2','removeSound','multer','util','path','connect-timeout','express','Router','./voiceMusicOnHold.controller'];(function(_0x3cc356,_0x67281){var _0x59293f=function(_0x50aca6){while(--_0x50aca6){_0x3cc356['push'](_0x3cc356['shift']());}};_0x59293f(++_0x67281);}(_0xb2db,0x159));var _0xbb2d=function(_0xa2deb6,_0x54dcb3){_0xa2deb6=_0xa2deb6-0x0;var _0x536543=_0xb2db[_0xa2deb6];return _0x536543;};'use strict';var multer=require(_0xbb2d('0x0'));var util=require(_0xbb2d('0x1'));var path=require(_0xbb2d('0x2'));var timeout=require(_0xbb2d('0x3'));var express=require(_0xbb2d('0x4'));var router=express[_0xbb2d('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xbb2d('0x6'));router[_0xbb2d('0x7')]('/',auth['isAuthenticated'](),controller[_0xbb2d('0x8')]);router[_0xbb2d('0x7')](_0xbb2d('0x9'),auth[_0xbb2d('0xa')](),controller[_0xbb2d('0xb')]);router[_0xbb2d('0x7')](_0xbb2d('0xc'),auth[_0xbb2d('0xa')](),controller[_0xbb2d('0xd')]);router[_0xbb2d('0xe')]('/',auth[_0xbb2d('0xa')](),controller['create']);router[_0xbb2d('0xe')](_0xbb2d('0xc'),auth[_0xbb2d('0xa')](),controller[_0xbb2d('0xf')]);router[_0xbb2d('0x10')](_0xbb2d('0x9'),auth[_0xbb2d('0xa')](),controller[_0xbb2d('0x11')]);router[_0xbb2d('0x12')](_0xbb2d('0x9'),auth['isAuthenticated'](),controller[_0xbb2d('0x13')]);router[_0xbb2d('0x12')](_0xbb2d('0x14'),auth[_0xbb2d('0xa')](),controller[_0xbb2d('0x15')]);module['exports']=router;
\ No newline at end of file
+var _0x7d1f=['getSounds','create','post','addSound','put','delete','/:id/sounds/:id2','removeSound','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','isAuthenticated','index','get','/:id','/:id/sounds'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x7d1f,0x77));var _0xf7d1=function(_0x182a7c,_0x4aaa66){_0x182a7c=_0x182a7c-0x0;var _0x3d433d=_0x7d1f[_0x182a7c];return _0x3d433d;};'use strict';var multer=require(_0xf7d1('0x0'));var util=require(_0xf7d1('0x1'));var path=require(_0xf7d1('0x2'));var timeout=require(_0xf7d1('0x3'));var express=require(_0xf7d1('0x4'));var router=express['Router']();var fs_extra=require(_0xf7d1('0x5'));var auth=require(_0xf7d1('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xf7d1('0x7'));var controller=require('./voiceMusicOnHold.controller');router['get']('/',auth[_0xf7d1('0x8')](),controller[_0xf7d1('0x9')]);router[_0xf7d1('0xa')](_0xf7d1('0xb'),auth[_0xf7d1('0x8')](),controller['show']);router[_0xf7d1('0xa')](_0xf7d1('0xc'),auth[_0xf7d1('0x8')](),controller[_0xf7d1('0xd')]);router['post']('/',auth[_0xf7d1('0x8')](),controller[_0xf7d1('0xe')]);router[_0xf7d1('0xf')](_0xf7d1('0xc'),auth[_0xf7d1('0x8')](),controller[_0xf7d1('0x10')]);router[_0xf7d1('0x11')](_0xf7d1('0xb'),auth[_0xf7d1('0x8')](),controller['update']);router['delete']('/:id',auth[_0xf7d1('0x8')](),controller['destroy']);router[_0xf7d1('0x12')](_0xf7d1('0x13'),auth[_0xf7d1('0x8')](),controller[_0xf7d1('0x14')]);module[_0xf7d1('0x15')]=router;
\ No newline at end of file