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