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