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