Built motion from commit (unavailable).|2.4.18
[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 _0x43fa=['show','post','create','put','update','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id'];(function(_0x27a4b0,_0x3a3377){var _0x377068=function(_0x2b35be){while(--_0x2b35be){_0x27a4b0['push'](_0x27a4b0['shift']());}};_0x377068(++_0x3a3377);}(_0x43fa,0xd6));var _0xa43f=function(_0x1e91eb,_0x5829a3){_0x1e91eb=_0x1e91eb-0x0;var _0x2af75a=_0x43fa[_0x1e91eb];return _0x2af75a;};'use strict';var multer=require(_0xa43f('0x0'));var util=require(_0xa43f('0x1'));var path=require(_0xa43f('0x2'));var timeout=require(_0xa43f('0x3'));var express=require(_0xa43f('0x4'));var router=express[_0xa43f('0x5')]();var auth=require(_0xa43f('0x6'));var interaction=require(_0xa43f('0x7'));var config=require(_0xa43f('0x8'));var controller=require('./cmHopperHistory.controller');router[_0xa43f('0x9')]('/',auth[_0xa43f('0xa')](),controller[_0xa43f('0xb')]);router[_0xa43f('0x9')]('/describe',auth[_0xa43f('0xa')](),controller[_0xa43f('0xc')]);router[_0xa43f('0x9')](_0xa43f('0xd'),auth[_0xa43f('0xa')](),controller[_0xa43f('0xe')]);router[_0xa43f('0xf')]('/',auth['isAuthenticated'](),controller[_0xa43f('0x10')]);router[_0xa43f('0x11')](_0xa43f('0xd'),auth[_0xa43f('0xa')](),controller[_0xa43f('0x12')]);module['exports']=router;