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 _0x4c29=['delete','destroy','exports','util','../../components/interaction/service','../../config/environment','./integrationReport.controller','get','index','/describe','isAuthenticated','describe','post','create','put','/:id','update'];(function(_0x55bf26,_0x19dd76){var _0x557a7b=function(_0x272ad7){while(--_0x272ad7){_0x55bf26['push'](_0x55bf26['shift']());}};_0x557a7b(++_0x19dd76);}(_0x4c29,0x9c));var _0x94c2=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0x4c29[_0x4b369d];return _0x571a98;};'use strict';var multer=require('multer');var util=require(_0x94c2('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x94c2('0x1'));var config=require(_0x94c2('0x2'));var controller=require(_0x94c2('0x3'));router[_0x94c2('0x4')]('/',auth['isAuthenticated'](),controller[_0x94c2('0x5')]);router['get'](_0x94c2('0x6'),auth[_0x94c2('0x7')](),controller[_0x94c2('0x8')]);router[_0x94c2('0x4')]('/:id',auth[_0x94c2('0x7')](),controller['show']);router[_0x94c2('0x9')]('/',auth[_0x94c2('0x7')](),controller[_0x94c2('0xa')]);router[_0x94c2('0xb')](_0x94c2('0xc'),auth['isAuthenticated'](),controller[_0x94c2('0xd')]);router[_0x94c2('0xe')](_0x94c2('0xc'),auth[_0x94c2('0x7')](),controller[_0x94c2('0xf')]);module[_0x94c2('0x10')]=router;