Built motion from commit cb845558.|2.6.34
[motion2.git] / server / api / voiceMusicOnHold / index.js
index 759b9e8..10a8adc 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfbf1=['create','addSound','put','update','delete','destroy','exports','multer','express','fs-extra','../../components/interaction/service','./voiceMusicOnHold.controller','get','isAuthenticated','/:id','/:id/sounds','getSounds','post'];(function(_0x3f696b,_0x2a9051){var _0x57aa53=function(_0x4b46b3){while(--_0x4b46b3){_0x3f696b['push'](_0x3f696b['shift']());}};_0x57aa53(++_0x2a9051);}(_0xfbf1,0x139));var _0x1fbf=function(_0x32f2c7,_0x4bdbcc){_0x32f2c7=_0x32f2c7-0x0;var _0x17c296=_0xfbf1[_0x32f2c7];return _0x17c296;};'use strict';var multer=require(_0x1fbf('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x1fbf('0x1'));var router=express['Router']();var fs_extra=require(_0x1fbf('0x2'));var auth=require('../../components/auth/service');var interaction=require(_0x1fbf('0x3'));var config=require('../../config/environment');var controller=require(_0x1fbf('0x4'));router[_0x1fbf('0x5')]('/',auth[_0x1fbf('0x6')](),controller['index']);router[_0x1fbf('0x5')](_0x1fbf('0x7'),auth[_0x1fbf('0x6')](),controller['show']);router[_0x1fbf('0x5')](_0x1fbf('0x8'),auth[_0x1fbf('0x6')](),controller[_0x1fbf('0x9')]);router[_0x1fbf('0xa')]('/',auth[_0x1fbf('0x6')](),controller[_0x1fbf('0xb')]);router['post'](_0x1fbf('0x8'),auth[_0x1fbf('0x6')](),controller[_0x1fbf('0xc')]);router[_0x1fbf('0xd')](_0x1fbf('0x7'),auth[_0x1fbf('0x6')](),controller[_0x1fbf('0xe')]);router[_0x1fbf('0xf')](_0x1fbf('0x7'),auth['isAuthenticated'](),controller[_0x1fbf('0x10')]);router[_0x1fbf('0xf')]('/:id/sounds/:id2',auth[_0x1fbf('0x6')](),controller['removeSound']);module[_0x1fbf('0x11')]=router;
\ No newline at end of file
+var _0x002a=['./voiceMusicOnHold.controller','index','get','/:id','isAuthenticated','show','/:id/sounds','getSounds','post','create','put','update','delete','destroy','/:id/sounds/:id2','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x2e2670,_0x1a1067){var _0x4416dc=function(_0x4e7e5e){while(--_0x4e7e5e){_0x2e2670['push'](_0x2e2670['shift']());}};_0x4416dc(++_0x1a1067);}(_0x002a,0x120));var _0xa002=function(_0x4c10a5,_0x37491a){_0x4c10a5=_0x4c10a5-0x0;var _0x574eff=_0x002a[_0x4c10a5];return _0x574eff;};'use strict';var multer=require('multer');var util=require(_0xa002('0x0'));var path=require(_0xa002('0x1'));var timeout=require(_0xa002('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xa002('0x3'));var interaction=require(_0xa002('0x4'));var config=require(_0xa002('0x5'));var controller=require(_0xa002('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0xa002('0x7')]);router[_0xa002('0x8')](_0xa002('0x9'),auth[_0xa002('0xa')](),controller[_0xa002('0xb')]);router['get'](_0xa002('0xc'),auth[_0xa002('0xa')](),controller[_0xa002('0xd')]);router[_0xa002('0xe')]('/',auth[_0xa002('0xa')](),controller[_0xa002('0xf')]);router['post'](_0xa002('0xc'),auth[_0xa002('0xa')](),controller['addSound']);router[_0xa002('0x10')](_0xa002('0x9'),auth['isAuthenticated'](),controller[_0xa002('0x11')]);router[_0xa002('0x12')](_0xa002('0x9'),auth[_0xa002('0xa')](),controller[_0xa002('0x13')]);router['delete'](_0xa002('0x14'),auth[_0xa002('0xa')](),controller['removeSound']);module['exports']=router;
\ No newline at end of file