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