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