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 _0xb756=['../../components/auth/service','../../config/environment','./mailQueueReport.controller','isAuthenticated','index','get','/describe','describe','/:id','show','destroy','exports','multer','util','connect-timeout','Router'];(function(_0x510f3b,_0x2cd215){var _0x3d7ab2=function(_0x2ed6b1){while(--_0x2ed6b1){_0x510f3b['push'](_0x510f3b['shift']());}};_0x3d7ab2(++_0x2cd215);}(_0xb756,0x1ec));var _0x6b75=function(_0x260dc5,_0x1b9973){_0x260dc5=_0x260dc5-0x0;var _0x4f7186=_0xb756[_0x260dc5];return _0x4f7186;};'use strict';var multer=require(_0x6b75('0x0'));var util=require(_0x6b75('0x1'));var path=require('path');var timeout=require(_0x6b75('0x2'));var express=require('express');var router=express[_0x6b75('0x3')]();var auth=require(_0x6b75('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x6b75('0x5'));var controller=require(_0x6b75('0x6'));router['get']('/',auth[_0x6b75('0x7')](),controller[_0x6b75('0x8')]);router[_0x6b75('0x9')](_0x6b75('0xa'),auth[_0x6b75('0x7')](),controller[_0x6b75('0xb')]);router[_0x6b75('0x9')](_0x6b75('0xc'),auth[_0x6b75('0x7')](),controller[_0x6b75('0xd')]);router['post']('/',auth[_0x6b75('0x7')](),controller['create']);router['put'](_0x6b75('0xc'),auth[_0x6b75('0x7')](),controller['update']);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x6b75('0xe')]);module[_0x6b75('0xf')]=router;