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 _0x4737=['path','connect-timeout','express','Router','../../config/environment','get','isAuthenticated','index','/describe','/:id','show','put','delete','destroy','exports','multer','util'];(function(_0x21cb7f,_0x48cd16){var _0x5a079a=function(_0x569a4f){while(--_0x569a4f){_0x21cb7f['push'](_0x21cb7f['shift']());}};_0x5a079a(++_0x48cd16);}(_0x4737,0x141));var _0x7473=function(_0x54bc39,_0x137a8f){_0x54bc39=_0x54bc39-0x0;var _0x29073b=_0x4737[_0x54bc39];return _0x29073b;};'use strict';var multer=require(_0x7473('0x0'));var util=require(_0x7473('0x1'));var path=require(_0x7473('0x2'));var timeout=require(_0x7473('0x3'));var express=require(_0x7473('0x4'));var router=express[_0x7473('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x7473('0x6'));var controller=require('./cmHopperBlack.controller');router[_0x7473('0x7')]('/',auth[_0x7473('0x8')](),controller[_0x7473('0x9')]);router['get'](_0x7473('0xa'),auth[_0x7473('0x8')](),controller['describe']);router[_0x7473('0x7')](_0x7473('0xb'),auth[_0x7473('0x8')](),controller[_0x7473('0xc')]);router[_0x7473('0xd')](_0x7473('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x7473('0xe')]('/:id',auth['isAuthenticated'](),controller[_0x7473('0xf')]);module[_0x7473('0x10')]=router;