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