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