X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FvoiceMusicOnHold%2Findex.js;h=5b07b9ed8e5c0584f43a867ef6715954555bce9c;hb=616b05b12f37a2d91c8e3c0e9817684f8aa283c7;hp=42835615874fc7abe66d79acb8deeffe35fba442;hpb=57a6ff3c12b2a7d89dd72175a408772e76ceab2b;p=motion2.git diff --git a/server/api/voiceMusicOnHold/index.js b/server/api/voiceMusicOnHold/index.js index 4283561..5b07b9e 100644 --- a/server/api/voiceMusicOnHold/index.js +++ b/server/api/voiceMusicOnHold/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2db7=['removeSound','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceMusicOnHold.controller','get','isAuthenticated','show','post','addSound','/:id','update','delete'];(function(_0x104a84,_0x285970){var _0x4973ff=function(_0x5064e7){while(--_0x5064e7){_0x104a84['push'](_0x104a84['shift']());}};_0x4973ff(++_0x285970);}(_0x2db7,0x89));var _0x72db=function(_0x403daa,_0x4998c0){_0x403daa=_0x403daa-0x0;var _0x8a5ba9=_0x2db7[_0x403daa];return _0x8a5ba9;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x72db('0x0'));var timeout=require(_0x72db('0x1'));var express=require(_0x72db('0x2'));var router=express[_0x72db('0x3')]();var auth=require(_0x72db('0x4'));var interaction=require(_0x72db('0x5'));var config=require(_0x72db('0x6'));var controller=require(_0x72db('0x7'));router[_0x72db('0x8')]('/',auth[_0x72db('0x9')](),controller['index']);router[_0x72db('0x8')]('/:id',auth[_0x72db('0x9')](),controller[_0x72db('0xa')]);router['get']('/:id/sounds',auth[_0x72db('0x9')](),controller['getSounds']);router[_0x72db('0xb')]('/',auth[_0x72db('0x9')](),controller['create']);router[_0x72db('0xb')]('/:id/sounds',auth[_0x72db('0x9')](),controller[_0x72db('0xc')]);router['put'](_0x72db('0xd'),auth['isAuthenticated'](),controller[_0x72db('0xe')]);router[_0x72db('0xf')](_0x72db('0xd'),auth[_0x72db('0x9')](),controller['destroy']);router[_0x72db('0xf')]('/:id/sounds/:id2',auth[_0x72db('0x9')](),controller[_0x72db('0x10')]);module['exports']=router; \ No newline at end of file +var _0x24c3=['index','show','/:id/sounds','getSounds','post','addSound','put','update','/:id','destroy','delete','/:id/sounds/:id2','removeSound','exports','multer','util','connect-timeout','Router','../../components/auth/service','../../config/environment','./voiceMusicOnHold.controller','get','isAuthenticated'];(function(_0x458edc,_0x9baf98){var _0x44af29=function(_0x41929c){while(--_0x41929c){_0x458edc['push'](_0x458edc['shift']());}};_0x44af29(++_0x9baf98);}(_0x24c3,0x139));var _0x324c=function(_0x2fcfae,_0x1049c9){_0x2fcfae=_0x2fcfae-0x0;var _0x7704ce=_0x24c3[_0x2fcfae];return _0x7704ce;};'use strict';var multer=require(_0x324c('0x0'));var util=require(_0x324c('0x1'));var path=require('path');var timeout=require(_0x324c('0x2'));var express=require('express');var router=express[_0x324c('0x3')]();var auth=require(_0x324c('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x324c('0x5'));var controller=require(_0x324c('0x6'));router[_0x324c('0x7')]('/',auth[_0x324c('0x8')](),controller[_0x324c('0x9')]);router[_0x324c('0x7')]('/:id',auth['isAuthenticated'](),controller[_0x324c('0xa')]);router[_0x324c('0x7')](_0x324c('0xb'),auth[_0x324c('0x8')](),controller[_0x324c('0xc')]);router['post']('/',auth[_0x324c('0x8')](),controller['create']);router[_0x324c('0xd')](_0x324c('0xb'),auth[_0x324c('0x8')](),controller[_0x324c('0xe')]);router[_0x324c('0xf')]('/:id',auth[_0x324c('0x8')](),controller[_0x324c('0x10')]);router['delete'](_0x324c('0x11'),auth['isAuthenticated'](),controller[_0x324c('0x12')]);router[_0x324c('0x13')](_0x324c('0x14'),auth[_0x324c('0x8')](),controller[_0x324c('0x15')]);module[_0x324c('0x16')]=router; \ No newline at end of file