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 _0x3068=['destroy','exports','path','express','../../components/interaction/service','get','isAuthenticated','/:id','/:id/messages','getMessages','create','put','update','delete'];(function(_0x40e557,_0x2822e9){var _0xbdd0e6=function(_0x28fbcd){while(--_0x28fbcd){_0x40e557['push'](_0x40e557['shift']());}};_0xbdd0e6(++_0x2822e9);}(_0x3068,0x1c2));var _0x8306=function(_0x381458,_0x481509){_0x381458=_0x381458-0x0;var _0x2b58fb=_0x3068[_0x381458];return _0x2b58fb;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x8306('0x0'));var timeout=require('connect-timeout');var express=require(_0x8306('0x1'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x8306('0x2'));var config=require('../../config/environment');var controller=require('./voiceMail.controller');router[_0x8306('0x3')]('/',auth[_0x8306('0x4')](),controller['index']);router[_0x8306('0x3')](_0x8306('0x5'),auth[_0x8306('0x4')](),controller['show']);router['get'](_0x8306('0x6'),auth[_0x8306('0x4')](),controller[_0x8306('0x7')]);router['post']('/',auth[_0x8306('0x4')](),controller[_0x8306('0x8')]);router[_0x8306('0x9')](_0x8306('0x5'),auth[_0x8306('0x4')](),controller[_0x8306('0xa')]);router[_0x8306('0xb')](_0x8306('0x5'),auth[_0x8306('0x4')](),controller[_0x8306('0xc')]);module[_0x8306('0xd')]=router;