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