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 _0x0d98=['isAuthenticated','describe','show','create','put','update','delete','/:id','destroy','multer','util','path','../../components/auth/service','../../components/interaction/service','../../config/environment','./integrationReport.controller'];(function(_0x4507ea,_0x415533){var _0x2b0c61=function(_0x418ee8){while(--_0x418ee8){_0x4507ea['push'](_0x4507ea['shift']());}};_0x2b0c61(++_0x415533);}(_0x0d98,0x149));var _0x80d9=function(_0x3c5f08,_0x47141d){_0x3c5f08=_0x3c5f08-0x0;var _0x518ca1=_0x0d98[_0x3c5f08];return _0x518ca1;};'use strict';var multer=require(_0x80d9('0x0'));var util=require(_0x80d9('0x1'));var path=require(_0x80d9('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x80d9('0x3'));var interaction=require(_0x80d9('0x4'));var config=require(_0x80d9('0x5'));var controller=require(_0x80d9('0x6'));router['get']('/',auth[_0x80d9('0x7')](),controller['index']);router['get']('/describe',auth[_0x80d9('0x7')](),controller[_0x80d9('0x8')]);router['get']('/:id',auth[_0x80d9('0x7')](),controller[_0x80d9('0x9')]);router['post']('/',auth['isAuthenticated'](),controller[_0x80d9('0xa')]);router[_0x80d9('0xb')]('/:id',auth[_0x80d9('0x7')](),controller[_0x80d9('0xc')]);router[_0x80d9('0xd')](_0x80d9('0xe'),auth[_0x80d9('0x7')](),controller[_0x80d9('0xf')]);module['exports']=router;