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