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 _0xf7d1=['fs-extra','../../components/auth/service','./mailQueueReport.controller','get','isAuthenticated','/describe','describe','/:id','put','delete','destroy','exports','multer','util','express','Router'];(function(_0x2795dd,_0x157893){var _0x30f875=function(_0x227a1d){while(--_0x227a1d){_0x2795dd['push'](_0x2795dd['shift']());}};_0x30f875(++_0x157893);}(_0xf7d1,0x7c));var _0x1f7d=function(_0x24a291,_0xe03d7a){_0x24a291=_0x24a291-0x0;var _0x435c62=_0xf7d1[_0x24a291];return _0x435c62;};'use strict';var multer=require(_0x1f7d('0x0'));var util=require(_0x1f7d('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x1f7d('0x2'));var router=express[_0x1f7d('0x3')]();var fs_extra=require(_0x1f7d('0x4'));var auth=require(_0x1f7d('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x1f7d('0x6'));router[_0x1f7d('0x7')]('/',auth[_0x1f7d('0x8')](),controller['index']);router['get'](_0x1f7d('0x9'),auth[_0x1f7d('0x8')](),controller[_0x1f7d('0xa')]);router['get'](_0x1f7d('0xb'),auth[_0x1f7d('0x8')](),controller['show']);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x1f7d('0xc')](_0x1f7d('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x1f7d('0xd')](_0x1f7d('0xb'),auth[_0x1f7d('0x8')](),controller[_0x1f7d('0xe')]);module[_0x1f7d('0xf')]=router;