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