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 _0x8502=['post','put','update','destroy','exports','multer','util','path','express','Router','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id','show'];(function(_0x1035ad,_0x18a82a){var _0x70d5c4=function(_0x19e008){while(--_0x19e008){_0x1035ad['push'](_0x1035ad['shift']());}};_0x70d5c4(++_0x18a82a);}(_0x8502,0x125));var _0x2850=function(_0x3fb030,_0x12aebe){_0x3fb030=_0x3fb030-0x0;var _0xd6899b=_0x8502[_0x3fb030];return _0xd6899b;};'use strict';var multer=require(_0x2850('0x0'));var util=require(_0x2850('0x1'));var path=require(_0x2850('0x2'));var timeout=require('connect-timeout');var express=require(_0x2850('0x3'));var router=express[_0x2850('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x2850('0x5'));var controller=require('./voiceAgentReport.controller');router['get']('/',auth[_0x2850('0x6')](),controller[_0x2850('0x7')]);router[_0x2850('0x8')](_0x2850('0x9'),auth[_0x2850('0x6')](),controller[_0x2850('0xa')]);router[_0x2850('0x8')](_0x2850('0xb'),auth[_0x2850('0x6')](),controller[_0x2850('0xc')]);router[_0x2850('0xd')]('/',auth['isAuthenticated'](),controller['create']);router[_0x2850('0xe')](_0x2850('0xb'),auth[_0x2850('0x6')](),controller[_0x2850('0xf')]);router['delete'](_0x2850('0xb'),auth[_0x2850('0x6')](),controller[_0x2850('0x10')]);module[_0x2850('0x11')]=router;