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