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 _0xcc8f=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./cmHopperHistory.controller','index','get','/describe','isAuthenticated','/:id','show','post','create','update','exports','multer','util'];(function(_0x58dc00,_0x32d2c5){var _0x56246a=function(_0x1280af){while(--_0x1280af){_0x58dc00['push'](_0x58dc00['shift']());}};_0x56246a(++_0x32d2c5);}(_0xcc8f,0x17a));var _0xfcc8=function(_0x4580a7,_0x54ed21){_0x4580a7=_0x4580a7-0x0;var _0x146f59=_0xcc8f[_0x4580a7];return _0x146f59;};'use strict';var multer=require(_0xfcc8('0x0'));var util=require(_0xfcc8('0x1'));var path=require('path');var timeout=require(_0xfcc8('0x2'));var express=require(_0xfcc8('0x3'));var router=express[_0xfcc8('0x4')]();var fs_extra=require(_0xfcc8('0x5'));var auth=require(_0xfcc8('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xfcc8('0x7'));var controller=require(_0xfcc8('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0xfcc8('0x9')]);router[_0xfcc8('0xa')](_0xfcc8('0xb'),auth[_0xfcc8('0xc')](),controller['describe']);router[_0xfcc8('0xa')](_0xfcc8('0xd'),auth[_0xfcc8('0xc')](),controller[_0xfcc8('0xe')]);router[_0xfcc8('0xf')]('/',auth[_0xfcc8('0xc')](),controller[_0xfcc8('0x10')]);router['put'](_0xfcc8('0xd'),auth[_0xfcc8('0xc')](),controller[_0xfcc8('0x11')]);module[_0xfcc8('0x12')]=router;