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 _0x1020=['connect-timeout','express','Router','../../components/auth/service','../../config/environment','./voiceMail.controller','get','index','/:id','isAuthenticated','show','/:id/messages','getMessages','post','create','update','delete','destroy','exports','multer','util','path'];(function(_0x38619a,_0x19ce9a){var _0x556c43=function(_0x22078f){while(--_0x22078f){_0x38619a['push'](_0x38619a['shift']());}};_0x556c43(++_0x19ce9a);}(_0x1020,0x1b5));var _0x0102=function(_0x4de586,_0x183427){_0x4de586=_0x4de586-0x0;var _0x46baf5=_0x1020[_0x4de586];return _0x46baf5;};'use strict';var multer=require(_0x0102('0x0'));var util=require(_0x0102('0x1'));var path=require(_0x0102('0x2'));var timeout=require(_0x0102('0x3'));var express=require(_0x0102('0x4'));var router=express[_0x0102('0x5')]();var auth=require(_0x0102('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x0102('0x7'));var controller=require(_0x0102('0x8'));router[_0x0102('0x9')]('/',auth['isAuthenticated'](),controller[_0x0102('0xa')]);router[_0x0102('0x9')](_0x0102('0xb'),auth[_0x0102('0xc')](),controller[_0x0102('0xd')]);router['get'](_0x0102('0xe'),auth[_0x0102('0xc')](),controller[_0x0102('0xf')]);router[_0x0102('0x10')]('/',auth[_0x0102('0xc')](),controller[_0x0102('0x11')]);router['put']('/:id',auth[_0x0102('0xc')](),controller[_0x0102('0x12')]);router[_0x0102('0x13')](_0x0102('0xb'),auth[_0x0102('0xc')](),controller[_0x0102('0x14')]);module[_0x0102('0x15')]=router;