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 _0xb577=['destroy','exports','multer','util','path','express','fs-extra','../../components/auth/service','../../config/environment','./voiceMailMessage.controller','get','isAuthenticated','index','/:id','show','/:id/download','download','post','create','update'];(function(_0x397e5f,_0x454c8f){var _0x5302b8=function(_0x1a29ef){while(--_0x1a29ef){_0x397e5f['push'](_0x397e5f['shift']());}};_0x5302b8(++_0x454c8f);}(_0xb577,0xca));var _0x7b57=function(_0x4d40dd,_0x39592b){_0x4d40dd=_0x4d40dd-0x0;var _0x1c51f2=_0xb577[_0x4d40dd];return _0x1c51f2;};'use strict';var multer=require(_0x7b57('0x0'));var util=require(_0x7b57('0x1'));var path=require(_0x7b57('0x2'));var timeout=require('connect-timeout');var express=require(_0x7b57('0x3'));var router=express['Router']();var fs_extra=require(_0x7b57('0x4'));var auth=require(_0x7b57('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x7b57('0x6'));var controller=require(_0x7b57('0x7'));router[_0x7b57('0x8')]('/',auth[_0x7b57('0x9')](),controller[_0x7b57('0xa')]);router['get'](_0x7b57('0xb'),auth[_0x7b57('0x9')](),controller[_0x7b57('0xc')]);router[_0x7b57('0x8')](_0x7b57('0xd'),auth[_0x7b57('0x9')](),controller[_0x7b57('0xe')]);router[_0x7b57('0xf')]('/',auth[_0x7b57('0x9')](),controller[_0x7b57('0x10')]);router['put'](_0x7b57('0xb'),auth[_0x7b57('0x9')](),controller[_0x7b57('0x11')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x7b57('0x12')]);module[_0x7b57('0x13')]=router;