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 _0x483a=['show','/:id/download','download','post','create','delete','/:id','destroy','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceMailMessage.controller','isAuthenticated'];(function(_0x18ab2a,_0x4debcd){var _0x16dcee=function(_0x10107a){while(--_0x10107a){_0x18ab2a['push'](_0x18ab2a['shift']());}};_0x16dcee(++_0x4debcd);}(_0x483a,0x129));var _0xa483=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x483a[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xa483('0x0'));var util=require(_0xa483('0x1'));var path=require('path');var timeout=require(_0xa483('0x2'));var express=require(_0xa483('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xa483('0x4'));var interaction=require(_0xa483('0x5'));var config=require(_0xa483('0x6'));var controller=require(_0xa483('0x7'));router['get']('/',auth['isAuthenticated'](),controller['index']);router['get']('/:id',auth[_0xa483('0x8')](),controller[_0xa483('0x9')]);router['get'](_0xa483('0xa'),auth[_0xa483('0x8')](),controller[_0xa483('0xb')]);router[_0xa483('0xc')]('/',auth[_0xa483('0x8')](),controller[_0xa483('0xd')]);router['put']('/:id',auth[_0xa483('0x8')](),controller['update']);router[_0xa483('0xe')](_0xa483('0xf'),auth[_0xa483('0x8')](),controller[_0xa483('0x10')]);module[_0xa483('0x11')]=router;