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 _0x38aa=['getMessages','post','create','put','update','delete','destroy','exports','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceMail.controller','get','isAuthenticated','index','/:id','show','/:id/messages'];(function(_0x29ce53,_0x44b7d0){var _0x7e7e0b=function(_0x72796a){while(--_0x72796a){_0x29ce53['push'](_0x29ce53['shift']());}};_0x7e7e0b(++_0x44b7d0);}(_0x38aa,0x1c0));var _0xa38a=function(_0x37ff41,_0x551712){_0x37ff41=_0x37ff41-0x0;var _0x4a7e41=_0x38aa[_0x37ff41];return _0x4a7e41;};'use strict';var multer=require(_0xa38a('0x0'));var util=require(_0xa38a('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xa38a('0x2'));var router=express[_0xa38a('0x3')]();var auth=require(_0xa38a('0x4'));var interaction=require(_0xa38a('0x5'));var config=require(_0xa38a('0x6'));var controller=require(_0xa38a('0x7'));router[_0xa38a('0x8')]('/',auth[_0xa38a('0x9')](),controller[_0xa38a('0xa')]);router[_0xa38a('0x8')](_0xa38a('0xb'),auth[_0xa38a('0x9')](),controller[_0xa38a('0xc')]);router[_0xa38a('0x8')](_0xa38a('0xd'),auth[_0xa38a('0x9')](),controller[_0xa38a('0xe')]);router[_0xa38a('0xf')]('/',auth[_0xa38a('0x9')](),controller[_0xa38a('0x10')]);router[_0xa38a('0x11')](_0xa38a('0xb'),auth[_0xa38a('0x9')](),controller[_0xa38a('0x12')]);router[_0xa38a('0x13')](_0xa38a('0xb'),auth['isAuthenticated'](),controller[_0xa38a('0x14')]);module[_0xa38a('0x15')]=router;