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 _0x6b6c=['isAuthenticated','getSounds','post','create','addSound','put','update','delete','destroy','/:id/sounds/:id2','removeSound','exports','multer','util','path','express','Router','../../components/interaction/service','../../config/environment','./voiceMusicOnHold.controller','get','index','/:id','show','/:id/sounds'];(function(_0x2287df,_0x5a4a24){var _0x2afbc1=function(_0x3af10a){while(--_0x3af10a){_0x2287df['push'](_0x2287df['shift']());}};_0x2afbc1(++_0x5a4a24);}(_0x6b6c,0x1b5));var _0xc6b6=function(_0x320ff0,_0x49ca2f){_0x320ff0=_0x320ff0-0x0;var _0x4a892b=_0x6b6c[_0x320ff0];return _0x4a892b;};'use strict';var multer=require(_0xc6b6('0x0'));var util=require(_0xc6b6('0x1'));var path=require(_0xc6b6('0x2'));var timeout=require('connect-timeout');var express=require(_0xc6b6('0x3'));var router=express[_0xc6b6('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xc6b6('0x5'));var config=require(_0xc6b6('0x6'));var controller=require(_0xc6b6('0x7'));router[_0xc6b6('0x8')]('/',auth['isAuthenticated'](),controller[_0xc6b6('0x9')]);router[_0xc6b6('0x8')](_0xc6b6('0xa'),auth['isAuthenticated'](),controller[_0xc6b6('0xb')]);router[_0xc6b6('0x8')](_0xc6b6('0xc'),auth[_0xc6b6('0xd')](),controller[_0xc6b6('0xe')]);router[_0xc6b6('0xf')]('/',auth[_0xc6b6('0xd')](),controller[_0xc6b6('0x10')]);router[_0xc6b6('0xf')](_0xc6b6('0xc'),auth[_0xc6b6('0xd')](),controller[_0xc6b6('0x11')]);router[_0xc6b6('0x12')](_0xc6b6('0xa'),auth['isAuthenticated'](),controller[_0xc6b6('0x13')]);router[_0xc6b6('0x14')](_0xc6b6('0xa'),auth[_0xc6b6('0xd')](),controller[_0xc6b6('0x15')]);router[_0xc6b6('0x14')](_0xc6b6('0x16'),auth[_0xc6b6('0xd')](),controller[_0xc6b6('0x17')]);module[_0xc6b6('0x18')]=router;