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 _0x37fb=['index','get','describe','show','post','create','put','/:id','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','isAuthenticated'];(function(_0x502c7d,_0x2f1285){var _0x30b7ed=function(_0x2d92f3){while(--_0x2d92f3){_0x502c7d['push'](_0x502c7d['shift']());}};_0x30b7ed(++_0x2f1285);}(_0x37fb,0x14b));var _0xb37f=function(_0x420e4d,_0x1b7e89){_0x420e4d=_0x420e4d-0x0;var _0x208c8e=_0x37fb[_0x420e4d];return _0x208c8e;};'use strict';var multer=require(_0xb37f('0x0'));var util=require(_0xb37f('0x1'));var path=require(_0xb37f('0x2'));var timeout=require(_0xb37f('0x3'));var express=require(_0xb37f('0x4'));var router=express[_0xb37f('0x5')]();var fs_extra=require(_0xb37f('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xb37f('0x7'));var config=require('../../config/environment');var controller=require('./voiceAgentReport.controller');router['get']('/',auth[_0xb37f('0x8')](),controller[_0xb37f('0x9')]);router[_0xb37f('0xa')]('/describe',auth['isAuthenticated'](),controller[_0xb37f('0xb')]);router['get']('/:id',auth[_0xb37f('0x8')](),controller[_0xb37f('0xc')]);router[_0xb37f('0xd')]('/',auth['isAuthenticated'](),controller[_0xb37f('0xe')]);router[_0xb37f('0xf')](_0xb37f('0x10'),auth[_0xb37f('0x8')](),controller['update']);router[_0xb37f('0x11')](_0xb37f('0x10'),auth['isAuthenticated'](),controller[_0xb37f('0x12')]);module[_0xb37f('0x13')]=router;