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