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