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 _0xf416=['/describe','isAuthenticated','show','put','/:id','update','delete','destroy','util','path','express','Router','fs-extra','get','index'];(function(_0x2d9535,_0x4bc592){var _0xb4e710=function(_0x50b9a9){while(--_0x50b9a9){_0x2d9535['push'](_0x2d9535['shift']());}};_0xb4e710(++_0x4bc592);}(_0xf416,0x134));var _0x6f41=function(_0x281549,_0x2a6b9d){_0x281549=_0x281549-0x0;var _0x5e3dfb=_0xf416[_0x281549];return _0x5e3dfb;};'use strict';var multer=require('multer');var util=require(_0x6f41('0x0'));var path=require(_0x6f41('0x1'));var timeout=require('connect-timeout');var express=require(_0x6f41('0x2'));var router=express[_0x6f41('0x3')]();var fs_extra=require(_0x6f41('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./openchannelTransferReport.controller');router[_0x6f41('0x5')]('/',auth['isAuthenticated'](),controller[_0x6f41('0x6')]);router['get'](_0x6f41('0x7'),auth[_0x6f41('0x8')](),controller['describe']);router['get']('/:id',auth[_0x6f41('0x8')](),controller[_0x6f41('0x9')]);router['post']('/',auth[_0x6f41('0x8')](),controller['create']);router[_0x6f41('0xa')](_0x6f41('0xb'),auth[_0x6f41('0x8')](),controller[_0x6f41('0xc')]);router[_0x6f41('0xd')](_0x6f41('0xb'),auth['isAuthenticated'](),controller[_0x6f41('0xe')]);module['exports']=router;