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