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 _0x82b0=['describe','/:id','show','post','create','put','update','delete','destroy','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','./integrationReport.controller','get','isAuthenticated','index'];(function(_0x369289,_0xb779d8){var _0x1c8ba4=function(_0x28cc27){while(--_0x28cc27){_0x369289['push'](_0x369289['shift']());}};_0x1c8ba4(++_0xb779d8);}(_0x82b0,0x81));var _0x082b=function(_0x160cd5,_0x19c58e){_0x160cd5=_0x160cd5-0x0;var _0x366763=_0x82b0[_0x160cd5];return _0x366763;};'use strict';var multer=require(_0x082b('0x0'));var util=require(_0x082b('0x1'));var path=require(_0x082b('0x2'));var timeout=require('connect-timeout');var express=require(_0x082b('0x3'));var router=express[_0x082b('0x4')]();var auth=require(_0x082b('0x5'));var interaction=require(_0x082b('0x6'));var config=require('../../config/environment');var controller=require(_0x082b('0x7'));router[_0x082b('0x8')]('/',auth[_0x082b('0x9')](),controller[_0x082b('0xa')]);router[_0x082b('0x8')]('/describe',auth[_0x082b('0x9')](),controller[_0x082b('0xb')]);router[_0x082b('0x8')](_0x082b('0xc'),auth[_0x082b('0x9')](),controller[_0x082b('0xd')]);router[_0x082b('0xe')]('/',auth[_0x082b('0x9')](),controller[_0x082b('0xf')]);router[_0x082b('0x10')](_0x082b('0xc'),auth[_0x082b('0x9')](),controller[_0x082b('0x11')]);router[_0x082b('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x082b('0x13')]);module['exports']=router;