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 _0x8e01=['Router','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated','index','/describe','/:id','show','post','create','update','multer','util','path','connect-timeout'];(function(_0x536bcd,_0x30b634){var _0x4038f2=function(_0x374173){while(--_0x374173){_0x536bcd['push'](_0x536bcd['shift']());}};_0x4038f2(++_0x30b634);}(_0x8e01,0x1d8));var _0x18e0=function(_0x42525d,_0xbaee63){_0x42525d=_0x42525d-0x0;var _0x117823=_0x8e01[_0x42525d];return _0x117823;};'use strict';var multer=require(_0x18e0('0x0'));var util=require(_0x18e0('0x1'));var path=require(_0x18e0('0x2'));var timeout=require(_0x18e0('0x3'));var express=require('express');var router=express[_0x18e0('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x18e0('0x5'));var config=require(_0x18e0('0x6'));var controller=require(_0x18e0('0x7'));router[_0x18e0('0x8')]('/',auth[_0x18e0('0x9')](),controller[_0x18e0('0xa')]);router[_0x18e0('0x8')](_0x18e0('0xb'),auth[_0x18e0('0x9')](),controller['describe']);router['get'](_0x18e0('0xc'),auth['isAuthenticated'](),controller[_0x18e0('0xd')]);router[_0x18e0('0xe')]('/',auth['isAuthenticated'](),controller[_0x18e0('0xf')]);router['put'](_0x18e0('0xc'),auth[_0x18e0('0x9')](),controller[_0x18e0('0x10')]);module['exports']=router;