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 _0xabe6=['get','index','describe','/:id','isAuthenticated','show','post','create','exports','multer','util','path','connect-timeout','fs-extra','../../components/auth/service','../../config/environment'];(function(_0x3eebec,_0x33de1d){var _0x422046=function(_0x5141b3){while(--_0x5141b3){_0x3eebec['push'](_0x3eebec['shift']());}};_0x422046(++_0x33de1d);}(_0xabe6,0x149));var _0x6abe=function(_0x257e9c,_0x5cb237){_0x257e9c=_0x257e9c-0x0;var _0x16031c=_0xabe6[_0x257e9c];return _0x16031c;};'use strict';var multer=require(_0x6abe('0x0'));var util=require(_0x6abe('0x1'));var path=require(_0x6abe('0x2'));var timeout=require(_0x6abe('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x6abe('0x4'));var auth=require(_0x6abe('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x6abe('0x6'));var controller=require('./cmHopperHistory.controller');router[_0x6abe('0x7')]('/',auth['isAuthenticated'](),controller[_0x6abe('0x8')]);router['get']('/describe',auth['isAuthenticated'](),controller[_0x6abe('0x9')]);router[_0x6abe('0x7')](_0x6abe('0xa'),auth[_0x6abe('0xb')](),controller[_0x6abe('0xc')]);router[_0x6abe('0xd')]('/',auth[_0x6abe('0xb')](),controller[_0x6abe('0xe')]);router['put'](_0x6abe('0xa'),auth[_0x6abe('0xb')](),controller['update']);module[_0x6abe('0xf')]=router;