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 _0x5ed0=['../../components/interaction/service','../../config/environment','get','/describe','isAuthenticated','describe','post','put','/:id','update','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service'];(function(_0x2e2f68,_0x4e0d4f){var _0x587627=function(_0x1f08ce){while(--_0x1f08ce){_0x2e2f68['push'](_0x2e2f68['shift']());}};_0x587627(++_0x4e0d4f);}(_0x5ed0,0xcb));var _0x05ed=function(_0x27518e,_0x1bf11d){_0x27518e=_0x27518e-0x0;var _0x1e8dee=_0x5ed0[_0x27518e];return _0x1e8dee;};'use strict';var multer=require('multer');var util=require(_0x05ed('0x0'));var path=require(_0x05ed('0x1'));var timeout=require(_0x05ed('0x2'));var express=require(_0x05ed('0x3'));var router=express[_0x05ed('0x4')]();var auth=require(_0x05ed('0x5'));var interaction=require(_0x05ed('0x6'));var config=require(_0x05ed('0x7'));var controller=require('./integrationReport.controller');router[_0x05ed('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0x05ed('0x8')](_0x05ed('0x9'),auth[_0x05ed('0xa')](),controller[_0x05ed('0xb')]);router[_0x05ed('0x8')]('/:id',auth[_0x05ed('0xa')](),controller['show']);router[_0x05ed('0xc')]('/',auth[_0x05ed('0xa')](),controller['create']);router[_0x05ed('0xd')](_0x05ed('0xe'),auth['isAuthenticated'](),controller[_0x05ed('0xf')]);router[_0x05ed('0x10')](_0x05ed('0xe'),auth[_0x05ed('0xa')](),controller[_0x05ed('0x11')]);module[_0x05ed('0x12')]=router;