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 _0xe13d=['../../components/auth/service','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','post','create','update','delete','destroy','exports','multer','util','connect-timeout','express','Router'];(function(_0x9cd4c3,_0x1c9b2c){var _0x4c9025=function(_0x25b3c6){while(--_0x25b3c6){_0x9cd4c3['push'](_0x9cd4c3['shift']());}};_0x4c9025(++_0x1c9b2c);}(_0xe13d,0xf7));var _0xde13=function(_0x42245d,_0x51758f){_0x42245d=_0x42245d-0x0;var _0x4b211a=_0xe13d[_0x42245d];return _0x4b211a;};'use strict';var multer=require(_0xde13('0x0'));var util=require(_0xde13('0x1'));var path=require('path');var timeout=require(_0xde13('0x2'));var express=require(_0xde13('0x3'));var router=express[_0xde13('0x4')]();var auth=require(_0xde13('0x5'));var interaction=require(_0xde13('0x6'));var config=require(_0xde13('0x7'));var controller=require(_0xde13('0x8'));router[_0xde13('0x9')]('/',auth[_0xde13('0xa')](),controller[_0xde13('0xb')]);router['get'](_0xde13('0xc'),auth['isAuthenticated'](),controller[_0xde13('0xd')]);router[_0xde13('0x9')](_0xde13('0xe'),auth[_0xde13('0xa')](),controller['show']);router[_0xde13('0xf')]('/',auth[_0xde13('0xa')](),controller[_0xde13('0x10')]);router['put']('/:id',auth[_0xde13('0xa')](),controller[_0xde13('0x11')]);router[_0xde13('0x12')](_0xde13('0xe'),auth[_0xde13('0xa')](),controller[_0xde13('0x13')]);module[_0xde13('0x14')]=router;