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 _0x918c=['../../config/environment','get','index','/describe','isAuthenticated','describe','post','create','/:id','update','delete','destroy','exports','multer','path','express','Router','fs-extra','../../components/interaction/service'];(function(_0x4e8146,_0x43af68){var _0x1e2dbd=function(_0x5a0a22){while(--_0x5a0a22){_0x4e8146['push'](_0x4e8146['shift']());}};_0x1e2dbd(++_0x43af68);}(_0x918c,0x104));var _0xc918=function(_0x2f45ea,_0x15c656){_0x2f45ea=_0x2f45ea-0x0;var _0x485a84=_0x918c[_0x2f45ea];return _0x485a84;};'use strict';var multer=require(_0xc918('0x0'));var util=require('util');var path=require(_0xc918('0x1'));var timeout=require('connect-timeout');var express=require(_0xc918('0x2'));var router=express[_0xc918('0x3')]();var fs_extra=require(_0xc918('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xc918('0x5'));var config=require(_0xc918('0x6'));var controller=require('./voiceTransferReport.controller');router[_0xc918('0x7')]('/',auth['isAuthenticated'](),controller[_0xc918('0x8')]);router['get'](_0xc918('0x9'),auth[_0xc918('0xa')](),controller[_0xc918('0xb')]);router['get']('/:id',auth['isAuthenticated'](),controller['show']);router[_0xc918('0xc')]('/',auth[_0xc918('0xa')](),controller[_0xc918('0xd')]);router['put'](_0xc918('0xe'),auth[_0xc918('0xa')](),controller[_0xc918('0xf')]);router[_0xc918('0x10')](_0xc918('0xe'),auth[_0xc918('0xa')](),controller[_0xc918('0x11')]);module[_0xc918('0x12')]=router;