1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 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;