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 _0x81a8=['describe','/:id','show','post','create','put','delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe'];(function(_0x189ced,_0xacd4a7){var _0x444980=function(_0x5c7759){while(--_0x5c7759){_0x189ced['push'](_0x189ced['shift']());}};_0x444980(++_0xacd4a7);}(_0x81a8,0xef));var _0x881a=function(_0x92bc95,_0x2dbcc0){_0x92bc95=_0x92bc95-0x0;var _0x1d671e=_0x81a8[_0x92bc95];return _0x1d671e;};'use strict';var multer=require(_0x881a('0x0'));var util=require(_0x881a('0x1'));var path=require(_0x881a('0x2'));var timeout=require(_0x881a('0x3'));var express=require(_0x881a('0x4'));var router=express[_0x881a('0x5')]();var fs_extra=require(_0x881a('0x6'));var auth=require(_0x881a('0x7'));var interaction=require(_0x881a('0x8'));var config=require('../../config/environment');var controller=require('./chatTransferReport.controller');router[_0x881a('0x9')]('/',auth[_0x881a('0xa')](),controller[_0x881a('0xb')]);router['get'](_0x881a('0xc'),auth[_0x881a('0xa')](),controller[_0x881a('0xd')]);router[_0x881a('0x9')](_0x881a('0xe'),auth[_0x881a('0xa')](),controller[_0x881a('0xf')]);router[_0x881a('0x10')]('/',auth['isAuthenticated'](),controller[_0x881a('0x11')]);router[_0x881a('0x12')](_0x881a('0xe'),auth[_0x881a('0xa')](),controller['update']);router[_0x881a('0x13')](_0x881a('0xe'),auth['isAuthenticated'](),controller['destroy']);module[_0x881a('0x14')]=router;