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