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 _0x3d48=['path','connect-timeout','express','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','/:id','show','post','create','update','delete','exports','multer','util'];(function(_0x439083,_0x18f6e2){var _0x54c089=function(_0x40de42){while(--_0x40de42){_0x439083['push'](_0x439083['shift']());}};_0x54c089(++_0x18f6e2);}(_0x3d48,0xfd));var _0x83d4=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0x3d48[_0x502c7d];return _0x30b7ed;};'use strict';var multer=require(_0x83d4('0x0'));var util=require(_0x83d4('0x1'));var path=require(_0x83d4('0x2'));var timeout=require(_0x83d4('0x3'));var express=require(_0x83d4('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x83d4('0x5'));var config=require(_0x83d4('0x6'));var controller=require('./chatTransferReport.controller');router[_0x83d4('0x7')]('/',auth[_0x83d4('0x8')](),controller['index']);router[_0x83d4('0x7')](_0x83d4('0x9'),auth[_0x83d4('0x8')](),controller['describe']);router[_0x83d4('0x7')](_0x83d4('0xa'),auth[_0x83d4('0x8')](),controller[_0x83d4('0xb')]);router[_0x83d4('0xc')]('/',auth[_0x83d4('0x8')](),controller[_0x83d4('0xd')]);router['put'](_0x83d4('0xa'),auth[_0x83d4('0x8')](),controller[_0x83d4('0xe')]);router[_0x83d4('0xf')]('/:id',auth[_0x83d4('0x8')](),controller['destroy']);module[_0x83d4('0x10')]=router;