6ad6220c0ef12188446230b92047c0acc23d4cca
[motion2.git] / server / api / cmHopperHistory / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xf352=['../../config/environment','./cmHopperHistory.controller','get','isAuthenticated','/describe','show','post','create','put','update','exports','multer','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0xf352,0x11b));var _0x2f35=function(_0x154904,_0x47ecbf){_0x154904=_0x154904-0x0;var _0x1cdb43=_0xf352[_0x154904];return _0x1cdb43;};'use strict';var multer=require(_0x2f35('0x0'));var util=require('util');var path=require(_0x2f35('0x1'));var timeout=require(_0x2f35('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x2f35('0x3'));var auth=require(_0x2f35('0x4'));var interaction=require(_0x2f35('0x5'));var config=require(_0x2f35('0x6'));var controller=require(_0x2f35('0x7'));router[_0x2f35('0x8')]('/',auth[_0x2f35('0x9')](),controller['index']);router[_0x2f35('0x8')](_0x2f35('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0x2f35('0x8')]('/:id',auth[_0x2f35('0x9')](),controller[_0x2f35('0xb')]);router[_0x2f35('0xc')]('/',auth[_0x2f35('0x9')](),controller[_0x2f35('0xd')]);router[_0x2f35('0xe')]('/:id',auth[_0x2f35('0x9')](),controller[_0x2f35('0xf')]);module[_0x2f35('0x10')]=router;