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 _0xabda=['../../config/environment','./chatTransferReport.controller','isAuthenticated','get','/:id','post','create','put','update','delete','exports','multer','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x2d84ca,_0x37dc7d){var _0x59a679=function(_0x1a624b){while(--_0x1a624b){_0x2d84ca['push'](_0x2d84ca['shift']());}};_0x59a679(++_0x37dc7d);}(_0xabda,0x13d));var _0xaabd=function(_0x248bf0,_0x29a685){_0x248bf0=_0x248bf0-0x0;var _0x455c00=_0xabda[_0x248bf0];return _0x455c00;};'use strict';var multer=require(_0xaabd('0x0'));var util=require('util');var path=require(_0xaabd('0x1'));var timeout=require(_0xaabd('0x2'));var express=require(_0xaabd('0x3'));var router=express['Router']();var fs_extra=require(_0xaabd('0x4'));var auth=require(_0xaabd('0x5'));var interaction=require(_0xaabd('0x6'));var config=require(_0xaabd('0x7'));var controller=require(_0xaabd('0x8'));router['get']('/',auth[_0xaabd('0x9')](),controller['index']);router[_0xaabd('0xa')]('/describe',auth[_0xaabd('0x9')](),controller['describe']);router[_0xaabd('0xa')](_0xaabd('0xb'),auth[_0xaabd('0x9')](),controller['show']);router[_0xaabd('0xc')]('/',auth['isAuthenticated'](),controller[_0xaabd('0xd')]);router[_0xaabd('0xe')](_0xaabd('0xb'),auth[_0xaabd('0x9')](),controller[_0xaabd('0xf')]);router[_0xaabd('0x10')](_0xaabd('0xb'),auth[_0xaabd('0x9')](),controller['destroy']);module[_0xaabd('0x11')]=router;