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