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