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