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 _0x36b1=['put','update','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceMailMessage.controller','get','index','/:id','isAuthenticated','show','/:id/download','download','post'];(function(_0x373dee,_0x1a8c45){var _0x46798f=function(_0xc389f0){while(--_0xc389f0){_0x373dee['push'](_0x373dee['shift']());}};_0x46798f(++_0x1a8c45);}(_0x36b1,0x72));var _0x136b=function(_0x308f8f,_0x1fc3c2){_0x308f8f=_0x308f8f-0x0;var _0x35dd40=_0x36b1[_0x308f8f];return _0x35dd40;};'use strict';var multer=require(_0x136b('0x0'));var util=require(_0x136b('0x1'));var path=require('path');var timeout=require(_0x136b('0x2'));var express=require(_0x136b('0x3'));var router=express[_0x136b('0x4')]();var fs_extra=require(_0x136b('0x5'));var auth=require(_0x136b('0x6'));var interaction=require(_0x136b('0x7'));var config=require(_0x136b('0x8'));var controller=require(_0x136b('0x9'));router[_0x136b('0xa')]('/',auth['isAuthenticated'](),controller[_0x136b('0xb')]);router[_0x136b('0xa')](_0x136b('0xc'),auth[_0x136b('0xd')](),controller[_0x136b('0xe')]);router[_0x136b('0xa')](_0x136b('0xf'),auth[_0x136b('0xd')](),controller[_0x136b('0x10')]);router[_0x136b('0x11')]('/',auth['isAuthenticated'](),controller['create']);router[_0x136b('0x12')](_0x136b('0xc'),auth[_0x136b('0xd')](),controller[_0x136b('0x13')]);router['delete'](_0x136b('0xc'),auth[_0x136b('0xd')](),controller[_0x136b('0x14')]);module[_0x136b('0x15')]=router;