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 _0xe037=['index','/describe','describe','/:id','show','create','put','update','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./mailTransferReport.controller','get','isAuthenticated'];(function(_0x4753b2,_0x4a7faa){var _0x53ff4e=function(_0x256804){while(--_0x256804){_0x4753b2['push'](_0x4753b2['shift']());}};_0x53ff4e(++_0x4a7faa);}(_0xe037,0xfa));var _0x7e03=function(_0x102b0c,_0x33dee4){_0x102b0c=_0x102b0c-0x0;var _0x9b15ca=_0xe037[_0x102b0c];return _0x9b15ca;};'use strict';var multer=require(_0x7e03('0x0'));var util=require('util');var path=require(_0x7e03('0x1'));var timeout=require(_0x7e03('0x2'));var express=require(_0x7e03('0x3'));var router=express[_0x7e03('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x7e03('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x7e03('0x6'));var controller=require(_0x7e03('0x7'));router[_0x7e03('0x8')]('/',auth[_0x7e03('0x9')](),controller[_0x7e03('0xa')]);router[_0x7e03('0x8')](_0x7e03('0xb'),auth[_0x7e03('0x9')](),controller[_0x7e03('0xc')]);router['get'](_0x7e03('0xd'),auth[_0x7e03('0x9')](),controller[_0x7e03('0xe')]);router['post']('/',auth[_0x7e03('0x9')](),controller[_0x7e03('0xf')]);router[_0x7e03('0x10')](_0x7e03('0xd'),auth['isAuthenticated'](),controller[_0x7e03('0x11')]);router['delete'](_0x7e03('0xd'),auth[_0x7e03('0x9')](),controller[_0x7e03('0x12')]);module[_0x7e03('0x13')]=router;