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 _0xa068=['create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./mailQueueReport.controller','isAuthenticated','index','get','/:id','show','post'];(function(_0x4e65e3,_0x5a3fe7){var _0x1c0690=function(_0x54aaeb){while(--_0x54aaeb){_0x4e65e3['push'](_0x4e65e3['shift']());}};_0x1c0690(++_0x5a3fe7);}(_0xa068,0x1d4));var _0x8a06=function(_0x5e1b22,_0x5a456a){_0x5e1b22=_0x5e1b22-0x0;var _0x329e7e=_0xa068[_0x5e1b22];return _0x329e7e;};'use strict';var multer=require(_0x8a06('0x0'));var util=require(_0x8a06('0x1'));var path=require(_0x8a06('0x2'));var timeout=require(_0x8a06('0x3'));var express=require(_0x8a06('0x4'));var router=express[_0x8a06('0x5')]();var fs_extra=require(_0x8a06('0x6'));var auth=require(_0x8a06('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x8a06('0x8'));router['get']('/',auth[_0x8a06('0x9')](),controller[_0x8a06('0xa')]);router[_0x8a06('0xb')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x8a06('0xb')](_0x8a06('0xc'),auth[_0x8a06('0x9')](),controller[_0x8a06('0xd')]);router[_0x8a06('0xe')]('/',auth[_0x8a06('0x9')](),controller[_0x8a06('0xf')]);router[_0x8a06('0x10')](_0x8a06('0xc'),auth[_0x8a06('0x9')](),controller[_0x8a06('0x11')]);router[_0x8a06('0x12')](_0x8a06('0xc'),auth[_0x8a06('0x9')](),controller[_0x8a06('0x13')]);module[_0x8a06('0x14')]=router;