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