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 _0xefaa=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','/:id','show','post','put','delete','exports','util','connect-timeout','Router'];(function(_0x2ba990,_0x552a76){var _0x10fc7d=function(_0x1fed86){while(--_0x1fed86){_0x2ba990['push'](_0x2ba990['shift']());}};_0x10fc7d(++_0x552a76);}(_0xefaa,0x11d));var _0xaefa=function(_0x5bd426,_0x4878e5){_0x5bd426=_0x5bd426-0x0;var _0x23a7eb=_0xefaa[_0x5bd426];return _0x23a7eb;};'use strict';var multer=require('multer');var util=require(_0xaefa('0x0'));var path=require('path');var timeout=require(_0xaefa('0x1'));var express=require('express');var router=express[_0xaefa('0x2')]();var fs_extra=require(_0xaefa('0x3'));var auth=require(_0xaefa('0x4'));var interaction=require(_0xaefa('0x5'));var config=require(_0xaefa('0x6'));var controller=require('./voiceAgentReport.controller');router[_0xaefa('0x7')]('/',auth[_0xaefa('0x8')](),controller['index']);router[_0xaefa('0x7')](_0xaefa('0x9'),auth[_0xaefa('0x8')](),controller['describe']);router['get'](_0xaefa('0xa'),auth[_0xaefa('0x8')](),controller[_0xaefa('0xb')]);router[_0xaefa('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0xaefa('0xd')]('/:id',auth[_0xaefa('0x8')](),controller['update']);router[_0xaefa('0xe')](_0xaefa('0xa'),auth['isAuthenticated'](),controller['destroy']);module[_0xaefa('0xf')]=router;