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 _0xdc7d=['isAuthenticated','/:id','show','/:id/download','download','put','delete','destroy','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./voiceMailMessage.controller','get'];(function(_0x1378cd,_0xf6495f){var _0x5c1496=function(_0x3a0ebd){while(--_0x3a0ebd){_0x1378cd['push'](_0x1378cd['shift']());}};_0x5c1496(++_0xf6495f);}(_0xdc7d,0x117));var _0xddc7=function(_0x26b023,_0xbe81e6){_0x26b023=_0x26b023-0x0;var _0x48883a=_0xdc7d[_0x26b023];return _0x48883a;};'use strict';var multer=require('multer');var util=require(_0xddc7('0x0'));var path=require('path');var timeout=require(_0xddc7('0x1'));var express=require(_0xddc7('0x2'));var router=express[_0xddc7('0x3')]();var fs_extra=require(_0xddc7('0x4'));var auth=require(_0xddc7('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xddc7('0x6'));var controller=require(_0xddc7('0x7'));router[_0xddc7('0x8')]('/',auth[_0xddc7('0x9')](),controller['index']);router[_0xddc7('0x8')](_0xddc7('0xa'),auth[_0xddc7('0x9')](),controller[_0xddc7('0xb')]);router[_0xddc7('0x8')](_0xddc7('0xc'),auth[_0xddc7('0x9')](),controller[_0xddc7('0xd')]);router['post']('/',auth[_0xddc7('0x9')](),controller['create']);router[_0xddc7('0xe')](_0xddc7('0xa'),auth['isAuthenticated'](),controller['update']);router[_0xddc7('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xddc7('0x10')]);module[_0xddc7('0x11')]=router;