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