39b8f178e19df3643e4d991e443892ec1e832d58
[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 _0x43ba=['isAuthenticated','index','/:id','post','create','put','exports','util','path','fs-extra','./cmHopperHistory.controller','get'];(function(_0x3713a6,_0x5320a5){var _0x11af49=function(_0x4ac147){while(--_0x4ac147){_0x3713a6['push'](_0x3713a6['shift']());}};_0x11af49(++_0x5320a5);}(_0x43ba,0x14b));var _0xa43b=function(_0x421776,_0x8c2ff2){_0x421776=_0x421776-0x0;var _0x3a4ca3=_0x43ba[_0x421776];return _0x3a4ca3;};'use strict';var multer=require('multer');var util=require(_0xa43b('0x0'));var path=require(_0xa43b('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0xa43b('0x2'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xa43b('0x3'));router[_0xa43b('0x4')]('/',auth[_0xa43b('0x5')](),controller[_0xa43b('0x6')]);router[_0xa43b('0x4')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0xa43b('0x4')](_0xa43b('0x7'),auth[_0xa43b('0x5')](),controller['show']);router[_0xa43b('0x8')]('/',auth[_0xa43b('0x5')](),controller[_0xa43b('0x9')]);router[_0xa43b('0xa')](_0xa43b('0x7'),auth[_0xa43b('0x5')](),controller['update']);module[_0xa43b('0xb')]=router;