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 _0x6ef5=['/:id/sounds/:id2','exports','multer','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceMusicOnHold.controller','get','isAuthenticated','index','/:id','/:id/sounds','getSounds','post','create','addSound','put','update','delete'];(function(_0xc8db6b,_0x320abd){var _0x12cb81=function(_0x417540){while(--_0x417540){_0xc8db6b['push'](_0xc8db6b['shift']());}};_0x12cb81(++_0x320abd);}(_0x6ef5,0x1b7));var _0x56ef=function(_0x38e768,_0x2c8ce9){_0x38e768=_0x38e768-0x0;var _0xd10138=_0x6ef5[_0x38e768];return _0xd10138;};'use strict';var multer=require(_0x56ef('0x0'));var util=require('util');var path=require(_0x56ef('0x1'));var timeout=require('connect-timeout');var express=require(_0x56ef('0x2'));var router=express[_0x56ef('0x3')]();var fs_extra=require(_0x56ef('0x4'));var auth=require(_0x56ef('0x5'));var interaction=require(_0x56ef('0x6'));var config=require(_0x56ef('0x7'));var controller=require(_0x56ef('0x8'));router[_0x56ef('0x9')]('/',auth[_0x56ef('0xa')](),controller[_0x56ef('0xb')]);router[_0x56ef('0x9')](_0x56ef('0xc'),auth[_0x56ef('0xa')](),controller['show']);router[_0x56ef('0x9')](_0x56ef('0xd'),auth[_0x56ef('0xa')](),controller[_0x56ef('0xe')]);router[_0x56ef('0xf')]('/',auth[_0x56ef('0xa')](),controller[_0x56ef('0x10')]);router['post'](_0x56ef('0xd'),auth[_0x56ef('0xa')](),controller[_0x56ef('0x11')]);router[_0x56ef('0x12')](_0x56ef('0xc'),auth[_0x56ef('0xa')](),controller[_0x56ef('0x13')]);router[_0x56ef('0x14')](_0x56ef('0xc'),auth[_0x56ef('0xa')](),controller['destroy']);router[_0x56ef('0x14')](_0x56ef('0x15'),auth[_0x56ef('0xa')](),controller['removeSound']);module[_0x56ef('0x16')]=router;