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 _0x5f85=['../../config/environment','./voiceTransferReport.controller','get','index','describe','/:id','isAuthenticated','show','post','create','update','delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x24d5a4,_0x12611c){var _0x592a71=function(_0x31883b){while(--_0x31883b){_0x24d5a4['push'](_0x24d5a4['shift']());}};_0x592a71(++_0x12611c);}(_0x5f85,0x1c5));var _0x55f8=function(_0x5cc4c4,_0x5ee203){_0x5cc4c4=_0x5cc4c4-0x0;var _0xe79bc4=_0x5f85[_0x5cc4c4];return _0xe79bc4;};'use strict';var multer=require(_0x55f8('0x0'));var util=require(_0x55f8('0x1'));var path=require(_0x55f8('0x2'));var timeout=require(_0x55f8('0x3'));var express=require(_0x55f8('0x4'));var router=express[_0x55f8('0x5')]();var fs_extra=require(_0x55f8('0x6'));var auth=require(_0x55f8('0x7'));var interaction=require(_0x55f8('0x8'));var config=require(_0x55f8('0x9'));var controller=require(_0x55f8('0xa'));router[_0x55f8('0xb')]('/',auth['isAuthenticated'](),controller[_0x55f8('0xc')]);router[_0x55f8('0xb')]('/describe',auth['isAuthenticated'](),controller[_0x55f8('0xd')]);router[_0x55f8('0xb')](_0x55f8('0xe'),auth[_0x55f8('0xf')](),controller[_0x55f8('0x10')]);router[_0x55f8('0x11')]('/',auth[_0x55f8('0xf')](),controller[_0x55f8('0x12')]);router['put']('/:id',auth[_0x55f8('0xf')](),controller[_0x55f8('0x13')]);router[_0x55f8('0x14')](_0x55f8('0xe'),auth['isAuthenticated'](),controller['destroy']);module[_0x55f8('0x15')]=router;