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 _0x40dc=['put','delete','destroy','exports','multer','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceMail.controller','get','isAuthenticated','/:id','/:id/messages','getMessages','post','create'];(function(_0xe299a3,_0x34b664){var _0x19c837=function(_0x516801){while(--_0x516801){_0xe299a3['push'](_0xe299a3['shift']());}};_0x19c837(++_0x34b664);}(_0x40dc,0x17e));var _0xc40d=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x40dc[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xc40d('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xc40d('0x1'));var express=require(_0xc40d('0x2'));var router=express['Router']();var auth=require(_0xc40d('0x3'));var interaction=require(_0xc40d('0x4'));var config=require(_0xc40d('0x5'));var controller=require(_0xc40d('0x6'));router[_0xc40d('0x7')]('/',auth[_0xc40d('0x8')](),controller['index']);router[_0xc40d('0x7')](_0xc40d('0x9'),auth[_0xc40d('0x8')](),controller['show']);router[_0xc40d('0x7')](_0xc40d('0xa'),auth[_0xc40d('0x8')](),controller[_0xc40d('0xb')]);router[_0xc40d('0xc')]('/',auth[_0xc40d('0x8')](),controller[_0xc40d('0xd')]);router[_0xc40d('0xe')](_0xc40d('0x9'),auth[_0xc40d('0x8')](),controller['update']);router[_0xc40d('0xf')](_0xc40d('0x9'),auth[_0xc40d('0x8')](),controller[_0xc40d('0x10')]);module[_0xc40d('0x11')]=router;