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 _0xc024=['../../components/interaction/service','../../config/environment','index','get','/describe','isAuthenticated','describe','/:id','post','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xc024,0x14e));var _0x4c02=function(_0x53cf8e,_0x3d290f){_0x53cf8e=_0x53cf8e-0x0;var _0x459197=_0xc024[_0x53cf8e];return _0x459197;};'use strict';var multer=require(_0x4c02('0x0'));var util=require(_0x4c02('0x1'));var path=require(_0x4c02('0x2'));var timeout=require(_0x4c02('0x3'));var express=require(_0x4c02('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x4c02('0x5'));var interaction=require(_0x4c02('0x6'));var config=require(_0x4c02('0x7'));var controller=require('./voiceAgentReport.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x4c02('0x8')]);router[_0x4c02('0x9')](_0x4c02('0xa'),auth[_0x4c02('0xb')](),controller[_0x4c02('0xc')]);router[_0x4c02('0x9')](_0x4c02('0xd'),auth[_0x4c02('0xb')](),controller['show']);router[_0x4c02('0xe')]('/',auth[_0x4c02('0xb')](),controller['create']);router['put'](_0x4c02('0xd'),auth[_0x4c02('0xb')](),controller['update']);router['delete'](_0x4c02('0xd'),auth['isAuthenticated'](),controller[_0x4c02('0xf')]);module[_0x4c02('0x10')]=router;