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 _0xaecf=['isAuthenticated','index','show','put','/:id','update','exports','multer','util','path','express','../../components/auth/service','../../components/interaction/service','get'];(function(_0x5b22ca,_0x37edfc){var _0x18e885=function(_0x2bc396){while(--_0x2bc396){_0x5b22ca['push'](_0x5b22ca['shift']());}};_0x18e885(++_0x37edfc);}(_0xaecf,0x149));var _0xfaec=function(_0x106510,_0x3f2c15){_0x106510=_0x106510-0x0;var _0x53371d=_0xaecf[_0x106510];return _0x53371d;};'use strict';var multer=require(_0xfaec('0x0'));var util=require(_0xfaec('0x1'));var path=require(_0xfaec('0x2'));var timeout=require('connect-timeout');var express=require(_0xfaec('0x3'));var router=express['Router']();var auth=require(_0xfaec('0x4'));var interaction=require(_0xfaec('0x5'));var config=require('../../config/environment');var controller=require('./integrationReport.controller');router[_0xfaec('0x6')]('/',auth[_0xfaec('0x7')](),controller[_0xfaec('0x8')]);router[_0xfaec('0x6')]('/describe',auth[_0xfaec('0x7')](),controller['describe']);router[_0xfaec('0x6')]('/:id',auth[_0xfaec('0x7')](),controller[_0xfaec('0x9')]);router['post']('/',auth[_0xfaec('0x7')](),controller['create']);router[_0xfaec('0xa')](_0xfaec('0xb'),auth[_0xfaec('0x7')](),controller[_0xfaec('0xc')]);router['delete']('/:id',auth[_0xfaec('0x7')](),controller['destroy']);module[_0xfaec('0xd')]=router;