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 _0x51cd=['describe','/:id','show','post','create','multer','connect-timeout','express','Router','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated','index'];(function(_0x4737aa,_0x266f4b){var _0x275ab2=function(_0x2d4454){while(--_0x2d4454){_0x4737aa['push'](_0x4737aa['shift']());}};_0x275ab2(++_0x266f4b);}(_0x51cd,0x101));var _0xd51c=function(_0x151c0c,_0x4e8970){_0x151c0c=_0x151c0c-0x0;var _0x54a4b0=_0x51cd[_0x151c0c];return _0x54a4b0;};'use strict';var multer=require(_0xd51c('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xd51c('0x1'));var express=require(_0xd51c('0x2'));var router=express[_0xd51c('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xd51c('0x4'));var controller=require(_0xd51c('0x5'));router[_0xd51c('0x6')]('/',auth[_0xd51c('0x7')](),controller[_0xd51c('0x8')]);router[_0xd51c('0x6')]('/describe',auth[_0xd51c('0x7')](),controller[_0xd51c('0x9')]);router['get'](_0xd51c('0xa'),auth[_0xd51c('0x7')](),controller[_0xd51c('0xb')]);router[_0xd51c('0xc')]('/',auth[_0xd51c('0x7')](),controller[_0xd51c('0xd')]);router['put'](_0xd51c('0xa'),auth['isAuthenticated'](),controller['update']);module['exports']=router;