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