Built motion from commit (unavailable).|2.4.21
[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 _0x29f1=['/describe','describe','/:id','show','post','put','update','exports','multer','util','express','Router','./cmHopperHistory.controller','get','isAuthenticated','index'];(function(_0x41cd93,_0x382eb8){var _0x58a7f8=function(_0x19e25f){while(--_0x19e25f){_0x41cd93['push'](_0x41cd93['shift']());}};_0x58a7f8(++_0x382eb8);}(_0x29f1,0x128));var _0x129f=function(_0x1d3eaf,_0x260522){_0x1d3eaf=_0x1d3eaf-0x0;var _0x19aa8d=_0x29f1[_0x1d3eaf];return _0x19aa8d;};'use strict';var multer=require(_0x129f('0x0'));var util=require(_0x129f('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x129f('0x2'));var router=express[_0x129f('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x129f('0x4'));router[_0x129f('0x5')]('/',auth[_0x129f('0x6')](),controller[_0x129f('0x7')]);router[_0x129f('0x5')](_0x129f('0x8'),auth[_0x129f('0x6')](),controller[_0x129f('0x9')]);router['get'](_0x129f('0xa'),auth[_0x129f('0x6')](),controller[_0x129f('0xb')]);router[_0x129f('0xc')]('/',auth[_0x129f('0x6')](),controller['create']);router[_0x129f('0xd')](_0x129f('0xa'),auth['isAuthenticated'](),controller[_0x129f('0xe')]);module[_0x129f('0xf')]=router;