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