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 _0x11b4=['util','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailQueueReport.controller','get','isAuthenticated','index','describe','/:id','show','create','put','delete','destroy','exports','multer'];(function(_0x17a664,_0x260e88){var _0x5541e3=function(_0x12a5e9){while(--_0x12a5e9){_0x17a664['push'](_0x17a664['shift']());}};_0x5541e3(++_0x260e88);}(_0x11b4,0x12f));var _0x411b=function(_0xfb4154,_0x6bf50b){_0xfb4154=_0xfb4154-0x0;var _0x321e04=_0x11b4[_0xfb4154];return _0x321e04;};'use strict';var multer=require(_0x411b('0x0'));var util=require(_0x411b('0x1'));var path=require('path');var timeout=require(_0x411b('0x2'));var express=require('express');var router=express[_0x411b('0x3')]();var auth=require(_0x411b('0x4'));var interaction=require(_0x411b('0x5'));var config=require(_0x411b('0x6'));var controller=require(_0x411b('0x7'));router[_0x411b('0x8')]('/',auth[_0x411b('0x9')](),controller[_0x411b('0xa')]);router[_0x411b('0x8')]('/describe',auth[_0x411b('0x9')](),controller[_0x411b('0xb')]);router['get'](_0x411b('0xc'),auth[_0x411b('0x9')](),controller[_0x411b('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0x411b('0xe')]);router[_0x411b('0xf')]('/:id',auth[_0x411b('0x9')](),controller['update']);router[_0x411b('0x10')](_0x411b('0xc'),auth[_0x411b('0x9')](),controller[_0x411b('0x11')]);module[_0x411b('0x12')]=router;