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 _0x289a=['post','create','delete','destroy','multer','path','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','/:id','show'];(function(_0x1b2b41,_0x4dc009){var _0x285c0e=function(_0x32c5ae){while(--_0x32c5ae){_0x1b2b41['push'](_0x1b2b41['shift']());}};_0x285c0e(++_0x4dc009);}(_0x289a,0xd0));var _0xa289=function(_0x1ded0f,_0x2c82a9){_0x1ded0f=_0x1ded0f-0x0;var _0x1ad47a=_0x289a[_0x1ded0f];return _0x1ad47a;};'use strict';var multer=require(_0xa289('0x0'));var util=require('util');var path=require(_0xa289('0x1'));var timeout=require(_0xa289('0x2'));var express=require(_0xa289('0x3'));var router=express['Router']();var fs_extra=require(_0xa289('0x4'));var auth=require(_0xa289('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xa289('0x6'));var controller=require('./voiceTransferReport.controller');router[_0xa289('0x7')]('/',auth[_0xa289('0x8')](),controller[_0xa289('0x9')]);router['get'](_0xa289('0xa'),auth[_0xa289('0x8')](),controller['describe']);router[_0xa289('0x7')](_0xa289('0xb'),auth['isAuthenticated'](),controller[_0xa289('0xc')]);router[_0xa289('0xd')]('/',auth['isAuthenticated'](),controller[_0xa289('0xe')]);router['put'](_0xa289('0xb'),auth[_0xa289('0x8')](),controller['update']);router[_0xa289('0xf')](_0xa289('0xb'),auth[_0xa289('0x8')](),controller[_0xa289('0x10')]);module['exports']=router;