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 _0x107b=['index','/describe','/:id','show','post','create','update','delete','destroy','util','path','express','Router','../../components/auth/service','get','isAuthenticated'];(function(_0x263a74,_0xc31414){var _0x2aa86c=function(_0x382896){while(--_0x382896){_0x263a74['push'](_0x263a74['shift']());}};_0x2aa86c(++_0xc31414);}(_0x107b,0x69));var _0xb107=function(_0x185cf1,_0x338159){_0x185cf1=_0x185cf1-0x0;var _0x4e1bdd=_0x107b[_0x185cf1];return _0x4e1bdd;};'use strict';var multer=require('multer');var util=require(_0xb107('0x0'));var path=require(_0xb107('0x1'));var timeout=require('connect-timeout');var express=require(_0xb107('0x2'));var router=express[_0xb107('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xb107('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./voiceTransferReport.controller');router[_0xb107('0x5')]('/',auth[_0xb107('0x6')](),controller[_0xb107('0x7')]);router[_0xb107('0x5')](_0xb107('0x8'),auth[_0xb107('0x6')](),controller['describe']);router[_0xb107('0x5')](_0xb107('0x9'),auth['isAuthenticated'](),controller[_0xb107('0xa')]);router[_0xb107('0xb')]('/',auth[_0xb107('0x6')](),controller[_0xb107('0xc')]);router['put'](_0xb107('0x9'),auth[_0xb107('0x6')](),controller[_0xb107('0xd')]);router[_0xb107('0xe')](_0xb107('0x9'),auth[_0xb107('0x6')](),controller[_0xb107('0xf')]);module['exports']=router;