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