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 _0xf57e=['update','/:id/sounds/:id2','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceMusicOnHold.controller','index','get','/:id','isAuthenticated','/:id/sounds','getSounds','create','post','addSound','put'];(function(_0x1b24ae,_0x4191c4){var _0x113089=function(_0xb46773){while(--_0xb46773){_0x1b24ae['push'](_0x1b24ae['shift']());}};_0x113089(++_0x4191c4);}(_0xf57e,0x9d));var _0xef57=function(_0x328abe,_0x2c658c){_0x328abe=_0x328abe-0x0;var _0x50f64e=_0xf57e[_0x328abe];return _0x50f64e;};'use strict';var multer=require(_0xef57('0x0'));var util=require(_0xef57('0x1'));var path=require(_0xef57('0x2'));var timeout=require(_0xef57('0x3'));var express=require(_0xef57('0x4'));var router=express['Router']();var auth=require(_0xef57('0x5'));var interaction=require(_0xef57('0x6'));var config=require(_0xef57('0x7'));var controller=require(_0xef57('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0xef57('0x9')]);router[_0xef57('0xa')](_0xef57('0xb'),auth[_0xef57('0xc')](),controller['show']);router[_0xef57('0xa')](_0xef57('0xd'),auth['isAuthenticated'](),controller[_0xef57('0xe')]);router['post']('/',auth[_0xef57('0xc')](),controller[_0xef57('0xf')]);router[_0xef57('0x10')](_0xef57('0xd'),auth[_0xef57('0xc')](),controller[_0xef57('0x11')]);router[_0xef57('0x12')](_0xef57('0xb'),auth[_0xef57('0xc')](),controller[_0xef57('0x13')]);router['delete'](_0xef57('0xb'),auth[_0xef57('0xc')](),controller['destroy']);router['delete'](_0xef57('0x14'),auth[_0xef57('0xc')](),controller['removeSound']);module[_0xef57('0x15')]=router;