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 _0x054d=['/:id','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/describe','describe','isAuthenticated','show','create','update','delete'];(function(_0x312cb2,_0x45f3b2){var _0xe10bef=function(_0x5ab658){while(--_0x5ab658){_0x312cb2['push'](_0x312cb2['shift']());}};_0xe10bef(++_0x45f3b2);}(_0x054d,0x120));var _0xd054=function(_0x5a0213,_0x4ff666){_0x5a0213=_0x5a0213-0x0;var _0x10af77=_0x054d[_0x5a0213];return _0x10af77;};'use strict';var multer=require('multer');var util=require(_0xd054('0x0'));var path=require(_0xd054('0x1'));var timeout=require(_0xd054('0x2'));var express=require(_0xd054('0x3'));var router=express[_0xd054('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xd054('0x5'));var interaction=require(_0xd054('0x6'));var config=require(_0xd054('0x7'));var controller=require('./chatTransferReport.controller');router[_0xd054('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0xd054('0x8')](_0xd054('0x9'),auth['isAuthenticated'](),controller[_0xd054('0xa')]);router[_0xd054('0x8')]('/:id',auth[_0xd054('0xb')](),controller[_0xd054('0xc')]);router['post']('/',auth[_0xd054('0xb')](),controller[_0xd054('0xd')]);router['put']('/:id',auth[_0xd054('0xb')](),controller[_0xd054('0xe')]);router[_0xd054('0xf')](_0xd054('0x10'),auth[_0xd054('0xb')](),controller[_0xd054('0x11')]);module[_0xd054('0x12')]=router;