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 _0x9d59=['destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','/:id','show','post','create','put','update','delete'];(function(_0xcd07c,_0x8f566c){var _0xb99e27=function(_0x2d19d2){while(--_0x2d19d2){_0xcd07c['push'](_0xcd07c['shift']());}};_0xb99e27(++_0x8f566c);}(_0x9d59,0xca));var _0x99d5=function(_0x51bb89,_0x2ae4bb){_0x51bb89=_0x51bb89-0x0;var _0x151631=_0x9d59[_0x51bb89];return _0x151631;};'use strict';var multer=require('multer');var util=require(_0x99d5('0x0'));var path=require(_0x99d5('0x1'));var timeout=require(_0x99d5('0x2'));var express=require(_0x99d5('0x3'));var router=express[_0x99d5('0x4')]();var auth=require(_0x99d5('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x99d5('0x6'));var controller=require('./mailQueueReport.controller');router[_0x99d5('0x7')]('/',auth[_0x99d5('0x8')](),controller[_0x99d5('0x9')]);router['get'](_0x99d5('0xa'),auth[_0x99d5('0x8')](),controller['describe']);router[_0x99d5('0x7')](_0x99d5('0xb'),auth['isAuthenticated'](),controller[_0x99d5('0xc')]);router[_0x99d5('0xd')]('/',auth[_0x99d5('0x8')](),controller[_0x99d5('0xe')]);router[_0x99d5('0xf')](_0x99d5('0xb'),auth['isAuthenticated'](),controller[_0x99d5('0x10')]);router[_0x99d5('0x11')]('/:id',auth[_0x99d5('0x8')](),controller[_0x99d5('0x12')]);module[_0x99d5('0x13')]=router;