Built motion from commit (unavailable).|2.4.19
[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 _0xac58=['post','create','update','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/describe','isAuthenticated','describe','/:id','show'];(function(_0x2bbe3e,_0x9bcd3c){var _0x49402c=function(_0x11f160){while(--_0x11f160){_0x2bbe3e['push'](_0x2bbe3e['shift']());}};_0x49402c(++_0x9bcd3c);}(_0xac58,0x6a));var _0x8ac5=function(_0x34ad37,_0x5ee0dd){_0x34ad37=_0x34ad37-0x0;var _0x428c43=_0xac58[_0x34ad37];return _0x428c43;};'use strict';var multer=require(_0x8ac5('0x0'));var util=require(_0x8ac5('0x1'));var path=require('path');var timeout=require(_0x8ac5('0x2'));var express=require(_0x8ac5('0x3'));var router=express['Router']();var auth=require(_0x8ac5('0x4'));var interaction=require(_0x8ac5('0x5'));var config=require(_0x8ac5('0x6'));var controller=require('./cmHopperHistory.controller');router[_0x8ac5('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x8ac5('0x7')](_0x8ac5('0x8'),auth[_0x8ac5('0x9')](),controller[_0x8ac5('0xa')]);router['get'](_0x8ac5('0xb'),auth['isAuthenticated'](),controller[_0x8ac5('0xc')]);router[_0x8ac5('0xd')]('/',auth[_0x8ac5('0x9')](),controller[_0x8ac5('0xe')]);router['put'](_0x8ac5('0xb'),auth['isAuthenticated'](),controller[_0x8ac5('0xf')]);module[_0x8ac5('0x10')]=router;