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