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 _0xa1d9=['util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./chatTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','create','put','update','delete','destroy','exports','multer'];(function(_0x31e29a,_0x349c9b){var _0x32d892=function(_0x41cc86){while(--_0x41cc86){_0x31e29a['push'](_0x31e29a['shift']());}};_0x32d892(++_0x349c9b);}(_0xa1d9,0x158));var _0x9a1d=function(_0x54debe,_0x4abdd8){_0x54debe=_0x54debe-0x0;var _0x2dd91b=_0xa1d9[_0x54debe];return _0x2dd91b;};'use strict';var multer=require(_0x9a1d('0x0'));var util=require(_0x9a1d('0x1'));var path=require(_0x9a1d('0x2'));var timeout=require(_0x9a1d('0x3'));var express=require(_0x9a1d('0x4'));var router=express[_0x9a1d('0x5')]();var fs_extra=require(_0x9a1d('0x6'));var auth=require(_0x9a1d('0x7'));var interaction=require(_0x9a1d('0x8'));var config=require('../../config/environment');var controller=require(_0x9a1d('0x9'));router[_0x9a1d('0xa')]('/',auth[_0x9a1d('0xb')](),controller[_0x9a1d('0xc')]);router[_0x9a1d('0xa')](_0x9a1d('0xd'),auth[_0x9a1d('0xb')](),controller[_0x9a1d('0xe')]);router[_0x9a1d('0xa')](_0x9a1d('0xf'),auth[_0x9a1d('0xb')](),controller[_0x9a1d('0x10')]);router['post']('/',auth[_0x9a1d('0xb')](),controller[_0x9a1d('0x11')]);router[_0x9a1d('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x9a1d('0x13')]);router[_0x9a1d('0x14')]('/:id',auth[_0x9a1d('0xb')](),controller[_0x9a1d('0x15')]);module[_0x9a1d('0x16')]=router;