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 _0xf567=['index','isAuthenticated','show','post','create','put','/:id','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailQueueReport.controller','get'];(function(_0x4f067e,_0x406536){var _0x3930d1=function(_0x326249){while(--_0x326249){_0x4f067e['push'](_0x4f067e['shift']());}};_0x3930d1(++_0x406536);}(_0xf567,0x19a));var _0x7f56=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xf567[_0x20a584];return _0x4b41a8;};'use strict';var multer=require(_0x7f56('0x0'));var util=require(_0x7f56('0x1'));var path=require('path');var timeout=require(_0x7f56('0x2'));var express=require(_0x7f56('0x3'));var router=express[_0x7f56('0x4')]();var auth=require(_0x7f56('0x5'));var interaction=require(_0x7f56('0x6'));var config=require(_0x7f56('0x7'));var controller=require(_0x7f56('0x8'));router[_0x7f56('0x9')]('/',auth['isAuthenticated'](),controller[_0x7f56('0xa')]);router[_0x7f56('0x9')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x7f56('0x9')]('/:id',auth[_0x7f56('0xb')](),controller[_0x7f56('0xc')]);router[_0x7f56('0xd')]('/',auth[_0x7f56('0xb')](),controller[_0x7f56('0xe')]);router[_0x7f56('0xf')](_0x7f56('0x10'),auth[_0x7f56('0xb')](),controller[_0x7f56('0x11')]);router[_0x7f56('0x12')](_0x7f56('0x10'),auth[_0x7f56('0xb')](),controller[_0x7f56('0x13')]);module[_0x7f56('0x14')]=router;