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 _0x43c8=['/:id','show','create','update','exports','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','isAuthenticated','index','get','/describe'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0x43c8,0xaf));var _0x843c=function(_0x2fec3e,_0x95fdc2){_0x2fec3e=_0x2fec3e-0x0;var _0x486b31=_0x43c8[_0x2fec3e];return _0x486b31;};'use strict';var multer=require('multer');var util=require(_0x843c('0x0'));var path=require('path');var timeout=require(_0x843c('0x1'));var express=require(_0x843c('0x2'));var router=express[_0x843c('0x3')]();var auth=require(_0x843c('0x4'));var interaction=require(_0x843c('0x5'));var config=require(_0x843c('0x6'));var controller=require(_0x843c('0x7'));router['get']('/',auth[_0x843c('0x8')](),controller[_0x843c('0x9')]);router[_0x843c('0xa')](_0x843c('0xb'),auth[_0x843c('0x8')](),controller['describe']);router[_0x843c('0xa')](_0x843c('0xc'),auth['isAuthenticated'](),controller[_0x843c('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0x843c('0xe')]);router['put'](_0x843c('0xc'),auth[_0x843c('0x8')](),controller[_0x843c('0xf')]);module[_0x843c('0x10')]=router;