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