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